/* Hallmark · macrostructure: Poster Split · tone: ceremonial-editorial · anchor hue: violet 300 + gold 78
 * nav: N6 masthead · footer: Ft5 statement · enrichment: supplied logos (no generated imagery)
 */
@import url("tokens.css");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

/* Masthead */
.masthead {
  border-bottom: var(--rule-hair) solid var(--color-rule);
}

.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.masthead-meta {
  font-size: var(--text-xs);
  color: var(--color-ink-soft);
  white-space: nowrap;
}

/* Hero */
main {
  flex: 1;
  display: flex;
  align-items: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: var(--space-3xl);
  padding-block: var(--space-4xl);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin: 0 0 var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-violet);
}

.status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-gold);
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: var(--text-display);
  line-height: 1.02;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  min-width: 0;
}

h1 .accent {
  color: var(--color-violet);
  background-image: linear-gradient(var(--color-gold), var(--color-gold));
  background-repeat: no-repeat;
  background-size: 100% 0.08em;
  background-position: 0 92%;
}

.lede {
  max-width: 34rem;
  margin: var(--space-xl) 0 0;
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-ink-soft);
}

.pillars {
  list-style: none;
  margin: var(--space-2xl) 0 0;
  padding: var(--space-lg) 0 0;
  border-top: var(--rule-hair) solid var(--color-rule);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 500;
}

.pillars li {
  white-space: nowrap;
}

.pillars li + li::before {
  content: "·";
  margin-right: var(--space-lg);
  color: var(--color-gold-deep);
}

.jubilee {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 26rem;
}

.jubilee img {
  width: 100%;
}

.jubilee figcaption {
  margin-top: var(--space-md);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-ink-soft);
}

/* Footer */
.footer {
  background: var(--color-ink);
  color: var(--color-paper);
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm) var(--space-xl);
  padding-block: var(--space-xl);
}

.footer-statement {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
}

.footer-statement span {
  color: var(--color-gold);
}

.footer small {
  font-size: var(--text-xs);
  color: var(--color-periwinkle);
}

/* Entrance */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise var(--dur-slow) var(--ease-out) both;
  }

  .reveal-2 {
    animation-delay: 120ms;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: fade var(--dur-fast) linear both;
  }

  @keyframes fade {
    from {
      opacity: 0;
    }
  }
}

/* Responsive */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2xl);
    padding-block: var(--space-2xl) var(--space-3xl);
  }

  .jubilee {
    order: -1;
    max-width: 17rem;
  }

  .masthead-meta {
    display: none;
  }
}

@media (max-width: 420px) {
  .wrap {
    padding-inline: var(--space-md);
  }

  .brand-name {
    font-size: var(--text-base);
  }

  .pillars li + li::before {
    margin-right: var(--space-sm);
  }

  .pillars {
    gap: var(--space-xs) var(--space-sm);
  }
}
