:root {
  --bg: #f6f3ee;
  --bg-2: #efebe4;
  --bg-3: #e7e1d8;
  --paper: #fffcf8;
  --ink: #1c1916;
  --muted: #6f6a63;
  --line: #ddd6cb;
  --accent: #2a4a45;
  --accent-soft: #3d655e;
  --warm: #c46a3a;
  --shadow: 0 18px 40px rgba(28, 25, 22, 0.08);
  --radius: 22px;
  --max: 1120px;
  --nav-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

.serif { font-family: "Instrument Serif", Georgia, serif; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 86%, white);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.logo-mark {
  width: 28px;
  height: 28px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
}
.nav-links a { color: var(--muted); }
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: var(--bg) !important;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
}
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

/* HERO */
.hero {
  padding: 72px 0 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: end;
}
.hero h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
}
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-photo {
  position: relative;
}
.hero-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 28px;
}
.hero-chip {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  min-width: 230px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn:hover { transform: translateY(-1px); }

/* PLAYER */
.player {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.player.compact { box-shadow: none; }
.play {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.play svg { width: 16px; height: 16px; }
.player-meta { min-width: 0; }
.player-title { font-size: 0.95rem; }
.player-sub { font-size: 0.78rem; color: var(--muted); }
.bar {
  margin-top: 8px;
  height: 4px;
  background: var(--bg-3);
  border-radius: 99px;
  overflow: hidden;
  cursor: pointer;
}
.bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
}
.time { font-size: 0.78rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* SECTIONS */
section { padding: 84px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}
.section-head h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.muted { color: var(--muted); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filter {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  color: var(--muted);
}
.filter.active, .filter:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.demo-card { display: none; }
.demo-card.show { display: block; }

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 400;
  margin: 8px 0 10px;
}
.num { font-size: 0.78rem; color: var(--accent); letter-spacing: 0.08em; }

.credits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.credit {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 92px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  font-size: 0.92rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.split img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
}
.bio p { margin-bottom: 16px; color: var(--muted); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.stat {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.stat b {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
}

.page-hero { padding: 56px 0 12px; }
.page-hero h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-top: 10px;
}

.form {
  display: grid;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-size: 0.88rem; }
input, textarea, select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: start;
}
.aside-note {
  color: var(--muted);
  margin: 16px 0 24px;
}
.contact-list { display: grid; gap: 10px; }
.contact-list a { border-bottom: 1px solid var(--line); padding-bottom: 8px; width: fit-content; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.wave-band {
  height: 180px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 18%, transparent), var(--bg)),
    url("../images/wave.jpg") center/cover no-repeat;
  border: 1px solid var(--line);
}

.notice {
  background: var(--bg-2);
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 22px;
}

@media (max-width: 880px) {
  .hero, .split, .contact-grid, .demo-grid, .services, .credits, .row {
    grid-template-columns: 1fr;
  }
  .hero-photo img, .split img { height: 380px; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
  .hero { padding-top: 36px; }
}
