:root {
  color-scheme: dark;
  --bg: #08110d;
  --bg-soft: #0d1812;
  --surface: rgba(18, 31, 23, 0.9);
  --surface-strong: #14251a;
  --surface-hover: #193020;
  --line: rgba(184, 215, 174, 0.18);
  --line-strong: rgba(184, 215, 174, 0.34);
  --text: #eef5ec;
  --muted: #b5c4b2;
  --green: #78c676;
  --green-bright: #a9e69c;
  --gold: #e5c778;
  --danger: #ff8e7d;
  --warning: #f3cc70;
  --info: #75d6cf;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 0%, rgba(69, 139, 80, 0.18), transparent 31rem),
    radial-gradient(circle at 90% 18%, rgba(35, 118, 112, 0.12), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M20 85c35-6 58-29 75-65M27 69c8 0 15 3 20 9M47 52c9 0 17 3 23 10M66 35c8 0 15 3 21 9' fill='none' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E");
}

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

a {
  color: var(--green-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #d3ffc7;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(169, 230, 156, 0.58);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.18;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.14rem, 2vw, 1.38rem);
}

p,
ul,
ol {
  margin-top: 0;
}

ul,
ol {
  padding-left: 1.3rem;
}

li + li {
  margin-top: 0.45rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--green-bright);
  color: #08110d;
  font-weight: 800;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 17, 13, 0.84);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 2rem), var(--content));
  min-height: 68px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(229, 199, 120, 0.45);
  border-radius: 50%;
  background: linear-gradient(135deg, #254d2d, #102319);
  box-shadow: inset 0 0 0 3px rgba(229, 199, 120, 0.08);
  font-size: 1.15rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.header-link,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: 160ms ease;
}

.header-link:hover,
.button:hover {
  transform: translateY(-1px);
  border-color: rgba(169, 230, 156, 0.56);
  background: rgba(120, 198, 118, 0.12);
  color: var(--text);
}

.button-primary {
  border-color: rgba(169, 230, 156, 0.72);
  background: var(--green-bright);
  color: #0a170d;
}

.button-primary:hover {
  background: #c2f4b7;
  color: #0a170d;
}

.hero {
  width: min(calc(100% - 2rem), var(--content));
  margin: clamp(1.25rem, 3vw, 2.5rem) auto 0;
}

.hero-art-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(229, 199, 120, 0.32);
  border-radius: clamp(18px, 3vw, 30px);
  background: #102018;
  box-shadow: var(--shadow);
}

.hero-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1584 / 672;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  width: min(850px, calc(100% - 2rem));
  margin: clamp(-3.5rem, -4vw, -2rem) auto 0;
  padding: clamp(1.3rem, 3vw, 2.3rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(13, 24, 18, 0.94);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
  text-align: center;
  backdrop-filter: blur(14px);
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  color: var(--green-bright);
}

.hero-lead {
  max-width: 720px;
  margin: 1.25rem auto 0;
  color: #d9e6d6;
  font-size: clamp(1.03rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.quick-facts {
  display: grid;
  width: min(calc(100% - 2rem), 960px);
  margin: 1.25rem auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.quick-fact {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 31, 23, 0.72);
  color: var(--muted);
  text-align: center;
}

.quick-fact strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.page-layout {
  display: grid;
  width: min(calc(100% - 2rem), var(--content));
  margin: clamp(3rem, 7vw, 6rem) auto;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 24, 18, 0.78);
  backdrop-filter: blur(12px);
}

.toc-title {
  margin-bottom: 0.7rem;
  color: var(--gold);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.toc nav {
  display: grid;
  gap: 0.25rem;
}

.toc a {
  padding: 0.5rem 0.65rem;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.25;
  text-decoration: none;
}

.toc a:hover,
.toc a[aria-current="true"] {
  background: rgba(120, 198, 118, 0.1);
  color: var(--green-bright);
}

.mobile-toc {
  display: none;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.mobile-toc summary {
  cursor: pointer;
  padding: 0.95rem 1rem;
  color: var(--green-bright);
  font-weight: 800;
}

.mobile-toc nav {
  display: grid;
  padding: 0 1rem 1rem;
  gap: 0.45rem;
}

.mobile-toc a {
  color: var(--muted);
  text-decoration: none;
}

.main-content {
  min-width: 0;
}

.charter-section {
  padding-top: 0.5rem;
}

.charter-section + .charter-section {
  margin-top: clamp(3.5rem, 8vw, 6rem);
}

.section-heading {
  display: grid;
  margin-bottom: 1.3rem;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
}

.section-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(229, 199, 120, 0.4);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(66, 129, 74, 0.3), rgba(15, 41, 25, 0.55));
  font-size: 1.35rem;
}

.section-kicker {
  margin: 0 0 0.2rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 750px;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.callout,
.rule,
.table-card,
details.content-details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.14);
}

.card {
  padding: clamp(1.15rem, 3vw, 1.55rem);
}

.card h3,
.card h4 {
  margin-bottom: 0.7rem;
  color: var(--green-bright);
}

.card p:last-child,
.card ul:last-child,
.card ol:last-child {
  margin-bottom: 0;
}

.card-accent {
  border-color: rgba(229, 199, 120, 0.32);
  background: linear-gradient(145deg, rgba(44, 76, 47, 0.34), rgba(18, 31, 23, 0.9));
}

.card-full {
  grid-column: 1 / -1;
}

.icon-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.meta-label {
  display: inline-flex;
  margin-bottom: 0.65rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(229, 199, 120, 0.25);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.check-list,
.status-list,
.role-list,
.compact-list {
  padding: 0;
  list-style: none;
}

.check-list li,
.status-list li,
.role-list li,
.compact-list li {
  position: relative;
  padding-left: 1.65rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--green-bright);
  font-weight: 900;
}

.compact-list li::before {
  position: absolute;
  left: 0.2rem;
  content: "•";
  color: var(--gold);
}

.status-list li::before,
.role-list li::before {
  position: absolute;
  left: 0;
  content: attr(data-icon);
}

.callout {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--green);
  background: rgba(120, 198, 118, 0.08);
}

.callout-warning {
  border-left-color: var(--warning);
  background: rgba(243, 204, 112, 0.07);
}

.callout-danger {
  border-left-color: var(--danger);
  background: rgba(255, 142, 125, 0.07);
}

.callout-info {
  border-left-color: var(--info);
  background: rgba(117, 214, 207, 0.07);
}

.callout p:last-child {
  margin-bottom: 0;
}

.steps {
  display: grid;
  padding: 0;
  counter-reset: step;
  list-style: none;
  gap: 0.8rem;
}

.steps li {
  position: relative;
  min-height: 42px;
  padding: 0.55rem 0 0.55rem 3.3rem;
  counter-increment: step;
}

.steps li::before {
  position: absolute;
  top: 0.35rem;
  left: 0;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(169, 230, 156, 0.44);
  border-radius: 50%;
  background: rgba(120, 198, 118, 0.1);
  color: var(--green-bright);
  content: counter(step);
  font-weight: 900;
}

.schedule {
  display: grid;
  padding: 0;
  list-style: none;
  gap: 0;
}

.schedule li {
  display: grid;
  padding: 0.75rem 0;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.schedule li:last-child {
  border-bottom: 0;
}

.schedule time {
  color: var(--gold);
  font-weight: 900;
}

.role-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.role-pill-list {
  display: grid;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  gap: 0.6rem;
}

.role-pill-list li {
  margin: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.role-pill-list strong {
  color: var(--green-bright);
}

.priority-list {
  display: grid;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  gap: 0.55rem;
  counter-reset: priority;
}

.priority-list li {
  position: relative;
  display: grid;
  min-height: 54px;
  margin: 0;
  padding: 0.55rem 0.75rem 0.55rem 3.4rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.priority-list li:first-child {
  border-color: rgba(169, 230, 156, 0.42);
  background: linear-gradient(90deg, rgba(120, 198, 118, 0.12), rgba(255, 255, 255, 0.025));
}

.priority-rank {
  position: absolute;
  left: 0.75rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(229, 199, 120, 0.34);
  border-radius: 10px;
  background: rgba(229, 199, 120, 0.09);
  color: var(--gold);
  font-size: 0.83rem;
  font-weight: 900;
}

.priority-list li:first-child .priority-rank {
  border-color: rgba(169, 230, 156, 0.5);
  background: rgba(120, 198, 118, 0.16);
  color: var(--green-bright);
}

.priority-content {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.priority-content strong {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.25;
}

.priority-content small {
  flex: 0 0 auto;
  padding: 0.18rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
  white-space: nowrap;
}

details.content-details {
  overflow: hidden;
}

details.content-details + details.content-details {
  margin-top: 0.8rem;
}

details.content-details summary {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  color: var(--green-bright);
  font-weight: 850;
  list-style: none;
}

details.content-details summary::-webkit-details-marker {
  display: none;
}

details.content-details summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 500;
}

details.content-details[open] summary::after {
  content: "−";
}

.details-body {
  padding: 0 1.15rem 1.15rem;
  border-top: 1px solid var(--line);
}

.details-body > :first-child {
  margin-top: 1rem;
}

.rule-list {
  display: grid;
  padding: 0;
  counter-reset: rule;
  list-style: none;
  gap: 0.8rem;
}

.rule {
  position: relative;
  margin: 0;
  padding: 1rem 1.1rem 1rem 4.1rem;
  counter-increment: rule;
}

.rule::before {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 12px;
  background: rgba(120, 198, 118, 0.12);
  color: var(--green-bright);
  content: counter(rule);
  font-weight: 950;
}

.rule h3 {
  margin-bottom: 0.35rem;
  color: var(--text);
}

.rule p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.table-card {
  overflow: hidden;
}

.table-card-header {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(120, 198, 118, 0.06);
}

.table-card-header h3 {
  color: var(--green-bright);
}

.table-card-header p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

th,
td {
  padding: 0.82rem 0.95rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  background: rgba(255, 255, 255, 0.025);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

tbody tr:hover {
  background: rgba(120, 198, 118, 0.055);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.track {
  color: var(--muted);
  font-size: 0.82rem;
}

.table-note {
  padding: 0.9rem 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.mt-1 {
  margin-top: 1rem;
}

.justify-start {
  justify-content: flex-start;
}

.link-placeholder,
.link-placeholder:hover {
  cursor: not-allowed;
  color: var(--warning);
  text-decoration-style: dashed;
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 12, 8, 0.68);
}

.footer-inner {
  display: block;
  width: min(calc(100% - 2rem), var(--content));
  min-height: auto;
  margin-inline: auto;
  padding: 2rem 0;
}

.footer p.footer-thanks {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 1.75rem;
  text-align: center;
  line-height: 1.7;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-thanks strong {
  color: var(--green-bright);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
}

@media (max-width: 720px) {
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.footer strong {
  color: var(--text);
}

.back-top {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .page-layout {
    display: block;
  }

  .toc {
    display: none;
  }

  .mobile-toc {
    display: block;
  }

  .card-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-link-secondary {
    display: none;
  }

  .header-inner {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .hero,
  .page-layout,
  .footer-inner {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .hero-copy {
    margin-top: -0.75rem;
  }

  .quick-facts,
  .card-grid,
  .card-grid-3,
  .role-columns,
  .role-pill-list {
    grid-template-columns: 1fr;
  }

  .quick-facts {
    width: min(calc(100% - 1.25rem), 960px);
  }

  .schedule li {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .footer-inner {
    min-height: 150px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .priority-content {
    display: grid;
    justify-content: start;
    gap: 0.2rem;
  }

  .priority-content small {
    width: fit-content;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15.5px;
  }

  .brand-text {
    display: none;
  }

  .hero-art-frame {
    border-radius: 15px;
  }

  .hero-copy {
    width: calc(100% - 0.6rem);
    padding: 1.15rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .rule {
    padding-left: 1rem;
    padding-top: 4rem;
  }

  .rule::before {
    top: 1rem;
  }

  th,
  td {
    padding: 0.72rem 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: #fff;
    color: #111;
    font-size: 11pt;
  }

  body::before,
  .site-header,
  .toc,
  .mobile-toc,
  .hero-actions,
  .footer,
  .quick-facts {
    display: none !important;
  }

  .hero,
  .page-layout {
    width: 100%;
    margin: 0;
  }

  .hero-art-frame {
    border: 0;
    box-shadow: none;
  }

  .hero-copy {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
    color: #111;
  }

  .hero-copy h1,
  .card h3,
  .card h4,
  .section-heading h2,
  details.content-details summary,
  .table-card-header h3 {
    color: #173d1e;
  }

  .card,
  .callout,
  .rule,
  .table-card,
  details.content-details {
    break-inside: avoid;
    border-color: #bbb;
    background: #fff;
    box-shadow: none;
  }

  details.content-details:not([open]) > *:not(summary) {
    display: block;
  }

  a {
    color: #173d1e;
  }
}

.rewards-details .details-body {
  padding: 0;
}

.rewards-details .details-body > :first-child {
  margin-top: 0;
}

.midnight-welcome {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  width: min(1050px, calc(100% - 2rem));
  min-height: 430px;
  margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;

  padding:
    clamp(1.75rem, 4vw, 3rem)
    clamp(1.75rem, 36vw, 24rem)
    clamp(1.75rem, 4vw, 3rem)
    clamp(1.75rem, 4vw, 3rem);

  text-align: left;
  background: #08120d;
  backdrop-filter: none;
}

.midnight-welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image: url("midnight-bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 68% 24%;

  opacity: 0.78;

  filter:
    saturate(0.88)
    brightness(0.84)
    contrast(1.05);

  transform: scale(1.02);
}

.midnight-welcome::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(6, 17, 12, 0.90) 0%,
      rgba(6, 17, 12, 0.82) 30%,
      rgba(7, 16, 16, 0.58) 50%,
      rgba(8, 11, 22, 0.22) 78%,
      rgba(8, 11, 22, 0.10) 100%
    ),
    linear-gradient(
      0deg,
      rgba(6, 17, 12, 0.72) 0%,
      transparent 52%
    );
}

.midnight-welcome > * {
  position: relative;
  z-index: 2;
}

.midnight-welcome-logo {
  display: block;
  width: clamp(135px, 16vw, 190px);
  height: auto;
  margin: 0 0 1rem;

  filter:
    saturate(0.9)
    brightness(0.96)
    drop-shadow(0 5px 12px rgba(0, 0, 0, 0.6));
}

.midnight-welcome .hero-lead {
  max-width: 570px;
  margin-right: 0;
  margin-left: 0;
}

.midnight-welcome > p:not(.eyebrow) {
  max-width: 570px;
}

.midnight-welcome .hero-actions {
  justify-content: flex-start;
}

.midnight-welcome h1 {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.65);
}

@media (max-width: 760px) {
  .midnight-welcome {
    width: calc(100% - 1rem);
    min-height: auto;
    margin-top: 1rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
  }

  .midnight-welcome::before {
    background-size: cover;
    background-position: 66% center;
    opacity: 0.48;

    filter:
      saturate(0.86)
      brightness(0.82)
      contrast(1.04);

    transform: scale(1.02);
  }

  .midnight-welcome::after {
    background:
      linear-gradient(
        180deg,
        rgba(6, 17, 12, 0.72) 0%,
        rgba(6, 17, 12, 0.84) 45%,
        rgba(6, 17, 12, 0.94) 100%
      ),
      linear-gradient(
        90deg,
        rgba(6, 17, 12, 0.42),
        rgba(8, 11, 22, 0.18)
      );
  }

  .midnight-welcome-logo {
    width: 140px;
    margin: 0 auto 1rem;
  }

  .midnight-welcome .hero-lead,
  .midnight-welcome > p:not(.eyebrow) {
    max-width: none;
    margin-right: auto;
    margin-left: auto;
  }

  .midnight-welcome .hero-actions {
    justify-content: center;
  }

  .midnight-welcome h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }
}
