/* ============================================================
   MASS-SPECC 60th Anniversary — "The Grand Celebration"
   Marketing site styles. Pure CSS, no external resources.
   Tokens from PRD §5 (design system).
   ============================================================ */

:root {
  /* Core tokens (PRD §5) */
  --navy950: #071A3D;
  --navy900: #0A2352;
  --blue800: #123C7B;
  --blue700: #164A94;
  --blue600: #1E56A0;
  --blue300: #6499D6;
  --blue100: #CFE0F4;
  --blue50:  #EAF2FC;
  --gold700: #9C7719;
  --gold500: #D4A82C;
  --gold400: #E6C158;
  --silver300: #C6D0DE;
  --silver100: #E8EDF4;
  --ink900: #0B1B33;
  --ink600: #40506B;
  --surface-light: #F5F8FC;
  --white: #FFFFFF;

  /* Weave (decorative only) */
  --weave-red: #B83227;
  --weave-teal: #2E86C1;
  --weave-yellow: #F2C12E;
  --weave-ink: #17181C;

  /* Type — serif display echoing "THE GRAND CELEBRATION".
     Playfair Display if installed locally; graceful system serif
     fallbacks. NO external font loading. */
  --font-display: "Playfair Display", "Didot", "Bodoni MT",
                  "Cochin", "Times New Roman", Georgia, serif;
  --font-body: Georgia, "Iowan Old Style", "Palatino", "Charter",
               "Times New Roman", serif;

  --measure: 68ch;
  --radius: 10px;
}

/* ---------- Reset / base ---------- */

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--blue50);
  background: var(--navy900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--blue300);
}

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

/* ---------- Woven textile stripe (decorative) ---------- */

.weave {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--weave-red)    0 14px,
    var(--weave-teal)   14px 28px,
    var(--weave-yellow) 28px 42px,
    var(--weave-ink)    42px 56px
  );
}

.weave--thin {
  height: 3px;
}

/* ---------- Shared header ---------- */

.site-header {
  background: var(--navy950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.site-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--blue50);
}

/* Small diamond brand mark — pure CSS */
.brand__diamond {
  width: 0.85rem;
  height: 0.85rem;
  flex: none;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold400), var(--gold700));
  box-shadow: 0 0 0 3px var(--navy950), 0 0 0 4px var(--silver300);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver300);
}

.site-nav a {
  color: var(--blue50);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 0.25rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--gold500);
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--gold500);
}

/* ---------- Hero ---------- */

/* Visually hidden, still announced — the hero's h1 lives in the artwork,
   so the document needs a real heading for structure and SEO. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Hero is the supplied key art (#12) — full-bleed, no padding, so the poster
   meets the header and the caption band with no navy gutter. */
.hero {
  position: relative;
  background: var(--navy900);
}

.hero__art {
  display: block;
  width: 100%;
  height: auto;
}

/* Caption band under the art. */
.hero__caption {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 2.75rem;
  text-align: center;
}

/* The WIDE crop bakes in the date, times and venues; the tall crop served
   below 46rem does not. So the meta shows on narrow viewports and is hidden
   once the wide poster takes over. The min-width here must stay just past the
   <source> media query in index.html, or both would show at the same width. */
.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  color: var(--blue50);
  letter-spacing: 0.06em;
}

.hero__meta strong {
  font-size: 1.1rem;
  color: var(--gold400);
}

@media (min-width: 46.0625rem) {
  .hero__meta { display: none; }
}
.hero__lede {
  font-size: 1.15rem;
  color: var(--blue50);
  max-width: 38rem;
  margin: 0 auto 2rem;
}

/* ---------- Section scaffolding ---------- */

.section {
  padding: 3.75rem 1.25rem;
}

.section__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.section--light {
  background: var(--surface-light);
  color: var(--ink900);
}

.section--light h2 {
  color: var(--ink900);
}

.section--light a {
  color: var(--blue700);
}

.section--dark {
  background: var(--navy900);
}

.section--deep {
  background: var(--navy950);
}

.section h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  text-align: center;
  margin-bottom: 0.4em;
}

.section__kicker {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  color: var(--ink600);
}

.section--dark .section__kicker,
.section--deep .section__kicker {
  color: var(--blue100);
}

.section__lede {
  max-width: var(--measure);
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--ink600);
}

.section--dark .section__lede,
.section--deep .section__lede {
  color: var(--blue100);
}

/* ---------- Feature cards ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
  gap: 1.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature {
  background: var(--white);
  border: 1px solid var(--silver100);
  border-top: 3px solid var(--gold500);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: 0 8px 24px rgba(11, 27, 51, 0.06);
}

.feature h3 {
  font-size: 1.15rem;
  color: var(--blue700);
  margin-bottom: 0.35em;
}

.feature p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--ink600);
}

/* ---------- Event / venues ---------- */

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
}

.venue-card {
  background: var(--blue800);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}

.venue-card h3 {
  color: var(--white);
  font-size: 1.2rem;
}

.venue-card p {
  color: var(--blue100);
  margin: 0;
  font-size: 0.97rem;
}

.venue-card__label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold400);
  border: 1px solid var(--gold700);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.9rem;
}

.event-date {
  text-align: center;
  margin: 0 auto 2.25rem;
  max-width: 34rem;
}

.event-date strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--white);
  margin-bottom: 0.2em;
}

.event-date span {
  color: var(--blue100);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* ---------- Download buttons ---------- */

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.store-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 11.5rem;
  text-decoration: none;
  background: var(--navy950);
  color: var(--white);
  border: 1px solid var(--silver300);
  border-radius: 12px;
  padding: 0.7rem 1.4rem;
  line-height: 1.25;
}

.store-btn:hover {
  border-color: var(--gold400);
  background: var(--blue800);
}

.store-btn small {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver300);
}

.store-btn strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.store-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--blue100);
  margin-top: 1.25rem;
}

/* ---------- Contacts ---------- */

.contacts {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 30rem;
  display: grid;
  gap: 0.75rem;
}

.contacts li {
  background: var(--white);
  border: 1px solid var(--silver100);
  border-left: 4px solid var(--blue700);
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
}

.contacts .contacts__role {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink600);
  margin-bottom: 0.15rem;
}

.contacts a {
  color: var(--blue700);
  font-weight: bold;
  text-decoration-color: var(--blue100);
  word-break: break-all;
}

.contacts a:hover {
  text-decoration-color: var(--blue700);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy950);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 2.25rem 1.25rem 2.75rem;
  text-align: center;
}

.site-footer p {
  margin: 0.35rem 0;
  color: var(--silver300);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--blue50);
}

.site-footer .site-footer__diamond {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  transform: rotate(45deg);
  background: var(--gold500);
  margin-bottom: 1rem;
}

/* ---------- Privacy / long-form article page ---------- */

.article {
  background: var(--surface-light);
  color: var(--ink900);
  padding: 3.25rem 1.25rem 4rem;
}

.article__inner {
  max-width: 46rem;
  margin: 0 auto;
}

.article h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  color: var(--ink900);
}

.article h2 {
  font-size: 1.35rem;
  color: var(--blue700);
  margin-top: 2.2em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid var(--silver100);
}

.article p,
.article li {
  color: var(--ink900);
}

.article a {
  color: var(--blue700);
}

.article ul {
  padding-left: 1.3rem;
}

.article li {
  margin-bottom: 0.5em;
}

.article .article__meta {
  color: var(--ink600);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

.article .backlink {
  display: inline-block;
  margin-top: 2.5rem;
  font-weight: bold;
}

dl.data-list dt {
  font-weight: bold;
  color: var(--ink900);
  margin-top: 1em;
}

dl.data-list dd {
  margin: 0.2em 0 0;
  color: var(--ink600);
}

/* ---------- Small screens ---------- */

@media (max-width: 40rem) {
.site-header__inner {
    justify-content: center;
    text-align: center;
  }

  .store-btn {
    width: 100%;
    align-items: center;
  }
}
