:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #58635d;
  --paper: #fbfaf5;
  --white: #ffffff;
  --leaf: #3f6f54;
  --leaf-dark: #1f3d2d;
  --river: #d9ecf1;
  --sun: #df9a38;
  --berry: #b94a42;
  --violet: #5d5578;
  --line: rgba(23, 32, 27, 0.14);
  --shadow: 0 24px 70px rgba(31, 54, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: #fff;
  background: linear-gradient(180deg, rgba(13, 22, 17, 0.62), rgba(13, 22, 17, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

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

.nav a {
  padding: 10px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 106px clamp(18px, 6vw, 82px) 74px;
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 18, 12, 0.78) 0%, rgba(8, 18, 12, 0.58) 42%, rgba(8, 18, 12, 0.16) 76%),
    linear-gradient(0deg, rgba(8, 18, 12, 0.45), rgba(8, 18, 12, 0.03) 54%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 770px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  color: var(--ink);
  background: #fff;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.64);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-status {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 54px);
  bottom: 28px;
  width: min(330px, calc(100vw - 36px));
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  color: #fff;
  background: rgba(31, 61, 45, 0.72);
  backdrop-filter: blur(10px);
}

.hero-status strong,
.hero-status span {
  display: block;
}

.hero-status span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.35;
}

.intro,
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 74px clamp(18px, 4vw, 44px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(280px, 1.28fr);
  gap: 36px;
  align-items: start;
}

h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.06;
}

h3 {
  margin: 0;
  font-size: 24px;
}

p {
  letter-spacing: 0;
}

.intro p:last-child,
.section-heading p,
.work-card small,
.work-detail p,
.audio-steps p,
.film-copy p,
.footer {
  line-height: 1.65;
}

.intro p:last-child {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.works-section {
  padding-top: 32px;
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: 18px;
  align-items: stretch;
}

.work-list {
  display: grid;
  gap: 10px;
}

.work-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  min-height: 92px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.work-card strong,
.work-card small {
  display: block;
}

.work-card strong {
  font-size: 18px;
}

.work-card small {
  margin-top: 5px;
  color: var(--muted);
}

.work-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--leaf-dark);
  background: var(--river);
  font-weight: 900;
  font-size: 13px;
}

.work-card.is-active {
  border-color: rgba(31, 61, 45, 0.5);
  color: #fff;
  background: var(--leaf-dark);
  box-shadow: var(--shadow);
}

.work-card.is-active small {
  color: rgba(255, 255, 255, 0.74);
}

.work-card.is-active .work-number {
  color: var(--ink);
  background: #fff;
}

.work-detail {
  min-height: 500px;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(150deg, rgba(31, 61, 45, 0.98), rgba(63, 111, 84, 0.92)),
    var(--leaf-dark);
  box-shadow: var(--shadow);
}

.detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.detail-top .section-kicker {
  margin-bottom: 0;
}

.detail-top a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.work-detail h3 {
  margin-top: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.03;
}

.detail-author {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.work-detail blockquote {
  margin: 34px 0 0;
  padding: 28px 0 28px 24px;
  border-left: 5px solid var(--sun);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
}

.work-detail p:not(.section-kicker):not(.detail-author) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.mini-button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.mini-button.active {
  color: var(--ink);
  background: #fff;
}

.audio-section {
  max-width: none;
  padding-left: max(18px, calc((100vw - 1180px) / 2 + 44px));
  padding-right: max(18px, calc((100vw - 1180px) / 2 + 44px));
  background: linear-gradient(180deg, #eff6ee, var(--river));
}

.audio-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(320px, 1.14fr);
  gap: 18px;
}

.player-panel {
  min-height: 322px;
  padding: 30px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(31, 61, 45, 0.96), rgba(93, 85, 120, 0.92)),
    var(--violet);
  box-shadow: var(--shadow);
}

.player-top {
  display: flex;
  gap: 16px;
  align-items: center;
}

.play-button {
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--leaf-dark);
  background: #fff;
  font-size: 20px;
  cursor: pointer;
}

.player-top strong,
.player-top span {
  display: block;
}

.player-top span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
}

.audio-control {
  width: 100%;
  margin: 28px 0;
  accent-color: var(--sun);
}

#audio-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
}

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

.audio-steps article {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.audio-steps span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--berry);
  font-weight: 900;
}

.audio-steps p {
  margin: 12px 0 0;
  color: var(--muted);
}

.film-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(360px, 1.25fr);
  gap: 30px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px clamp(18px, 4vw, 44px);
}

.film-copy p:last-child {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.video-mock {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--leaf-dark);
  box-shadow: var(--shadow);
}

.video-mock img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  filter: saturate(1.02);
}

.video-overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px 20px;
  border-radius: 8px;
  color: #fff;
  background: rgba(13, 22, 17, 0.72);
  backdrop-filter: blur(10px);
}

.video-overlay span {
  display: inline-block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  font-size: 13px;
}

.video-overlay p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.22;
}

.sources-section {
  padding-top: 48px;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.source-grid a {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--leaf-dark);
  font-weight: 850;
  line-height: 1.35;
  text-decoration: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.8);
  background: #17201b;
}

.footer p {
  margin: 0;
}

.footer a {
  font-weight: 850;
}

@media (max-width: 980px) {
  .intro,
  .work-layout,
  .audio-layout,
  .film-section {
    grid-template-columns: 1fr;
  }

  .audio-steps,
  .source-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-status {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 28px;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 16px;
  }

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

  .nav {
    gap: 4px;
  }

  .nav a {
    padding: 9px 7px;
    font-size: 13px;
  }

  .hero {
    min-height: 88vh;
    align-items: end;
    padding: 94px 18px 38px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(8, 18, 12, 0.84) 0%, rgba(8, 18, 12, 0.56) 62%, rgba(8, 18, 12, 0.14) 100%);
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .lead {
    font-size: 17px;
  }

  .intro,
  .section,
  .film-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .audio-steps,
  .source-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    grid-template-columns: 46px 1fr;
    min-height: 86px;
    padding: 14px;
  }

  .work-number {
    width: 42px;
    height: 42px;
  }

  .work-detail,
  .player-panel {
    padding: 24px;
  }

  .detail-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .work-detail blockquote {
    padding-left: 18px;
  }

  .video-mock,
  .video-mock img {
    min-height: 360px;
  }

  .footer {
    display: block;
  }

  .footer a {
    display: inline-block;
    margin-top: 10px;
  }
}
