:root {
  color-scheme: dark;
  --ink: #f7f1e8;
  --muted: #b7b0a5;
  --soft: rgba(247, 241, 232, 0.12);
  --line: rgba(247, 241, 232, 0.18);
  --bg: #10100f;
  --panel: #181715;
  --teal: #3fb7ad;
  --amber: #d79a45;
  --red: #a84734;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.78), rgba(8, 8, 8, 0));
}

.brand,
.nav-links,
.hero-actions,
.hero-meta,
.strip,
.contact-section,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--ink) 0 3px, transparent 4px),
    conic-gradient(from 90deg, var(--teal), var(--amber), var(--red), var(--teal));
  box-shadow: 0 0 0 5px rgba(247, 241, 232, 0.08);
}

.nav-links {
  gap: 26px;
  padding: 10px 16px;
  border: 1px solid rgba(247, 241, 232, 0.14);
  border-radius: 999px;
  background: rgba(12, 12, 11, 0.58);
  backdrop-filter: blur(18px);
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover,
.nav-cta:hover {
  color: var(--ink);
}

.nav-cta {
  justify-self: end;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #151311;
  font-weight: 800;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(18px, 6vw, 82px) 38px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 12, 11, 0.94) 0%, rgba(12, 12, 11, 0.74) 38%, rgba(12, 12, 11, 0.22) 100%),
    linear-gradient(0deg, rgba(16, 16, 15, 1) 0%, rgba(16, 16, 15, 0.08) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-bottom: clamp(42px, 8vh, 86px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.91;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
}

.hero-copy {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
}

.primary {
  background: var(--teal);
  color: #071716;
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(247, 241, 232, 0.07);
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-meta {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.strip {
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
  flex-wrap: wrap;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section {
  padding: clamp(76px, 11vw, 138px) clamp(18px, 6vw, 82px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading.narrow {
  max-width: 820px;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.track-card,
.service-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 92%, var(--teal));
}

.track-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  box-shadow: var(--shadow);
}

.track-card h3,
.service-list h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.track-card p,
.service-list p,
.about-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.track-type {
  color: var(--teal) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.waveform {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  height: 92px;
  align-items: end;
  margin-bottom: 42px;
}

.waveform span {
  display: block;
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, var(--amber), var(--teal));
}

.waveform span:nth-child(1) { height: 45%; }
.waveform span:nth-child(2) { height: 86%; }
.waveform span:nth-child(3) { height: 62%; }
.waveform span:nth-child(4) { height: 100%; }
.waveform span:nth-child(5) { height: 54%; }

.services-section {
  background: #ece3d6;
  color: #171412;
}

.services-section .eyebrow,
.services-section p {
  color: #7c5641;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  background: rgba(23, 20, 18, 0.16);
  border: 1px solid rgba(23, 20, 18, 0.16);
}

.service-list article {
  min-height: 260px;
  padding: 28px;
  border: 0;
  background: #ece3d6;
  color: #171412;
}

.service-list span {
  display: inline-block;
  margin-bottom: 76px;
  color: var(--red);
  font-weight: 800;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.about-copy {
  max-width: 820px;
}

.stats {
  display: grid;
  gap: 14px;
}

.stats div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.stats strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 58px;
  font-weight: 400;
}

.stats span {
  color: var(--muted);
  text-align: right;
}

.contact-section {
  justify-content: space-between;
  gap: 28px;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 6vw, 82px);
  background: var(--teal);
  color: #071716;
}

.contact-section .eyebrow {
  color: #0b4642;
}

.contact-section h2 {
  max-width: 790px;
}

.contact-link {
  flex: 0 0 auto;
  padding: 16px 20px;
  border: 1px solid rgba(7, 23, 22, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  font-weight: 800;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 82px);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 112px;
  }

  .hero-meta,
  .section-heading,
  .track-grid,
  .service-list,
  .about-section,
  .contact-section {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-meta {
    justify-items: start;
  }

  .contact-link {
    justify-self: start;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 540px) {
  .brand span:last-child {
    max-width: 130px;
  }

  .nav-cta {
    padding: 10px 13px;
  }

  h1 {
    font-size: 50px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .track-card,
  .service-list article {
    min-height: auto;
  }

  .service-list span {
    margin-bottom: 36px;
  }

  .site-footer {
    display: grid;
  }
}
