/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/open-sans-latin.woff2") format("woff2-variations"),
       url("../fonts/open-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2-variations"),
       url("../fonts/montserrat-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --bg:       #0a0a0a;
  --bg-2:     #131313;
  --bg-3:     #1c1c1c;
  --fg:       #ececec;
  --fg-dim:   #a0a0a0;
  --fg-mute:  #6c6c6c;
  --accent:   #c8a25e;
  --line:     rgba(255,255,255,0.08);
  --max:      1240px;
  --ease:     cubic-bezier(.2,.6,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Base ---------- */
html, body { background: var(--bg); color: var(--fg); }
body {
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.05rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { margin-bottom: 1em; color: var(--fg-dim); }
p:last-child { margin-bottom: 0; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--accent); color: #000; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section.section { padding: 80px 0; }
section.section + section.section { border-top: 1px solid var(--line); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease);
}
.site-header.is-scrolled { background: rgba(10,10,10,0.92); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #fff;
}
.brand img { width: 32px; height: 32px; }

/* Nav: default (no-JS) renders as inline wrapped list */
.nav ul {
  display: flex; flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}
.nav a {
  display: inline-block;
  padding: 6px 2px;
  color: var(--fg-dim);
  position: relative;
  transition: color .2s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--accent);
}

/* Hamburger button - hidden by default, shown on mobile when JS is on */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 10px;
  color: var(--fg);
}
.nav-toggle-bars { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top:  6px; }

@media (max-width: 820px) {
  .nav ul { font-size: 0.95rem; gap: 4px 14px; }
}
@media (max-width: 700px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .js .nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .js .nav ul {
    flex-direction: column;
    gap: 8px;
    font-size: 1rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(420px, 65vh, 720px);
  display: flex; align-items: center;
  overflow: hidden;
  background: #000;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.75) 100%),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 80px 0 100px;
  max-width: 760px;
}
.hero-eyebrow {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p  { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 56ch; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px;
  padding: 12px 22px;
  background: var(--accent);
  color: #000;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform .15s var(--ease), background .2s var(--ease);
}
.hero-cta:hover { background: #d8b06a; transform: translateY(-1px); }
.hero-cta-secondary {
  margin-left: 14px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.hero-cta-secondary:hover { background: rgba(255,255,255,0.08); }

/* ---------- Section heads ---------- */
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.section-eyebrow {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-head p { max-width: 56ch; }

/* ---------- Tabs (home) ---------- */
.tabs-nav {
  display: flex; flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
  font-family: "Montserrat", system-ui, sans-serif;
}
.tabs-nav a {
  display: inline-block;
  padding: 12px 16px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.tabs-nav a:hover { color: #fff; }
.tabs-nav a.is-active {
  color: #fff;
  border-bottom-color: var(--accent);
}

/* Sections behaviour:
   - No JS: every category section is visible (scrollable)
   - JS: only the active one is shown (tab UI) */
.category-section { scroll-margin-top: 96px; }
.js .category-section[hidden] { display: none; }
.category-section + .category-section { margin-top: 80px; }

/* ---------- Gallery grid ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-3);
  overflow: hidden;
  border-radius: 4px;
  transition: transform .3s var(--ease);
}
.gallery-item:hover { transform: translateY(-3px); }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease), filter .3s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}
.gallery-item .play-icon {
  position: absolute;
  inset: 0; margin: auto;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 2px solid rgba(255,255,255,0.9);
  display: grid; place-items: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  pointer-events: none;
}
.gallery-item .play-icon::after {
  content: "";
  width: 0; height: 0;
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 3px;
}
.gallery-item:hover .play-icon,
.gallery-item:focus-within .play-icon {
  opacity: 1;
  transform: scale(1);
}
.gallery-item .title {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gallery-item.is-restricted {
  display: grid; place-items: center;
  background: var(--bg-3);
  color: var(--fg-mute);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
}

/* ---------- Team ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  margin-top: 36px;
}
.team-member {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: start;
}
.team-member img {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
}
.team-member h3 { margin-bottom: 6px; color: #fff; }
.team-member .role {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.team-member p { font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
}
.contact-card h3 {
  font-size: 0.85rem;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.contact-card p, .contact-card a { color: var(--fg); font-size: 1rem; }
.contact-card a:hover { color: var(--accent); }
.contact-card address {
  font-style: normal;
  color: var(--fg);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 0.85rem;
  color: var(--fg-mute);
}
.footer-inner {
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.footer-inner a { color: var(--fg-dim); }
.footer-inner a:hover { color: var(--fg); }

/* ---------- Lightbox dialog ---------- */
dialog.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(96vw, 1280px);
  width: 100%;
  color: #fff;
}
dialog.lightbox::backdrop {
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox-inner {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.lightbox-close {
  position: absolute;
  top: -44px; right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  padding: 4px 10px;
}
.lightbox-close:hover { color: var(--accent); }
.lightbox-title {
  margin-top: 14px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.85);
  text-align: center;
}

/* ---------- Animations (scoped to .js so no-JS users see content) ---------- */
.js [data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js [data-animate].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
  .js [data-animate] { opacity: 1; transform: none; }
}

/* ---------- Long-form text (privacy) ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 36px; margin-bottom: 12px; font-size: 1.4rem; }
.prose h3 { margin-top: 24px; margin-bottom: 8px; }
.prose p, .prose ul { color: var(--fg-dim); font-size: 1rem; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.lang-switch {
  display: inline-flex; gap: 4px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.lang-switch a {
  padding: 6px 12px;
  border: 1px solid var(--line);
  color: var(--fg-dim);
  border-radius: 2px;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a.is-active { background: var(--accent); color: #000; border-color: var(--accent); }
