:root {
  --page-bg: #f8f7f4;
  --ink: #2f2f2f;
  --line: #656464;
  --hero-bg: #2f2f2f;
  --footer-bg: #111111;
  --content-pad: clamp(20px, 4vw, 64px);
  --header-logo-size: clamp(24px, 3.2vw, 60px);
  --header-nav-image-size: clamp(8px, 1vw, 14px);
  --header-menu-size: clamp(24px, 3vw, 34px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ececec;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

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

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

button {
  padding: 0;
  border: 0;
  background: transparent;
}

.site-shell {
  width: 100%;
  background: var(--page-bg);
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal--left {
  transform: translateX(-52px);
}

.reveal--right {
  transform: translateX(52px);
}

.reveal--soft {
  transform: translateY(22px) scale(0.985);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 16px 38px rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
  }
}

.hero {
  background: var(--hero-bg);
  color: #fff;
}

.hero__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 2.8vw, 40px);
  padding: 18px var(--content-pad) 20px;
  position: relative;
  z-index: 3;
  animation: heroFadeUp 0.9s ease 0.08s both;
}

.hero__brand {
  width: var(--header-logo-size);
  flex: 0 0 auto;
}

.hero__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 24vw, 90px);
  flex: 1;
  min-width: 0;
}

.hero__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 0 6px 16px;
}

.hero__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) scale(0.35);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.hero__link img {
  height: var(--header-nav-image-size);
  width: auto;
  opacity: 0.62;
  filter: brightness(0.68) grayscale(0.08);
  transition: opacity 0.22s ease, filter 0.22s ease, transform 0.22s ease;
}

.hero__link:hover::before,
.hero__link:focus-visible::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.hero__link:hover img,
.hero__link:focus-visible img {
  opacity: 1;
  filter: brightness(1.9) grayscale(0);
  transform: translateX(2px);
}

.hero__menu-wrap {
  position: relative;
  flex: 0 0 auto;
}

.hero__menu {
  width: var(--header-menu-size);
  flex: 0 0 auto;
  cursor: pointer;
}

.hero__menu:focus-visible {
  outline: none;
}

.hero__menu img {
  width: 100%;
  transition:
    transform 0.24s ease,
    filter 0.24s ease;
}

.hero__menu:hover img,
.hero__menu:focus-visible img,
.hero__menu-wrap.is-open .hero__menu img {
  transform: translateY(-1px) scale(1.04);
  filter: drop-shadow(0 8px 14px rgba(255, 255, 255, 0.18));
}

.hero__menu-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  display: grid;
  gap: 10px;
  width: clamp(180px, 18vw, 240px);
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(18, 18, 18, 0.96);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.hero__menu-panel[hidden] {
  display: none;
}

.hero__menu-panel:not([hidden]) {
  animation: heroFadeUp 0.22s ease both;
}

.hero__menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 0 6px 14px;
}

.hero__menu-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) scale(0.35);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.hero__menu-link img {
  height: calc(var(--header-nav-image-size) + 1px);
  width: auto;
  opacity: 0.75;
  filter: brightness(0.92);
  transition: opacity 0.22s ease, filter 0.22s ease, transform 0.22s ease;
}

.hero__menu-link:hover::before,
.hero__menu-link:focus-visible::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.hero__menu-link:hover img,
.hero__menu-link:focus-visible img {
  opacity: 1;
  filter: brightness(1.4);
  transform: translateX(2px);
}

.hero__line,
.section-divider {
  height: 2px;
  background: var(--line);
}

.hero__line {
  transform-origin: left center;
  animation: heroFadeUp 0.8s ease 0.18s both;
}

.hero__art img {
  width: 100%;
  animation: heroSlideIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.hero__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--content-pad) 24px;
  margin-top: clamp(-110px, -9vw, -40px);
  position: relative;
  z-index: 2;
  animation: heroFadeUp 1s ease 0.34s both;
}

.hero__tagline {
  width: min(40%, 820px);
}

.hero__button {
  width: min(15%, 360px);
  transform-origin: center;
  animation:
    heroFadeUp 1s ease 0.42s both,
    heroGlow 4.8s ease-in-out 1.2s infinite;
}

.hero__button img,
.services__arrows button img,
.contact__top img {
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.hero__button:hover img,
.hero__button:focus-visible img,
.services__arrows button:hover img,
.services__arrows button:focus-visible img,
.contact__top:hover img,
.contact__top:focus-visible img {
  transform: translateY(-3px) scale(1.03);
  filter: drop-shadow(0 12px 18px rgba(47, 47, 47, 0.18));
}

.section {
  overflow: hidden;
}

.section-title {
  width: auto;
}

.services {
  padding: 48px 0 0;
  background:
    url("IMAGES/services - BG.png") center/cover no-repeat;
}

.services__title {
  width: clamp(164px, 20vw, 320px);
  margin-left: var(--content-pad);
  margin-bottom: 42px;
  margin-top: 50px;
}

.services__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 1.75fr);
  gap: 8px;
  align-items: start;
  padding: 0 var(--content-pad);
}

.services__current {
  padding-left: 0;
}

.services__current img {
  width: min(88%, 760px);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.services__copy {
  padding: clamp(24px, 3vw, 56px) 0 0 0;
  margin-left: -34px;
}

.services__copy-title {
  width: min(88%, 420px);
}

.services__copy-text {
  width: min(92%, 470px);
  margin-top: 18px;
}

.services__next {
  width: min(78%, 340px);
  margin: 28px 0 0 auto;
  aspect-ratio: 1713 / 2365;
  overflow: hidden;
}

.services__next img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.services__current:hover img,
.services__next:hover img,
.about__image:hover img,
.contact__image:hover img,
.footer__photo:hover > img {
  transform: scale(1.03);
}

.services__arrows {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding-right: var(--content-pad);
}

.services__arrows {
  margin-top: 24px;
  margin-bottom: 36px;
}

.services__arrows button {
  width: clamp(58px, 7vw, 86px);
  cursor: pointer;
}

.services__arrows button,
.footer__links a,
.contact__top {
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

.services__arrows button:hover,
.services__arrows button:focus-visible,
.footer__links a:hover,
.footer__links a:focus-visible {
  transform: translateY(-2px);
}

.section-divider {
  margin: 0 var(--content-pad);
}

.about {
  padding: 34px var(--content-pad) 28px;
}

.about__title {
  width: clamp(132px, 16vw, 250px);
  margin-bottom: 28px;
}

.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 36%);
  gap: 28px;
  align-items: start;
}

.about__copy {
  display: grid;
  gap: 22px;
}

.about__copy img {
  width: 80%;
}

.about__image img {
  width: 100%;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.about__stats {
  width: min(76%, 840px);
  margin: 52px auto 60px;
}

.contact {
  padding: 20px var(--content-pad) 0;
}

.contact__title {
  width: clamp(112px, 13vw, 210px);
  margin-bottom: 14px;
}

.section-divider--tight {
  margin: 0 0 20px;
}

.contact__layout {
  display: grid;
  grid-template-columns: minmax(170px, 28%) 1fr;
  gap: 18px;
  align-items: end;
}

.contact__details img,
.contact__image img {
  width: 100%;
}

.contact__image img,
.footer__photo > img {
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  margin: 54px auto 38px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.contact__top img {
  width: 50px;
}

.footer {
  position: relative;
  background: var(--footer-bg);
  color: #fff;
  overflow: hidden;
}

.footer__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(150px, 22%) 1fr;
  gap: 28px;
  padding: 22px var(--content-pad) 16px;
  align-items: end;
}

.footer__brand {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer__photo > img {
  width: 100%;
}

.footer__follow-inline {
  display: flex;
  align-items: center;
  gap: 200px;
  margin-top: 10px;
}

.footer__follow-link {
  display: inline-flex;
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

.footer__follow-link:hover,
.footer__follow-link:focus-visible {
  transform: translateY(-2px);
}

.footer__follow-link img {
  width: clamp(64px, 8vw, 120px);
}

.footer__follow-inline .footer__arrow {
  width: 60px;
  max-width: 60px;
  flex: 0 0 auto;
}

.footer__logo {
  width: min(90%, 820px);
  margin-bottom: 14px;
}

.footer__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 30vw, 512px);
  flex-wrap: wrap;
  width: min(90%, 820px);
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer__links a img {
  width: auto;
  max-width: 100%;
  height: clamp(16px, 3.5vw, 39px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal--soft {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 520px) {
  .hero__nav {
    gap: 12px;
  }

  :root {
    --header-nav-image-size: 7px;
  }

  .site-shell {
    width: min(100%, 768px);
    margin: 0 auto;
  }

  .hero__links {
    gap: 12px;
  }

  .hero__link {
    padding: 4px 0 4px 12px;
  }

  .hero__link::before {
    width: 6px;
    height: 6px;
  }

  .hero__menu-panel {
    right: -4px;
    width: min(70vw, 210px);
    padding: 14px 16px;
  }

  .hero__bottom {
    gap: 16px;
    padding: 0 16px 14px;
    margin-top: -40px;
  }

  .hero__tagline {
    width: 56%;
  }

  .hero__button {
    width: 38%;
  }

  .services__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(110px, 0.9fr);
    gap: 0;
    padding: 0;
  }

  .services__current img {
    width: 100%;
  }

  .services__copy {
    padding: 26px 0 0 8px;
  }

  .services__next {
    width: 80%;
    margin-top: 18px;
  }

  .about__layout {
    grid-template-columns: minmax(0, 1fr) 38%;
    gap: 14px;
  }

  .contact__layout {
    grid-template-columns: 29% 1fr;
    gap: 10px;
  }

  .footer__inner {
    grid-template-columns: 112px 1fr;
    gap: 16px;
    padding: 14px 10px 10px 6px;
  }
}

@media (max-width: 860px) {
  .hero__links {
    display: none;
  }
}
