:root {
  --ink: #17191f;
  --muted: #5f6673;
  --paper: #f8f6f1;
  --panel: #ffffff;
  --line: rgba(23, 25, 31, 0.13);
  --accent: #e9534f;
  --accent-2: #177765;
  --gold: #efb94d;
  --shadow: 0 18px 60px rgba(23, 25, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(248, 246, 241, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-weight: 850;
  text-decoration: none;
  font-size: 1.08rem;
}

nav {
  display: flex;
  gap: clamp(14px, 2.8vw, 34px);
  font-size: 0.95rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.icon-button,
.close-button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(23, 25, 31, 0.08);
}

.icon-button span {
  width: 17px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: end;
  padding: clamp(26px, 5vw, 72px);
  isolation: isolate;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 15, 19, 0.84), rgba(14, 15, 19, 0.42) 55%, rgba(14, 15, 19, 0.1));
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
}

.hero-copy {
  max-width: 820px;
  color: white;
  padding-bottom: min(8vh, 70px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd36b;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.5rem, 9vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.12;
}

.intro {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.contact-band,
.customizer-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.secondary {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
}

.button.light {
  background: white;
  color: var(--ink);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.stats-strip div {
  padding: clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.stats-strip div:last-child {
  border-right: 0;
}

.stats-strip strong,
.stats-strip span {
  display: block;
}

.stats-strip strong {
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1;
}

.stats-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 11vw, 128px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

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

.project-card {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(23, 25, 31, 0.08);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.project-card div {
  padding: 20px;
}

.tag {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(23, 119, 101, 0.11);
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.project-card p:not(.tag) {
  color: var(--muted);
}

.project-card a {
  font-weight: 850;
  color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.youtube-band {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(50px, 8vw, 92px) clamp(18px, 5vw, 76px);
  background: #17191f;
  color: white;
}

.youtube-copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d0f14 url("assets/channel-banner.png") center / cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.33);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(26px, 6vw, 78px);
  align-items: start;
}

.body-copy {
  color: var(--muted);
  font-size: 1.1rem;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.link-list a {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 850;
  text-decoration: none;
}

.link-list a::after {
  content: ">";
  color: var(--accent);
}

.contact-band {
  justify-content: space-between;
  padding: clamp(42px, 7vw, 80px) clamp(18px, 5vw, 76px);
  background: var(--accent-2);
  color: white;
}

.contact-band .eyebrow {
  color: #ffdc7b;
}

.contact-band p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.customizer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(420px, 100vw);
  height: 100dvh;
  padding: 22px;
  overflow: auto;
  background: var(--panel);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 180ms ease;
}

.customizer.open {
  transform: translateX(0);
}

.customizer-header {
  justify-content: space-between;
  margin-bottom: 18px;
}

.customizer-header h2 {
  font-size: 1.7rem;
}

.close-button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1rem;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(23, 25, 31, 0.38);
}

@media (max-width: 860px) {
  .site-header {
    min-height: 64px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5.5rem);
  }

  .stats-strip,
  .project-grid,
  .youtube-band,
  .split {
    grid-template-columns: 1fr;
  }

  .stats-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading {
    display: block;
  }

  .youtube-band {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .link-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 22px;
  }

  .hero-copy {
    padding-bottom: 36px;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .project-card div,
  .link-list a {
    padding: 18px;
  }
}
