:root {
  --ink: #071018;
  --navy: #0c1a28;
  --deep: #132536;
  --lake: #5b749b;
  --lake-bright: #7a96bc;
  --mist: #d7e0ea;
  --foam: #f2f6fa;
  --sun: #e8a45a;
  --sun-hot: #f0b56e;
  --white: #ffffff;
  --muted: rgba(242, 246, 250, 0.72);
  --line: rgba(215, 224, 234, 0.16);
  --font-display: "Teko", sans-serif;
  --font-body: "Outfit", sans-serif;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--foam);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(91, 116, 155, 0.28), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(232, 164, 90, 0.12), transparent 55%),
    var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.95;
  font-weight: 600;
}

p {
  margin: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lake-bright);
  font-weight: 500;
}

.section-intro {
  max-width: 36rem;
  margin-bottom: 3.5rem;
}

.section-intro--center {
  margin-inline: auto;
  text-align: center;
}

.section-intro h2,
.services__panel h2,
.about__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-intro p:not(.eyebrow),
.services__panel > p,
.about__copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.btn--primary {
  background: var(--sun);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--sun-hot);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: rgba(242, 246, 250, 0.35);
  color: var(--foam);
  background: transparent;
}

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

.section-intro .btn {
  margin-top: 1.5rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: linear-gradient(180deg, rgba(7, 16, 24, 0.92), rgba(7, 16, 24, 0.55) 70%, transparent);
  backdrop-filter: blur(8px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: start;
}

.brand-mark {
  width: 2.75rem;
  height: auto;
  filter: invert(1) drop-shadow(0 0 12px rgba(91, 116, 155, 0.35));
}

.brand-title {
  height: 2.35rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.site-nav {
  display: none;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.site-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: none;
  justify-self: end;
  min-height: 2.5rem;
  padding: 0.5rem 1.15rem;
  font-size: 0.8rem;
}

.nav-toggle {
  justify-self: end;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--foam);
  transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 35;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  background: rgba(7, 16, 24, 0.96);
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.9rem 0.25rem;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: 0.65rem;
  width: max-content;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-bottom: 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding:
    calc(var(--header-h) + 2rem)
    clamp(1.25rem, 5vw, 4rem)
    clamp(3rem, 8vw, 5.5rem);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.82) 0%, rgba(7, 16, 24, 0.45) 48%, rgba(7, 16, 24, 0.25) 100%),
    linear-gradient(180deg, rgba(7, 16, 24, 0.55) 0%, transparent 28%, rgba(7, 16, 24, 0.88) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 48rem;
  min-width: 0;
  animation: rise 1s var(--ease) both;
}

.hero__place {
  margin-bottom: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sun);
  font-weight: 500;
}

.hero__brand {
  margin-bottom: 1.35rem;
}

.hero__lockup {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.35rem);
  min-width: 0;
  max-width: 100%;
}

.hero__mark {
  width: clamp(4.5rem, 14vw, 7.5rem);
  height: auto;
  flex: 0 0 auto;
  /* white-on-black logo → black rider on white plate */
  filter: invert(1) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.4));
}

.hero__wordmark {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  max-width: min(100%, 28rem);
  height: auto;
  /* aws-title is black on transparent — invert for dark hero */
  filter: brightness(0) invert(1) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.4));
}

.hero__lede {
  max-width: 28rem;
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Action strip */
.action-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  background: var(--ink);
}

.action-strip__frame {
  margin: 0;
  overflow: hidden;
  min-height: 42vw;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.action-strip__frame:nth-child(2) {
  transition-delay: 0.08s;
}

.action-strip__frame:nth-child(3) {
  transition-delay: 0.16s;
}

.action-strip__frame.is-visible {
  opacity: 1;
  transform: none;
}

.action-strip__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.action-strip__frame:hover img {
  transform: scale(1.04);
}

/* Locations */
.locations {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 5vw, 4rem);
  background: linear-gradient(180deg, var(--ink), var(--navy));
}

.locations__grid {
  display: grid;
  gap: 3rem;
}

.location {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.location.is-visible {
  opacity: 1;
  transform: none;
}

.location__map {
  width: min(100%, 320px);
  margin-inline: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
  mix-blend-mode: screen;
  opacity: 0.95;
}

.location__copy h3 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--foam);
}

.location__copy p {
  color: var(--muted);
  max-width: 32rem;
  font-weight: 300;
}

/* Services */
.services {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 5vw, 4rem);
  background:
    linear-gradient(135deg, rgba(19, 37, 54, 0.95), rgba(7, 16, 24, 0.98)),
    url("assets/action-spray.jpg") center / cover;
}

.services__panel {
  max-width: 38rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.services__panel.is-visible {
  opacity: 1;
  transform: none;
}

.services__list {
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.services__list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--mist);
  font-weight: 400;
}

.services__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--sun);
}

/* Pricing */
.pricing-preview {
  padding: clamp(4rem, 9vw, 6rem) clamp(1.25rem, 5vw, 4rem);
  border-block: 1px solid var(--line);
  background: var(--deep);
}

/* About */
.about {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--navy);
}

.about__inner {
  display: grid;
  gap: 3rem;
  align-items: end;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.about__inner.is-visible {
  opacity: 1;
  transform: none;
}

.about__partner {
  justify-self: start;
}

.about__partner-label {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lake-bright);
}

.about__axis {
  width: min(180px, 50vw);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Footer */
.site-footer {
  display: grid;
  gap: 1.25rem;
  padding: 2.5rem clamp(1.25rem, 5vw, 4rem);
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.site-footer__lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__mark {
  width: 2.75rem;
  height: auto;
  filter: invert(1);
}

.site-footer__wordmark {
  height: 2.1rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.site-footer__place {
  color: var(--lake-bright);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.site-footer .btn {
  justify-self: start;
}

.site-footer__note {
  color: rgba(215, 224, 234, 0.45);
  font-size: 0.85rem;
}

@keyframes hero-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 899px) {
  .brand-lockup {
    min-width: 0;
    max-width: calc(100vw - 4.25rem);
  }

  .brand-title {
    height: 1.5rem;
    max-width: 9.5rem;
    object-fit: contain;
    object-position: left center;
  }
}

@media (min-width: 720px) {
  .action-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .action-strip__frame {
    min-height: 28vw;
    max-height: 420px;
  }

  .locations__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .site-footer .btn {
    justify-self: end;
  }

  .site-footer__note {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .location {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.5rem;
  }

  .location:nth-child(even) .location__map {
    order: 2;
  }

  .about__inner {
    grid-template-columns: 1.4fr 0.8fr;
  }

  .about__partner {
    justify-self: end;
    text-align: right;
  }

  .about__axis {
    margin-left: auto;
  }

  .hero__wordmark {
    width: min(100%, 34rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero__photo {
    transform: none;
  }
}
