@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400&display=swap');

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

:root {
  --bg: #0d0d0d;
  --text: #f0ede8;
  --muted: rgba(240, 237, 232, 0.38);
  --soft: rgba(240, 237, 232, 0.65);
  --line: rgba(240, 237, 232, 0.08);
}

html { scroll-behavior: smooth; }

html, body {
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 60px;
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
  opacity: 0.92;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
}

.hero-logo {
  width: 100%;
  max-width: 520px;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-logo.loaded { opacity: 1; }

.hero-sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 32px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 180px 60px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--text);
}

/* ── SECTIONS ── */
.section {
  padding: 80px 60px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── DIVIDER ── */
hr {
  border: none;
  border-top: 1px solid var(--line);
  max-width: 1100px;
  margin: 0 auto;
}

/* ── ABOUT TEXT ── */
.about-body {
  max-width: 600px;
}

.about-body p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--soft);
  margin-bottom: 28px;
}

.about-body p:last-child { margin-bottom: 0; }

/* ── SUBMIT ── */
.submit-intro {
  font-size: 14px;
  line-height: 1.8;
  color: var(--soft);
  max-width: 480px;
  margin-bottom: 64px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.form-group {
  margin-bottom: 40px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.65);
  margin-bottom: 12px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(240, 237, 232, 0.55);
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: rgba(240,237,232,0.35);
}

.form-group textarea {
  resize: none;
  height: 72px;
}

.form-note {
  font-size: 9px;
  color: var(--muted);
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0;
}

.btn {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  padding: 16px 44px;
  cursor: pointer;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  margin-top: 16px;
}

.btn:hover {
  color: var(--text);
  border-color: rgba(240,237,232,0.3);
}

/* ── CONTACT ── */
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.contact-link {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-link:hover { color: var(--text); }

/* ── FOOTER ── */
footer {
  padding: 48px 60px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer span {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.2);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ── VIDEO FAILED FALLBACK ── */
.video-failed .hero-mobile-video,
.video-failed .hero-desktop {
  display: none;
}

/* ── VIDEO ── */
.hero-video::-webkit-media-controls { display: none !important; }
.hero-video::-webkit-media-controls-panel { display: none !important; }
.hero-video::-webkit-media-controls-play-button { display: none !important; }
.hero-video::--webkit-media-controls-start-playback-button { display: none !important; }

/* ── SLIDESHOW ── */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slideshow .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slideshow .slide.active {
  opacity: 1;
}

/* ── VIDEO RESPONSIVE ── */
.hero-mobile-video { display: none; }
.hero-mobile-slides { display: none; }
.hero-desktop { display: block; }

@media (max-width: 680px) {
  .hero-desktop { display: none; }
  .hero-mobile-video { display: none; }
  .hero-mobile-slides { display: block; }
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(240, 237, 232, 0.7);
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── MOBILE ── */
@media (max-width: 680px) {
  nav {
    padding: 20px 24px;
    position: fixed;
  }

  .nav-logo img { height: 22px; }

  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 150;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 13px;
    letter-spacing: 0.24em;
  }

  .page-hero { padding: 120px 28px 48px; }

  .section { padding: 56px 24px; }

  .about-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-block-image {
    margin-top: 0 !important;
    order: 2;
  }

  .about-block-text {
    order: 1;
  }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  footer {
    padding: 40px 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
