:root {
  --ink: #171d3a;
  --muted: #5d6478;
  --blue: #0799c7;
  --blue-dark: #087da5;
  --pink: #f19af7;
  --cream: #fbf9f4;
  --white: #ffffff;
  --line: rgba(23, 29, 58, 0.14);
  --shadow: 0 18px 45px rgba(22, 30, 59, 0.12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Trebuchet MS", "Avenir Next", Avenir, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--blue-dark); text-underline-offset: 0.2em; }
a:hover { color: #075c78; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 26px 0 24px;
  position: relative;
}
.brand { flex: 0 0 auto; }
.brand img { width: 310px; height: auto; }
.header-socials { position: absolute; left: 0; top: 44px; display: flex; gap: 18px; }
.header-socials a { color: var(--ink); font-size: .9rem; font-weight: 900; text-decoration: none; }
.site-nav { margin: 0; }
.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 7px 2px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--blue-dark); }
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.welcome { padding: 105px 0 90px; background: var(--white); }
.welcome-inner { width: min(1050px, calc(100% - 48px)); min-height: 360px; margin: 0 auto; position: relative; }
.welcome-inner > img { width: 58%; height: 360px; object-fit: cover; }
.welcome-card { position: absolute; right: 0; top: 48px; width: 54%; padding: 64px 52px; background: #e4e6fb; }
.welcome-card h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -0.035em; }
.welcome-photo .welcome-inner { min-height: 500px; }
.welcome-photo .welcome-inner > img { width: 100%; height: 500px; object-position: center; }
.welcome-photo .welcome-card {
  top: auto;
  right: 36px;
  bottom: 36px;
  width: min(520px, calc(100% - 72px));
  padding: 38px 42px;
  background: rgba(228, 230, 251, 0.94);
  box-shadow: 0 14px 35px rgba(12, 24, 48, 0.18);
}

main { overflow: hidden; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(790px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 90px 0; }
.section-tight { padding: 58px 0; }
.section-white { background: var(--white); }
.section-ink { color: var(--white); background: var(--ink); }
.section-pink { background: #fbe5fc; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}
h1 { font-size: clamp(3.1rem, 8vw, 7.4rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2.2rem, 5vw, 4.5rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.55rem, 3vw, 2.45rem); }
h4 { font-size: 1.35rem; }
p { margin: 0 0 1.25em; }
.lead { font-size: clamp(1.15rem, 2vw, 1.42rem); line-height: 1.55; }
.display-small { font-size: clamp(2.8rem, 7vw, 6.2rem); }
.text-center { text-align: center; }
.caps { text-transform: uppercase; }

.hero {
  position: relative;
  min-height: min(780px, 82vh);
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-image) center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(10, 18, 41, 0.78), rgba(10, 18, 41, 0.2));
}
.hero-content { width: min(var(--max), calc(100% - 48px)); padding: 90px 0; }
.hero-content > * { max-width: 820px; }
.hero .eyebrow { color: #c5f2ff; }
.hero p { font-size: 1.25rem; }
.hero-short { min-height: 500px; }
.hero-light::after { background: linear-gradient(100deg, rgba(255,255,255,.93), rgba(255,255,255,.42)); }
.hero-light { color: var(--ink); }
.hero-light .eyebrow { color: var(--blue-dark); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease;
}
.button:hover { color: var(--white); background: var(--blue-dark); transform: translateY(-2px); }
.button-light { border-color: var(--white); color: var(--ink); background: var(--white); }
.button-light:hover { color: var(--white); background: transparent; }
.button-outline { color: var(--ink); background: transparent; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.quote-carousel { position: relative; min-height: 740px; overflow: hidden; background: #dfe9ec; }
.quote-slide { position: absolute; inset: 0; display: grid; place-items: center; padding: 70px; opacity: 0; pointer-events: none; background: linear-gradient(rgba(227,237,241,.34),rgba(227,237,241,.34)), var(--slide-image) center / cover no-repeat; transition: opacity .55s ease; }
.quote-slide.is-active { opacity: 1; pointer-events: auto; }
.quote-slide blockquote { max-width: 780px; margin: 0; padding: 28px 36px; color: var(--ink); background: rgba(255,255,255,.58); font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.15; text-align: center; }
.carousel-button { position: absolute; top: 50%; z-index: 3; width: 52px; height: 52px; border: 0; border-radius: 50%; color: var(--white); background: #6e89dd; cursor: pointer; transform: translateY(-50%); }
.carousel-previous { left: 28px; }
.carousel-next { right: 28px; }
.quote-grid { display: grid; gap: 0; }
.quote-panel {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--white);
}
.quote-panel:nth-child(even) .quote-image { order: 2; }
.quote-image { min-height: 430px; object-fit: cover; width: 100%; height: 100%; }
.quote-copy { display: grid; place-items: center; padding: clamp(44px, 7vw, 110px); }
.quote-copy blockquote { margin: 0; font-family: Georgia, serif; font-size: clamp(1.6rem, 3.2vw, 3rem); line-height: 1.28; }

.cta-photo {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--cta-image) center / cover no-repeat;
  isolation: isolate;
}
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(18, 28, 54, 0.56); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(22, 30, 59, 0.06);
}
.card-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-image.portrait { aspect-ratio: 4 / 5; object-position: top center; }
.card-body { padding: 28px; }
.card-body h3 { color: var(--blue-dark); }
.card-body > :last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split + .split { margin-top: 86px; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; max-height: 720px; object-fit: cover; }
.split-copy .subhead {
  margin-top: 1.8em;
  color: var(--blue-dark);
  font-family: Georgia, serif;
  font-size: 1.5rem;
}

.page-intro { padding: 110px 0 75px; background: #e5f7fb; }
.page-intro h1 { max-width: 1000px; }
.page-intro p { max-width: 780px; }

.speaker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.speaker-card { min-width: 0; }
.speaker-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; margin-bottom: 20px; }
.speaker-card h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.speaker-card.no-photo { min-height: 240px; display: grid; place-items: center; padding: 32px; background: #e5f7fb; text-align: center; }

.event { padding: 48px 0; border-top: 1px solid var(--line); }
.event:first-child { border-top: 0; }
.event h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
.event-meta { color: var(--blue-dark); font-size: 1.1rem; font-weight: 900; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; background: #eee; }
.gallery.books { grid-template-columns: repeat(4, 1fr); align-items: start; }
.gallery.books img { min-height: 0; aspect-ratio: 2 / 3; object-fit: contain; background: var(--white); padding: 8px; }

.form-card { padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
label { display: block; margin-bottom: 8px; font-size: 0.85rem; font-weight: 800; }
input, textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border: 1px solid rgba(23, 29, 58, 0.34);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
}
textarea { min-height: 180px; resize: vertical; }
.form-note { margin-top: 12px; color: var(--muted); font-size: 0.88rem; }

.schedule { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.schedule-item { padding: 26px; border-left: 5px solid var(--pink); background: var(--white); }
.schedule-item strong { display: block; color: var(--blue-dark); }

.soundcloud { width: 100%; height: 450px; border: 0; }
.prose h2 { margin-top: 1.2em; }
.prose h3 { margin-top: 1.4em; color: var(--blue-dark); }
.prose p + h3 { margin-top: 2.2em; }
.notice { padding: 24px; border-left: 5px solid var(--blue); background: #e5f7fb; }

.site-footer { color: var(--white); background: var(--ink); }
.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 34px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 55px;
}
.site-footer h4 { color: var(--pink); }
.site-footer a { color: var(--white); }
.site-footer .button-light { color: var(--ink); }
.site-footer .button-light:hover { color: var(--white); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 8px 0; }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.17); color: rgba(255,255,255,.72); font-size: .84rem; text-align: center; }
.socials { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 1050px) {
  .header-inner { min-height: 84px; }
  .brand { flex-basis: 255px; }
  .brand img { width: 255px; }
  .header-inner { flex-direction: row; padding: 12px 0; }
  .header-socials { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; position: static; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 24px 30px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: grid; grid-template-columns: repeat(2, 1fr); justify-content: start; gap: 2px 28px; }
  .site-nav a { padding: 9px 0; }
  .card-grid, .speaker-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery.books { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .header-inner, .container, .hero-content, .footer-inner { width: min(100% - 30px, var(--max)); }
  .narrow { width: min(100% - 30px, 790px); }
  .brand { flex-basis: 230px; }
  .brand img { width: 230px; }
  .hero { min-height: 620px; }
  .hero-short { min-height: 460px; }
  .welcome { padding: 50px 0; }
  .welcome-inner { width: min(100% - 30px, 1050px); min-height: 0; }
  .welcome-inner > img { width: 88%; height: 290px; }
  .welcome-card { position: relative; width: 88%; margin: -44px 0 0 auto; top: auto; padding: 34px 28px; }
  .welcome-photo .welcome-inner { min-height: 0; }
  .welcome-photo .welcome-inner > img { width: 100%; height: 260px; object-position: center; }
  .welcome-photo .welcome-card { right: auto; bottom: auto; width: calc(100% - 30px); margin: -34px auto 0; padding: 32px 26px; }
  .quote-carousel { min-height: 610px; }
  .quote-slide { padding: 60px 36px; }
  .quote-slide blockquote { padding: 24px 22px; }
  .carousel-button { width: 44px; height: 44px; }
  .carousel-previous { left: 10px; }
  .carousel-next { right: 10px; }
  .section { padding: 65px 0; }
  .quote-panel { min-height: 0; grid-template-columns: 1fr; }
  .quote-panel:nth-child(even) .quote-image { order: 0; }
  .quote-image { height: 430px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
  .card-grid, .card-grid.two, .speaker-grid, .gallery, .footer-inner { grid-template-columns: 1fr; }
  .gallery.books { grid-template-columns: repeat(2, 1fr); }
  .gallery img { min-height: 0; }
  .schedule { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-intro { padding: 80px 0 58px; }
}

@media (max-width: 480px) {
  .brand { flex-basis: 195px; }
  .brand img { width: 195px; }
  .site-nav ul { grid-template-columns: 1fr; }
  .gallery.books { grid-template-columns: 1fr 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
