/* ============================================================
   Sigma Tau Delta 2027 Convention — englishconvention.org
   Primary palette derived from convention banner teal #72C5CE
   Style guide reference: style-guide.html
   ============================================================ */

:root {
  /* ---------- Primary teal scale ---------- */
  --teal-50:  #EFF8F9;
  --teal-100: #DBEFF1;
  --teal-200: #BCE2E6;
  --teal-300: #93D0D8;
  --teal-400: #72C5CE;  /* base — banner color */
  --teal-500: #4FB3BE;
  --teal-600: #3A8E97;
  --teal-700: #2A6B72;
  --teal-800: #1F4D52;
  --teal-900: #143438;

  /* ---------- Semantic primary ---------- */
  --primary:        var(--teal-400);
  --primary-soft:   var(--teal-200);
  --primary-deep:   var(--teal-700);
  --primary-darker: var(--teal-800);
  --primary-tint:   var(--teal-100);

  /* ---------- Warm accent (sand / gold) ---------- */
  --gold-soft:  #ECC998;
  --gold:       #D9A66B;
  --gold-deep:  #B07F46;

  /* ---------- Neutrals ---------- */
  --ivory:    #FFFFFF;
  --cream:    #F8F5EE;
  --paper:    #F2F6F6;
  --charcoal: #1B2A2E;
  --slate:    #3D4F53;
  --muted:    #6F8084;
  --line:     rgba(27, 42, 46, 0.12);

  /* ---------- Effects ---------- */
  --shadow-sm: 0 4px 14px rgba(27, 42, 46, 0.08);
  --shadow-md: 0 14px 40px rgba(42, 107, 114, 0.18);
  --shadow-lg: 0 30px 80px rgba(31, 77, 82, 0.28);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  /* ---------- Type ---------- */
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", "Helvetica Neue", Arial, sans-serif;

  /* ---------- Layout ---------- */
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary-deep); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--primary-darker); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; }

.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

/* ===== Top announcement marquee ===== */
.marquee {
  background: var(--charcoal);
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem 0;
  overflow: hidden;
  position: relative;
}
.marquee__track {
  display: inline-flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  padding-left: 100%;
}
.marquee__track span::before {
  content: "✦";
  color: var(--primary);
  margin-right: 0.9rem;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 238, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(248, 245, 238, 0.96);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.brand__seal {
  height: 54px;
  display: inline-flex; align-items: center;
  transition: transform .5s var(--ease);
  flex-shrink: 0;
}
.brand__seal img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 260px;          /* safety cap so a very wide lockup can't crowd the nav */
  /* JPG logos with white backgrounds blend into the cream header. */
  mix-blend-mode: darken;
}
@media (max-width: 720px) {
  .brand__seal { height: 44px; }
  .brand__seal img { max-width: 200px; }
}
.brand:hover .brand__seal { transform: scale(1.06); }
.brand__name { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name small {
  font-family: var(--sans); font-size: .68rem; letter-spacing: .25em;
  color: var(--muted); text-transform: uppercase;
}

.nav__links { display: flex; gap: 1.6rem; align-items: center; }
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 0.4rem 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px; height: 2px;
  background: var(--primary);
  transition: right .35s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.is-active::after { right: 0; }
.nav__links a.is-active { color: var(--primary-deep); }

/* Dropdown — About submenu */
.nav__has-submenu { position: relative; }
.nav__has-submenu > a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.nav__chev {
  font-size: .65rem;
  display: inline-block;
  transition: transform .25s var(--ease);
  color: var(--muted);
}
.nav__has-submenu:hover .nav__chev,
.nav__has-submenu:focus-within .nav__chev,
.nav__has-submenu.is-open .nav__chev {
  transform: rotate(180deg);
  color: var(--primary-deep);
}
.nav__submenu {
  position: absolute;
  top: calc(100% + .4rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: .5rem 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 100;
}
.nav__submenu li { display: block; }
.nav__links .nav__submenu a {
  display: block;
  padding: .65rem 1.4rem;
  font-size: .9rem;
  color: var(--charcoal);
  white-space: nowrap;
  font-weight: 500;
}
.nav__links .nav__submenu a::after { display: none; }
.nav__links .nav__submenu a:hover {
  background: var(--paper);
  color: var(--primary-deep);
}
.nav__has-submenu:hover .nav__submenu,
.nav__has-submenu:focus-within .nav__submenu,
.nav__has-submenu.is-open .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Higher specificity (a.nav__cta beats .nav__links a) so the white
   text and background colors actually win. AAA contrast: teal-800
   on #FFFFFF text = 9.06:1 (passes WCAG AAA threshold of 7:1). */
.nav__links a.nav__cta {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--teal-800);
  color: var(--ivory);
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: .03em;
  box-shadow: 0 8px 22px rgba(31, 77, 82, .35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  margin-left: .5rem;
}
.nav__links a.nav__cta::after { display: none; }
.nav__links a.nav__cta:hover {
  background: var(--teal-900);
  color: var(--ivory);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31, 77, 82, .5);
}
.nav__links a.nav__cta:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.nav__toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--charcoal); margin: 5px auto;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    background: var(--cream);
    padding: 2rem 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform .35s var(--ease);
    align-items: flex-start;
  }
  .nav.is-open .nav__links { transform: translateY(0); }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }

  /* Mobile dropdown — submenu always inline below About */
  .nav__has-submenu { width: 100%; }
  .nav__has-submenu > a { width: 100%; }
  .nav__has-submenu .nav__chev { display: none; }
  .nav__submenu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: .3rem 0 .3rem 1.1rem;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    margin-top: .2rem;
  }
  .nav__links .nav__submenu a {
    padding: .4rem 0;
    font-size: .88rem;
    color: var(--muted);
  }
  .nav__links .nav__submenu a:hover {
    background: transparent;
    color: var(--primary-deep);
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(5rem, 10vw, 8rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(114, 197, 206, .35), transparent 55%),
    radial-gradient(circle at 88% 82%, rgba(217, 166, 107, .22), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(27, 42, 46, 0.07) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 70%, transparent 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--primary-deep); font-weight: 600;
  margin-bottom: 1.4rem;
}
.hero__eyebrow::before {
  content: ""; width: 36px; height: 1px; background: var(--primary-deep);
}
.hero__title { color: var(--charcoal); }
.hero__title em {
  font-style: italic; color: var(--primary-deep);
  position: relative; display: inline-block;
}
.hero__title em::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 4px;
  height: 8px; background: var(--gold-soft);
  z-index: -1; opacity: .65; transform: skewX(-8deg);
}
.hero__greek {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold-deep);
  letter-spacing: .15em;
  margin-top: .35rem;
  display: inline-block;
}
.hero__lede {
  font-size: 1.12rem;
  color: var(--slate);
  max-width: 56ch;
  margin: 1.6rem 0 2rem;
}

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem;
  margin-bottom: 2.2rem;
}
.hero__meta div small {
  display: block;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  margin-bottom: .35rem;
}
.hero__meta div b {
  font-family: var(--serif);
  font-size: 1.25rem; font-weight: 600; color: var(--charcoal);
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 0.95rem 1.6rem;
  font-weight: 600; font-size: .95rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn--primary {
  background: var(--primary-deep);
  color: var(--ivory);
  box-shadow: 0 10px 26px rgba(42, 107, 114, .32);
}
.btn--primary:hover {
  background: var(--primary-darker);
  color: var(--ivory);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(42, 107, 114, .42);
}
.btn--ghost {
  background: transparent; color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn--ghost:hover {
  background: var(--charcoal); color: var(--cream);
  transform: translateY(-3px);
}
.btn--gold {
  background: var(--gold);
  color: var(--charcoal);
}
.btn--gold:hover {
  background: var(--gold-soft);
  transform: translateY(-3px);
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* Hero — full-bleed Milwaukee image fading to the left into the teal */
.hero__milwaukee {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(440px, 62%, 1100px);
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, black 0%, black 42%, transparent 96%);
  mask-image: linear-gradient(to left, black 0%, black 42%, transparent 96%);
  transition: transform .5s var(--ease);
}
.hero__milwaukee img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero__milwaukee img[src=""],
.hero__milwaukee img:not([src]) { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0); }
  50%     { transform: translateY(-14px) rotate(2deg); }
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__milwaukee { display: none; }
}

/* ===== Countdown ===== */
.countdown {
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}
.countdown::before {
  content: "";
  position: absolute; top: -100px; right: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(114, 197, 206, .25), transparent 70%);
  border-radius: 50%;
  animation: float 9s ease-in-out infinite;
}
.countdown__inner {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 2rem;
  position: relative; z-index: 2;
}
.countdown__title small {
  font-size: .78rem; letter-spacing: .28em;
  color: var(--primary); text-transform: uppercase;
}
.countdown__title h2 { color: var(--cream); margin-top: .35rem; }
.countdown__grid { display: flex; gap: 1.2rem; }
.countdown__cell {
  background: rgba(248, 245, 238, .06);
  border: 1px solid rgba(248, 245, 238, .14);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  text-align: center;
  min-width: 92px;
  backdrop-filter: blur(8px);
}
.countdown__cell b {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
  line-height: 1;
}
.countdown__cell span {
  font-size: .7rem; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(248, 245, 238, .7);
  margin-top: .4rem; display: block;
}
@media (max-width: 760px) {
  .countdown__inner { grid-template-columns: 1fr; text-align: center; }
  .countdown__grid { justify-content: center; flex-wrap: wrap; }
}

/* ===== Section general ===== */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section--cream    { background: var(--paper); }
.section--charcoal { background: var(--charcoal); color: var(--cream); }
.section--charcoal h2,
.section--charcoal h3 { color: var(--cream); }
.section--charcoal a  { color: var(--primary); }

.section__head { max-width: 740px; margin: 0 auto 3.5rem; text-align: center; }
.section__eyebrow {
  display: inline-block;
  font-size: .78rem; letter-spacing: .28em; color: var(--primary-deep);
  text-transform: uppercase; font-weight: 600;
  margin-bottom: 1rem;
}
.section--charcoal .section__eyebrow { color: var(--primary); }
.section__lede { color: var(--slate); font-size: 1.08rem; margin-top: 1rem; }
.section--charcoal .section__lede { color: rgba(248, 245, 238, .78); }

/* ===== Speakers (tiles) ===== */
.speakers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}
.speaker {
  position: relative;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column;
}
.speaker:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.speaker__img {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, var(--teal-300), var(--teal-500) 50%, var(--teal-800) 100%);
}
.speaker__img::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(248, 245, 238, 0) 0,
      rgba(248, 245, 238, 0) 24px,
      rgba(248, 245, 238, .18) 24px,
      rgba(248, 245, 238, .18) 26px);
  mix-blend-mode: overlay;
  transition: transform .8s var(--ease);
}
.speaker:hover .speaker__img::after { transform: translateX(20px); }
.speaker__img.has-photo::after { display: none; }
.speaker__monogram {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 4.4rem;
  color: var(--cream);
  letter-spacing: .04em;
  text-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: transform .6s var(--ease);
}
.speaker:hover .speaker__monogram { transform: scale(1.08) rotate(-3deg); }
.speaker__tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--gold); color: var(--charcoal);
  padding: .35rem .8rem;
  border-radius: 999px;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  z-index: 2;
}
.speaker__body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.speaker__name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--charcoal); margin-bottom: .25rem; }
.speaker__role { font-size: .85rem; color: var(--primary-deep); font-weight: 600; letter-spacing: .04em; margin-bottom: .9rem; }
.speaker__bio  { font-size: .94rem; color: var(--slate); flex: 1; }
.speaker__cta {
  margin-top: 1.2rem; display: inline-flex; align-items: center; gap: .35rem;
  font-size: .85rem; font-weight: 600; color: var(--primary-deep);
}
.speaker__cta .arrow { transition: transform .3s var(--ease); }
.speaker:hover .speaker__cta .arrow { transform: translateX(4px); }

/* ===== Stats strip ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.stat { padding: 2rem 1.5rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat b {
  font-family: var(--serif);
  font-size: 3rem; font-weight: 600;
  color: var(--primary-deep);
  display: block; line-height: 1;
}
.stat span {
  font-size: .78rem; color: var(--muted);
  letter-spacing: .2em; text-transform: uppercase;
  margin-top: .6rem; display: block;
}
@media (max-width: 700px) {
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
}

/* ===== Social proof (claim banner · pillars · testimonial) ===== */
.proof-claim {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 0% 0%, rgba(114, 197, 206, .25), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(217, 166, 107, .2), transparent 55%),
    var(--ivory);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.proof-claim::before {
  content: "✦";
  position: absolute;
  top: 1.4rem; left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 1.4rem;
}
.proof-claim__eyebrow {
  display: block;
  font-size: .82rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--primary-deep); font-weight: 600;
  margin: 1.4rem 0 1.2rem;
}
.proof-claim h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  max-width: 24ch;
  margin: 0 auto;
  line-height: 1.15;
}
.proof-claim p {
  margin: 1.2rem auto 0;
  max-width: 60ch;
  color: var(--slate);
  font-size: 1.05rem;
}

.proof-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-bottom: 4rem;
}
.proof-pillar {
  padding: 1.6rem 1.6rem 1.8rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-left-color .35s;
}
.proof-pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--primary-deep);
}
.proof-pillar > span {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-deep);
  margin-bottom: .5rem;
  line-height: 1.2;
}
.proof-pillar p {
  font-size: .94rem;
  color: var(--slate);
  line-height: 1.55;
}

.proof-quote {
  position: relative;
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.proof-quote::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(114, 197, 206, .18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(217, 166, 107, .15), transparent 55%);
  pointer-events: none;
}
.proof-quote > * { position: relative; z-index: 2; }
.proof-quote__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 0.7;
  color: var(--gold);
  font-style: italic;
  margin-top: -.4rem;
}
.proof-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 1.4rem;
  color: var(--cream);
  quotes: none;
}
.proof-quote blockquote::before, .proof-quote blockquote::after { content: none; }
.proof-quote__attr {
  font-family: var(--sans);
}
.proof-quote__attr strong {
  display: block;
  font-size: 1.05rem;
  color: var(--gold-soft);
  font-weight: 700;
  margin-bottom: .15rem;
}
.proof-quote__attr span {
  font-size: .78rem;
  color: rgba(248, 245, 238, .65);
  letter-spacing: .15em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .proof-quote { grid-template-columns: 1fr; gap: 1rem; }
  .proof-quote__mark { font-size: 4.5rem; }
}

/* ===== Theme block (Technê) ===== */
.theme {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center;
}
.theme__visual {
  aspect-ratio: 1/1;
  background:
    radial-gradient(circle at 30% 30%, rgba(217, 166, 107, .55), rgba(42, 107, 114, .8)),
    var(--primary-deep);
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.theme__visual::before {
  content: ""; position: absolute; inset: -50%;
  background:
    repeating-conic-gradient(rgba(248, 245, 238, .07) 0 6deg, transparent 6deg 14deg);
  animation: spin 80s linear infinite;
}
.theme__visual span {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 10rem);
  color: var(--cream);
  text-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  letter-spacing: .04em;
}
.theme h2 em { font-style: italic; color: var(--primary-deep); }
.theme p + p { margin-top: 1rem; }
.theme p { color: var(--slate); font-size: 1.05rem; }
.theme__quote {
  margin-top: 1.6rem; padding-left: 1.4rem;
  border-left: 3px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.4rem; font-style: italic; color: var(--charcoal);
}
@media (max-width: 880px) {
  .theme { grid-template-columns: 1fr; }
}

/* ===== Highlight tiles (what to expect) ===== */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}
.highlight {
  padding: 1.8rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease);
}
.highlight:hover { transform: translateY(-6px); }
.highlight::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary-deep), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.highlight:hover::before { transform: scaleX(1); }
.highlight__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(114, 197, 206, .18);
  color: var(--primary-deep);
  display: grid; place-items: center;
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
}
.highlight h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.highlight p  { color: var(--slate); font-size: .94rem; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-800), var(--teal-600) 50%, var(--teal-400));
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 2fr auto;
  align-items: center;
  gap: 2rem;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(217, 166, 107, .35), transparent 50%),
    radial-gradient(circle at 0 100%, rgba(248, 245, 238, .18), transparent 50%);
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--cream); }
.cta-banner p  { color: rgba(248, 245, 238, .9); margin-top: .8rem; max-width: 50ch; }
.cta-banner .btn--gold { box-shadow: 0 10px 28px rgba(0, 0, 0, .18); }
@media (max-width: 760px) {
  .cta-banner { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--charcoal);
  color: rgba(248, 245, 238, .75);
  padding: 4rem 0 1.5rem;
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(248, 245, 238, .12);
}
.footer__brand h3 { color: var(--cream); font-size: 1.5rem; margin-bottom: .6rem; }
.footer__brand p  { max-width: 36ch; }
.footer__col h4 {
  color: var(--primary);
  font-family: var(--sans);
  font-size: .78rem; letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: .55rem; }
.footer__col a  { color: rgba(248, 245, 238, .75); }
.footer__col a:hover { color: var(--cream); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  padding-top: 1.5rem; gap: 1rem;
  font-size: .82rem;
  color: rgba(248, 245, 238, .5);
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ===== Page hero (subpages) ===== */
.page-hero {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(circle at 12% 30%, rgba(114, 197, 206, .3), transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(217, 166, 107, .2), transparent 55%),
    var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.page-hero p  { color: var(--slate); max-width: 60ch; margin: 1rem auto 0; font-size: 1.05rem; }
.crumbs { font-size: .78rem; color: var(--muted); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary-deep); }

/* ===== Schedule ===== */
.schedule { display: grid; gap: 1.2rem; }
.day {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ivory);
  overflow: hidden;
}
.day__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.6rem;
  background: linear-gradient(90deg, rgba(114, 197, 206, .08), transparent);
  cursor: pointer;
  transition: background .3s;
}
.day__head:hover { background: linear-gradient(90deg, rgba(114, 197, 206, .16), transparent); }
.day__head h3 { font-size: 1.3rem; }
.day__head small {
  color: var(--muted); letter-spacing: .15em;
  text-transform: uppercase; font-size: .78rem;
}
.day__head .chev { transition: transform .35s var(--ease); color: var(--primary-deep); font-size: 1.3rem; }
.day.is-open .chev { transform: rotate(180deg); }
.day__body { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.day.is-open .day__body { max-height: 1200px; }
.day__list { padding: .5rem 1.6rem 1.6rem; display: grid; gap: .8rem; }
.session {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.session time { font-family: var(--serif); color: var(--primary-deep); font-weight: 600; }
.session h4 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.session p  { font-size: .9rem; color: var(--muted); margin-top: .2rem; }
.session .room {
  font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-deep); font-weight: 600;
}

/* ===== Forms ===== */
.form-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .78rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .45rem; font-weight: 600;
}
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--charcoal);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(114, 197, 206, .25);
  background: var(--ivory);
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ===== Pricing tiers ===== */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.tier {
  padding: 2rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tier--feature { background: var(--charcoal); color: var(--cream); border: none; }
.tier--feature h3, .tier--feature .price { color: var(--cream); }
.tier--feature .badge {
  position: absolute; top: -14px; left: 2rem;
  background: var(--gold); color: var(--charcoal);
  padding: .35rem .9rem; border-radius: 999px;
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700;
}
.tier h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.tier .price {
  font-family: var(--serif);
  font-size: 2.6rem; font-weight: 600;
  color: var(--primary-deep);
  margin-bottom: .4rem; line-height: 1;
}
.tier .price small { font-size: .9rem; color: var(--muted); }
.tier ul { list-style: none; margin: 1.2rem 0 1.6rem; }
.tier li {
  padding: .5rem 0; border-top: 1px solid rgba(0, 0, 0, .06);
  font-size: .94rem; display: flex; gap: .6rem; align-items: flex-start;
}
.tier--feature li { border-top-color: rgba(248, 245, 238, .12); color: rgba(248, 245, 238, .85); }
.tier li::before { content: "✦"; color: var(--gold); font-size: .9rem; }

/* ===== Tracks (submission types) ===== */
.tracks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}
.track {
  padding: 1.8rem; background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .35s var(--ease), border-color .35s;
  cursor: pointer;
}
.track:hover { transform: translateY(-5px); border-color: var(--primary); }
.track h3 { font-size: 1.2rem; margin-bottom: .4rem; color: var(--primary-deep); }
.track p  { color: var(--slate); font-size: .94rem; }
.track__num {
  font-family: var(--serif);
  font-size: 1.6rem; color: var(--gold-deep);
  margin-bottom: .8rem;
  display: block;
}

/* ===== App page (Convention App) ===== */
.app-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.phone {
  position: relative;
  width: 280px; aspect-ratio: 9/19;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--charcoal), #2a3a3e);
  margin: 0 auto;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3), inset 0 0 0 2px rgba(255, 255, 255, .05);
  animation: float 6s ease-in-out infinite;
}
.phone__screen {
  background: var(--cream);
  border-radius: 24px;
  height: 100%;
  padding: 1.4rem 1.2rem;
  display: flex; flex-direction: column; gap: .8rem;
  overflow: hidden;
}
.phone__app-title {
  font-family: var(--serif); font-size: 1.3rem;
  color: var(--primary-deep); font-weight: 600;
}
.phone__chip {
  background: var(--primary-deep); color: var(--cream);
  padding: .8rem; border-radius: 12px;
  font-size: .78rem;
}
.phone__chip span {
  font-size: .68rem; opacity: .7; letter-spacing: .12em;
  text-transform: uppercase; display: block; margin-bottom: .25rem;
}
.phone__chip--gold  { background: var(--gold); color: var(--charcoal); }
.phone__chip--ghost { background: rgba(114, 197, 206, .14); color: var(--primary-deep); }
@media (max-width: 880px) {
  .app-hero { grid-template-columns: 1fr; }
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }
.reveal--delay-4 { transition-delay: .4s; }

/* ============================================================
   STYLE GUIDE PAGE
   ============================================================ */
.sg-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.sg-section + .sg-section { border-top: 1px solid var(--line); }
.sg-h { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.sg-h h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.sg-h small { color: var(--muted); font-size: .82rem; letter-spacing: .15em; text-transform: uppercase; }

.sg-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.sg-swatch {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ivory);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s;
  cursor: pointer;
}
.sg-swatch:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sg-swatch__color {
  height: 110px;
  position: relative;
}
.sg-swatch__meta {
  padding: .8rem 1rem 1rem;
  display: flex; flex-direction: column; gap: .15rem;
}
.sg-swatch__name { font-weight: 600; font-size: .9rem; color: var(--charcoal); }
.sg-swatch__hex  { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .82rem; color: var(--muted); }
.sg-swatch__use  { font-size: .78rem; color: var(--slate); margin-top: .35rem; }

.sg-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.sg-card {
  padding: 1.6rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.sg-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.sg-card p  { font-size: .9rem; color: var(--slate); }

.sg-type-row { display: grid; grid-template-columns: 100px 1fr auto; gap: 1.2rem; align-items: baseline; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.sg-type-row:first-of-type { border-top: none; }
.sg-type-row small { color: var(--muted); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.sg-type-row code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .78rem; color: var(--muted); }

.sg-buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.2rem; }

.sg-tokens { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .85rem; }
.sg-tokens div { padding: .5rem 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.sg-tokens div:first-child { border-top: none; }
.sg-tokens b { color: var(--primary-deep); font-weight: 500; }

.sg-shadow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.4rem; }
.sg-shadow-grid > div {
  padding: 1.4rem; background: var(--ivory); border-radius: var(--radius-md);
  text-align: center; font-size: .82rem; color: var(--muted);
}

.sg-radius-grid { display: flex; gap: 1rem; flex-wrap: wrap; }
.sg-radius-grid > div {
  width: 100px; height: 100px;
  background: var(--primary);
  display: grid; place-items: center;
  font-size: .78rem; color: var(--ivory); font-weight: 600;
}

/* ============================================================
   MILWAUKEE — Discover rail, hero, image-backed tiles
   Images live in assets/milwaukee/ — fallback gradients show
   automatically if a PNG is missing.
   ============================================================ */

.mke-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 30%);
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: .5rem .25rem 2rem;
  margin: 0 -.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-deep) var(--paper);
}
.mke-rail::-webkit-scrollbar { height: 8px; }
.mke-rail::-webkit-scrollbar-track { background: var(--paper); border-radius: 4px; }
.mke-rail::-webkit-scrollbar-thumb { background: var(--primary-deep); border-radius: 4px; }
@media (max-width: 720px) { .mke-rail { grid-auto-columns: minmax(260px, 80%); } }

.mke-card {
  position: relative;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.mke-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.mke-card__img {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--teal-300) 0%, var(--teal-600) 50%, var(--teal-800) 100%);
}
.mke-card__img::before {
  content: attr(data-fallback);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 1.15rem; font-style: italic;
  color: rgba(248, 245, 238, .85);
  text-align: center;
  padding: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
  z-index: 1;
}
.mke-card__img::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg,
      rgba(217, 166, 107, 0) 0,
      rgba(217, 166, 107, 0) 28px,
      rgba(217, 166, 107, .12) 28px,
      rgba(217, 166, 107, .12) 30px);
  z-index: 1;
  transition: transform 1.2s var(--ease);
}
.mke-card:hover .mke-card__img::after { transform: translateX(20px); }
.mke-card__img img {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.mke-card:hover .mke-card__img img { transform: scale(1.05); }
.mke-card__img img[src=""], .mke-card__img img:not([src]) { display: none; }

.mke-card__tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--gold); color: var(--charcoal);
  padding: .3rem .7rem; border-radius: 999px;
  font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}
.mke-card__body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.mke-card__body h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.mke-card__body p { font-size: .92rem; color: var(--slate); flex: 1; }
.mke-card__body small {
  display: block;
  margin-top: .8rem;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600;
}

/* ===== Milwaukee hero image (hotel page) ===== */
.mke-hero {
  position: relative;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--teal-200) 0%, var(--teal-500) 35%, var(--teal-800) 100%);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}
.mke-hero::before {
  content: attr(data-fallback);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-style: italic;
  color: rgba(248, 245, 238, .85);
  text-shadow: 0 4px 14px rgba(0,0,0,.3);
  z-index: 1;
  padding: 2rem;
  text-align: center;
}
.mke-hero img {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.mke-hero img[src=""], .mke-hero img:not([src]) { display: none; }
.mke-hero__caption {
  position: absolute;
  bottom: 1.4rem; left: 1.6rem; right: 1.6rem;
  z-index: 3;
  color: var(--cream);
  display: flex; justify-content: space-between; align-items: end; gap: 1rem;
  flex-wrap: wrap;
}
.mke-hero__caption h2 {
  color: var(--cream);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  text-shadow: 0 4px 14px rgba(0,0,0,.4);
  margin-bottom: .25rem;
}
.mke-hero__caption p {
  color: rgba(248, 245, 238, .9);
  font-size: .92rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.mke-hero__caption span {
  background: var(--gold);
  color: var(--charcoal);
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700;
  white-space: nowrap;
}
.mke-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20, 52, 56, .55) 100%);
  z-index: 2;
}

/* An image-hero is a "feature" element — tighten the section padding so
   it flows visually into whatever section follows it. */
.section--image-hero { padding-block: 2rem; }

/* Deadline-table row dividers — CSS instead of inline styles so the
   first row reliably gets one (the inline-style logic miscounted in
   ACF's row context). */
.deadline-table__table tbody tr:not(:last-child) { border-bottom: 1px solid var(--line); }

/* ===== Charcoal-section highlight cards =====
   When .highlights is inside .section--charcoal, the default
   ivory cards look broken. Reskin to a subtle translucent panel
   matching the prototype's inline-styled Funding/Advisors block. */
.section--charcoal .highlight {
  background: rgba(245, 239, 227, .04);
  border: 1px solid rgba(245, 239, 227, .1);
}
.section--charcoal .highlight h3 { color: var(--cream); }
.section--charcoal .highlight p  { color: rgba(248, 245, 238, .78); }
.section--charcoal .highlight__icon {
  background: rgba(217, 166, 107, .18);
  color: var(--gold-soft);
}

/* ===== Sponsor Wall ===== */
.sponsor-wall {
  display: grid;
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}
.sponsor-wall--featured {
  margin-bottom: 3rem;
}
.sponsor-wall__tier-heading {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--charcoal);
  margin: 2.5rem 0 1rem;
  text-align: center;
  letter-spacing: .04em;
}
.sponsor-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: inherit;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
a.sponsor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sponsor-card__logo {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.sponsor-card__logo img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.sponsor-card__name-fallback {
  font-family: var(--serif);
  font-size: 1.1rem;
  text-align: center;
  color: var(--primary-deep);
  padding: 0 .5rem;
}
.sponsor-card__meta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
}
.sponsor-card__name {
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  color: var(--charcoal);
}
.sponsor-card__badge {
  display: inline-block;
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--slate);
}
.sponsor-card__badge--folio   { background: var(--charcoal); color: var(--gold); }
.sponsor-card__badge--quarto  { background: var(--gold); color: var(--charcoal); }
.sponsor-card__badge--octavo  { background: var(--primary-deep); color: var(--cream); }
.sponsor-card__badge--in-lieu { background: var(--ivory); color: var(--primary-deep); border: 1px solid var(--line); }
.sponsor-card__tagline {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .2rem;
  line-height: 1.4;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    transition-duration: .001s !important;
  }
}

/* ===== Inquiry form ========================================== */
/* Offset anchor jumps so the form heading clears the sticky header. */
.section--inquiry-form { scroll-margin-top: 110px; }

/* Honeypot — kept in the DOM (so bots fill it) but hidden from
   humans and assistive tech. */
.inquiry-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.inquiry-form__message {
  margin-top: 1rem;
  padding: .75rem 1rem;
  border-radius: .5rem;
  font-size: .95rem;
  line-height: 1.4;
  display: none;
}
.inquiry-form__message--ok,
.inquiry-form__message--err { display: block; }
.inquiry-form__message--ok {
  background: rgba(22, 101, 52, .08);
  color: #166534;
  border: 1px solid rgba(22, 101, 52, .25);
}
.inquiry-form__message--err {
  background: rgba(190, 18, 60, .08);
  color: #be123c;
  border: 1px solid rgba(190, 18, 60, .25);
}
.inquiry-form__form[aria-busy="true"] button[type="submit"] {
  opacity: .65; cursor: progress;
}
