:root {
  --bg: #050505;
  --bg-soft: #0c0c0c;
  --text: #f4f4f0;
  --text-dim: rgba(244, 244, 240, 0.72);
  --text-mute: rgba(244, 244, 240, 0.45);
  --line: rgba(244, 244, 240, 0.18);
  --accent: #c8b48a;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-script: "Instrument Serif", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html.has-scroll-inertia {
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: end center;
  padding-bottom: 12vh;
  background:
    linear-gradient(#1a1a1a 0 48%, #000 48% 100%);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.preloader__label {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
}

.preloader__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.1s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}


.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.nav__inner {
  pointer-events: auto;
}

.nav__list {
  display: flex;
  gap: clamp(1.5rem, 5vw, 4.5rem);
}

.nav__list a {
  position: relative;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.55rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%) scale(0);
  transition: transform 0.25s var(--ease);
}

.nav__list a.is-active::after,
.nav__list a:hover::after {
  transform: translateX(-50%) scale(1);
}

.nav__lang {
  position: absolute;
  left: max(1rem, env(safe-area-inset-left));
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  pointer-events: auto;
}

.nav__lang-btn {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  padding: 0.2rem 0.1rem;
  transition: color 0.25s;
  line-height: 1;
}

.nav__lang-btn:hover,
.nav__lang-btn:focus-visible {
  color: rgba(255, 255, 255, 0.88);
  outline: none;
}

.nav__lang-btn.is-active,
.nav__lang-btn[aria-pressed="true"] {
  color: #fff;
}

.nav__lang-sep {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.28);
  user-select: none;
  line-height: 1;
}

.nav__burger {
  display: none;
  pointer-events: auto;
  position: absolute;
  right: max(1rem, env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.75rem 0.4rem;
  z-index: 4;
}

.nav__burger span {
  display: block;
  height: 1.5px;
  background: #fff;
  margin: 0.4rem 0;
  transform-origin: center;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}


.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  will-change: transform;
  overflow: hidden;
  background-color: #050505;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.4s ease-in-out;
  pointer-events: none;
}

.hero__video.is-active {
  opacity: 1;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 20%, rgba(0, 0, 0, 0.45) 75%, rgba(0, 0, 0, 0.75) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.55));
}

.hero__frame {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(18vw, 220px);
  pointer-events: none;
  opacity: 0.55;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}

.hero__frame--left {
  left: 0;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.85), transparent);
}

.hero__frame--right {
  right: 0;
  background-image: linear-gradient(270deg, rgba(0, 0, 0, 0.85), transparent);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  max-width: 56rem;
  animation: rise 1.1s var(--ease) 0.35s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.85rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.hero__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.88;
}

.hero__brand-small {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.4vw, 1rem);
  letter-spacing: 0.55em;
  font-weight: 500;
  margin-bottom: 0.55rem;
  margin-left: 0.55em;
}

.hero__logo {
  display: block;
  width: clamp(280px, 55vw, 720px);
  max-width: 92%;
  height: auto;
  margin: 0 auto;
  background: transparent;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.35));
}

.hero__logo[hidden] {
  display: none;
}

.hero__brand-main {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 11rem);
  letter-spacing: 0.04em;
  font-weight: 400;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero__brand-main[hidden] {
  display: none;
}

.hero__tagline {
  margin: 1.25rem auto 0;
  max-width: 28rem;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-dim);
  font-weight: 300;
}

.hero__cta {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.hero__cta:hover {
  background: #fff;
  border-color: #fff;
  color: #111;
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.7));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.85);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}


.story {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.story__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.story__veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.story__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 38rem;
  padding: 5rem 1.5rem;
}

.story__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  letter-spacing: 0.06em;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.story__text {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-dim);
  font-weight: 300;
}

.story__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story__body .story__text {
  margin: 0;
}

.team {
  min-height: 100vh;
  min-height: 100dvh;
}

.team__intro {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(4rem, 10vh, 6rem) 1.5rem 2.5rem;
  text-align: center;
}

.team__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 1.15rem;
}

.team__lead {
  color: var(--text-dim);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.7;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(50vh, 1fr);
}

.team__col {
  position: relative;
  min-height: 50vh;
  overflow: hidden;
  cursor: pointer;
  background: #0a0a0a;
}

.team__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s var(--ease);
  z-index: 0;
}

.team__col::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.team__col:hover .team__img,
.team__col:focus-within .team__img {
  transform: scale(1.06);
}

.team__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.5rem 1.15rem 1.35rem;
  color: #fff;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 42%;
}

.team__name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.9vw, 2rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  min-height: 3.15em;
  display: flex;
  align-items: flex-end;
  text-wrap: balance;
}

.team__role {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.team__short {
  margin-top: 0.75rem;
  max-width: 16rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s, transform 0.35s var(--ease), max-height 0.35s var(--ease);
}

.team__col:hover .team__short,
.team__col:focus-within .team__short {
  max-height: 5.5rem;
  opacity: 1;
  transform: none;
}

.team__more {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 0.2rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.35s, max-height 0.35s var(--ease);
}

.team__col:hover .team__more,
.team__col:focus-within .team__more {
  max-height: 2rem;
  opacity: 1;
}


.person-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.person-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 210;
  width: min(420px, 100%);
  height: 100%;
  background: #0e0e0e;
  transform: translateX(105%);
  transition: transform 0.55s var(--ease);
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.person-panel.is-open {
  transform: none;
}

.person-panel__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2rem;
  height: 2rem;
  z-index: 2;
}

.person-panel__close span {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #fff;
}

.person-panel__close span:first-child {
  transform: rotate(45deg);
}

.person-panel__close span:last-child {
  transform: rotate(-45deg);
}

.person-panel__media {
  height: 48%;
  min-height: 240px;
  background-size: cover;
  background-position: center top;
}

.person-panel__body {
  padding: 2rem 1.75rem 2.5rem;
}

.person-panel__role {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.person-panel__name {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}

.person-panel__text {
  color: var(--text-dim);
  font-weight: 300;
  font-size: 0.98rem;
}


.credits {
  position: relative;
  padding: clamp(5rem, 12vh, 8rem) 1.5rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(200, 180, 138, 0.08), transparent 50%),
    linear-gradient(180deg, #080808, #12100c 50%, #080808);
  overflow: hidden;
}

.credits__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.credits__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: clamp(3rem, 8vh, 5rem);
  line-height: 1;
}

.credits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.credits__block {
  text-align: center;
}

.credits__big {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.35));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.credits__detail {
  margin-bottom: 1rem;
}

.credits__detail h4 {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.credits__detail p {
  font-size: 0.95rem;
  color: var(--text-dim);
}

.credits__certs {
  margin: clamp(3rem, 7vh, 4.5rem) auto 0;
  max-width: min(1000px, 100%);
  width: 100%;
}

.credits__certs[hidden] {
  display: none;
}

.credits__certs-label {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-mute);
  text-align: center;
  margin-bottom: 1.35rem;
  font-weight: 500;
}

.credits__certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.credits__cert {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0a0a0a;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow:
    0 0 0 1px rgba(180, 210, 255, 0.1),
    0 12px 28px rgba(0, 0, 0, 0.4);
  transition:
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.credits__cert::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.35) 0%,
    transparent 42%
  );
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.35s var(--ease);
}

.credits__cert img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) brightness(0.9);
  transition: transform 0.55s var(--ease), filter 0.35s;
}

.credits__cert:hover,
.credits__cert:focus-visible {
  outline: none;
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(200, 220, 255, 0.22),
    0 0 28px rgba(140, 190, 255, 0.16),
    0 18px 36px rgba(0, 0, 0, 0.5);
}

.credits__cert:hover::after,
.credits__cert:focus-visible::after {
  opacity: 0.25;
}

.credits__cert:hover img,
.credits__cert:focus-visible img {
  transform: scale(1.04);
  filter: none;
}

.credits__map {
  margin: clamp(2.75rem, 6vh, 4rem) auto 0;
  max-width: min(1000px, 100%);
  width: 100%;
}

.credits__map[hidden] {
  display: none;
}

.credits__map-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(180, 210, 255, 0.12),
    0 0 28px rgba(140, 190, 255, 0.18),
    0 0 64px rgba(160, 200, 255, 0.1),
    0 18px 40px rgba(0, 0, 0, 0.45);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.credits__map-btn:hover,
.credits__map-btn:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(200, 220, 255, 0.2),
    0 0 36px rgba(150, 200, 255, 0.28),
    0 0 72px rgba(160, 205, 255, 0.14),
    0 22px 48px rgba(0, 0, 0, 0.5);
}

.credits__map-btn img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  image-rendering: auto;
}


.gallery {
  padding: clamp(4rem, 10vh, 6rem) 1rem 5rem;
  background: var(--bg);
}

.gallery__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gallery__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: 0.06em;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, 22vw);
  gap: 0.65rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  min-height: 200px;
}

.gallery__item:nth-child(1),
.gallery__item:nth-child(6) {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 420px;
}

.gallery__item:nth-child(3),
.gallery__item:nth-child(9) {
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s;
  filter: saturate(0.92) brightness(0.92);
}

.gallery__item:hover img {
  transform: scale(1.06);
  filter: none;
}


.career {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: clamp(5rem, 12vh, 8rem) 1.5rem;
  background:
    linear-gradient(180deg, #050505 0%, #0a0908 45%, #050505 100%);
  border-top: 1px solid var(--line);
}

.career__inner {
  max-width: 720px;
  text-align: center;
}

.career__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.career__text {
  color: var(--text-dim);
  font-weight: 300;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.career__cta {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.35rem;
  transition: color 0.25s, border-color 0.25s;
}

.career__cta:hover {
  color: var(--accent);
}


.contact {
  position: relative;
  min-height: 90vh;
  min-height: 90dvh;
  display: grid;
  place-items: center;
  padding: clamp(5rem, 12vh, 9rem) 1.5rem;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(200, 180, 138, 0.07), transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(255, 255, 255, 0.03), transparent 45%),
    linear-gradient(165deg, #060606 0%, #0d0c0a 48%, #050505 100%);
  overflow: hidden;
}

.contact__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, transparent 48%, rgba(200, 180, 138, 0.04) 100%);
  pointer-events: none;
}

.contact__inner {
  position: relative;
  z-index: 1;
  width: min(1000px, 100%);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas:
    "intro intro"
    "form details";
  gap: clamp(2rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: clamp(2.5rem, 5vh, 3.5rem);
}

.contact__intro {
  grid-area: intro;
}

.contact__form {
  grid-area: form;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact__field label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
}

.contact__field input,
.contact__field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  border-radius: 0;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  resize: vertical;
}

.contact__field input:focus,
.contact__field textarea:focus {
  border-color: rgba(200, 180, 138, 0.55);
  background: rgba(255, 255, 255, 0.05);
}

.contact__field textarea {
  min-height: 8rem;
}

.contact__submit {
  align-self: flex-start;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(244, 244, 240, 0.35);
  padding: 0.95rem 1.5rem;
  min-height: 44px;
  transition: background 0.3s var(--ease), border-color 0.3s, color 0.3s, opacity 0.25s;
}

.contact__submit:hover:not(:disabled) {
  background: rgba(200, 180, 138, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

.contact__submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.contact__status {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 0.25rem;
}

.contact__status.is-success {
  color: #b8d4a8;
}

.contact__status.is-error {
  color: #e0a8a0;
}

.contact__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 6rem);
  letter-spacing: 0.05em;
  line-height: 0.95;
  margin-bottom: 1.25rem;
}

.contact__text {
  color: var(--text-dim);
  font-weight: 300;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 36rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.contact__details {
  grid-area: details;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-bottom: 0.25rem;
}

.contact__block {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.contact__block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact__label {
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
  margin-bottom: 0.45rem;
}

.contact__value {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 400;
}

.contact__value--mute {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.contact__link {
  transition: color 0.25s;
}

.contact__link:hover {
  color: var(--accent);
}

.contact__maps {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  transition: text-decoration-color 0.25s;
}

.contact__maps:hover {
  text-decoration: underline;
  text-decoration-color: rgba(244, 244, 240, 0.45);
  text-underline-offset: 0.2em;
}


.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.9);
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 85vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
}


.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.5rem 2.5rem;
  background: #030303;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__credit {
  font-size: 0.85rem;
  color: var(--text-mute);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  justify-content: center;
}

.footer__nav a {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.25s;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--text-dim);
  transition: color 0.25s;
}

.footer__social:hover,
.footer__social:focus-visible {
  color: #fff;
  outline: none;
}

.footer__social-icon {
  display: block;
}

.footer__share,
.footer__top {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.25s;
}

.footer__share:hover,
.footer__top:hover {
  color: #fff;
}


.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}


@media (max-width: 900px) {
  :root {
    --nav-h: 4rem;
  }

  .credits__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(160px, 28vw);
    gap: 0.5rem;
  }

  .gallery__item {
    min-height: 160px;
  }

  .gallery__item:nth-child(1),
  .gallery__item:nth-child(6) {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 220px;
  }

  .gallery__item:nth-child(3),
  .gallery__item:nth-child(9) {
    grid-row: span 1;
  }

  .story__bg {
    background-attachment: scroll;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "form"
      "details";
    gap: 2.5rem;
    align-items: start;
  }

  .person-panel__name {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .lightbox {
    padding: 1.25rem;
    padding-top: max(1.25rem, env(safe-area-inset-top));
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }

  .lightbox img {
    max-height: 78dvh;
  }
}

@media (max-width: 720px) {
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .nav__lang {
    left: max(0.85rem, env(safe-area-inset-left));
    z-index: 4;
  }

  .nav__list {
    position: fixed;
    inset: 0;
    z-index: 2;
    background: rgba(5, 5, 5, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    padding:
      max(5.5rem, calc(env(safe-area-inset-top) + 4.5rem))
      1.5rem
      max(2rem, env(safe-area-inset-bottom));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s, visibility 0.35s;
  }

  .nav.is-open .nav__list {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__list a {
    font-size: 1.05rem;
    letter-spacing: 0.16em;
    padding: 0.55rem 0.75rem;
  }

  .nav__burger {
    display: block;
  }

  .nav.is-open .nav__burger span:first-child {
    transform: translateY(0.475rem) rotate(45deg);
  }

  .nav.is-open .nav__burger span:last-child {
    transform: translateY(-0.475rem) rotate(-45deg);
  }

  .hero__content {
    padding: max(5.5rem, calc(env(safe-area-inset-top) + 4rem)) 1.15rem 5rem;
    max-width: 100%;
  }

  .hero__eyebrow {
    font-size: 0.9rem;
    padding: 0 0.25rem;
  }

  .hero__brand-small {
    font-size: clamp(0.62rem, 2.8vw, 0.85rem);
    letter-spacing: 0.28em;
    margin-left: 0.28em;
    text-align: center;
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .hero__logo {
    width: min(88vw, 420px);
    max-width: 100%;
  }

  .hero__brand-main {
    font-size: clamp(3.2rem, 18vw, 5.5rem);
  }

  .hero__tagline {
    margin-top: 1rem;
    padding: 0 0.5rem;
    font-size: 0.95rem;
  }

  .hero__cta {
    margin-top: 1.4rem;
    padding: 0.95rem 1.35rem;
    min-height: 44px;
  }

  .hero__frame {
    display: none;
  }

  .hero__scroll {
    bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .story__content {
    padding: 4rem 1.15rem;
  }

  .story__title {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .team__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .team__col {
    min-height: min(70vh, 520px);
  }

  .team__meta {
    padding: 1.35rem 1.1rem max(1.35rem, env(safe-area-inset-bottom));
    min-height: 48%;
  }

  .team__short,
  .team__more {
    opacity: 1;
    transform: none;
    max-height: none;
    overflow: visible;
  }

  .team__short {
    max-width: 22rem;
  }

  .team__name {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    min-height: 0;
  }

  .team__more {
    margin-top: 0.95rem;
    padding-bottom: 0.35rem;
  }

  .person-panel {
    width: 100%;
  }

  .person-panel__media {
    height: 38%;
    min-height: 200px;
  }

  .person-panel__body {
    padding: 1.5rem 1.25rem max(2rem, env(safe-area-inset-bottom));
  }

  .person-panel__close {
    top: max(1rem, env(safe-area-inset-top));
    right: max(1rem, env(safe-area-inset-right));
    width: 2.75rem;
    height: 2.75rem;
  }

  .credits {
    padding: clamp(3.5rem, 10vh, 6rem) 1.15rem;
  }

  .credits__headline {
    margin-bottom: 2.5rem;
  }

  .credits__big {
    font-size: clamp(3rem, 16vw, 5rem);
    margin-bottom: 1.15rem;
  }

  .credits__map-btn {
    border-radius: 14px;
  }

  .credits__map-btn img {
    border-radius: 14px;
  }

  .credits__certs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .credits__cert {
    aspect-ratio: 3 / 4;
  }

  .gallery {
    padding: clamp(3rem, 8vh, 5rem) 0.75rem 3.5rem;
  }

  .gallery__head {
    margin-bottom: 1.75rem;
  }

  .gallery__title {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .career,
  .contact {
    padding: clamp(3.5rem, 10vh, 6rem) 1.15rem;
    min-height: auto;
  }

  .career__cta,
  .contact__submit {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .contact__value {
    font-size: 1rem;
    word-break: break-word;
  }

  .footer {
    padding: 1.75rem 1.15rem max(2rem, env(safe-area-inset-bottom));
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .footer__nav {
    justify-content: flex-start;
  }

  .footer__actions {
    width: 100%;
    justify-content: space-between;
  }

  .footer__share,
  .footer__top {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .lightbox__close {
    top: max(0.75rem, env(safe-area-inset-top));
    right: max(1rem, env(safe-area-inset-right));
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero__brand-small {
    letter-spacing: 0.18em;
    margin-left: 0.18em;
  }

  .hero__logo {
    width: min(92vw, 340px);
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(200px, 58vw);
    gap: 0.45rem;
  }

  .gallery__item,
  .gallery__item:nth-child(1),
  .gallery__item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 200px;
  }

  .team__col {
    min-height: min(62vh, 440px);
  }

  .credits__grid {
    gap: 2.25rem;
  }

  .credits__certs-label {
    margin-bottom: 1.1rem;
  }

  .contact__submit {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (hover: none) and (pointer: coarse) {
  .team__col:hover .team__img,
  .team__col:focus-within .team__img {
    transform: none;
  }

  .gallery__item:hover img {
    transform: none;
    filter: saturate(0.92) brightness(0.92);
  }

  .credits__map-btn:hover {
    transform: none;
  }

  .credits__cert:hover,
  .credits__cert:focus-visible {
    transform: none;
  }

  .credits__cert:hover img,
  .credits__cert:focus-visible img {
    transform: none;
  }
}
