:root {
  color-scheme: dark;
  --ink: #f7efe3;
  --ink-soft: #d6c8b3;
  --muted: #a69783;
  --dark: #0f1110;
  --dark-2: #151817;
  --panel: #1f211f;
  --line: rgba(247, 239, 227, 0.16);
  --amber: #c98f45;
  --rain: #8ba8b4;
  --green: #73806c;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dark);
  color: var(--ink-soft);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: geometricPrecision;
}

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

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

a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 6px;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 34px;
  border-bottom: 1px solid rgba(247, 239, 227, 0.12);
  background: rgba(15, 17, 16, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

.brand-symbol {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(201, 143, 69, 0.58);
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 13px;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  border-color: var(--amber);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 142px 32px 104px;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("/assets/rainy-midnight-desk.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(15, 17, 16, 0.9), rgba(15, 17, 16, 0.48) 46%, rgba(15, 17, 16, 0.12)),
    linear-gradient(0deg, rgba(15, 17, 16, 0.92), transparent 42%),
    linear-gradient(180deg, rgba(15, 17, 16, 0.76), transparent 30%);
}

.hero-content {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 500;
  letter-spacing: 0;
}

.domain-dot {
  display: inline;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
}

.hero-actions,
.youtube-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.primary-link,
.secondary-link,
.text-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
}

.primary-link {
  padding: 0 20px;
  background: var(--ink);
  color: #171613;
}

.primary-link:hover {
  background: #fff7e8;
}

.secondary-link,
.text-link {
  border-bottom-color: rgba(247, 239, 227, 0.42);
  color: var(--ink);
}

.secondary-link:hover,
.text-link:hover {
  border-bottom-color: var(--amber);
  color: #fff7e8;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: #111412;
}

.ticker span {
  display: grid;
  min-height: 82px;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.ticker span:last-child {
  border-right: 0;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 112px 32px;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  gap: 56px;
  align-items: center;
}

.section-copy p {
  max-width: 570px;
  margin: 24px 0 34px;
  color: var(--ink-soft);
  font-size: 18px;
}

.session-facts {
  display: grid;
  gap: 1px;
  max-width: 520px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.session-facts div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 18px;
  background: var(--dark-2);
}

.session-facts dt,
.rhythm-list span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.session-facts dd {
  margin: 0;
  color: var(--ink);
}

.video-frame {
  margin: 0;
  border: 1px solid rgba(247, 239, 227, 0.18);
  background: #080908;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.44);
}

.video-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rhythm {
  border-top: 1px solid var(--line);
}

.rhythm > div:first-child {
  max-width: 760px;
  margin-bottom: 48px;
}

.rhythm-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.rhythm-list article {
  min-height: 245px;
  padding: 30px;
  background: var(--panel);
}

.rhythm-list h3 {
  margin-top: 34px;
}

.rhythm-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.youtube-band {
  width: min(100% - 64px, var(--max));
  margin: 0 auto 92px;
  justify-content: space-between;
  gap: 28px;
  border-block: 1px solid var(--line);
  padding: 46px 0;
}

.youtube-band > div {
  max-width: 470px;
}

.youtube-band p {
  max-width: 380px;
  margin: 0;
  color: var(--ink-soft);
}

.primary-link.compact {
  min-width: 140px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a:hover {
  color: var(--ink);
}

.simple-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
}

.not-found {
  width: min(100% - 48px, 680px);
}

.not-found h1 {
  font-size: clamp(48px, 9vw, 92px);
}

@media (max-width: 840px) {
  .site-header {
    position: absolute;
    padding: 0 20px;
  }

  .site-nav {
    gap: 14px;
    font-size: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding: 118px 22px 78px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(42px, 12.7vw, 72px);
    line-height: 1.02;
  }

  .domain-dot {
    display: block;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(15, 17, 16, 0.9), rgba(15, 17, 16, 0.5)),
      linear-gradient(0deg, rgba(15, 17, 16, 0.95), transparent 52%);
  }

  .ticker {
    grid-template-columns: repeat(2, 1fr);
  }

  .ticker span {
    min-height: 68px;
    padding: 0 12px;
  }

  .section {
    padding: 74px 22px;
  }

  .feature,
  .rhythm-list {
    grid-template-columns: 1fr;
  }

  .session-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .rhythm-list article {
    min-height: 190px;
  }

  .youtube-band {
    width: calc(100% - 44px);
    margin-bottom: 70px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 22px;
  }
}

@media (max-width: 520px) {
  .site-nav a:nth-child(2) {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }
}
