/* Design Shaped — Section Styles */

/* =============================================
   Header / Nav
   ============================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-accent-teal);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--color-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  z-index: 150;
}

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

.nav-links a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

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

@media (min-width: 810px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    gap: var(--space-xl);
    background: none;
  }

  .nav-links a {
    font-size: var(--text-sm);
    line-height: 2;
  }
}

/* =============================================
   Hero
   ============================================= */

.hero {
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.hero-photos {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.hero-photos img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-intro {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-accent-purple);
  margin-bottom: var(--space-sm);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-accent-teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: var(--leading-tight);
  margin-bottom: var(--space-md);
}

.hero-body {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-lg);
}

.hero-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.hero-list li {
  font-size: var(--text-base);
  padding-left: var(--space-lg);
  position: relative;
}

.hero-list li::before {
  content: "\2022";
  position: absolute;
  left: var(--space-sm);
}

@media (min-width: 810px) {
  .hero .container {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-3xl);
  }

  .hero-photos {
    flex-direction: column;
    flex-shrink: 0;
  }

  .hero-photos img {
    width: 180px;
    height: 180px;
  }
}

@media (min-width: 1200px) {
  .hero-photos img {
    width: 225px;
    height: 225px;
  }

  .hero h1 {
    font-size: var(--text-xl);
  }

  .hero-brand {
    font-size: 2.5rem;
  }
}

/* =============================================
   Signup Form
   ============================================= */

.signup {
  margin-bottom: var(--space-3xl);
}

.signup-label {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 700;
  display: block;
  margin-bottom: var(--space-md);
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.signup-input {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  height: 40px;
  padding: 0 var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background-color: var(--color-white);
  width: 100%;
}

.signup-input::placeholder {
  color: var(--color-text-muted);
}

.signup-input:focus {
  outline: 2px solid var(--color-accent-teal);
  outline-offset: 1px;
}

.signup-submit {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
  background-color: var(--color-accent-coral);
  border-radius: var(--border-radius);
  height: 40px;
  padding: 0 var(--space-xl);
  transition: opacity 0.2s ease;
  white-space: nowrap;
  align-self: flex-start;
}

.signup-submit:hover {
  opacity: 0.85;
}

.signup-message {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  margin-top: var(--space-sm);
}

.signup-message--success {
  color: var(--color-accent-teal);
}

.signup-message--error {
  color: var(--color-accent-coral);
}

@media (min-width: 810px) {
  .signup-form {
    flex-direction: row;
    align-items: center;
  }

  .signup-input {
    flex: 1;
  }
}

/* =============================================
   Livestream
   ============================================= */

.livestream {
  padding: var(--space-2xl) 0 var(--space-3xl);
  border-top: 1px solid var(--color-border);
}

.livestream h2 {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.livestream-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.livestream-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.livestream-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 1200px) {
  .livestream h2 {
    font-size: var(--text-xl);
  }
}

/* =============================================
   Footer
   ============================================= */

.site-footer {
  padding: var(--space-xl) 0 var(--space-3xl);
  border-top: 1px solid var(--color-border);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-accent-purple);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-links a::after {
  content: " \2197";
}

@media (min-width: 810px) {
  .site-footer .container {
    flex-direction: row;
    justify-content: space-between;
  }
}
