:root {
  --bg: #000000;
  --panel: #0b0b0b;
  --text: #ffffff;
  --muted: #a8a8a8;
  --line: #2a2a2a;
  --max-width: 1180px;
  --nav-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

/* ---------- NAVIGATION ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
}

.navbar {
  min-height: var(--nav-height);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;

  color: black;
  background: white;

  text-decoration: none;

  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;

  padding: 8px 12px;

  border: 1px solid white;

  line-height: 1;
}

.nav-toggle {
  display: none;

  border: 1px solid var(--line);
  background: transparent;
  color: white;

  padding: 9px 12px;

  cursor: pointer;
}

.nav-links {
  list-style: none;

  display: flex;
  align-items: center;

  gap: 28px;

  margin: 0;
  padding: 0;
}

.nav-links > li {
  position: relative;

  display: flex;
  align-items: center;
}

/* Normal links AND dropdown buttons now share
   exactly the same sizing/alignment */
.nav-links > li > a,
.dropdown-button {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 40px;
  padding: 0;

  text-decoration: none;
  color: var(--text);

  background: transparent;
  border: 0;

  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;

  line-height: 1;

  text-transform: uppercase;

  cursor: pointer;
}

.nav-links > li > a:hover,
.nav-links > li > a:focus-visible,
.dropdown-button:hover,
.dropdown-button:focus-visible {
  color: var(--muted);
}


/* ---------- DROPDOWN ---------- */

.dropdown-menu {
  position: absolute;

  top: calc(100% + 10px);
  left: -18px;

  min-width: 190px;

  margin: 0;
  padding: 8px;

  list-style: none;

  border: 1px solid var(--line);
  background: #070707;

  opacity: 0;
  visibility: hidden;

  transform: translateY(-6px);

  transition: 0.18s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;

  transform: translateY(0);
}

.dropdown-menu li {
  display: block;
}

.dropdown-menu a {
  display: block;

  height: auto;

  padding: 10px 12px;

  white-space: nowrap;

  text-decoration: none;

  color: var(--text);

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;

  line-height: 1.4;
}

.dropdown-menu a:hover {
  background: #111;
  color: white;
}

/* ---------- GENERIC PAGE ELEMENTS ---------- */

.hero {
  min-height: calc(100vh - var(--nav-height));
  display: grid;
  align-items: end;
  padding: 8vh 0 10vh;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: end;
}

.kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
}

.lead {
  max-width: 700px;
  color: #d0d0d0;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-block;
  min-width: 150px;
  padding: 13px 18px;
  border: 1px solid white;
  text-align: center;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: 0.18s ease;
}

.button:hover {
  background: white;
  color: black;
}

.button.secondary {
  border-color: var(--line);
}

.section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.section.narrow .container {
  max-width: 820px;
}

.section.narrow img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px 0 32px;
}

.section-header {
  margin-bottom: 42px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.card p {
  color: var(--muted);
}

.card a {
  text-decoration: none;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* ---------- IMAGE / MEDIA AREAS ---------- */

.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #090909;
}

.media-frame img {
  width: 100%;
  height: auto;
}

.media-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 30px;
  border: 1px dashed #444;
  background:
    linear-gradient(135deg, #0b0b0b 0%, #131313 100%);
  color: #777;
  text-align: center;
}

.media-placeholder.small {
  min-height: 220px;
}

.caption {
  margin-top: 10px;
  color: #777;
  font-size: 0.86rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;

  margin: 0px 0;
}

.image-grid-item {
  overflow: hidden;
}

.image-grid-item img {
  display: block;
  width: 100%;
  height: 350px;

  object-fit: cover;
}
.image-grid.three {
  grid-template-columns: repeat(3, 1fr);
}


/* ---------- DOWNLOADS ---------- */

.download-list {
  display: grid;
  gap: 14px;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.download-item p {
  margin: 0;
  color: var(--muted);
}

.download-item a {
  white-space: nowrap;
}

/* ---------- SIMPLE PAGE HEADER ---------- */

.page-header {
  padding: 120px 0 72px;
}

.page-header h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

/* ---------- FOOTER ---------- */

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
}

/* ---------- MOBILE ---------- */

@media (max-width: 820px) {

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;

    top: var(--nav-height);
    left: 0;
    right: 0;

    display: none;

    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding: 12px 20px 20px;

    border-bottom: 1px solid var(--line);

    background: #050505;
  }

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

  .nav-links > li {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    border-bottom: 1px solid #181818;
  }

  .nav-links > li > a,
  .dropdown-button {
    width: 100%;
    height: 44px;

    justify-content: flex-start;

    padding: 0;

    text-align: left;
  }

  .dropdown-menu {
    position: static;

    display: none;

    width: 100%;
    min-width: 0;

    padding: 0 0 10px 14px;

    border: 0;

    background: transparent;

    opacity: 1;
    visibility: visible;

    transform: none;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
}

.centered-container {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;

  text-align: center;
}

.centered-container p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.centered-buttons {
  justify-content: center;
}

/* ---------- MOBILE CONTENT LAYOUT ---------- */

@media (max-width: 820px) {

  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }

  .grid > *,
  .card {
    width: 100%;
    min-width: 0;
  }


  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

  .hero-grid > * {
    width: 100%;
    min-width: 0;
  }

  .hero-grid img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }


  .image-grid,
  .image-grid.three {
    grid-template-columns: 1fr;
  }

}