@font-face {
  font-family: 'Bifur Foundation';
  src: url('assets/Bifur Foundation.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: 'Helvetica Neue', sans-serif;
  background: transparent;
  color: #111;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

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

img[src="assets/vener.jpg"] {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
}

/* Global background video fixed in the top third */
.page-video-bg {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100vw;
  height: 33.333vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  opacity: 0.35;
}

.page-video-bg::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  pointer-events: none;
}

body > *:not(.page-video-bg) { position: relative; z-index: 1; }

.manifesto-strong {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111;
  margin-bottom: 0.7rem;
  line-height: 1.2;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 0.5rem 0.15rem;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.logo-container {
  width: 100%;
  margin-bottom: 0.3rem;
  text-align: center;
}

.logo-container a {
  text-decoration: none;
  color: inherit;
}

.logo-container div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.logo-container img {
  display: block;
  height: 102px;
  width: auto;
}

.logo-title {
  display: none;
}

.metro-panel {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  background: transparent;
  overflow: hidden;
  height: 1.6rem;
  display: flex;
  align-items: center;
  margin-bottom: 0.15rem;
}

.metro-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: bold;
  color: #111;
  letter-spacing: 0.15em;
  animation: metro-scroll 12s linear infinite;
}

@keyframes metro-scroll {
  0% { transform: translateX(-100vw); }
  100% { transform: translateX(100vw); }
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  margin: 0 0.5rem;
  text-decoration: none;
  color: #fff;
  font-size: 1.0rem;
  text-transform: uppercase;
  font-weight: bold;
  font-family: 'Helvetica Neue', sans-serif;
  letter-spacing: 0.15em;
  background: linear-gradient(90deg, #1a2a6c 0%, #1e90ff 100%);
  border-radius: 6px;
  padding: 0.3em 1em;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.15);
  border: 2px solid #1e90ff;
  transition: background 0.3s, color 0.3s;
  position: relative;
  z-index: 1;
}

nav .menu-separator {
  color: #ffbf99;
  font-size: 0.8rem;
  font-weight: bold;
  margin: 0 0.3em;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  position: relative;
  z-index: 0;
}

nav a:not(:last-child)::after {
  content: "";
}

nav a:hover {
  background: linear-gradient(90deg, #1e90ff 0%, #1a2a6c 100%);
  color: #fff;
}

section {
  padding: 1rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

#video {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  padding-top: 0;
  padding-bottom: 0;
}

#subscribe {
  margin-top: 0;
}

#subscribe h2 {
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 0.3rem;
  font-size: 1.0rem;
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 500;
  color: #172713;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

input, textarea, button {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  outline: none;
}

.menu-style {
  text-decoration: none;
  color: #fff;
  font-size: 1.0rem;
  text-transform: uppercase;
  font-weight: bold;
  font-family: 'Helvetica Neue', sans-serif;
  letter-spacing: 0.15em;
  background: linear-gradient(90deg, #1a2a6c 0%, #1e90ff 100%);
  border-radius: 6px;
  padding: 0.3em 1em;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.15);
  border: 2px solid #1e90ff;
  transition: background 0.3s, color 0.3s;
  position: relative;
  z-index: 1;
  display: inline-block;
}

.menu-style:hover {
  background: linear-gradient(90deg, #1e90ff 0%, #1a2a6c 100%);
  color: #fff;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #111;
  background: transparent;
}

.ff-title {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  padding-left: 0;
  position: relative;
  left: 0;
  color: #111;
  text-shadow: none;
}

.ff-title-1 {
  color: #111;
  text-shadow: none;
  font-size: 1.3rem;
}

.ff-title-2, .ff-title-3 {
  color: #111;
  text-shadow: none;
  font-size: 1.9rem;
  line-height: 1.06;
}

.ff-box {
  border: 2px solid #1e90ff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(30,144,255,0.18);
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  position: relative;
}

.ff-box-2 { margin-bottom: 3rem; }

.ff-box p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.ff-box-1 {
  background: #e6adcf;
  color: #111;
  border: 2px solid #e6adcf;
}

.ff-box-2 {
  background: #ff4dc9;
  color: #fff;
  border: 2px solid #ff4dc9;
}

.ff-box-2 { padding: 2rem 1.5rem; max-width: 600px; margin: 2rem auto 2rem auto; }

.ff-box-2 p:last-child { margin-bottom: 0; }

.ff-box-3 {
  background: none;
  color: inherit;
  border: none;
  font-weight: normal;
  box-shadow: none;
}

.glossy-box {
  background: rgba(255,255,255,0.83);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(30,144,255,0.10), 0 4px 16px rgba(0,0,0,0.06) inset;
  border: 1px solid rgba(30,144,255,0.08);
  padding: 1.2rem 1rem;
  max-width: none;
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 2;
  font-family: 'Verdana', 'Geneva', sans-serif;
  color: #222;
  letter-spacing: 0.01em;
  filter: none;
  opacity: 0.98;
}

.glossy-box::before,
.glossy-box::after { content: none !important; }

@keyframes extrude1 {
  0% { transform: translate3d(0,0,0) rotate(0.001deg) scale(1); }
  25% { transform: translate3d(-6px,4px,0) rotate(-0.2deg) scale(1.02); }
  50% { transform: translate3d(4px,-6px,0) rotate(0.2deg) scale(0.98); }
  75% { transform: translate3d(-5px,6px,0) rotate(-0.15deg) scale(1.01); }
  100% { transform: translate3d(0,0,0) rotate(0.001deg) scale(1); }
}

@keyframes extrude2 {
  0% { transform: translate3d(0,0,0) rotate(0.001deg) scale(1); }
  20% { transform: translate3d(8px,-4px,0) rotate(0.25deg) scale(1.03); }
  40% { transform: translate3d(-8px,6px,0) rotate(-0.3deg) scale(0.97); }
  60% { transform: translate3d(6px,-8px,0) rotate(0.18deg) scale(1.02); }
  100% { transform: translate3d(0,0,0) rotate(0.001deg) scale(1); }
}

@keyframes glossyPulse {
  0% { transform: scale(1); opacity: 0.98; }
  50% { transform: scale(1.01); opacity: 1; }
  100% { transform: scale(1); opacity: 0.98; }
}

.glossy-box .glossy-layer { display: none !important; }
.glossy-box .grain { display: none !important; }

.glossy-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: none;
  border-bottom: none;
  background: transparent;
  box-shadow: none;
}

.glossy-box li {
  text-decoration: none;
  font-size: 0.92em;
  margin-bottom: 1.1em;
  color: #222;
  font-family: 'Verdana', 'Geneva', sans-serif;
  font-weight: normal;
  padding: 0.28em 0.2em;
  border-bottom: none;
  text-shadow: none;
  letter-spacing: 0.01em;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.glossy-percent {
  font-weight: normal;
  color: #111;
  font-size: 1.15em;
  margin-right: 0.3em;
}

.objective-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  max-width: none;
  width: 100%;
  margin: 1.2rem 0 1.6rem 0;
  padding: 0 1rem;
}

.objective-left { flex: 1 1 auto; min-width: 0; }
.objective-right { display:none; }

@media (max-width: 880px) {
  .objective-row { flex-direction: column; }
  .objective-right { flex: none; max-width: 100%; }
  .ff-title-3 { text-align: left; }
}

.glossy-box .objective-title {
  font-family: 'Verdana', 'Geneva', sans-serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05em;
  letter-spacing: 0.02em;
  color: #111;
  margin-bottom: 0.6rem;
}

.war-hero { position: relative; overflow: visible; border-radius: 0; }

.war-hero .ff-title {
  position: relative;
  z-index: 1;
  padding: 1rem clamp(1.2rem, 12vw, 8rem);
}

details.but-also summary::-webkit-details-marker { display: none; }
details.but-also summary { list-style: none; outline: none; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
details.but-also[open] summary .arrow { transform: rotate(180deg); }

@media (max-width: 600px) {
  nav {
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  nav a {
    margin: 0.2rem;
    font-size: 0.85rem;
    padding: 0.2em 0.6em;
  }
  nav img {
    height: 2.5rem !important;
    margin: 0 0.2rem !important;
    transform: rotate(var(--rotation, 0deg));
  }
  nav img:nth-child(2) {
    height: 2rem !important;
    transform: rotate(-3deg);
  }
  nav img:nth-child(4) {
    height: 2.8rem !important;
    transform: rotate(4deg);
  }
  nav img:nth-child(6) {
    height: 2.2rem !important;
    transform: rotate(-5deg);
  }
}
