/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import url("/assets/fonts-b5e572b9.css");

/* CSS Variables */
:root {
  /* Greens */
  --color-deep-teal-green: #107353;
  --color-emerald-green: #19906A;
  --color-aqua-green: #37BE93;

  /* Purples */
  --color-royal-purple: #7243A8;
  --color-violet-purple: #8D51D4;
  --color-orchid-purple: #BD76C7;

  /* Oranges */
  --color-burnt-orange: #AD4B19;
  --color-coral: #F08047;
  --color-tangerine: #E08044;

  /* Dark neutrals */
  --color-charcoal-black: #22211E;
  --color-ash-brown: #373631;
  --color-graphite: #4C4B46;
  --color-smoked-taupe: #615F58;
  --color-dark-gray: #696761;
  --color-dusty-gray: #7E7C77;

  /* Light neutrals */
  --color-taupe-gray: #8B8984;
  --color-weathered-stone: #A0A09A;
  --color-warm-gray: #B6B5B0;
  --color-mist-beige: #D0CFC8;
  --color-off-white: #ECEAE3;
  --color-chalk: #F4F2EE;

  /* Semantic aliases */
  --color-beige: #ECEAE3;
  --color-white: #FFFFFF;
  --color-black: #22211E;
  --color-purple: #8D51D4;
  --color-green: #107353;

  /* Fonts */
  --font-serif: 'Gowun Batang', serif;
  --font-sans: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Utility for variable font weight */
.font-weight-500 {
  font-weight: 500;
  font-variation-settings: 'wght' 500;
}

.font-weight-600 {
  font-weight: 600;
  font-variation-settings: 'wght' 600;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--color-black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-color: var(--color-beige);
}

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

a:hover:not(.btn) {
  text-decoration: underline;
}

a:visited {
  color: inherit;
}

/* Layout */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 10%;
}

/* Max-width for all major containers */
.site-header,
.hero,
.why-attend,
.pioneers,
.venue,
.events,
.newsletter,
.site-footer {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* Header / Navigation */
.site-header {
  background-color: var(--color-beige);
  padding: 1rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(30, 29, 24, 0.1);
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo img {
  display: block;
  height: auto;
}

.logo-epfl {
  width: 37px;
}

.logo-amld {
  width: 104px;
  margin-left: 9px;
  margin-top: -1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-black);
  font-size: 0.875rem;
}

.main-nav a:hover {
  opacity: 0.7;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 0;
  color: var(--color-charcoal-black);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer !important;
  border: none;
}

a.btn,
a.btn:hover,
.btn:hover,
a:hover {
  cursor: pointer !important;
}

.btn:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--color-green);
  color: var(--color-white);
  height: 48px;
  padding: 0 1.25rem;
  font-size: 14px;
  font-weight: 600;
  line-height: 160%;
  border-radius: 12px;
}

.btn-primary:visited {
  color: var(--color-white);
}

.btn-primary .arrow {
  color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid rgba(30, 29, 24, 0.2);
  color: var(--color-charcoal-black);
  height: 48px;
  padding: 0 1.25rem;
  font-size: 14px;
  font-weight: 600;
  line-height: 160%;
  border-radius: 12px;
}

.btn-filled {
  background-color: var(--color-off-white);
  border: 1px solid var(--color-off-white);
  color: var(--color-charcoal-black);
  height: 48px;
  padding: 0 1.25rem;
  font-size: 14px;
  font-weight: 600;
  line-height: 160%;
  border-radius: 12px;
}

.btn-nav {
  background-color: transparent;
  border: 1px solid rgba(30, 29, 24, 0.2);
  color: var(--color-charcoal-black);
  width: 142px;
  height: 48px;
  padding: 0 1rem;
  font-size: 14px;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: 0;
  border-radius: 12px;
  justify-content: center;
}

.btn-nav .arrow {
  color: var(--color-violet-purple);
}

/* Hero Section */
.hero {
  background-color: var(--color-beige);
  min-height: 70vh;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: visible;
  padding: 128px 10% 4rem;
}

.hero-content {
  width: 739px;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--color-charcoal-black);
  margin-bottom: 0;
}

.hero-date {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--color-royal-purple);
  margin-bottom: 2rem;
}

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

.hero-image {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  max-width: 900px;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: auto;
}

/* Why Attend Section */
.why-attend {
  background-color: var(--color-beige);
  position: relative;
  padding: 0 10% 4rem;
}

.why-attend-chips {
  position: absolute;
  left: -8%;
  top: calc(40% + 150px);
  transform: translateY(-50%);
  width: 520px;
  z-index: 1;
}

.why-attend-chips img {
  width: 100%;
  height: auto;
}

.why-attend-container {
  position: relative;
  z-index: 2;
}

.why-attend-card {
  background-color: rgba(244, 242, 238, 0.85);
  border-radius: 24px;
  display: flex;
  overflow: hidden;
  margin-bottom: 1rem;
}

.why-attend-image {
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
  padding: 15px;
}

.why-attend-image::before {
  content: "";
  display: block;
  padding-top: 66.67%; /* 2/3 = 66.67% for 3:2 ratio */
}

.why-attend-image img {
  position: absolute;
  top: 15px;
  left: 15px;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  object-fit: cover;
  border-radius: 16px;
}

.why-attend-content {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-charcoal-black);
  margin-bottom: 1.5rem;
}

.section-label .dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-tangerine);
  border-radius: 50%;
}

.why-attend-text {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 135%;
  letter-spacing: -0.01em;
  color: var(--color-ash-brown);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  background-color: rgba(244, 242, 238, 0.85);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: -0.02em;
  color: var(--color-royal-purple);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 0;
  color: var(--color-charcoal-black);
}

/* Pioneers & Leaders Section */
.pioneers {
  background-color: var(--color-beige);
  position: relative;
  padding: 4rem 10%;
  overflow: hidden;
}

.pioneers-chips {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  z-index: 1;
}

.pioneers-chips img {
  width: 100%;
  height: auto;
}

.pioneers-container {
  position: relative;
  z-index: 2;
}

.pioneers-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.section-label-center {
  justify-content: center;
}

.pioneers-text {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 135%;
  letter-spacing: -0.01em;
  color: var(--color-ash-brown);
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.speaker-card {
  background-color: rgba(244, 242, 238, 0.85);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.speaker-image {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
}

.speaker-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 0;
  color: var(--color-charcoal-black);
  margin-bottom: 0.25rem;
}

.speaker-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 0;
  color: var(--color-graphite);
}

/* Venue & Location Section */
.venue {
  background-color: var(--color-beige);
  position: relative;
  padding: 4rem 10%;
  overflow: hidden;
}


.venue-container {
  position: relative;
  z-index: 2;
}

.venue-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.venue-intro {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 135%;
  letter-spacing: -0.01em;
  color: var(--color-ash-brown);
}

.venue-content {
  display: flex;
  gap: 1rem;
}

.venue-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.venue-card {
  background-color: rgba(244, 242, 238, 0.85);
  border-radius: 16px;
  padding: 1.5rem;
}

.venue-card-main {
  flex: 1;
}

.venue-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.venue-card-header h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-charcoal-black);
}

.venue-card-header svg {
  flex-shrink: 0;
}

.venue-address {
  margin-bottom: 4rem;
}

.venue-address p {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  color: var(--color-graphite);
}

.btn-maps {
  width: fit-content;
}

.btn-maps .arrow {
  color: var(--color-violet-purple);
}

.venue-cards-row {
  display: flex;
  gap: 1rem;
}

.venue-card-small {
  flex: 1;
}

.venue-card-small p {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  color: var(--color-graphite);
}

.venue-image {
  flex: 1;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.venue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 15% center;
  border-radius: 16px;
}

/* Events Section */
.events {
  background-color: var(--color-beige);
  position: relative;
  padding: 4rem 10%;
}

.events-chips {
  position: absolute;
  left: calc(-5% + 30px);
  top: -195px;
  width: 520px;
  z-index: 1;
}

.events-chips img {
  width: 100%;
  height: auto;
}

.events-container {
  position: relative;
  z-index: 2;
}

.events-header {
  text-align: center;
  margin-bottom: 3rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.event-card {
  background-color: rgba(244, 242, 238, 0.85);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-tag {
  display: inline-block;
  width: fit-content;
  padding: 0 8px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 200%;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}

.event-tag-upcoming {
  background-color: rgba(16, 115, 83, 0.1);
  color: var(--color-deep-teal-green);
}

.event-tag-past {
  background-color: rgba(141, 81, 212, 0.1);
  color: var(--color-violet-purple);
}

.event-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 140%;
  color: var(--color-charcoal-black);
  margin-bottom: 1rem;
}

.event-date {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  color: var(--color-charcoal-black);
  margin-bottom: 0;
}

.event-location {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  color: var(--color-graphite);
  margin-bottom: 2.5rem;
}

.btn-event {
  width: fit-content;
  margin-top: auto;
}

.events-footer {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.btn-all-events {
  width: fit-content;
}

/* Newsletter Section */
.newsletter {
  background-color: var(--color-charcoal-black);
  padding: 4rem 10%;
  position: relative;
}

.newsletter::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background-color: var(--color-charcoal-black);
  z-index: -1;
}

.newsletter::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background-color: rgba(55, 54, 49, 0.5);
}

.newsletter-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 135%;
  letter-spacing: -0.01em;
  color: var(--color-off-white);
  margin-bottom: 0.5rem;
}

.newsletter-subtitle {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 135%;
  letter-spacing: -0.01em;
  color: var(--color-taupe-gray);
  margin-bottom: 3.5rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  height: 48px;
  padding: 0 20px;
  border: none;
  border-radius: 12px;
  background-color: rgba(55, 54, 49, 0.5);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
}

.newsletter-input::placeholder {
  color: var(--color-warm-gray);
}

.newsletter-input:focus {
  outline: none;
  background-color: rgba(55, 54, 49, 0.7);
}

.btn-newsletter {
  background-color: var(--color-aqua-green);
  color: var(--color-charcoal-black);
  flex: 1;
  height: 48px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 160%;
  border-radius: 12px;
  gap: 8px;
  justify-content: center;
}

.btn-newsletter svg {
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background-color: var(--color-charcoal-black);
  padding: 4rem 10% 2rem;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background-color: var(--color-charcoal-black);
  z-index: -1;
}

.footer-main {
  display: flex;
  gap: 4rem;
  padding-bottom: 3rem;
  position: relative;
}

.footer-brand {
  flex: 1;
  max-width: 548px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 2.5rem;
}

.footer-logo-epfl {
  width: 50px;
  filter: brightness(0) invert(1);
}

.footer-logo-amld {
  width: 140px;
  margin-left: 12px;
}

.footer-event-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 170%;
  color: var(--color-off-white);
  margin-bottom: 1rem;
}

.footer-description {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 170%;
  color: var(--color-warm-gray);
}

.footer-links {
  display: flex;
  gap: 6rem;
}

.footer-column {
  min-width: 150px;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 170%;
  color: var(--color-off-white);
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 0.25rem;
}

.footer-list a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 170%;
  color: var(--color-warm-gray);
  transition: color 0.2s;
}

.footer-list a:hover {
  color: var(--color-white);
}

.footer-address {
  font-style: normal;
  margin-bottom: 0.5rem;
}

.footer-address p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 170%;
  color: var(--color-warm-gray);
}

.footer-email a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 170%;
  color: var(--color-warm-gray);
  transition: color 0.2s;
}

.footer-email a:hover {
  color: var(--color-white);
}

.footer-chips {
  position: absolute;
  right: -350px;
  top: -200px;
  width: 405px;
  z-index: 2;
}

.footer-chips img {
  width: 100%;
  height: auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  position: relative;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background-color: rgba(55, 54, 49, 0.5);
}

.footer-copyright {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-dusty-gray);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-legal a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-dusty-gray);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--color-white);
}

.footer-separator {
  color: var(--color-dusty-gray);
}

/* About Page */
.about-hero {
  background-color: var(--color-beige);
  min-height: 70vh;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: visible;
  padding: 128px 10% 4rem;
  max-width: 1440px;
  margin: 0 auto;
}

.about-hero-content {
  width: 50%;
  z-index: 1;
}

.about-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--color-charcoal-black);
  margin-bottom: 0;
}

.about-subtitle {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--color-royal-purple);
  margin-bottom: 0;
}

.about-hero-image {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  max-width: 900px;
  z-index: 0;
}

.about-hero-image img {
  width: 100%;
  height: auto;
}

/* About Story Section */
.about-story {
  background-color: var(--color-beige);
  position: relative;
  padding: 0 10% 4rem;
  max-width: 1440px;
  margin: 0 auto;
}

.about-story-chips {
  position: absolute;
  left: -8%;
  top: 200px;
  width: 520px;
  z-index: 1;
}

.about-story-chips img {
  width: 100%;
  height: auto;
}

.about-story-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

.about-story-content {
  width: 55%;
  max-width: 600px;
}

.about-story-content p {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 170%;
  color: var(--color-charcoal-black);
  margin-bottom: 2rem;
}

.about-story-content p:last-child {
  margin-bottom: 0;
}

.about-story-content a {
  color: var(--color-deep-teal-green);
}

/* About Author Section */
.about-author {
  background-color: var(--color-beige);
  padding: 4rem 10%;
  max-width: 1440px;
  margin: 0 auto;
}

.about-author-container {
  display: flex;
  justify-content: flex-end;
}

.author-card {
  background-color: rgba(244, 242, 238, 0.85);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 55%;
  max-width: 600px;
}

.author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 160%;
  color: var(--color-charcoal-black);
  margin-bottom: 0.25rem;
}

.author-role {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 160%;
  color: var(--color-graphite);
  margin: 0;
}

/* About Team Section */
.about-team {
  background-color: var(--color-beige);
  position: relative;
  padding: 4rem 10% 8rem;
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
}

.about-team-chips {
  position: absolute;
  right: -8%;
  top: calc(20% - 300px);
  width: 520px;
  z-index: 1;
}

.about-team-chips img {
  width: 100%;
  height: auto;
}

.about-team-container {
  position: relative;
  z-index: 2;
}

.about-team-title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--color-charcoal-black);
  text-align: center;
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.team-card {
  background-color: rgba(244, 242, 238, 0.85);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.team-card:nth-child(1) {
  grid-row: 1;
}

.team-card:nth-child(2) {
  grid-row: 1 / 3;
}

.team-card:nth-child(3) {
  grid-row: 2;
  grid-column: 1;
}

.team-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-charcoal-black);
  margin-bottom: 1.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-orange {
  background-color: var(--color-tangerine);
}

.dot-green {
  background-color: var(--color-emerald-green);
}

.dot-purple {
  background-color: var(--color-violet-purple);
}

.team-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.team-list li {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 200%;
  color: var(--color-graphite);
}

/* Events Page */
.events-page-hero {
  background-color: var(--color-beige);
  min-height: 70vh;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: visible;
  padding: 128px 10% 4rem;
  max-width: 1440px;
  margin: 0 auto;
}

.events-page-hero-content {
  width: 50%;
  z-index: 1;
}

.events-page-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--color-charcoal-black);
  margin-bottom: 0;
}

.events-page-subtitle {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--color-royal-purple);
  margin-bottom: 0;
}

.events-page-hero-image {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  max-width: 900px;
  z-index: 0;
}

.events-page-hero-image img {
  width: 100%;
  height: auto;
}

.events-page {
  background-color: var(--color-beige);
  padding: 0 10% 8rem;
  max-width: 1440px;
  margin: 0 auto;
}

.events-page-container {
  position: relative;
}

.events-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: 80px 10% 4rem;
  }

  .hero-content {
    width: 50%;
  }

  .hero-title {
    font-size: 56px;
  }

  .hero-date {
    font-size: 56px;
  }

  .hero-image {
    width: 55%;
    right: -5%;
    top: 80px;
    transform: none;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .events-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    flex-wrap: wrap;
  }

  .footer-chips {
    display: none;
  }

  .speakers-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* About page hero - tablet */
  .about-hero {
    min-height: auto;
    padding: 80px 10% 4rem;
  }

  .about-hero-content {
    width: 50%;
  }

  .about-title {
    font-size: 56px;
  }

  .about-subtitle {
    font-size: 56px;
  }

  .about-hero-image {
    width: 55%;
    right: -5%;
    top: 80px;
    transform: none;
  }

  /* Events page hero - tablet */
  .events-page-hero {
    min-height: auto;
    padding: 80px 10% 4rem;
  }

  .events-page-hero-content {
    width: 50%;
  }

  .events-page-title {
    font-size: 56px;
  }

  .events-page-subtitle {
    font-size: 56px;
  }

  .events-page-hero-image {
    width: 55%;
    right: -5%;
    top: 80px;
    transform: none;
  }

  /* Newsletter form - stack vertically on tablet */
  .newsletter-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .newsletter-input {
    width: 100%;
  }

  .btn-newsletter {
    white-space: nowrap;
    padding: 0 1rem;
    font-size: 13px;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  /* Header */
  .site-header {
    padding: 1rem 6%;
  }

  .main-nav {
    gap: 1.5rem;
  }

  .main-nav .btn-nav {
    display: none;
  }

  /* Hero */
  .hero {
    flex-direction: column-reverse;
    padding: 2rem 6%;
    min-height: auto;
    overflow: visible;
  }

  .hero-content {
    width: 100%;
    text-align: left;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-date {
    font-size: 48px;
    color: var(--color-deep-teal-green);
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: calc(100% + 12%);
    max-width: none;
    margin-left: -6%;
    margin-right: -6%;
    margin-bottom: 2rem;
  }

  .hero-image img {
    width: 100%;
    height: auto;
  }

  /* Why Attend */
  .why-attend {
    padding: 0 6% 2rem;
  }

  .why-attend-chips {
    display: none;
  }

  .why-attend-card {
    flex-direction: column;
  }

  .why-attend-image {
    flex: none;
    max-width: 100%;
    padding: 15px 15px 0 15px;
  }

  .why-attend-image::before {
    padding-top: 56.25%; /* 16:9 ratio for mobile */
  }

  .why-attend-content {
    padding: 1.5rem;
  }

  .why-attend-text {
    font-size: 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card:first-child .stat-number {
    color: var(--color-tangerine);
  }

  .stat-number {
    font-size: 48px;
  }

  /* Pioneers */
  .pioneers {
    padding: 2rem 6%;
  }

  .pioneers-chips {
    width: 300px;
    right: -15%;
    top: 60%;
  }

  .pioneers-text {
    font-size: 24px;
  }

  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .speaker-card {
    padding: 1.5rem;
  }

  .speaker-image {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
  }

  .speaker-name {
    font-size: 14px;
  }

  .speaker-title {
    font-size: 14px;
  }

  /* Venue - Major restructure for mobile */
  .venue {
    padding: 2rem 6%;
  }

  .venue-header {
    display: none;
  }

  .venue-intro {
    font-size: 24px;
  }

  .venue-content {
    flex-direction: column;
    background-color: rgba(244, 242, 238, 0.85);
    border-radius: 24px;
    padding: 15px;
    gap: 0;
  }

  .venue-info {
    order: 1;
    gap: 0;
    padding: 0 10px;
  }

  .venue-image {
    order: 0;
    margin-bottom: 0;
    height: 250px;
    border-radius: 16px;
    flex: none;
  }

  .venue-card-main {
    background: transparent;
    padding: 1.5rem 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(30, 29, 24, 0.1);
  }

  .venue-address {
    margin-bottom: 1.5rem;
  }

  .venue-cards-row {
    flex-direction: column;
    gap: 0;
  }

  .venue-card-small {
    background: transparent;
    padding: 1.5rem 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(30, 29, 24, 0.1);
  }

  .venue-card-small:last-child {
    border-bottom: none;
  }

  /* Events - Horizontal scroll */
  .events {
    padding: 2rem 6%;
    overflow: visible;
  }

  .events-chips {
    width: 300px;
    left: -10%;
    top: -100px;
  }

  .events-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-left: -6%;
    margin-right: -6%;
    padding-left: 6%;
    padding-right: 6%;
  }

  .events-grid::-webkit-scrollbar {
    display: none;
  }

  .events-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .event-card {
    flex: 0 0 280px;
    min-width: 280px;
    scroll-snap-align: start;
  }

  .event-title {
    font-size: 16px;
  }

  .event-date,
  .event-location {
    font-size: 14px;
  }

  /* Newsletter - 2x2 grid */
  .newsletter {
    padding: 3rem 6%;
  }

  .newsletter-title {
    font-size: 32px;
  }

  .newsletter-subtitle {
    font-size: 32px;
    margin-bottom: 2rem;
  }

  .newsletter-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    max-width: 100%;
  }

  .newsletter-input:nth-child(1) {
    order: 2;
    grid-column: 2;
    grid-row: 1;
  }

  .newsletter-input:nth-child(2) {
    order: 3;
    grid-column: 1;
    grid-row: 2;
  }

  .newsletter-input:nth-child(3) {
    order: 1;
    grid-column: 1;
    grid-row: 1;
  }

  .btn-newsletter {
    order: 4;
    grid-column: 2;
    grid-row: 2;
  }

  .newsletter-input,
  .btn-newsletter {
    flex: none;
    width: 100%;
  }

  /* Footer */
  .site-footer {
    padding: 2rem 6%;
  }

  .footer-main {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-links {
    flex-direction: row;
    gap: 3rem;
  }

  .footer-chips {
    display: block;
    position: absolute;
    right: -200px;
    top: -100px;
    width: 300px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* About Page - Mobile */
  .about-hero {
    flex-direction: column-reverse;
    padding: 2rem 6%;
    min-height: auto;
    overflow: visible;
  }

  .about-hero-content {
    width: 100%;
  }

  .about-title {
    font-size: 48px;
  }

  .about-subtitle {
    font-size: 48px;
  }

  .about-hero-image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: calc(100% + 12%);
    max-width: none;
    margin-left: -6%;
    margin-right: -6%;
    margin-bottom: 2rem;
  }

  .about-story {
    padding: 2rem 6%;
  }

  .about-story-chips {
    display: none;
  }

  .about-story-container {
    justify-content: flex-start;
  }

  .about-story-content {
    width: 100%;
    max-width: 100%;
  }

  .about-story-content p {
    font-size: 16px;
  }

  .about-author {
    padding: 2rem 6%;
  }

  .about-author-container {
    justify-content: flex-start;
  }

  .author-card {
    width: 100%;
    max-width: 100%;
  }

  .about-team {
    padding: 2rem 6%;
  }

  .about-team-chips {
    display: none;
  }

  .about-team-title {
    font-size: 32px;
    margin-bottom: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card:nth-child(1),
  .team-card:nth-child(2),
  .team-card:nth-child(3) {
    grid-row: auto;
    grid-column: auto;
  }

  /* Events Page - Mobile */
  .events-page-hero {
    flex-direction: column-reverse;
    padding: 2rem 6%;
    min-height: auto;
    overflow: visible;
  }

  .events-page-hero-content {
    width: 100%;
  }

  .events-page-title {
    font-size: 48px;
  }

  .events-page-subtitle {
    font-size: 48px;
  }

  .events-page-hero-image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: calc(100% + 12%);
    max-width: none;
    margin-left: -6%;
    margin-right: -6%;
    margin-bottom: 2rem;
  }

  .events-page {
    padding: 2rem 6%;
  }

  .events-page-grid {
    grid-template-columns: 1fr;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-date {
    font-size: 36px;
  }

  .stats-grid {
    gap: 0.75rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 40px;
  }

  .speakers-grid {
    gap: 0.75rem;
  }

  .speaker-card {
    padding: 1rem;
  }

  .speaker-image {
    width: 80px;
    height: 80px;
  }

  .newsletter-title {
    font-size: 28px;
  }

  .newsletter-subtitle {
    font-size: 28px;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }

  .about-title {
    font-size: 36px;
  }

  .about-subtitle {
    font-size: 36px;
  }

  .about-team-title {
    font-size: 28px;
  }

  .events-page-title {
    font-size: 36px;
  }

  .events-page-subtitle {
    font-size: 36px;
  }
}
