:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Shared page defaults */
* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  background: #050608;
  color: #fff;
}

/* Full-screen landing hero */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  min-height: 100svh;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #050608;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 58%) 0%, rgb(0 0 0 / 20%) 70%),
    linear-gradient(0deg, rgb(0 0 0 / 30%), transparent 55%);
  content: "";
  pointer-events: none;
}

.hero__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-image-reveal 3s ease-out forwards;
}

.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100% - 2.5rem, 80rem);
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  padding-block: 1.25rem;
}

.site-header__brand {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
}

.site-header__brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header__contact {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 10px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header__contact:hover {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.site-header__contact:focus-visible,
.site-header__brand:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.hero__content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(100% - 2.5rem, 80rem);
  margin: 0 auto;
  padding-block: 4rem 6rem;
  text-align: center;
  animation: hero-content-enter 700ms cubic-bezier(0.22, 0.61, 0.36, 1) 120ms both;
}

.hero__content h1 {
  max-width: 58rem;
  margin: 0 auto;
  font-size: clamp(2.5rem, 10vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.99;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgb(0 0 0 / 28%);
}

.hero__content p {
  max-width: 34rem;
  margin: 1.25rem auto 0;
  color: rgb(255 255 255 / 88%);
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgb(0 0 0 / 55%);
}

/* Shared responsive layout for the service tiers */
.service-section {
  overflow: hidden;
}

.service-section--express {
  background: #003049;
  color: #fff;
}

.service-section--premium {
  background: #fdf0d5;
  color: #111;
}

.service-section--full {
  background: #780000;
  color: #fff;
}

.service-section__inner {
  display: grid;
  grid-template-areas:
    "media"
    "content";
  gap: 0.125rem;
  width: min(100%, 80rem);
  margin-inline: auto;
  padding: 2rem 1.25rem;
}

.service-section__media {
  grid-area: media;
  display: flex;
  min-width: 0;
  min-height: clamp(8rem, 38vw, 14rem);
  align-items: center;
  justify-content: center;
}

.service-section__media img {
  display: block;
  width: min(100%, 34rem);
  max-height: 22rem;
  object-fit: contain;
}

.service-section__content {
  position: relative;
  grid-area: content;
  min-width: 0;
  min-height: 19rem;
}

.service-section__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-block: 0.75rem;
}

.service-section__slide h2 {
  margin: 0;
  font-size: clamp(2rem, 9vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.service-section__slide p {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: rgb(255 255 255 / 82%);
  font-size: 1rem;
  line-height: 1.65;
}

.service-section--premium .service-section__slide p {
  color: rgb(17 17 17 / 75%);
}

.service-section__button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgb(255 255 255 / 85%);
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.service-section__button:hover {
  background: #fff;
  color: #003049;
}

.service-section--full .service-section__button:hover {
  color: #780000;
}

.service-section__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.service-section--premium .service-section__button {
  border-color: rgb(17 17 17 / 78%);
  color: #111;
}

.service-section--premium .service-section__button:hover {
  background: #111;
  color: #fdf0d5;
}

.service-section--premium .service-section__button:focus-visible {
  outline-color: #111;
}

/* Compact site footer */
.site-footer {
  background: #050608;
  color: rgb(255 255 255 / 72%);
}

.site-footer__inner {
  display: flex;
  width: min(100% - 2.5rem, 80rem);
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-inline: auto;
  padding-block: 1.5rem;
  text-align: center;
}

.site-footer__copyright {
  margin: 0;
  font-size: 0.8125rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.site-footer__links a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: #fff;
  font-size: 0.875rem;
  text-decoration: none;
  text-underline-offset: 0.2em;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

.site-footer__links a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

/* Motion stays subtle and respects reduced-motion preferences. */
@keyframes hero-image-reveal {
  from {
    filter: brightness(0.05);
  }

  to {
    filter: brightness(1);
  }
}

@keyframes hero-content-enter {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes contentOne {
  0%, 45% {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  50%, 95% {
    opacity: 0;
    transform: translateY(-20px);
    visibility: hidden;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}

@keyframes contentTwo {
  0%, 45% {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
  }

  50%, 95% {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  100% {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
  }
}

.service-section__slide--first {
  animation: contentOne 10s infinite;
}

.service-section__slide--second {
  animation: contentTwo 10s infinite;
}


/* Wider screens place service copy beside its image. */
@media (min-width: 48rem) {
  .site-header {
    padding-block: 2rem;
  }

  .site-header__brand {
    width: 3.5rem;
    height: 3.5rem;
  }

  .site-header__contact {
    min-height: 3rem;
    padding-inline: 1.4rem;
    font-size: 0.95rem;
  }

  .hero__content {
    padding-block: 5rem 8rem;
    text-align: left;
  }

  .hero__content h1 {
    margin-inline: 0;
    font-size: clamp(4rem, 7vw, 6.5rem);
  }

  .hero__content p {
    margin: 1.75rem 0 0;
    font-size: 1.125rem;
  }

  .service-section__inner {
    grid-template-areas: "content media";
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    min-height: 100vh;
    min-height: 100svh;
    padding: 4rem clamp(2rem, 6vw, 6rem);
  }

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    padding-block: 1.75rem;
    text-align: left;
  }

  .service-section__media {
    min-height: 28rem;
  }

  .service-section__media img {
    width: 100%;
    max-height: 34rem;
  }

  .service-section__content {
    min-height: 28rem;
  }

  .service-section__slide {
    justify-content: center;
    padding-block: 1.5rem;
  }

  .service-section__slide h2 {
    font-size: clamp(2.75rem, 4.5vw, 4.5rem);
  }

  .service-section__slide p {
    margin-top: 1.5rem;
    font-size: 1.125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__image {
    animation: none;
    filter: brightness(1);
  }

  .hero__content {
    animation: none;
  }

  .site-header__contact {
    transition: none;
  }

  .service-section__button {
    transition: none;
  }

  .service-section__slide {
    animation: none;
  }

  .service-section__slide--second {
    visibility: hidden;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-section__media img {
    transition: transform 350ms ease;
  }

  .service-section:hover .service-section__media img {
    transform: scale(1.015);
  }
}
