.dh-hero {
  --dh-bg: var(--canvas);
  --dh-fg: var(--ink);
  --dh-muted: var(--body);
  --dh-faint: var(--mute);
  --dh-well: var(--elevated);
  --dh-raised: var(--elevated);
  --dh-edge: var(--hairline);
  --dh-accent: var(--ink);
  --dh-on-accent: var(--canvas);
  container-type: inline-size;
  background: var(--dh-bg);
  color: var(--dh-fg);
  font-size: 14px;
  line-height: 1.5;
}
.dh-hero a {
  text-decoration: none;
}
.dh-hero a:not(.dh-button) {
  color: inherit;
}

.dh-hero-scene {
  position: relative;
  overflow: hidden;
  padding: 0 32px;
  background: #0e0e11 url("hero-dusk.jpg") 50% 78% / cover no-repeat;
  color: #fff;
}
.dh-hero-scene::before,
.dh-hero-scene::after {
  content: "";
  position: absolute;
  inset: auto -2px -2px;
  z-index: 2;
  pointer-events: none;
}
.dh-hero-scene::before {
  height: 300px;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  -webkit-mask-image: linear-gradient(transparent, #000 60%);
  mask-image: linear-gradient(transparent, #000 60%);
}
.dh-hero-scene::after {
  --fade: var(--dh-bg, #fff);
  height: 240px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(transparent, #000 55%);
  mask-image: linear-gradient(transparent, #000 55%);
  background: linear-gradient(
    transparent 0%,
    color-mix(in srgb, var(--fade) 6%, transparent) 22%,
    color-mix(in srgb, var(--fade) 24%, transparent) 42%,
    color-mix(in srgb, var(--fade) 55%, transparent) 62%,
    color-mix(in srgb, var(--fade) 84%, transparent) 80%,
    var(--fade) 94%
  );
}

.dh-hero-body {
  position: relative;
  z-index: 3;
  max-width: 620px;
  margin: 0 auto;
  padding: 64px 0 60px;
  text-align: center;
  --dh-fg: #f4f4f5;
  --dh-bg: #17171a;
  --dh-accent: #f4f4f5;
  --dh-on-accent: #17171a;
}
.dh-hero-body .dh-button {
  margin-top: 28px;
  font-size: 15px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 24px -8px rgb(0 0 0 / 0.5);
}
.dh-hero h1 {
  margin: 0;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.dh-hero-body > p {
  max-width: 380px;
  margin: 18px auto 0;
  color: rgb(255 255 255 / 0.78);
}
.dh-hero-body > .dh-hero-meta {
  max-width: none;
  margin-top: 20px;
  color: rgb(255 255 255 / 0.62);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.dh-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  margin: 0;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  color: rgb(255 255 255 / 0.92);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.dh-hero-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.75;
}

.dh-hero-shot {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 5px 5px 0;
  border-radius: 16px 16px 0 0;
  background: rgb(255 255 255 / 0.08);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1), 0 30px 80px -10px rgb(0 0 0 / 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(#000 62%, transparent 98%);
  mask-image: linear-gradient(#000 62%, transparent 98%);
}
.dh-hero-shot .panel {
  border: 0;
  border-radius: 12px 12px 0 0;
  box-shadow: none;
}
.dh-hero-shot .panel-head,
.dh-hero-shot .panel-foot { background: var(--canvas); }

.dh-hero-intro {
  position: relative;
  z-index: 3;
  margin-top: -2px;
  padding: 74px max(32px, calc(50% - 250px)) 88px;
  background: var(--dh-bg);
}
.dh-hero-intro .dh-hero-tag {
  background: transparent;
  color: var(--dh-muted);
  box-shadow: inset 0 0 0 0.5px var(--dh-faint);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.dh-hero-intro p:not(.dh-hero-tag) {
  margin-top: 20px;
  margin-bottom: 0;
  color: var(--dh-muted);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.dh-hero-intro p.dh-hero-note {
  max-width: 58ch;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  color: var(--mute);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0;
}
.dh-hero-note strong {
  color: var(--ink);
  font-weight: 500;
}

.dh-button {
  display: inline-flex;
  align-items: center;
  height: 2.6em;
  padding: 0 1.15em;
  border: 0;
  border-radius: 0.65em;
  background: var(--dh-accent, var(--dh-fg, #171717));
  color: var(--dh-on-accent, var(--dh-bg, #fff));
  font-family: inherit;
  font-size: 1em;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.2);
  transition: transform 150ms cubic-bezier(0.23, 1, 0.32, 1);
}
.dh-button:active { transform: scale(0.97); }
.dh-button:focus-visible {
  outline: 2px solid var(--dh-faint, #8a8a8a);
  outline-offset: 2px;
}

@container (max-width: 720px) {
  .dh-hero-scene { padding: 0 20px; }
  .dh-hero-body { padding: 44px 0 44px; }
  .dh-hero h1 { font-size: 34px; }
  .dh-hero-body .dh-button { height: 44px; }
  .dh-hero-scene::before { height: 200px; }
  .dh-hero-scene::after { height: 160px; }
  .dh-hero-intro { padding: 50px max(20px, calc(50% - 250px)) 56px; }
  .dh-hero-intro p:not(.dh-hero-tag) { font-size: 18px; }
  .dh-hero-shot .panel-id,
  .dh-hero-shot .panel-items { display: none; }
  .dh-hero-shot .panel-row { grid-template-columns: minmax(0, 1fr) auto auto; }
}
