:root {
  --bg: #000000;
  --text: #ffffff;
  --text-muted: #999999;
  --text-inactive: #aeaeae;
  --gap: 5px;
  --content-max: 800px;
  --thumb-radius: 12px;

  --font-accent: "UnifrakturMaguntia", cursive;
  --font-main: "Modern Antiqua", serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: relative;
  padding: 40px 0 20px;
  text-align: center;
}

.site-logo {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 90px;
}
.site-logo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity .3s ease;
}
.site-logo img.logo-hover {
  opacity: 0;
}
.site-logo:hover img.logo-default {
  opacity: 0;
}
.site-logo:hover img.logo-hover {
  opacity: 1;
}

.main-nav {
  display: none;
  justify-content: center;
  gap: 15px;
  padding-top: 20px;
  padding-bottom: 10px;
}

.main-nav a {
  font-family: var(--font-accent);
  font-size: 22px;
  text-transform: lowercase;
  color: var(--text-inactive);
  letter-spacing: 0.03em;
  display: inline-block;
}

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

.hamburger {
  position: absolute;
  top: 75px;
  right: 30px;
  width: 30px;
  height: 20px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  margin-bottom: 6px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 10px;
}

.social-icons span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.hero-panel {
  width: 100%;
  height: 60vh;
  min-height: 320px;
  background: #000 center/cover no-repeat;
  overflow: hidden;
}
.hero-panel a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.hero-panel video,
.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-covers {
  display: flex;
  flex-wrap: wrap;
}

.project-cover {
  position: relative;
  width: calc(50% - var(--gap));
  margin: 0 var(--gap) var(--gap) 0;
  overflow: hidden;
}
.project-cover:nth-child(2n) { margin-right: 0; }

.cover-image-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: var(--thumb-radius);
}
.cover-image-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .3s ease;
}

.project-cover:hover .cover-image-wrap img {
  opacity: 0.5;
}

.cover-details {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.project-cover:hover .cover-details {
  opacity: 1;
}
.cover-details .title {
  font-size: 17px;
  text-transform: uppercase;
  color: var(--text);
}

.page-header {
  text-align: center;
  padding: 60px 20px 30px;
}
.page-header h1 {
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 6px;
}
.page-header .description {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 4px;
}
.page-header .custom1 {
  font-size: 14px;
  color: var(--text-muted);
}

.embed-dimensions {
  max-width: var(--content-max);
  margin: 0 auto 60px;
}
.embed-aspect-ratio {
  position: relative;
  height: 0;
  padding-bottom: 57.5%;
}
.embed-aspect-ratio iframe,
.embed-aspect-ratio video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

body.nav-open .page-header {
  padding-top: 20px;
}

.project-gallery {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.project-gallery .project-still {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--thumb-radius);
}

.password-gate {
  max-width: 400px;
  margin: 100px auto;
  padding: 0 20px;
  text-align: center;
}
.password-gate label {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.password-gate input[type="password"] {
  width: 100%;
  background: transparent;
  border: 1px solid var(--text-inactive);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  padding: 10px 12px;
  text-align: center;
  margin-bottom: 12px;
}
.password-gate button {
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 24px;
  cursor: pointer;
}
.password-gate button:hover {
  background: var(--text);
  color: var(--bg);
}
.password-error {
  font-size: 13px;
  color: #e05555;
  margin-top: 12px;
}

.contact-page {
  max-width: 600px;
  margin: 100px auto;
  text-align: center;
  padding: 0 20px;
}
.contact-page .name {
  font-family: var(--font-accent);
  font-size: 32px;
  text-transform: lowercase;
  margin-bottom: 10px;
}
.contact-page .tagline {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.contact-page .tags {
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-page .email {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text);
}
.contact-page .email:hover { color: var(--text-muted); }

@media (max-width: 700px) {
  .project-cover { width: 100%; margin-right: 0; }
}
