/* ========== Design tokens ========== */
:root {
  --navy: #11033F;
  --white: #ffffff;
  --soft: #eeecf8;
  --muted: #4a4560;
  --line: #d9d6e6;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: env(safe-area-inset-top, 0px);
}

/* ========== Base ========== */
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font: 17px/1.6 "DM Sans", system-ui, sans-serif;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  line-height: 1.1;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 5vw, 3rem);
}

section {
  padding: 72px 24px;
}

section.alt {
  background: var(--soft);
}

.wrap {
  max-width: 1000px;
  margin: auto;
}

.lead {
  max-width: 40em;
  font-size: 1.25rem;
}

:is(a, button):focus-visible {
  outline: 3px solid #9b8cff;
  outline-offset: 3px;
}

/* ========== Header ========== */
header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 5;
  background: var(--navy);
  color: var(--white);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: auto;
  padding: 14px 24px;
}

.logo {
  color: var(--white);
  font: 800 1.5rem Fraunces, Georgia, serif;
  text-decoration: none;
}

nav div a {
  margin-left: 22px;
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
}

/* ========== Hero ========== */
.hero {
  padding: 40px 24px 72px;
  background: var(--white);
  color: var(--navy);
  text-align: center;
}

.hero-logo {
  display: block;
  width: min(900px, 100%);
  height: auto;
  margin: 0 auto 8px;
}

.hero h1 {
  max-width: 16em;
  margin: 0 auto 28px;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
}

.hero p {
  max-width: 34em;
  margin: 20px auto 28px;
  color: var(--muted);
  font-size: 1.15rem;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

/* ========== About ========== */
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.event {
  padding: 32px;
  border-radius: 20px;
  background: var(--navy);
  color: var(--white);
}

.event h3 {
  margin-bottom: 16px;
  font-size: 1.6rem;
}

.event dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  margin: 0;
}

.event dt {
  color: #bdb2ff;
  font-weight: 700;
}

.event dd {
  margin: 0;
}

.dark {
  background: var(--navy);
  color: var(--white);
}

.dark .event {
  background: var(--white);
  color: var(--navy);
}

.dark .event dt {
  color: var(--muted);
}

.event-btn {
  display: block;
  margin-top: 24px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.schedule {
  margin-top: 56px;
}

.schedule h3 {
  margin-bottom: 24px;
  font-size: 2rem;
  text-align: center;
}

.schedule ol {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 0 30px;
  list-style: none;
}

.schedule ol::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 2px;
  background: rgba(189, 178, 255, 0.5);
}

.schedule li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.schedule li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--navy);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 2px #bdb2ff;
  transform: translateY(-50%);
}

.schedule li.key {
  background: rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

.schedule time {
  flex: none;
  min-width: 96px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

/* ========== Contact ========== */
.contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.ccard {
  padding: 20px;
  border: 2px solid var(--navy);
  border-radius: 20px;
  background: var(--white);
}

.ccard h3 {
  margin: 16px 0 6px;
  font-size: 1.4rem;
}

.ccard h3:first-child {
  margin-top: 0;
}

.ccard p {
  margin: 0 0 4px;
}

.ccard.info {
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--white);
}

.ccard.info h3 {
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.ccard.info ul {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ccard.info li {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.15rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.ccard.info span {
  display: block;
  margin-bottom: 2px;
  color: #bdb2ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ccard.info a {
  color: var(--white);
  text-decoration: none;
}

.ccard.info li:last-child {
  padding-top: 16px;
}

.ccard.info a.signup {
  display: block;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  text-align: center;
}

.handle {
  font-weight: 700;
}

/* Image placeholder: replace the text inside with <img src="..." alt="..."> */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 12px;
  border: 2px dashed var(--navy);
  border-radius: 12px;
  background: var(--soft);
  font-weight: 500;
  text-align: center;
}

.ph img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
  background: var(--white);
}

/* ========== Footer ========== */
footer {
  padding: 28px 24px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.95rem;
  text-align: center;
}

/* ========== Motion ========== */

/* ========== Mobile ========== */
@media (max-width: 760px) {
  section {
    padding: 56px 20px;
  }

  .cols,
  .contact {
    grid-template-columns: 1fr;
  }

  nav div a {
    margin-left: 14px;
  }
}
