/* ===================================================
   #CDE3121 Symposium — stylesheet (v4)
   Modernized to match the poster art: bold flat shapes, hard-edge
   "sticker" cards with offset shadows, warm bronze/metallic accent
   (from the poster's chain links) instead of a soft SaaS look.
   - background #FEA852, all text black by default
   - headers in Rubik Distressed; section headers (h2/h3) white
     with a soft shadow for legibility on the orange background
   - body copy in Nunito
   - links: black, bold, underlined
   - cards: cream fill, thick ink border, hard offset shadow (no blur)
   - responsive side padding scales smoothly with clamp() so tablet
     and mobile always keep real breathing room from the edge
   - mobile nav is a compact dropdown panel, not a full-screen takeover
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Rubik+Spray+Paint&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --bg: #FEA852;
  --ink: #17120E;              /* near-black, from the poster's record/chain art */
  --bronze: #B9782E;           /* metallic accent, from the poster's chain links */
  --bronze-dark: #8C5A20;
  --cream: #CDD5D9;             /* light steel blue-gray, sampled from the Chaos and Disorder cover */
  --text: #000000;
  --link: #000000;
  --header-color: #ffffff;
  --header-shadow: 0 2px 6px rgba(0,0,0,0.28);
  --black-bar: #000000;
  --white: #ffffff;
  --card-bg: var(--cream);
  --divider: rgba(0,0,0,0.2);
  --radius: 14px;
  --radius-sm: 8px;
  --border-w: 3px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-hover: 8px 8px 0 var(--ink);
  --max-width: 1000px;
  --side-pad: clamp(20px, 5.5vw, 40px);
}

* { box-sizing: border-box; }

html { overflow-x: hidden; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Rubik Spray Paint', 'Nunito', sans-serif;
  font-weight: 400;
  line-height: 1.18;
  margin: 0 0 0.4em 0;
}

h1 { font-size: clamp(1.9rem, 1.1rem + 3vw, 2.6rem); color: var(--text); }
h2 { font-size: clamp(1.25rem, 1rem + 1vw, 1.55rem); color: var(--header-color);}
h3 { font-size: 1.05rem; color: var(--header-color);}

p, li, a, h1, h2, h3 { overflow-wrap: break-word; }
p { margin: 0 0 1em 0; }

a {
  color: var(--link);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
a:hover { opacity: 0.65; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* ---------- Header / logo / nav ---------- */
.header-wrap { position: relative; z-index: 30; }

header.site-header {
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: var(--border-w) solid var(--ink);
}
header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-title {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  color: var(--text);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  display: block;
  transition: transform 0.15s ease;
}
.site-title:hover .brand-mark { transform: translate(-2px, -2px); }
nav.nav-desktop ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
nav.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none !important;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
nav.nav-desktop a:hover { background: rgba(23,18,14,0.08); opacity: 1; }
nav.nav-desktop a.current {
  background: var(--ink);
  color: var(--white) !important;
  opacity: 1;
}

/* ---------- Hamburger + compact dropdown menu ---------- */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Compact dropdown: only as tall as its own content, sits just under
   the header, does NOT cover the page */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.nav-dropdown.open {
  max-height: 420px;
  overflow-y: auto;
  border-bottom: var(--border-w) solid var(--ink);
  box-shadow: var(--shadow);
}
.overlay-links {
  list-style: none;
  margin: 0;
  padding: 6px var(--side-pad) 10px var(--side-pad);
}
.overlay-links li { border-top: 1px solid rgba(0,0,0,0.12); }
.overlay-links li:first-child { border-top: none; }
.overlay-links a {
  display: block;
  padding: 14px 2px;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--text);
}
.overlay-links a.current { opacity: 0.45; }

@media (max-width: 800px) {
  nav.nav-desktop { display: none; }
  .hamburger-btn { display: flex; }
}

/* ---------- Hero ---------- */
.hero { width: 100%; position: relative; }
.hero img { width: 100%; display: block; }
/* .hero--real = a finished graphic used as-is: true edge-to-edge bleed,
   no rounded corners, no border, no grain treatment */
.hero--real img { border-radius: 0; border: none; }
.hero:not(.hero--real) img { border-radius: 0 0 var(--radius) var(--radius); border-bottom: var(--border-w) solid var(--ink); }
.hero:not(.hero--real)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.10;
  pointer-events: none;
}

/* ---------- About page intro (image + text) ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
.about-intro-media img {
  border-radius: 0;
  border: none;
  box-shadow: none;
}
@media (max-width: 700px) {
  .about-intro { grid-template-columns: 1fr; }
  .about-intro-media { max-width: 280px; margin: 0 auto; }
}

/* ---------- Duotone + grain photo frame (headshot placeholders) ---------- */
.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #dcdcdc;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  display: block;
  transition: filter 0.25s ease;
}
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    linear-gradient(160deg, rgba(185,120,46,0.6), rgba(15,15,15,0.4));
  background-blend-mode: overlay, normal;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* On hover, event flyers, speaker photos, and People grid thumbnails reveal
   the image in full color; sponsor logos keep the duotone + grain
   treatment permanently (no photo content to reveal there). */
.event-block .photo-frame:hover img,
.speaker-photo .photo-frame:hover img,
.person-card .photo-frame:hover img,
.event-block .photo-frame.revealed img,
.speaker-photo .photo-frame.revealed img {
  filter: none;
}
.event-block .photo-frame:hover::after,
.speaker-photo .photo-frame:hover::after,
.person-card .photo-frame:hover::after,
.event-block .photo-frame.revealed::after,
.speaker-photo .photo-frame.revealed::after {
  opacity: 0;
}
  
/* ---------- Sections / cards ---------- */
main { padding-bottom: 60px; }

.section { padding-top: clamp(22px, 4vw, 34px); padding-bottom: clamp(22px, 4vw, 34px); }
.divider {
  border: none;
  border-top: 1px solid var(--divider);
  margin: clamp(26px, 4vw, 34px) 0;
}
.heart {
  text-align: center;
  color: var(--text);
  margin: 20px 0;
  font-size: 1.1rem;
  opacity: 0.6;
}

.card {
  background: var(--card-bg);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 26px);
  border-top: 5px solid var(--bronze);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
@media (max-width: 700px) {
  .two-col { grid-template-columns: 1fr; }
}
.card h2,
.card h3 { color: var(--black-bar); text-shadow: none; }
.card a { color: var(--link); }

/* ---------- Homepage info block: one card, two stacked columns ---------- */
.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.info-block h3 { color: var(--black-bar); text-shadow: none; margin-bottom: 0.3em; }
.info-item p:last-child,
.info-item ul:last-child { margin-bottom: 0; }
.info-divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.15);
  margin: 18px 0;
}
@media (max-width: 700px) {
  .info-block { grid-template-columns: 1fr; gap: 0; }
  .info-col + .info-col { border-top: 1px solid rgba(0,0,0,0.15); margin-top: 18px; padding-top: 18px; }
}

/* ---------- Stat bar ---------- */
.stat-bar {
  margin: 40px 0;
}
.stat-bar .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  text-align: center;
  padding: 0;
}
.stat-bar .wrap > div {
  background: var(--ink);
  color: var(--white);
  padding: 34px 20px;
  border-radius: var(--radius);
  border: var(--border-w) solid var(--ink);
}
@media (max-width: 600px) {
  .stat-bar .wrap { grid-template-columns: repeat(2, 1fr); }
}
.stat-bar .num {
  font-family: 'Rubik Spray Paint', 'Nunito', sans-serif;
  font-size: 2.2rem;
  display: block;
  color: var(--white);
}
.stat-bar .label { color: var(--white); font-size: 0.95rem; opacity: 0.85; }

/* ---------- Buttons ---------- */
.btn-list { margin: 12px 0 26px 0; }
.btn-link {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--ink);
  color: var(--white) !important;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 10px;
  text-decoration: none !important;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 0.82rem;
  box-shadow: 4px 4px 0 var(--bronze);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-link:hover {
  opacity: 1;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--bronze);
}
.btn-link:active {
  transform: translate(0, 0);
  box-shadow: 1px 1px 0 var(--bronze);
}

/* ---------- Past symposia grid ---------- */
.past-events {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
@media (max-width: 700px) {
  .past-events { grid-template-columns: 1fr; }
}
.event-block {
  margin-bottom: 26px;
  background: var(--card-bg);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px 20px 18px;
  border-top: 5px solid var(--bronze);
}
.event-block h3 { color: var(--black-bar); text-shadow: none; font-size: 1.08rem; }
.event-block .photo-frame { margin-bottom: 12px; border: 2px solid var(--ink); }
.event-block .photo-frame img { height: auto; }
.event-block .btn-link { background: var(--ink); }

/* ---------- Sponsor grid ---------- */

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin: 26px 0 8px 0;
}
.sponsor-card {
  background: var(--white);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.sponsor-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
  opacity: 1;
}
.sponsor-card img { max-width: 100%; max-height: 100%; }

@media (max-width: 600px) {
  .sponsor-grid { grid-template-columns: 1fr; }
}


/* ---------- People page: filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 28px 0;
}
.filter-btn {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  border: var(--border-w) solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: all 0.15s ease;
}
.filter-btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.filter-btn.active {
  background: var(--ink);
  color: var(--white);
  box-shadow: 3px 3px 0 var(--bronze);
}

/* ---------- People grid ---------- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 18px;
  margin: 10px 0 60px 0;
}
@media (max-width: 800px) {
  .people-grid { grid-template-columns: 1fr; }
}
.person-card {
  text-align: center;
  background: var(--card-bg);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 12px 16px 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.person-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hover); }
.person-card .photo-frame { aspect-ratio: 1 / 1; margin-bottom: 12px; border: 2px solid var(--ink); }
.person-card .name-link {
  font-family: 'Rubik Distressed', 'Nunito', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--black-bar);
}
.unconfirmed-badge {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--ink);
  background: var(--bronze);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 3px 10px;
}

/* ---------- Speaker profile page ---------- */
.speaker-photo { margin-bottom: 24px; width: 100%; max-width: 320px; }
.speaker-photo .photo-frame { aspect-ratio: 4 / 5; box-shadow: var(--shadow); border: 2px solid var(--ink); }
.speaker-name { text-align: left; color: var(--header-color); text-shadow: var(--header-shadow); }
.unconfirmed-note {
  background: var(--bronze);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.92rem;
  margin: 14px 0 18px 0;
}
.prevnext {
  display: flex;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--divider);
  margin-top: 36px;
}

/* ---------- Schedule ---------- */
.schedule-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 800px) {
  .schedule-cols { grid-template-columns: 1fr; }
}
.day-col {
  background: var(--card-bg);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 6px 18px;
  border-top: 5px solid var(--bronze);
}
.day-col h3.day-title { color: var(--black-bar); text-shadow: none; margin-bottom: 0; }
.day-format { font-weight: 700; margin-bottom: 4px; font-size: 0.92rem; }
.session {
  padding: 12px 0;
  border-top: 1px solid var(--divider);
}
.session:first-of-type { border-top: none; }
.session .time { display: block; font-weight: 800; font-size: 0.92rem; }
.session .title { display: block; margin: 3px 0 5px 0; font-weight: 800;}
.session .session-platform {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  font-style: italic;
  color: var(--bronze);
  margin: 0 0 6px 0;
}
.session ul { list-style: none; margin: 0; padding: 0; }
.session li { margin-bottom: 2px; font-size: 0.94rem; }
.session .tbd { font-style: italic; font-weight: 400; text-decoration: none; color: var(--text); }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 22px 0;
  font-size: 0.85rem;
}
footer a { color: var(--white); }

.placeholder-note {
  font-size: 0.8rem;
  font-style: italic;
  opacity: 0.75;
  text-decoration: none !important;
  font-weight: 400 !important;
  color: var(--text) !important;
}
