@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "KyivType Sans", sans-serif;
  background: #f5f0e8;
  color: #0e2218;
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Lilita One", cursive;
}

p {
  font-family: "KyivType Sans", sans-serif;
  font-weight: lighter;
  line-height: 1.6;
}

hr {
  position: relative;
  left: 28rem;
  width: 74%;
}

@keyframes scrollAnim {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
@keyframes heroWindSway {
  0% {
    transform: rotate(-2deg) translateY(0);
  }
  25% {
    transform: rotate(-0.5deg) translateY(-3px);
  }
  50% {
    transform: rotate(2deg) translateY(0);
  }
  75% {
    transform: rotate(0.5deg) translateY(2px);
  }
  100% {
    transform: rotate(-2deg) translateY(0);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 1100;
}
.nav.scrolled {
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  background: rgba(245, 240, 232, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav.scrolled .nav__overlay.open .nav__close-link {
  top: 16px;
  left: 24px;
}
.nav__menu {
  background: #ffffff;
  border: none;
  color: #0e2218;
  font-family: "KyivType Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 1rem;
  box-shadow: 0 10px 22px rgba(14, 34, 24, 0.28), 0 3px 8px rgba(14, 34, 24, 0.22);
  transform: translateY(0);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.nav__menu:hover, .nav__menu.active {
  background: #0e2218;
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(14, 34, 24, 0.36), 0 6px 14px rgba(14, 34, 24, 0.26);
  transform: translateY(-2px);
}
.nav__overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100dvh;
  background: #0e2218;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 1300;
}
.nav__overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.nav__overlay.open .nav__close-link {
  display: inline-block;
}
.nav__links {
  list-style: none;
  text-align: center;
  position: relative;
}
.nav__links li {
  margin: 20px 0;
}
.nav__link {
  font-family: "Lilita One", cursive;
  font-size: clamp(2rem, 5vw, 4rem);
  color: #f5f0e8;
  text-decoration: none;
  font-style: italic;
  transition: color 0.3s;
}
.nav__link:hover {
  color: #40916c;
}
.nav__close-link {
  position: fixed;
  top: 24px;
  left: 24px;
  background: #ffffff;
  border-radius: 1rem;
  border: none;
  color: #0e2218;
  font-family: "KyivType Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 10px 20px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
  display: none;
  z-index: 1200;
}
.nav__close-link:hover, .nav__close-link:focus-visible {
  background: #0e2218;
  color: #ffffff;
  outline: none;
}

.scrolled .nav__overlay {
  height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  background: #f5f0e8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__leaves {
  position: absolute;
  width: 300px;
  height: 300px;
  pointer-events: none;
  background-image: url("https://cdn.pixabay.com/photo/2017/08/07/11/58/leaf-2603198_1280.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
}
.hero__leaves--top {
  top: -40px;
  right: -40px;
  transform: rotate(180deg);
}
.hero__leaves--bottom {
  bottom: -40px;
  left: -40px;
  transform: scaleX(-1);
}
.hero__decor {
  position: absolute;
  object-fit: cover;
  border-radius: 1.5rem;
  pointer-events: none;
  z-index: 1;
}
.hero__decor--before {
  top: -7rem;
  left: -5rem;
  width: 31%;
  height: auto;
}
.hero__decor--after {
  top: -1rem;
  right: -1rem;
  width: 43%;
  height: auto;
  transform-origin: center center;
  animation: heroWindSway 5.5s ease-in-out infinite;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 20px;
}
.hero__supra {
  font-family: "KyivType Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 4px;
  color: #40916c;
  margin-bottom: 16px;
  transition-delay: 0.1s;
}
.hero__title {
  font-family: "Lilita One", cursive;
  font-size: clamp(3.5rem, 7vw, 11rem);
  font-weight: 900;
  line-height: 0.9;
  color: #0e2218;
  letter-spacing: -2px;
  margin-bottom: 24px;
  transition-delay: 0.2s;
}
.hero__sub {
  font-family: "KyivType Sans", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 6px;
  color: #6b7c6a;
  margin-bottom: 48px;
  transition-delay: 0.3s;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.scroll-indicator span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: #2d6a4f;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, #2d6a4f, transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}

.tagline {
  background: #f5f0e8;
  padding: 100px 24px;
  text-align: center;
}
.tagline__container {
  max-width: 900px;
  margin: 0 auto;
}
.tagline__text {
  font-family: "Lilita One", cursive;
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.5;
  color: #f5f0e8;
  letter-spacing: 0.5px;
  opacity: 1 !important;
  transform: none !important;
}
.tagline__text .char {
  color: #f5f0e8;
  transition: color 0.4s ease;
  display: inline;
}
.tagline__text .char.revealed {
  color: #0e2218;
}
.tagline__text em {
  font-style: italic;
}
.tagline__text em .char {
  color: #f5f0e8;
}
.tagline__text em .char.revealed {
  color: #2d6a4f;
}

.video-hero {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 80%;
  margin: 0 auto 80px;
  padding: 0 24px;
}
.video-hero__video-row {
  width: 100%;
}
.video-hero__video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
  border-radius: 2rem;
  overflow: hidden;
  background: #0b1b13;
}
.video-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-hero__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}
.video-hero__col {
  display: flex;
  flex-direction: column;
}
.video-hero__col--left {
  gap: 1rem;
}
.video-hero__col--left .about-section__text {
  margin-bottom: 0;
  font-size: 2.3rem;
}
.video-hero__col--left .about-section__text_light {
  margin-bottom: 0;
  font-size: 1rem;
}
.video-hero__image-wrap, .video-hero__image-button {
  width: 100%;
  border-radius: 2rem;
  height: 35vh;
  overflow: hidden;
}
.video-hero__image-wrap:hover .video-hero__image, .video-hero__image-button:hover .video-hero__image {
  transform: scale(1.05);
}
.video-hero__image-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: block;
  position: relative;
}
.video-hero__image-button:hover .video-hero__image-cta, .video-hero__image-button:focus-visible .video-hero__image-cta {
  transform: translateY(-2px);
  background: #f5f0e8;
}
.video-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.video-hero__image-cta {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: #f5f0e8;
  color: #0e2218;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.7rem;
  padding: 8px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  font-weight: 600;
  backdrop-filter: blur(2px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(245, 240, 232, 0.85);
  color: #0e2218;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel__arrow:hover {
  background: #f5f0e8;
}
.carousel__arrow--prev {
  left: 16px;
}
.carousel__arrow--next {
  right: 16px;
}
.carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(245, 240, 232, 0.5);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel__dot.is-active {
  background: #f5f0e8;
  transform: scale(1.2);
}

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: transform 0.3s, background 0.3s;
  cursor: pointer;
}
.play-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.25);
}

.photo-card {
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "KyivType Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #ffffff;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s;
}
.photo-card:hover {
  transform: scale(1.03);
}
.photo-card--green {
  background: #1a3d28;
  width: 140px;
  height: 120px;
}
.photo-card--portrait {
  width: 140px;
  height: 120px;
  background: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=200&q=60") center/cover;
}
.photo-card--flat {
  background: #f5f0e8;
  border: 1px solid #ccc;
  width: 100%;
  padding: 30px;
  color: #0e2218;
}

.about-section__caption {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin-top: 16px;
}

.video-hero-card {
  position: fixed;
  inset: 0;
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.video-hero-card.open {
  opacity: 1;
  pointer-events: auto;
}
.video-hero-card__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.video-hero-card__panel {
  position: relative;
  z-index: 1;
  width: 93%;
  height: 87%;
  padding: 9%;
  margin: 5vh auto 0;
  background: #f5f0e8;
  color: #0e2218;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.video-hero-card__panel h2 {
  margin-bottom: 0;
  font-size: 2.5rem;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: #0e2218;
  text-transform: uppercase;
  padding-bottom: 1.3rem;
}
.video-hero-card__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(14, 34, 24, 0.18);
  background: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #0e2218;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.video-hero-card__close:hover {
  background: #f1ebe2;
  transform: scale(1.06);
}
.video-hero-card__title {
  font-size: 1.6rem;
  margin-bottom: 12px;
  line-height: 1.1;
}
.video-hero-card__description {
  font-size: 1rem;
  line-height: 1.7;
}

.diploma-timeline {
  position: relative;
  margin-top: 28px;
  padding-top: 30px;
}
.diploma-timeline__line {
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(64, 145, 108, 0.2) 0%, rgba(64, 145, 108, 0.85) 50%, rgba(64, 145, 108, 0.2) 100%);
}
.diploma-timeline__item {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  width: calc(33.333% - 12px);
  vertical-align: top;
  margin-right: 12px;
  padding: 24px 14px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(14, 34, 24, 0.08);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(14, 34, 24, 0.08);
  backdrop-filter: blur(2px);
  min-height: 190px;
}
.diploma-timeline__item:last-child {
  margin-right: 0;
}
.diploma-timeline__item:nth-child(2) .diploma-timeline__dot {
  background: #59b88a;
}
.diploma-timeline__item:nth-child(3) .diploma-timeline__dot {
  background: #40916c;
}
.diploma-timeline__item:nth-child(4) .diploma-timeline__dot {
  background: #2d6a4f;
}
.diploma-timeline__item.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.diploma-timeline__item.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.diploma-timeline__item:nth-child(2).visible {
  transition-delay: 0.05s;
}
.diploma-timeline__item:nth-child(3).visible {
  transition-delay: 0.16s;
}
.diploma-timeline__item:nth-child(4).visible {
  transition-delay: 0.28s;
}
.diploma-timeline__dot {
  position: absolute;
  top: -9px;
  left: 18px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 3px solid #f5f0e8;
  box-shadow: 0 0 0 2px rgba(64, 145, 108, 0.28);
}
.diploma-timeline__year {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #0e2218;
  letter-spacing: 0.02em;
}
.diploma-timeline__title {
  font-family: "KyivType Sans", sans-serif;
  font-size: 1.08rem;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #0e2218;
}
.diploma-timeline__school {
  font-size: 0.9rem;
  color: rgba(14, 34, 24, 0.75);
}

#realisations {
  padding: 90px 0 0;
  overflow: hidden;
}

.realisations-header {
  max-width: 77%;
  margin: 0 auto 52px;
  padding: 0 0 0 41rem;
  text-align: end;
  gap: 2rem;
  display: flex;
  flex-direction: column;
}

.realisations-title {
  margin-bottom: 0;
  font-size: 2.5rem;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: #0e2218;
  text-transform: uppercase;
}

.realisations-text {
  margin-bottom: 0;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: #0e2218;
}

.projects-scroll {
  display: flex;
  gap: 7rem;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  align-items: center;
  top: -8rem;
  height: 95vh;
  position: relative;
}
.projects-scroll::-webkit-scrollbar {
  display: none;
}
.projects-scroll:active {
  cursor: grabbing;
}

.project-card {
  flex: 0 0 41%;
  background: transparent;
  overflow: visible;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: none;
  position: relative;
}
.project-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -3%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
  z-index: 3;
}
.project-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 102%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
  z-index: 3;
}
.project-card:hover {
  transform: translateY(-10px);
}
.project-card:hover .project-thumb-overlay {
  background: rgba(0, 0, 0, 0.45);
}
.project-card:hover .play-btn {
  transform: scale(1);
}

.connector-svg {
  top: -70px !important;
  pointer-events: none !important;
}

.end-location {
  top: 5rem;
  position: relative;
}

.first-location {
  position: relative;
  top: -4rem;
  z-index: 4;
}

.top-location {
  position: relative;
  top: 3rem;
}

.project-thumb-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 3rem;
}

.project-thumb,
.project-thumb-first {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  transition: transform 0.5s ease;
}

.project-thumb-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 3rem;
  cursor: inherit;
}

.project-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  border-radius: 3rem;
  pointer-events: none;
}

.project-card .play-btn {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  color: #080808;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding-left: 3px;
}

.project-info {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.project-meta {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.project-meta-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-text {
  font-size: 1rem;
  font-weight: lighter;
  letter-spacing: 0.04em;
  color: #0e2218;
  text-align: end;
  left: 7rem;
  position: relative;
}

.project-client {
  font-size: 1.3rem;
  font-weight: lighter;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-transform: uppercase;
}

.project-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #40916c;
  border: 1px solid rgba(200, 169, 110, 0.35);
  padding: 4px 9px;
}

.arrow-btn {
  display: none;
}

.mobile-carousel-nav {
  display: none;
  align-items: center;
}

.card-hidden-mobile {
  display: none !important;
}

.mobile-page-indicator {
  font-family: "KyivType Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0e2218;
  min-width: 3.5rem;
  text-align: center;
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  top: -20rem;
  left: -2rem;
  z-index: 5;
  pointer-events: auto;
}

.watch-btn {
  width: 65px;
  height: 65px;
  border-radius: 0.5rem;
  background: #f5f0e8;
  color: #0e2218;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  pointer-events: auto;
  position: relative;
  z-index: 6;
}
.watch-btn:hover {
  background: #40916c;
  transform: scale(1.08);
}

.external-btn {
  min-height: 65px;
  padding: 0 16px;
  width: 100%;
  min-width: 100%;
  border-radius: 0.5rem;
  background: #f5f0e8;
  color: #0e2218;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: background 0.3s ease, transform 0.2s ease;
}
.external-btn:hover {
  color: #0e2218;
  transform: scale(1.03);
}

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.video-modal.open {
  opacity: 1;
  pointer-events: all;
}
.video-modal video {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  outline: none;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.8);
}

.video-modal-close {
  position: absolute;
  top: 28px;
  right: 40px;
  z-index: 2;
  background: none;
  border: none;
  color: #f5f0e8;
  font-family: "Barlow", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
.video-modal-close:hover {
  opacity: 1;
}

.video-modal-frame {
  width: 90vw;
  max-width: 1200px;
  aspect-ratio: 16/9;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.8);
}
.video-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 1rem;
  display: block;
}

.video-modal:fullscreen {
  opacity: 1;
  pointer-events: all;
  background: #000;
}
.video-modal:fullscreen .video-modal-frame {
  width: 100vw;
  height: 100vh;
  max-width: none;
  aspect-ratio: auto;
  box-shadow: none;
}
.video-modal:fullscreen .video-modal-frame iframe {
  border-radius: 0;
}

.testimonials {
  padding: 80px 24px;
  text-align: center;
  max-width: 70%;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}
.testimonials__decor {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}
.testimonials__decor--before {
  left: -29rem;
  top: -13rem;
  transform: rotate(61deg);
  width: 47%;
  height: auto;
}
.testimonials__grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.testimonials__grid .photo-card--flat {
  width: 31%;
  height: auto;
  border-radius: 4px;
}
.testimonials .section-title {
  margin-bottom: 0;
  font-size: 2.5rem;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: #0e2218;
  text-transform: uppercase;
}
.testimonials .section-desc {
  padding-bottom: 2rem;
}
.testimonials .reveal {
  transition: none;
  padding: 2rem;
}
.testimonials__img {
  width: 100%;
}

.cta-banner {
  background: #0e2218;
  padding: 80px 24px 0;
  text-align: center;
}
.cta-banner__sub {
  font-size: 11px;
  letter-spacing: 4px;
  color: #40916c;
  margin-bottom: 16px;
  cursor: pointer;
  transition: color 0.3s;
}
.cta-banner__sub:hover {
  color: #f5f0e8;
}
.cta-banner__title {
  font-family: "Lilita One", cursive;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: #f5f0e8;
  line-height: 1.1;
}

.contact {
  background: #0e2218;
  padding: 10rem 2rem;
  color: #f5f0e8;
  text-align: center;
  margin-top: 5rem;
}
.contact .section-title {
  font-family: "Lilita One", cursive;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: #f5f0e8;
  line-height: 1.1;
}
.contact .section-desc {
  font-family: "KyivType Sans", sans-serif;
  font-size: 1rem;
  color: #f5f0e8;
  line-height: 1.1;
  font-weight: lighter;
  letter-spacing: 0.04em;
  padding: 2rem 23rem;
}
.contact__social {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}
.contact__form {
  max-width: 64%;
  margin: 0 auto;
  text-align: left;
}
.contact__row {
  margin-bottom: 16px;
}
.contact__row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact__row--submit {
  text-align: right;
}
.contact__input, .contact__textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f5f0e8;
  font-family: "KyivType Sans", sans-serif;
  font-size: 13px;
  padding: 14px 18px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.contact__input::placeholder, .contact__textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.contact__input:focus, .contact__textarea:focus {
  border-color: #40916c;
  background: rgba(255, 255, 255, 0.12);
}
.contact__textarea {
  min-height: 130px;
  resize: vertical;
}
.contact__check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}
.contact__check input {
  margin-top: 3px;
  accent-color: #40916c;
}
.contact__check a {
  color: #40916c;
}
.contact__btn {
  background: #40916c;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-family: "KyivType Sans", sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  transition: background 0.3s, transform 0.2s;
  font-size: 12px;
  padding: 14px 36px;
}
.contact__btn:hover {
  background: #2d6a4f;
  transform: translateY(-2px);
}
.contact__success {
  display: none;
  color: #40916c;
  font-size: 14px;
  margin-top: 24px;
  text-align: center;
}
.contact__success.show {
  display: block;
}

.social-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5f0e8;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.3s, border-color 0.3s;
}
.social-icon:hover {
  background: #40916c;
  border-color: #40916c;
}

.legal-page-body {
  background: #f5f0e8;
  color: #0e2218;
}

.legal-page {
  width: min(980px, 92%);
  margin: 48px auto 64px;
  background: #f5f0e8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px 22px;
  line-height: 1.7;
}
.legal-page h1,
.legal-page h2,
.legal-page h3 {
  margin: 0 0 14px;
  line-height: 1.25;
}
.legal-page h1 {
  font-family: "Lilita One", cursive;
  letter-spacing: 0.5px;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  color: #0e2218;
}
.legal-page .subtitle {
  color: #0e2218;
  margin: 0 0 26px;
  font-size: 1rem;
}
.legal-page section {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.legal-page h2 {
  color: #0e2218;
  font-size: clamp(1.1rem, 2.8vw, 1.4rem);
  margin-bottom: 10px;
}
.legal-page p {
  margin: 0 0 12px;
  color: #0e2218;
  font-weight: 400;
}
.legal-page ul {
  margin: 0 0 14px 20px;
  padding: 0;
}
.legal-page li {
  margin-bottom: 6px;
}
.legal-page a {
  color: #1a3d28;
}

.legal-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.back-link {
  display: inline-block;
  color: #f2f2f2;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.92rem;
}
.back-link:hover, .back-link:focus-visible {
  border-color: #2d6a4f;
  color: #1a3d28;
  outline: none;
}

.identity-list {
  list-style: none;
  margin-left: 0;
}
.identity-list li {
  margin-bottom: 8px;
}
.identity-list strong {
  color: #0e2218;
}

.footer-signature {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  color: #c7c7c7;
  font-size: 0.95rem;
}

.footer {
  background: #0e2218;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #f5f0e8;
  padding: 48px 24px 20px;
}
.footer__inner {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
  gap: 28px;
  align-items: start;
}
.footer__title {
  font-size: 1.5rem;
  line-height: 1.1;
  margin-bottom: 10px;
  color: #f5f0e8;
}
.footer__subtitle {
  font-size: 0.95rem;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  color: #f5f0e8;
}
.footer__text {
  font-size: 0.95rem;
  color: rgba(245, 240, 232, 0.86);
  line-height: 1.7;
  max-width: 32ch;
}
.footer__list {
  list-style: none;
  display: grid;
  gap: 8px;
}
.footer__list li {
  font-size: 0.92rem;
  color: rgba(245, 240, 232, 0.86);
  line-height: 1.5;
}
.footer a {
  color: #f5f0e8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.footer a:hover {
  color: #40916c;
}
.footer a:focus-visible,
.footer button:focus-visible {
  outline: 3px solid #40916c;
  outline-offset: 3px;
  border-radius: 4px;
}
.footer__rgpd {
  margin-top: 12px;
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.82);
  max-width: 44ch;
}
.footer__bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}
.footer__bottom p {
  font-size: 0.74rem;
  color: rgba(245, 240, 232, 0.72);
  letter-spacing: 0.08em;
}

/* ── Ordinateur portable 1440 ── */
@media (max-width: 1441px) and (max-height: 900px) {
  .nav__menu {
    font-size: 1rem;
  }
  .hero__supra, .hero__sub {
    font-size: 1rem;
  }
  .tagline__text {
    font-size: 2rem;
  }
  .video-hero__col--left .about-section__text {
    font-size: 1.5rem;
  }
  .realisations-header {
    padding: 0 0 0 33rem;
  }
  .realisations-header hr {
    left: 20rem;
  }
  .realisations-title {
    font-size: 2rem;
  }
  .project-actions {
    top: -20rem;
  }
  .project-actions .watch-btn {
    width: 49px;
    height: 49px;
  }
  .project-actions .external-btn {
    font-size: 0.8rem;
    min-height: 49px;
  }
  .testimonials .section-title {
    font-size: 2rem;
  }
  .testimonials__grid .photo-card--flat {
    width: 28%;
  }
  .testimonials__decor--before {
    left: -21rem;
    top: -11rem;
  }
}
/* ── Ordinateur portable 15" : 1366 x 768 ── */
@media (max-width: 1366px) and (max-height: 768px) {
  .project-actions {
    top: -25rem;
  }
}
/* ── Ordinateur portable 13" : 1280 x 800 ── */
@media (max-width: 1280px) and (max-height: 800px) {
  .realisations-header {
    padding: 0 0 0 26rem;
  }
  .project-actions {
    top: -26rem;
  }
}
/* ── Tablette : 900 x 1024 ── */
@media (min-width: 768px) {
  .legal-page {
    padding: 40px 42px;
  }
}
@media (max-width: 900px) and (max-height: 1024px) {
  .video-hero {
    max-width: 92%;
  }
  .video-hero__col--left .about-section__text {
    font-size: 1.5rem;
  }
  .realisations-header {
    padding: 0;
  }
  .projects-scroll {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    top: 0;
    gap: 2rem;
    align-items: stretch;
    padding: 0 2rem;
  }
  .project-thumb-first {
    border-radius: 3rem;
  }
  .project-meta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .project-actions {
    position: static;
    order: -1;
    justify-content: center;
    top: auto;
    right: auto;
    left: auto;
  }
  .watch-btn,
  .external-btn {
    background: #2d6a4f;
    color: #ffffff;
  }
  .watch-btn:hover,
  .external-btn:hover {
    background: #40916c;
    color: #ffffff;
  }
  .end-location {
    top: 0;
  }
  .project-card {
    flex: 0 0 100%;
    width: 100%;
  }
  .connector-svg {
    display: none !important;
  }
  .first-location {
    top: 0;
  }
  .testimonials__grid .photo-card--flat {
    width: 45%;
  }
  .contact .section-desc {
    padding: 2rem 13rem;
  }
  .contact__form {
    max-width: 97%;
  }
  .testimonials {
    padding: 32% 24px 6rem;
  }
  .testimonials__decor--before {
    left: -14rem;
    top: 4rem;
  }
  .hero__decor--before {
    top: -7rem;
    width: 48%;
  }
  .hero__decor--after {
    width: 55%;
  }
  .video-hero__columns {
    grid-template-columns: 1fr 1fr;
  }
  .video-hero__col--middle {
    display: none;
  }
  .footer__inner {
    grid-template-columns: 1.2fr 1fr;
  }
  .project-text {
    left: 0;
    position: static;
    text-align: center;
  }
}
@media (max-width: 640px) {
  .hero__decor--before {
    top: -6rem;
    width: 72%;
  }
  .hero__decor--after {
    width: 78%;
  }
  .tagline {
    padding: 12% 7rem;
  }
  .realisations-title {
    font-size: 2rem;
  }
  .project-meta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .project-actions {
    position: static;
    order: -1;
    justify-content: center;
    top: auto;
    right: auto;
    left: auto;
  }
  .mobile-carousel-nav {
    justify-content: center;
    margin: 4rem 0;
    gap: 1rem;
  }
  .mobile-carousel-nav .mobile-arrow-btn {
    border-radius: 100%;
    width: 7%;
    height: 5vh;
    background-color: #2d6a4f;
    color: #f5f0e8;
    border: none;
  }
  .testimonials .section-title {
    font-size: 2rem;
  }
  .testimonials__decor--before {
    left: -8rem;
    top: 1rem;
  }
  .contact .section-desc {
    padding: 2rem 7rem;
  }
  .testimonials {
    max-width: 77%;
  }
  .project-card:hover {
    transform: translateY(0);
  }
  .projects-scroll {
    overflow-y: hidden;
    gap: 5rem;
  }
  .projects-scroll .project-card {
    top: 0;
  }
  .project-actions {
    top: 1rem;
  }
  .mobile-carousel-nav .mobile-arrow-btn {
    width: 9%;
    height: 6vh;
  }
  .testimonials__decor--before {
    left: -6rem;
  }
  .contact .section-desc {
    padding: 2rem 3rem;
  }
  .footer__inner {
    grid-template-columns: 1.2fr;
  }
  .footer__text {
    max-width: 100%;
  }
  .footer__list {
    display: flex;
  }
  .video-hero__columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .video-hero__col--left {
    align-items: center;
    text-align: center;
  }
  .video-hero__col--left .about-section__text,
  .video-hero__col--left .about-section__text_light {
    text-align: center;
  }
  .video-hero-card__panel {
    overflow-y: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .diploma-timeline__line,
  .diploma-timeline__dot {
    display: none;
  }
  .diploma-timeline__item {
    display: flex;
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
    min-height: auto;
    padding: 16px 14px;
  }
  .diploma-timeline__item:last-child {
    margin-bottom: 0;
  }
  .realisations-header,
  .realisations-title,
  .realisations-text {
    text-align: center;
  }
  .project-text {
    text-align: center;
    left: 0;
    position: static;
    flex: 1 1 auto;
  }
  .project-thumb-wrap,
  .project-thumb,
  .project-thumb-first,
  .project-thumb-cover {
    border-radius: 1.2rem;
  }
}
@media (max-width: 447px) {
  .video-hero-card__panel h2 {
    font-size: 1.5rem;
  }
  .video-hero-card__panel p {
    font-size: 0.8rem;
  }
  .tagline {
    padding: 12% 3rem;
  }
  .diploma-timeline__title {
    font-size: 0.8rem;
  }
  .diploma-timeline__school {
    font-size: 0.75rem;
  }
  .testimonials__grid .photo-card--flat {
    width: 91%;
  }
  .project-text {
    flex: 1 1 auto;
    left: 0;
  }
  .project-actions {
    top: 1rem;
  }
}
@media (max-width: 375px) {
  .hero__decor--before {
    top: -5rem;
    width: 92%;
  }
  .hero__decor--after {
    width: 90%;
  }
  .tagline__text {
    font-size: 1.5rem;
  }
  .video-hero__video-wrap {
    aspect-ratio: 14/14;
  }
  .video-hero__columns {
    grid-template-columns: 1fr;
  }
  .realisations-title {
    font-size: 1.5rem;
  }
  .realisations-header hr {
    left: 8rem;
  }
  .project-actions {
    top: 1rem;
  }
  .mobile-carousel-nav .mobile-arrow-btn {
    width: 11%;
  }
  .testimonials .section-title {
    font-size: 1.5rem;
  }
  .contact .section-desc {
    padding: 2rem 0rem;
  }
  .project-text {
    flex: 1 1 auto;
    left: 0;
  }
  .project-actions {
    top: 1rem;
  }
  .footer__list {
    flex-wrap: wrap;
  }
}
@media (max-width: 344px) {
  .project-text {
    flex: 1 1 auto;
    left: 0;
  }
  .project-actions {
    top: 1rem;
  }
}

/*# sourceMappingURL=style.css.map */
