:root {
  --bg: #ffffff;
  --bg-alt: #f7f7f8;
  --text: #171717;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #0f172a;
}

/* Reset and base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
.h1, h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  letter-spacing: 0.02em;
}

.h2, h2 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 1.2vw + 1rem, 2rem);
}

p {
  margin: 0.75rem 0 1rem;
  color: var(--text);
}

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

.hr {
  height: 1px;
  background: var(--border);
  border: 0;
}

section {
  padding: 56px 0;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.brand img {
  height: auto;
  max-height: 120px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.brand .subtitle {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-weight: 400;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
}

.nav {
  display: none;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
}

.nav a {
  font-family: "Rubik", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-underline-offset: 4px;
}

.nav a:hover {
  text-decoration: underline;
}

.nav-toggle {
  border: 1px solid var(--border);
  background: var(--bg);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.nav-toggle .bar {
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle .bar::before,
.nav-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }

/* Mobile menu state */
.mobile-menu {
  display: none;
}

.mobile-menu.is-open {
  display: block;
  border-top: 1px solid var(--border);
  padding: 12px 0 16px;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.mobile-menu a {
  font-family: "Rubik", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  background: var(--bg);
}

.hero-grid {
  display: grid;
  gap: 28px;
}

/* Mobile: image appears first (order 1), text appears second (order 2) */
.hero-media {
  order: -1;
}

.hero-text {
  order: 2;
}

.hero-title {
  margin-bottom: 8px;
}

.hero-subtitle {
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-copy {
  margin-top: 10px;
  color: var(--text);
}

.hero-media img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* Socials */
.socials {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.socials a:hover {
  background: var(--bg-alt);
}

/* Embeds */
.embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* SoundCloud specific embed styling */
.embed-soundcloud {
  aspect-ratio: auto;
  height: auto;
  min-height: 600px;
  background: transparent;
  border: none;
}

.embed-soundcloud iframe {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* Contact */
.contact-layout {
  display: grid;
  gap: 28px;
  align-items: start;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
}

.contact-media {
  margin: 0;
  position: relative;
}

.contact-media::before {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.contact-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.contact-grid {
  display: grid;
  gap: 24px;
  width: 100%;
  text-align: left;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
}

.contact-card--spacer {
  visibility: hidden;
  min-height: 0;
  padding: 0;
  border: 0;
}

.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: grid;
  gap: 12px;
  justify-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--text);
}

.contact-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  word-break: normal;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

/* Cards / blocks */
.block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

/* Forms */
.form {
  display: grid;
  gap: 14px;
}

.input, .textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  font: inherit;
  color: var(--text);
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  font-weight: 600;
}

.btn.secondary {
  background: var(--bg);
  color: var(--text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
}

/* Desktop */
@media (min-width: 900px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .contact-layout {
    grid-template-columns: minmax(360px, 1fr) minmax(420px, 1fr);
    align-items: stretch;
    gap: 48px;
  }

  .hero-media {
    order: 2;
  }

  .hero-text {
    order: 1;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 24px;
  }

  .contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(13, 255, 0, 0.08);
  }

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

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

