/* Go Go Agency — premium moving company */

:root {
  --deep-blue: #0c1e3d;
  --deep-blue-mid: #132a52;
  --deep-blue-light: #1e3a5f;
  --gold: #c9a227;
  --gold-hover: #ddb92e;
  --gold-muted: rgba(201, 162, 39, 0.15);
  --white: #ffffff;
  --off-white: #f4f6fa;
  --text: #1a2744;
  --text-muted: #5c6b85;
  --radius-2xl: 1rem;
  --radius-xl: 0.75rem;
  --shadow-soft: 0 4px 24px rgba(12, 30, 61, 0.08);
  --shadow-lift: 0 14px 44px rgba(12, 30, 61, 0.12);
  --shadow-btn: 0 4px 16px rgba(201, 162, 39, 0.32);
  --shadow-btn-hover: 0 8px 28px rgba(201, 162, 39, 0.42);
  --header-h: 4.5rem;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --section-y: clamp(4rem, 9vw, 6.5rem);
  --space-lg: clamp(2rem, 4vw, 3rem);
  --space-md: clamp(1.25rem, 3vw, 2rem);
  --container-gutter: clamp(1.25rem, 5vw, 2.75rem);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__bg,
  .parallax-band__bg {
    transform: none !important;
  }
  .reveal,
  .reveal--left {
    opacity: 1 !important;
    transform: none !important;
  }
  .process__step {
    opacity: 1 !important;
    transform: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--deep-blue-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold);
}

/* Skip link */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--deep-blue);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 0 0 var(--radius-xl) 0;
  transform: translateY(-120%);
  transition: transform 0.25s var(--ease-out);
}
.skip-link:focus {
  outline: 2px solid var(--deep-blue);
  outline-offset: 2px;
}
.skip-link:focus-visible {
  transform: translateY(0);
}

.container {
  width: min(100% - var(--container-gutter) * 2, 72rem);
  margin-inline: auto;
}

.container--wide {
  width: min(100% - var(--container-gutter) * 2, 76rem);
}

.rounded-2xl {
  border-radius: var(--radius-2xl);
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

/* Typography utilities */
.text-lead {
  font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
  line-height: 1.6;
}

.text-body {
  color: var(--text-muted);
  margin: 0 0 1.125rem;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.text-body:last-of-type {
  margin-bottom: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-2xl);
  transition:
    transform 0.2s var(--ease-out),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn:active {
  transform: scale(0.985);
}

.btn--sm {
  padding: 0.5625rem 1.25rem;
  min-height: 2.5rem;
}

.btn--lg {
  padding: 1rem 1.875rem;
  min-height: 3.125rem;
}

.btn--primary {
  background: linear-gradient(145deg, var(--gold) 0%, #b8921f 100%);
  color: var(--deep-blue);
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background: linear-gradient(145deg, var(--gold-hover) 0%, var(--gold) 100%);
  color: var(--deep-blue);
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--deep-blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(12, 30, 61, 0.2);
}

.btn--secondary:hover {
  background: var(--deep-blue-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(12, 30, 61, 0.25);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}

.header__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.header.is-scrolled .header__bar {
  background: rgba(12, 30, 61, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

/* Solid bar whenever mobile menu is open (readable over any section) */
.header.menu-open .header__bar {
  background: var(--deep-blue);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--shadow-soft);
}

.nav {
  width: 100%;
}

/* Centered bar: max-width + responsive side padding (~24px–40px) */
.nav__inner {
  box-sizing: border-box;
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 2rem);
  min-height: var(--header-h);
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3125rem;
  color: #ffffff;
  letter-spacing: -0.02em;
  transition: opacity 0.2s var(--ease-out);
  flex-shrink: 0;
}

.nav__logo:hover,
.nav__logo:focus-visible {
  opacity: 0.95;
  color: #ffffff;
}

/* “Agency” — design-system gold; “Go Go” stays white via .nav__logo color */
.nav__logo span {
  color: var(--gold);
}

.header:not(.is-scrolled) .nav__logo,
.header.is-scrolled .nav__logo,
.header.menu-open .nav__logo,
.nav.is-open .nav__logo {
  color: #ffffff;
}

.header:not(.is-scrolled) .nav__logo span,
.header.is-scrolled .nav__logo span,
.header.menu-open .nav__logo span,
.nav.is-open .nav__logo span {
  color: var(--gold);
}

.header:not(.is-scrolled) .nav__logo {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  margin-right: -0.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #ffffff;
  border-radius: var(--radius-xl);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.25s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.nav__toggle:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav__toggle:active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  transform: scale(0.96);
}

.nav__toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  color: #ffffff;
}

.nav__toggle-bar {
  display: block;
  width: 1.375rem;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 2px;
  transition:
    transform 0.42s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.3s ease,
    background-color 0.2s ease;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.75vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.35rem 0;
  line-height: 1.25;
}

.header:not(.is-scrolled) .nav__links a {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}

.nav__links a:hover {
  color: var(--gold);
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 768px) {
  .header__bar {
    position: relative;
    z-index: 160;
  }

  .nav__inner {
    position: relative;
    z-index: 161;
    width: 100%;
    min-width: 0;
    padding-inline: clamp(1.5rem, 4vw, 2.5rem);
    gap: 0.75rem;
  }

  .nav__toggle {
    display: flex;
    z-index: 162;
  }

  .nav__links {
    position: fixed;
    inset: 0;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.5rem, 4vw, 2.5rem)
      clamp(2rem, 5vw, 3rem);
    gap: 0.25rem;
    margin: 0;
    list-style: none;
    /* Opaque panel — never rely on transparency over page content */
    background-color: #0c1e3d;
    background-image: linear-gradient(
      168deg,
      #10264a 0%,
      #0c1e3d 38%,
      #0a1628 100%
    );
    isolation: isolate;
    z-index: 150;
    transform: translateX(100%);
    transition: transform 0.42s cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: -12px 0 48px rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav__links.is-open {
    transform: translateX(0);
  }

  .nav__links a {
    font-size: 1.125rem;
    font-weight: 500;
    padding: 1rem 0;
    color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.2s ease, padding-left 0.2s var(--ease-out);
  }

  .nav__links a:hover,
  .nav__links a:active {
    color: #ffffff;
    padding-left: 0.35rem;
  }

  .nav__links a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    color: #ffffff;
    border-radius: 4px;
  }

  .nav__links a::after {
    display: none;
  }

  .nav.is-open .nav__toggle {
    color: #ffffff;
  }

  .nav.is-open .nav__toggle-bar {
    background-color: #ffffff;
  }

  .nav.is-open .nav__toggle-bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .nav.is-open .nav__toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav.is-open .nav__toggle-bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(100vh, 900px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + var(--space-lg)) 0 calc(var(--section-y) * 0.65);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12, 30, 61, 0.9) 0%,
    rgba(12, 30, 61, 0.52) 48%,
    rgba(12, 30, 61, 0.22) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin: 0 0 1.125rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 5.5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  margin: 0 0 1.35rem;
  letter-spacing: -0.025em;
}

.hero__sub {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2.25rem;
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.125rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left.is-visible {
  transform: translateX(0);
}

.reveal--left {
  transform: translateX(-1.25rem);
  opacity: 0;
}

/* Trust */
.trust {
  background: var(--off-white);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(12, 30, 61, 0.06);
}

.trust__inner {
  text-align: center;
}

.trust__headline {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: var(--deep-blue);
  margin: 0 0 var(--space-md);
  line-height: 1.35;
}

.trust__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 50rem;
  margin-inline: auto;
}

.trust__stat {
  padding: 1.125rem 1rem;
}

.trust__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.15;
}

.trust__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .trust__stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Sections */
.section {
  padding: var(--section-y) 0;
}

.section--alt {
  background: var(--off-white);
}

.section__header {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto var(--space-lg);
}

.section__header--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem var(--space-md);
  max-width: none;
  text-align: left;
  margin-bottom: var(--space-lg);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.2vw, 2.375rem);
  font-weight: 700;
  color: var(--deep-blue);
  margin: 0 0 0.875rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section__lead {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.0625rem, 2vw, 1.125rem);
  line-height: 1.55;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}

.about__frame {
  overflow: hidden;
  background: var(--deep-blue-mid);
}

.about__frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.about__visual:hover .about__frame img {
  transform: scale(1.03);
}

.about__copy .section__title {
  margin-bottom: 1.35rem;
}

/* Even vertical rhythm after removing CTA (global .text-body:last-of-type zeros margin for trailing CTAs elsewhere) */
.about__copy .text-body:last-of-type {
  margin-bottom: 1.125rem;
}

@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about__visual {
    order: -1;
  }
}

/* Services — responsive grid: 1 → 2 → 3 cols (6 cards = 3×2 / 2×3 / 1×6) */
.services__grid {
  --services-gap: clamp(1.25rem, 2.2vw, 1.75rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--services-gap);
  align-items: stretch;
}

@media (min-width: 560px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  min-width: 0;
  background: var(--white);
  padding: clamp(1.625rem, 3vw, 2rem) clamp(1.5rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(12, 30, 61, 0.07);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: var(--shadow-lift);
  border-color: rgba(201, 162, 39, 0.28);
}

.service-card:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.service-card__icon {
  flex-shrink: 0;
  width: 3.125rem;
  height: 3.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-muted);
  color: var(--deep-blue);
  border-radius: var(--radius-xl);
  margin-bottom: 1.25rem;
  transition: transform 0.35s var(--ease-out);
}

.service-card:hover .service-card__icon {
  transform: scale(1.06);
}

.service-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.service-card__title {
  flex-shrink: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin: 0 0 0.75rem;
  line-height: 1.3;
  min-height: calc(1.125rem * 1.3 * 2);
  display: flex;
  align-items: flex-start;
}

.service-card__text {
  flex: 1 1 auto;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Parallax band */
.parallax-band {
  position: relative;
  min-height: 24rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .parallax-band {
    min-height: 30rem;
  }
}

.parallax-band__media {
  position: absolute;
  inset: -15% 0;
  z-index: 0;
}

.parallax-band__bg {
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.parallax-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 30, 61, 0.78),
    rgba(12, 30, 61, 0.52)
  );
}

.parallax-band__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--section-y) var(--space-md);
}

.parallax-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4.5vw, 2.875rem);
  font-weight: 700;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
}

/* Process */
.process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.process__step {
  background: var(--white);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(12, 30, 61, 0.07);
  position: relative;
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out),
    box-shadow var(--transition);
}

.process__step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.process__step:hover {
  box-shadow: var(--shadow-lift);
}

.process__num {
  position: absolute;
  top: 1.125rem;
  right: 1.125rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.process__icon {
  width: 2.875rem;
  height: 2.875rem;
  color: var(--deep-blue-light);
  margin-bottom: 1.125rem;
}

.process__icon svg {
  width: 100%;
  height: 100%;
}

.process__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.process__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .process__steps {
    grid-template-columns: 1fr;
  }
}

/* Gallery */
.gallery__controls {
  display: flex;
  gap: 0.625rem;
}

.gallery__btn {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(12, 30, 61, 0.12);
  background: var(--white);
  color: var(--deep-blue);
  cursor: pointer;
  transition:
    background 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    transform 0.2s var(--ease-out),
    opacity 0.2s;
}

.gallery__btn:hover:not(:disabled) {
  background: var(--deep-blue);
  color: var(--white);
  border-color: var(--deep-blue);
  transform: translateY(-1px);
}

.gallery__btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.gallery__shell {
  background: var(--white);
  border: 1px solid rgba(12, 30, 61, 0.06);
  padding: 1.25rem 1.25rem 1.5rem;
}

@media (min-width: 768px) {
  .gallery__shell {
    padding: 1.5rem 1.5rem 1.75rem;
  }
}

.gallery__viewport {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-xl);
}

.gallery__track {
  position: relative;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: 0;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(12, 30, 61, 0.06);
}

.gallery__track::-webkit-scrollbar {
  height: 6px;
}

.gallery__track::-webkit-scrollbar-track {
  background: rgba(12, 30, 61, 0.06);
  border-radius: 3px;
}

.gallery__track::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

.gallery__track:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.gallery__slide {
  position: relative;
  flex: 0 0 clamp(260px, 78vw, 360px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--deep-blue-mid);
  aspect-ratio: 4 / 3;
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s var(--ease-out);
}

.gallery__slide:hover img {
  transform: scale(1.035);
}

.gallery__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 0.25rem;
}

.gallery__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(12, 30, 61, 0.22);
  cursor: pointer;
  transition: background var(--transition), transform 0.25s var(--ease-out);
}

.gallery__dot:hover {
  background: rgba(12, 30, 61, 0.4);
  transform: scale(1.15);
}

.gallery__dot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery__dot.is-active {
  background: var(--gold);
  transform: scale(1.25);
}

/* Desktop only: 5 dots; slides 6–7 use the 5th dot for active state (JS sync) */
@media (min-width: 1024px) {
  .gallery__dots .gallery__dot:nth-child(n + 6) {
    display: none;
  }
}

/* Contact */
.contact__section-head {
  margin-bottom: var(--space-lg);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: stretch;
}

.contact__map {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.contact__map-frame {
  position: relative;
  overflow: hidden;
  background: var(--off-white);
  aspect-ratio: 16 / 11;
  min-height: 260px;
}

.contact__map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

.contact__map-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--deep-blue-light);
  align-self: flex-start;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.contact__map-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.contact__card {
  background: var(--white);
  border: 1px solid rgba(12, 30, 61, 0.08);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
}

.contact__card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.contact__list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  flex: 1;
}

.contact__list li {
  margin-bottom: 1.35rem;
}

.contact__list li:last-child {
  margin-bottom: 0;
}

.contact__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.contact__value {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
}

.contact__value a {
  color: var(--deep-blue);
  font-weight: 600;
}

.contact__value a:hover {
  color: var(--gold);
}

.contact__cta {
  width: 100%;
  margin-top: auto;
}

@media (max-width: 960px) {
  .contact__layout {
    grid-template-columns: 1fr;
  }
  /* Contact card first on small screens for quick call-to-action */
  .contact__card {
    order: 0;
  }
  .contact__map {
    order: 1;
  }
}

/* Footer */
.footer {
  background: var(--deep-blue);
  color: rgba(255, 255, 255, 0.85);
  padding: calc(var(--section-y) * 0.85) 0 0;
}

.footer a {
  color: rgba(255, 255, 255, 0.92);
}

.footer a:hover {
  color: var(--gold);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3125rem;
  color: var(--white);
  transition: opacity 0.2s;
}

.footer__logo:hover {
  color: var(--white);
  opacity: 0.9;
}

.footer__logo span {
  color: var(--gold);
}

.footer__tagline {
  margin: 0.875rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
  max-width: 22rem;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin: 0 0 1rem;
}

.footer__block p {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__social li {
  margin-bottom: 0.4rem;
}

.footer__bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer__bottom p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.48);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* In-page anchors clear fixed header (works with or without JS offset) */
#home,
#about,
#services,
#contact,
#process {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.contact__value,
.contact__value a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ——— Mobile polish: 320px–480px and general small screens ——— */
@media (max-width: 639px) {
  html {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .section__header--row {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 1rem;
  }

  .gallery__controls {
    align-self: flex-start;
  }

  .gallery__shell {
    padding-inline: clamp(1rem, 3.5vw, 1.25rem);
  }

  .gallery__slide {
    flex: 0 0 min(20rem, calc(100vw - 2.75rem));
  }

  .parallax-band__content {
    padding-inline: clamp(1rem, 4vw, 1.5rem);
  }

  .parallax-band__title {
    font-size: clamp(1.5rem, 6vw + 0.5rem, 2.5rem);
  }
}

@media (max-width: 480px) {
  :root {
    --container-gutter: max(1rem, min(5vw, 1.35rem));
    --section-y: clamp(2.75rem, 9vw, 4.25rem);
    --space-lg: clamp(1.5rem, 5vw, 2rem);
    --space-md: clamp(1rem, 3.5vw, 1.5rem);
  }

  body {
    font-size: 1rem;
  }

  .text-body {
    font-size: 1rem;
  }

  .text-lead {
    font-size: clamp(1rem, 3.5vw, 1.1rem);
  }

  .hero {
    min-height: min(100vh, 56rem);
    min-height: min(100svh, 56rem);
    padding: calc(var(--header-h) + 1.25rem) 0 2.25rem;
  }

  .hero__title {
    font-size: clamp(1.625rem, 6.2vw + 0.45rem, 2.35rem);
    line-height: 1.15;
    overflow-wrap: break-word;
  }

  .hero__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }

  .hero__sub {
    margin-bottom: 1.75rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 3rem;
  }

  .section__title {
    font-size: clamp(1.5rem, 5.5vw + 0.45rem, 2.125rem);
  }

  .section__lead {
    font-size: clamp(1rem, 3.2vw, 1.0625rem);
  }

  .trust__headline {
    padding-inline: 0.125rem;
  }

  .btn--lg {
    padding: 0.9375rem 1.5rem;
    min-height: 3rem;
  }

  .contact__card-title {
    font-size: 1.25rem;
  }

  .contact__map-frame {
    min-height: 220px;
  }

  .footer {
    padding-top: clamp(2.5rem, 8vw, 3.5rem);
  }

  .footer__tagline {
    max-width: none;
  }
}

@media (max-width: 599px) {
  .service-card__title {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .process__step {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 400px) {
  .nav__logo {
    font-size: 1.125rem;
  }

  .nav__inner {
    padding-inline: clamp(1rem, 3.5vw, 1.35rem);
  }

  .gallery__slide {
    flex: 0 0 calc(100vw - 2rem);
  }
}

@media (max-width: 380px) {
  .nav__links {
    padding-inline: clamp(1rem, 4vw, 1.35rem);
  }
}
