/* masterclass.css */
:root {
  --cream: #F8F1E2;
  --white: #FFFFFF;
  --black: #000000;
  --red-bright: #D84E41;
  --red: #B63229;
  --crimson: #831913;
  --crimson-hover: #B63229;
  --gold: #EAB55E;
  --gold-warm: #EA9631;
  --chocolate-light: #C17E4F;
  --chocolate: #8A472C;
  --chocolate-dark: #5B2313;
  --text-main: #000000;
  --text-muted: #5B2313;
}

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

html { scroll-behavior: smooth; }
body {
  background-color: var(--white);
  color: var(--text-main);
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--crimson); 
  outline-offset: 3px; 
  border-radius: 2px;
}

/* LAYOUT */
.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.container-sm {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section-pad { padding: 4.5rem 0; }
@media (max-width: 768px) { .section-pad { padding: 3.25rem 0; } }

.bg-cream { background-color: var(--cream); }
.bg-white { background-color: var(--white); }
.section-pad.bg-cream { border-top: 1px solid var(--gold); }

/* TYPOGRAPHY */
.eyebrow {
  color: var(--red);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.title-main {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.title-section {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.body-text {
  font-size: 18px;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .body-text { font-size: 16px; }
}
.bg-cream .body-text {
  color: var(--chocolate-dark);
}

.body-text-sm {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.event-details {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border-left: 3px solid var(--crimson);
  padding-left: 1rem;
  line-height: 1.55;
}
.event-details p + p { margin-top: 0.45rem; }
.event-details [data-event-timezones] { font-weight: 500; }
.time-zone { display: inline-block; white-space: nowrap; }
.time-zone:not(:last-child)::after { content: " ·"; }
.replay-promise { color: var(--crimson); font-weight: 700; }
.zoom-link {
  display: inline-block;
  color: var(--crimson);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* NAV / HEADER */
.site-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gold);
  text-align: center;
}
.brand-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
}

/* BUTTONS */
.btn {
  display: inline-block;
  background: var(--crimson);
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  min-height: 52px;
}
.btn:hover {
  background: var(--crimson-hover);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* LISTS */
.bullet-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}
.bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.bullet-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--chocolate);
}

/* HOST SECTION */
.host-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .host-grid {
    grid-template-columns: 1fr 2fr;
  }
}
.host-image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* FORMS */
.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}
.form-label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--chocolate-light);
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.2s ease;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--black);
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
}
.form-error {
  padding: 1rem;
  margin-bottom: 1.5rem;
  background: var(--cream);
  border-left: 4px solid var(--crimson);
  color: var(--crimson);
  font-size: 0.95rem;
}
[hidden] {
  display: none !important;
}

/* FOOTER */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--gold);
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  list-style: none;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--black);
}

/* HERO SECTION */
.hero-section {
  text-align: center;
  padding: 4.25rem 0 4.75rem;
}
.hero-section .title-main {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero-section .subtitle, .hero-section .event-details {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.hero-audience {
  max-width: 670px;
  margin: 0 auto 1.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.subtitle strong { color: var(--crimson); }
.hero-section .event-details {
  border: none;
  padding: 1rem 1.5rem;
  background: var(--cream);
  margin-bottom: 1.5rem;
}

/* REFLECTION + LEARNING */
.reflection-section strong { color: var(--crimson); }
.reflection-section .distinction {
  border-left: 3px solid var(--crimson);
  padding-left: 1rem;
  margin: 2rem 0 0;
  font-weight: 600;
}
.teaching-section {
  background: var(--crimson);
  color: var(--cream);
}
.teaching-section .title-section { margin-bottom: 2rem; }
.teaching-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.teaching-point {
  border-top: 1px solid var(--gold);
  padding-top: 1.25rem;
}
.teaching-number {
  display: block;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.teaching-point h3 {
  color: var(--gold);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}
.teaching-point p { line-height: 1.75; }
.teaching-payoff {
  max-width: 780px;
  margin: 2.25rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.45;
  text-align: center;
}
.live-note {
  max-width: 720px;
  margin: 1.25rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* PREVIOUS-ATTENDEE PROOF */
.proof-section { text-align: center; }
.proof-intro { max-width: 660px; margin: 0 auto 2rem; }
.proof-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
}
.proof-shot { max-width: 100%; }
.proof-shot:first-child { width: 410px; }
.proof-shot:last-child { width: 280px; }
.proof-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* REGISTRATION */
.registration-section { border-top: 1px solid var(--gold); }
.registration-section .event-details {
  background: transparent;
  padding-left: 1rem;
  margin-bottom: 2rem;
}
.optional-label { font-weight: 400; color: var(--chocolate-dark); }
.form-submit { width: 100%; margin-top: 0.5rem; }
.form-helper { text-align: center; margin-top: 1rem; }

/* THANK YOU SPECIFIC */
.thank-you-signature {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  margin-top: 2rem;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .host-grid { gap: 1.5rem; }
  .host-image { max-width: 300px; display: block; margin: 0 auto; }
  .teaching-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .proof-grid { flex-direction: column; align-items: center; gap: 1.5rem; }
}

@media (max-width: 600px) {
  .container, .container-sm { padding: 0 1.25rem; }
  .site-header { padding: 1rem 0; }
  .section-pad { padding: 2.75rem 0; }
  .hero-section { padding: 2.25rem 0 3rem; }
  .hero-section .eyebrow { margin-bottom: 1rem; }
  .hero-audience { font-size: 0.97rem; margin-bottom: 1rem; }
  .hero-section .title-main {
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  .hero-section .subtitle { font-size: 1rem; margin-bottom: 1rem; }
  .hero-section .event-details {
    font-size: 0.96rem;
    padding: 0.85rem 0.8rem;
    margin-bottom: 1.25rem;
  }
  .teaching-section .title-section { margin-bottom: 1.5rem; }
  .proof-shot:first-child { width: min(100%, 410px); }
  .proof-shot:last-child { width: min(100%, 280px); }
  .footer-links { gap: 1rem; flex-wrap: wrap; }
}
