/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* === Navigation === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, backdrop-filter 0.3s;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #666;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1a1a1a;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: #1a1a1a;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Sections === */
section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.section-inner {
  max-width: 900px;
  width: 100%;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Hero === */
#hero {
  min-height: 100vh;
  text-align: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.hero-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  color: #1a1a1a;
  will-change: transform, opacity;
}

/* === About === */
#about {
  background: #fff;
  padding: 4rem 2rem;
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-text a {
  color: #1a1a1a;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: #ccc;
  transition: text-decoration-color 0.2s;
}

.about-text a:hover {
  text-decoration-color: #1a1a1a;
}

.about-resume {
  text-align: center;
  margin-top: 1.25rem;
}

.about-resume a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  transition: color 0.2s;
}

.about-resume a:hover {
  color: #1a1a1a;
}

/* === Words === */
#words {
  background: #f9f8f6;
  padding: 4rem 2rem;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.words-themes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.theme-block {
  padding: 1.5rem;
  background: #fff;
  border-radius: 10px;
}

.theme-block h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #999;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e8e8e8;
}

.words-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.words-list a {
  display: block;
  padding: 0.4rem 0.5rem;
  transition: background 0.2s;
  font-size: 0.85rem;
  line-height: 1.5;
  border-radius: 6px;
}

.words-list a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.words-list .title {
  font-weight: 600;
}

.words-list .subtitle {
  color: #666;
}

.theme-more {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #999;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e8e8e8;
  transition: color 0.2s;
}

.theme-more:hover {
  color: #1a1a1a;
}

/* === Impact === */
#impact {
  background: #f9f8f6;
  padding: 4rem 2rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.impact-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eee;
  transition: transform 0.2s, box-shadow 0.2s;
}

.impact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.impact-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.impact-text-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  height: 100px;
  display: flex;
  align-items: center;
}

.impact-role {
  font-size: 1rem;
  color: #555;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.impact-trajectory {
  font-size: 0.78rem;
  color: #555;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
}

.impact-trajectory a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: #ccc;
  transition: text-decoration-color 0.2s;
}

.impact-trajectory a:hover {
  text-decoration-color: #1a1a1a;
}

.trajectory-arrow {
  color: #bbb;
  font-size: 0.85rem;
  margin: 0.15rem 0;
}

.impact-years {
  font-size: 0.8rem;
  color: #999;
  margin-top: -0.25rem;
}

/* === Sounds === */
#sounds {
  background: #fff;
  padding: 4rem 2rem;
}

.sounds-header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.sounds-logo {
  height: 90px;
  width: auto;
}

.sounds-booking {
  text-align: right;
}

.sounds-booking h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.sounds-booking a {
  font-style: italic;
  color: #555;
  transition: color 0.2s;
}

.sounds-booking a:hover {
  color: #1a1a1a;
}

.sounds-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.sounds-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform 0.2s, opacity 0.2s;
}

.sounds-icons a:hover {
  transform: scale(1.15);
}

.sounds-icons svg {
  width: 30px;
  height: 30px;
}

.residencies-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
}

.residencies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 2rem;
  text-align: center;
}

.residencies-grid p {
  font-size: 0.85rem;
  line-height: 1.9;
}

.residencies-grid .venue {
  font-weight: 400;
}

.residencies-grid .location {
  font-style: italic;
  color: #888;
}

/* === Footer === */
footer {
  padding: 2.5rem 2rem;
  text-align: center;
  background: #1a1a1a;
  color: #999;
  font-size: 0.85rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

footer a {
  color: #ccc;
  transition: color 0.2s;
}

footer a:hover {
  color: #fff;
}

/* === Mobile === */
@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .nav-logo {
    height: 36px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.3s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
    letter-spacing: 0.2em;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .hero-tagline {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .words-themes {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .impact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .impact-text-logo {
    font-size: 1.5rem;
    height: auto;
  }

  .sounds-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sounds-booking {
    text-align: center;
  }

  .residencies-grid {
    grid-template-columns: 1fr;
  }
}
