:root {
  --navy: #14213d;
  --blue: #2569e8;
  --bg-light: #f7f7f5;
  --bg-gray: #f2f2f0;
  --text-muted: #4a4a4a;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  background: #fff;
  line-height: 1.5;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.heading {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: clamp(28px, 4vw, 40px);
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: var(--bg-light);
}

.site-logo {
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
}

/* Hero */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(10, 20, 45, 0.45), rgba(10, 20, 45, 0.45)),
    linear-gradient(135deg, #3a4a6b, #6b7591);
  color: #fff;
  padding: 40px 20px;
}

.hero.has-image {
  background: linear-gradient(rgba(10, 20, 45, 0.35), rgba(10, 20, 45, 0.35)),
    url('images/hero.jpg') center/cover no-repeat;
}

.hero.hero-photo {
  background: url('images/hero-video-frame.jpg') center/cover no-repeat;
  position: relative;
}

.hero-cta-hit {
  position: absolute;
  top: 64%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(340px, 30vw);
  min-width: 200px;
  height: 60px;
  text-indent: -9999px;
  overflow: hidden;
}

.hero-inner {
  max-width: 900px;
}

.hero-wordmark {
  max-width: 90vw;
  width: 500px;
  margin: 0 auto;
}

.hero h2 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 2.5vw, 28px);
  letter-spacing: 1px;
  margin-top: 18px;
  text-transform: none;
}

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 34px;
  border-radius: 30px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn-outline {
  border: 1.5px solid #fff;
  color: #fff;
  margin-top: 32px;
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

/* About */
.about {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 90px 60px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about img {
  flex: 1 1 400px;
  border-radius: 4px;
  max-width: 480px;
  object-fit: cover;
}

.about .about-photo {
  max-height: 560px;
}

.about-text {
  flex: 1 1 380px;
}

.about-text .heading {
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 32px;
}

/* Events */
.events {
  background: var(--bg-gray);
  padding: 90px 40px;
  text-align: center;
}

.events .heading {
  margin-bottom: 50px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.event-card {
  position: relative;
  height: 280px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 45, 0.32);
}

.event-card span {
  position: relative;
  z-index: 1;
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  color: #041c35;
  padding-bottom: 6px;
  border-bottom: 3px solid #041c35;
}

/* Page hero (city pages) */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(10, 20, 45, 0.4), rgba(10, 20, 45, 0.4)),
    linear-gradient(135deg, #3a4a6b, #6b7591);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 40px 20px;
}

.page-hero.dc { background-image: linear-gradient(rgba(10, 20, 45, 0.15), rgba(10, 20, 45, 0.35)), url('images/dc-hero-bg.jpg'); }
.page-hero.boston { background-image: linear-gradient(rgba(10, 20, 45, 0.55), rgba(10, 20, 45, 0.7)), url('images/boston-hero-bg.jpg'); }
.page-hero.newyork { background-image: linear-gradient(rgba(10, 20, 45, 0.35), rgba(10, 20, 45, 0.55)), linear-gradient(135deg, #b98a5e, #d9b98f); }

.page-hero-wordmark {
  max-width: 90vw;
  width: 380px;
  margin: 0 auto;
}

.page-hero .presented-by {
  font-size: 14px;
  letter-spacing: 1px;
  margin-top: 10px;
  color: #e6e8ef;
}

.page-hero .presented-by b {
  color: var(--blue);
}

.page-hero .btn {
  margin-top: 28px;
}

/* Centered about (city pages) */
.about-centered {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 30px;
  text-align: center;
}

.about-centered h2 {
  color: var(--blue);
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 24px;
}

.about-centered p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Long-form content block (Boston about) */
.content-block {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 30px;
}

.content-block h2 {
  color: var(--blue);
  font-size: clamp(22px, 3vw, 30px);
  margin: 36px 0 16px;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.content-block ul {
  color: var(--text-muted);
  margin: 8px 0 16px 20px;
}

.content-block li {
  margin-bottom: 6px;
}

.content-block strong {
  color: var(--navy);
}

/* Speaker bio cards (with real headshots + bio text) */
.speaker-bio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 40px auto 0;
  text-align: center;
}

.speaker-bio img {
  width: 75%;
  max-width: 220px;
  margin: 0 auto 16px;
  border-radius: 4px;
}

.speaker-bio .name {
  font-size: 18px;
  font-weight: 600;
}

.speaker-bio .title {
  color: var(--text-muted);
  font-size: 14px;
  margin: 4px 0 12px;
}

.speaker-bio .bio {
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
}

.sponsor-strip {
  max-width: 500px;
  margin: 40px auto 0;
}

/* Event detail block */
.event-detail {
  background: var(--bg-gray);
  padding: 80px 30px;
  text-align: center;
}

.event-detail-inner {
  max-width: 700px;
  margin: 0 auto;
}

.event-detail h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  margin-bottom: 12px;
}

.event-detail .meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.event-detail p {
  color: var(--text-muted);
  text-align: left;
  margin-top: 24px;
}

.event-detail .sponsored {
  font-style: italic;
  margin-top: 20px;
}

.event-detail .btn {
  margin-top: 28px;
}

/* Speaker grid */
.speaker-section {
  padding: 60px 30px 20px;
  text-align: center;
  background: var(--bg-gray);
}

.speaker-section h3 {
  font-size: clamp(20px, 3vw, 28px);
  margin-bottom: 6px;
}

.speaker-section .panel-date {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto 60px;
}

.speaker {
  text-align: center;
}

.speaker .avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, #ccd1dc, #9aa3b5);
  object-fit: cover;
}

.speaker .card-photo {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  border-radius: 4px;
}

.speaker .name {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.speaker .title {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.speaker .company {
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

/* Newsletter banner */
.newsletter {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.newsletter h3 {
  font-size: clamp(16px, 2.5vw, 20px);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter input[type="email"] {
  padding: 12px 16px;
  border-radius: 4px;
  border: none;
  min-width: 260px;
  font-family: inherit;
}

.newsletter button {
  padding: 12px 24px;
  border-radius: 4px;
  border: none;
  background: var(--navy);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* Contact form (about page) */
.contact {
  background: var(--bg-gray);
  padding: 90px 60px;
}

.contact-grid {
  display: flex;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.contact-text {
  flex: 1 1 320px;
}

.contact-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 20px;
}

.contact-text p {
  color: var(--text-muted);
  max-width: 380px;
}

.contact-form {
  flex: 1 1 420px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.contact-form .required {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 12px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-row > div {
  flex: 1 1 180px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c9c9c9;
  border-radius: 3px;
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 20px;
  background: #fff;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
}

button.btn {
  border: none;
  font-family: inherit;
}

/* Footer */
.site-footer {
  padding: 50px 40px;
  text-align: center;
  background: #fff;
}

.site-footer img {
  height: 50px;
  width: auto;
  margin: 0 auto;
}
