/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

:root {
  --bg: #0e0d0c;
  --bg-alt: #17140f;
  --panel: #1c1812;
  --text: #f5f1ea;
  --text-muted: #b3a999;
  --accent: #e0a458;
  --accent-soft: rgba(224, 164, 88, 0.14);
  --border: #2c2620;
  --max-width: 1120px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--text-muted); line-height: 1.75; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75em;
}

.btn {
  display: inline-block;
  padding: 0.85em 1.8em;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #17140f;
}
.btn-primary:hover { transform: translateY(-2px); }

.btn-outline {
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 13, 12, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }

.nav-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}
.nav-icon:hover { color: var(--accent); }
.nav-icon svg { width: 20px; height: 20px; flex-shrink: 0; }
.nav-icon-label { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-alt);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open {
    max-height: 320px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a, .nav-links .nav-icon {
    padding: 16px 24px;
    width: 100%;
    height: auto;
    border-bottom: 1px solid var(--border);
  }
  .nav-icon-label { display: inline; font-family: 'Space Grotesk', sans-serif; font-size: 0.92rem; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--panel), var(--bg) 65%);
}

.hero-inner {
  position: relative;
  max-width: 820px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 2.9rem);
  margin-bottom: 0.6em;
}

.hero p.lead {
  font-size: 1.15rem;
  max-width: 560px;
}

.hero-visual {
  margin-top: 64px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--panel), var(--bg-alt));
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  position: relative;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 80px;
}
.waveform span {
  width: 4px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.75;
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; }

.card h3 { font-size: 1.15rem; }

.project-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
}

.project-cover {
  aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, var(--bg-alt), var(--panel));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(14, 13, 12, 0.6);
  border: 1px solid rgba(245, 241, 234, 0.35);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.project-cover:hover .play-btn,
.play-btn.is-playing {
  opacity: 1;
}
.play-btn:hover {
  background: var(--accent);
  color: #17140f;
  border-color: var(--accent);
}
.play-btn svg { width: 22px; height: 22px; }
.play-btn .icon-pause { display: none; }
.play-btn.is-playing .icon-play { display: none; }
.play-btn.is-playing .icon-pause { display: block; }

/* ---------- Player scrub bar ---------- */
.player-bar { margin-top: 16px; }

.seek {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
  cursor: pointer;
  margin: 0;
}
.seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  margin-top: -4px;
}
.seek::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
}
.seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
}

.time-row {
  display: flex;
  justify-content: space-between;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.project-info { padding: 20px 22px; }
.project-info h3 { font-size: 1rem; margin-bottom: 0.2em; }
.project-info span { font-size: 0.85rem; color: var(--text-muted); }

.cta-band {
  text-align: center;
  padding: 96px 0;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band .btn-row { justify-content: center; margin-top: 24px; }

/* ---------- Two-column layout (About / equipment) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- Founder bio ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; }
}

.founder-photo {
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, var(--bg-alt), var(--panel));
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-name { font-size: 1.4rem; margin-bottom: 0.1em; }
.founder-title {
  display: block;
  color: var(--accent);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 1em;
}

.equipment-list {
  display: grid;
  gap: 10px;
}
.equipment-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.equipment-list li span:first-child { color: var(--text); font-weight: 500; }
.equipment-list li span:last-child { color: var(--text-muted); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag {
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-detail {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:first-child { padding-top: 0; }
.contact-detail .icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail .icon svg { width: 18px; height: 18px; }
.contact-detail h4 { font-size: 0.95rem; margin-bottom: 0.2em; }
.contact-detail p { margin: 0; }

form.contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { resize: none; min-height: 120px; }
.form-success {
  display: none;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--text);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}
.form-success.visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 24px;
  text-align: center;
}

/* ---------- Page header (interior pages) ---------- */
.page-head {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--border);
}
.page-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); }

/* ---------- Phone screens ---------- */
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .hero { padding: 64px 0 48px; }
  .hero-visual { height: 220px; margin-top: 40px; }
  .cta-band { padding: 64px 0; }
  .page-head { padding: 56px 0 32px; }

  .logo { font-size: 0.98rem; gap: 8px; }
  .logo-mark { width: 30px; height: 30px; }
  .nav-toggle { padding: 10px; }

  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }

  form.contact-form { padding: 24px; }
}
