/* Outfit – self-hosted, latin subset (variable font) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Outfit – latin-ext subset */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --color-bg: #fbfaf8;
  --color-text: #2e2d27;
  --color-text-muted: #2e272e;
  --color-white: #ffffff;
  --content-width: 624px;
  --content-padding: 32px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fixed Overlay */

.site-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  padding: 20px 24px;
}

.site-overlay * {
  pointer-events: auto;
}

.overlay-name {
  position: absolute;
  top: 20px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--color-white);
  transition: color 0.3s ease;
}

.overlay-lastname {
  font-size: 20px;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.overlay-name-bold {
  font-weight: 900;
}

.overlay-firstname {
  font-size: 20px;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.overlay-lang {
  position: absolute;
  top: 20px;
  right: 24px;
  display: flex;
  gap: 8px;
}

.lang-btn {
  color: var(--color-white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.lang-btn.lang-active,
.lang-btn:hover {
  font-weight: 900;
}

.overlay-ig {
  position: absolute;
  bottom: 20px;
  right: 24px;
  color: var(--color-white);
  text-decoration: none;
  border: 1px solid var(--color-white);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.overlay-ig:hover {
  background: var(--color-white);
}

.overlay-ig:hover {
  background: var(--color-white);
}

.overlay-ig:hover img {
  filter: brightness(0);
}

.site-overlay--dark .overlay-ig:hover {
  background: var(--color-text);
}

.site-overlay--dark .overlay-ig:hover img {
  filter: brightness(0) invert(1);
}

.overlay-ig img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.overlay-copyright {
  position: absolute;
  bottom: 20px;
  left: 24px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--color-white);
  transition: color 0.3s ease;
}

/* Dark variant (below hero) */

.site-overlay--hidden {
  opacity: 0;
  pointer-events: none !important;
}

.site-overlay--hidden * {
  pointer-events: none !important;
}

.site-overlay--dark .overlay-name {
  color: var(--color-text);
}

.site-overlay--dark .lang-btn {
  color: var(--color-text);
}

.site-overlay--dark .overlay-ig {
  color: var(--color-text);
  border-color: var(--color-text);
}

.site-overlay--dark .overlay-ig img {
  filter: brightness(0);
}

.site-overlay--dark .overlay-copyright {
  color: var(--color-text);
}

/* Hero */

.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video--mobile {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
}

/* Intro section */

.intro {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 48px;
  background: var(--color-bg);
}

.intro-heading {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 920px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  color: var(--color-text);
}


/* image-section */

.image-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 48px;
  background: var(--color-bg);
}

.image-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr 1fr;
  column-gap: 20px;
  row-gap: 0;
  width: 80%;
  max-width: 1100px;
}

/* Slider */

.slider {
  grid-column: 1 / 4;
  grid-row: 1 / 3;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.25), 0 4px 6px -4px rgba(0, 0, 0, 0.25);
}

.slider_list {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider_slide {
  position: absolute;
  inset: 0;
  display: flex;
}

.slider_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider_button {
  all: unset;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  cursor: pointer;
  z-index: 2;
}

.slider_button.is-prev {
  left: 0;
}

.slider_button.is-next {
  right: 0;
}

.image-text {
  grid-column: 4;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  color: var(--color-text-muted);
  align-self: start;
}

.image-text--row1 { grid-row: 1; }
.image-text--row2 { grid-row: 2; }

/* Text section */

.text-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 48px;
  background: var(--color-bg);
}

.text-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 80%;
  max-width: 1100px;
}

.text-block p {
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  color: var(--color-text-muted);
}

.text-block div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-block img {
  width: 100%;
  aspect-ratio: 4 / 1;
  object-fit: cover;
}


.col-1 { grid-column: 1; }
.col-2 { grid-column: 2; }
.col-3 { grid-column: 3; }
.col-4 { grid-column: 4; }
.col-1-3 { grid-column: 1 / 4; }
.col-2-3 { grid-column: 2 / 4; }

/* Contacts section */

.contacts {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
}

.contacts-body {
  max-width: 980px;
  padding: 0 48px;
}

.cta-title {
  font-size: 16px;
  font-weight: 900;
  line-height: 20px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cta-text {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  color: var(--color-text);
  margin-bottom: 40px;
}

.cta-button {
  display: block;
  width: fit-content;
  padding: 20px 40px;
  margin: 20px auto 0;
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 20px;
  letter-spacing: 0.05em;
  transition: background 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
  background: var(--color-text);
  color: var(--color-white);
}

/* Footer */

.footer {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--content-padding) 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.footer-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-heading {
  font-size: 16px;
  font-weight: 900;
  line-height: 20px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.social-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  padding: 2px 0;
  transition: opacity 0.2s ease;
}

.social-links a:hover {
  opacity: 0.6;
}

.social-links img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
}

.footer-bottom a {
  color: var(--color-text);
  text-decoration: underline;
}

.footer-bottom a:hover {
  opacity: 0.6;
}

/* Mobile responsive */

@media (max-width: 768px) {
  .hero {
    height: 100svh;
    max-height: none;
  }

  .hero-video--desktop {
    display: none;
  }

  .hero-video--mobile {
    display: block;
  }

  .site-overlay {
    padding: 16px 16px;
  }

  .overlay-name {
    top: 16px;
    left: 16px;
  }

  .overlay-lang {
    top: 16px;
    right: 16px;
  }

  .overlay-ig {
    bottom: 16px;
    right: 16px;
  }

  .intro {
    min-height: auto;
    padding: 80px 16px;
    align-items: center;
  }

  .intro-heading {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
    text-align: left;
    max-width: none;
  }

  .image-section {
    height: auto;
    min-height: auto;
    padding: 0 16px;
  }

  .image-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
  }

  .slider {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .image-text--row1 {
    margin-top: 20px;
  }

  .image-text--row2 {
    margin-top: 20px;
  }

  .about-content {
    padding: 40px var(--content-padding) 0;
  }

  .contacts {
    height: auto;
    min-height: auto;
    padding: 80px 16px;
  }

  .contacts-body {
    padding: 0;
  }

  .cta-text {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
    text-align: left;
    max-width: none;
  }

  .cta-button {
    font-size: 14px;
    width: 100%;
    margin: 20px 0 0;
  }

  .footer {
    height: auto;
    min-height: auto;
    padding: 60px 16px 16px;
  }

  .social-links {
    margin-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .footer-bottom a {
    order: -1;
  }
}
