:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #242334;
  background: #f7f7fb;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(ellipse 72% 38% at 50% 0%, #eeedf8 0%, #f7f7fb 72%);
}

.page-shell {
  width: min(100% - 40px, 1060px);
  margin: 0 auto;
  padding: 30px 0 64px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero { text-align: center; }

.brand {
  display: block;
  width: min(100%, 740px);
  height: auto;
  margin: 0 auto;
}

.links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
}

.site-footer {
  margin-top: 48px;
  text-align: center;
  font-size: .95rem;
}

.site-footer a {
  color: #5143a2;
  text-underline-offset: 3px;
}

.site-footer a:hover { color: #35277b; }
.site-footer a:focus-visible { outline: 3px solid #5c4fdb; outline-offset: 4px; }

.project-with-subscribe { min-width: 0; }

.project-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.subscribe-row {
  position: absolute;
  z-index: 1;
  bottom: 10px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border: 1px solid #e9e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  transform: translateX(-50%);
}

.project-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dedee9;
  border-radius: 20px;
  box-shadow: 0 8px 26px rgba(35, 32, 65, .055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: #adaacb;
  box-shadow: 0 18px 36px rgba(35, 32, 65, .11);
}

.project-card:focus-visible {
  outline: 3px solid #5c4fdb;
  outline-offset: 4px;
}

.project-card-link:focus-visible {
  outline: 3px solid #5c4fdb;
  outline-offset: -5px;
}

.card-visual {
  aspect-ratio: 1200 / 627;
  overflow: hidden;
}

.preview-visual { background: #e9ecf6; }

.preview-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-visual {
  position: relative;
  color: #fff;
  background: #000;
}

.video-art-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.video-art-link:focus-visible {
  outline: 3px solid #d3d0ed;
  outline-offset: -5px;
}

.video-visual .channel-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.48);
  transform-origin: center;
}

.video-eyebrow {
  position: absolute;
  top: clamp(19px, 3vw, 30px);
  left: clamp(20px, 3vw, 32px);
  color: #d3d0ed;
  font-size: clamp(.7rem, .75vw + .45rem, .84rem);
  font-weight: 750;
  letter-spacing: .16em;
}

.card-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  min-height: 118px;
  padding: 22px 26px 23px;
}

.card-copy h2 {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 1.2vw + .7rem, 1.45rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.card-copy p {
  margin: 0;
  color: #646176;
  font-size: .94rem;
  line-height: 1.45;
}

.card-action {
  flex: none;
  color: #5143a2;
  font-size: .89rem;
  font-weight: 750;
  white-space: nowrap;
}

.arrow { display: inline-block; margin-left: 3px; font-size: 1.1em; }

@media (max-width: 800px) {
  .page-shell { width: min(100% - 32px, 640px); padding-top: 20px; }
  .brand { width: min(100%, 620px); }
  .links { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
}

@media (max-width: 480px) {
  .page-shell { padding-top: 16px; padding-bottom: 36px; }
  .links { margin-top: 30px; }
  .project-card { border-radius: 16px; }
  .video-visual { aspect-ratio: auto; }
  .video-art-link { aspect-ratio: 1200 / 627; height: auto; overflow: hidden; }
  .subscribe-row {
    position: static;
    min-height: 70px;
    padding: 8px 10px;
    border: 0;
    border-bottom: 1px solid #e9e8f0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }
  .video-eyebrow { top: 16px; left: 18px; font-size: .64rem; }
  .card-copy { align-items: flex-start; min-height: 0; padding: 17px 18px 20px; }
  .card-copy p { font-size: .88rem; }
  .card-action { align-self: flex-end; font-size: .8rem; }
}

@media (max-width: 380px) {
  .card-copy { display: block; }
  .card-action { display: inline-block; margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .project-card { transition: none; }
}
