:root {
  --navy: #0b3d5c;
  --deep-blue: #0e4d73;
  --ocean: #1c86c9;
  --sky: #6fc3e8;
  --foam: #eaf7fb;
  --white: #ffffff;
  --gold: #f2b134;
  --gold-dark: #d99a1f;
  /* Darker gold for text on light backgrounds. #d99a1f is only 2.44:1 on
     white, under the 4.5:1 WCAG AA minimum; this is 4.82:1. */
  --gold-text: #9c6708;
  --coral: #f2704b;
  --ink: #123047;
  --shadow: 0 10px 30px rgba(11, 61, 92, 0.15);
  --radius: 16px;
  font-size: 16px;
  /* Stops iOS Safari inflating body text when the phone turns landscape. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: 'Judson', 'Georgia', serif;
  font-weight: 700;
  margin: 0 0 0.4em;
  color: var(--navy);
}

/* Every section heading shares one size. Set here rather than per section so a
   new section can't quietly inherit the browser default the way .sponsors did. */
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

p { margin: 0 0 1em; }

.sponsor-banner {
  background: var(--gold);
  text-align: center;
  padding: 10px 20px;
}
.sponsor-banner p {
  margin: 0;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
}
.sponsor-banner a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sponsor-banner a:hover {
  color: var(--deep-blue);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-text);
  margin: 0 0 0.6em;
}

.lede {
  font-size: 1.1rem;
  max-width: 640px;
  color: var(--deep-blue);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(242, 177, 52, 0.4);
}
.btn-primary:hover { background: var(--gold-dark); }

.btn-secondary {
  background: transparent;
  color: var(--ocean);
  border: 2px solid var(--ocean);
}
.btn-secondary:hover { background: var(--ocean); color: var(--white); }

.btn-large { padding: 18px 44px; font-size: 1.15rem; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--deep-blue) 55%, var(--ocean) 100%);
  color: var(--white);
  padding-bottom: 90px;
  overflow: hidden;
}

.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.bubbles span {
  position: absolute;
  bottom: -40px;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.55), rgba(255,255,255,0.06) 70%);
  border: 1px solid rgba(255,255,255,0.35);
  animation: bubble-rise linear infinite;
}

@keyframes bubble-rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.8; }
  50% { transform: translateY(-160px) translateX(8px); }
  90% { opacity: 0.5; }
  100% { transform: translateY(-360px) translateX(-6px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bubbles span { animation: none; opacity: 0.3; }
}

.navbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px 0;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-badge {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
}

.logo-badge-footer {
  width: 68px;
  height: 68px;
}

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  /* 12px keeps the tap target at 46px; 10px left it at 42px, under the 44px
     minimum comfortable touch size. */
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--gold-dark); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 24px 0;
}

.hero .eyebrow { color: var(--sky); }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  /* Display type needs tighter leading than the body's 1.5, which left a
     visible gap between the two title lines. */
  line-height: 1.08;
  margin-bottom: 0.3em;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--foam);
  max-width: 560px;
  margin: 0 auto 2.2em;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 2.2em;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 68px;
  padding: 12px 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
}

.countdown-value {
  font-family: 'Judson', 'Georgia', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.countdown-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--foam);
  margin-top: 2px;
}

.countdown-note {
  color: var(--foam);
  font-size: 1.05rem;
  margin-bottom: 2.2em;
}

.hero-facts {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 2.4em;
}

.hero-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-fact-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-fact-value {
  font-size: 1.05rem;
  color: var(--white);
}

.wave-divider {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}
.wave-divider svg { width: 100%; height: 90px; display: block; }
.wave-divider svg path { fill: var(--white); }

.wave-divider-top {
  position: absolute;
  top: -1px;
  bottom: auto;
  margin-bottom: 0;
}
.wave-divider-top svg path { fill: var(--white); }

/* About */
.about {
  padding: 90px 0 70px;
  text-align: center;
}
.about .lede { margin-left: auto; margin-right: auto; }

.about-image {
  display: block;
  width: 100%;
  /* Required: the width/height attributes on the tag would otherwise force a
     630px height and stretch the image. */
  height: auto;
  max-width: 720px;
  margin: 1.6em auto;
  border: 1px solid var(--sky);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Last year gallery */
.gallery {
  padding: 20px 0 80px;
  text-align: center;
}
.gallery h2 { margin-bottom: 0.5em; }
.gallery-lede {
  max-width: 620px;
  margin: 0 auto 2em;
  color: var(--ink);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--foam);
  border: 1px solid var(--sky);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Details */
.details {
  background: var(--foam);
  padding: 80px 0;
}
.details .eyebrow, .details h2 { text-align: center; }
.details h2 { margin-bottom: 0.9em; }
.details .container > .eyebrow { text-align: center; }

.detail-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.detail-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.detail-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-card h3 { font-size: 1.1rem; margin-bottom: 0.3em; }
.detail-card p { font-size: 0.95rem; color: var(--deep-blue); margin: 0; }

/* Sponsors */
.sponsors {
  padding: 90px 0;
  text-align: center;
}
.sponsors .lede { margin-left: auto; margin-right: auto; margin-bottom: 2.4em; }

.sponsor-tiers {
  margin: 0 auto 3em;
}

.tier { margin-bottom: 30px; }
.tier:last-child { margin-bottom: 0; }

.tier-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.85em;
}

/* Tiles stay one uniform rectangle. The pyramid comes from how many sit in a
   row, not from stretching the top tile into a big empty box. */
.tier-slots {
  display: grid;
  gap: 20px;
  margin: 0 auto;
}
.tier-slots-1 { grid-template-columns: 1fr; }
.tier-slots-2 { grid-template-columns: repeat(2, 1fr); }
.tier-slots-3 { grid-template-columns: repeat(3, 1fr); max-width: 868px; }

/* The three-wide row sets the tile width; the rows above derive theirs from the
   same figure so all six tiles stay identical as the viewport narrows. */
.tier-slots-1 { max-width: min(276px, calc((100% - 40px) / 3)); }
.tier-slots-2 { max-width: min(572px, calc((100% - 40px) / 3 * 2 + 20px)); }

.sponsor-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--sky);
  border-radius: var(--radius);
  min-height: 100px;
  padding: 20px 16px;
  /* Grid items default to min-width:auto, which lets a wide logo push its track
     wider than the container. Deloitte's wordmark was overflowing by 15px. */
  min-width: 0;
  color: var(--ocean);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--foam);
}

/* A filled berth. Logos are capped by height rather than width so a squat
   wordmark like Clayco does not tower over a wide one like JPMorganChase. */
.sponsor-slot-logo {
  border-style: solid;
  border-color: var(--sky);
  background: var(--white);
  padding: 16px 18px;
}
.sponsor-slot-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 32px;
  /* 210px caps the wide wordmarks on desktop; the 100% term keeps them inside
     the tile once it narrows, so nothing ever touches the padding edge. */
  max-width: min(210px, 100%);
}

/* A claimed berth: solid border and a filled ground so it reads as taken
   rather than as another empty placeholder. No logo until approval lands. */
.sponsor-slot-reserved {
  border-style: solid;
  border-color: var(--ocean);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}



/* RSVP */
.rsvp {
  position: relative;
  background: linear-gradient(160deg, var(--ocean) 0%, var(--deep-blue) 100%);
  color: var(--white);
  padding: 110px 0 100px;
  text-align: center;
}
.rsvp .eyebrow { color: var(--gold); }
.rsvp h2 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.rsvp .lede { color: var(--foam); margin-left: auto; margin-right: auto; margin-bottom: 2em; }

/* FAQ */
.faq {
  padding: 80px 0;
  text-align: center;
}
.faq h2 { margin-bottom: 0.9em; }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--foam);
  border-radius: var(--radius);
  padding: 4px 24px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  font-weight: 700;
  color: var(--navy);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ocean);
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  color: var(--deep-blue);
  margin: 0 0 20px;
}
.faq-item .faq-intro { margin-bottom: 10px; }
.faq-list-items {
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--deep-blue);
  line-height: 1.55;
}
.faq-list-items li { margin-bottom: 5px; }
.faq-list-items li:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--foam);
  padding: 40px 0;
  text-align: center;
}
.footer-wordmark { justify-content: center; color: var(--white); margin-bottom: 12px; }
.footer-contact { margin-bottom: 4px; }
.footer-contact a { color: var(--gold); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-copy { font-size: 0.85rem; color: rgba(234, 247, 251, 0.6); margin: 0; }

/* Responsive */
@media (max-width: 1080px) {
  /* Below this the four cards would squeeze under 240px and their titles wrap. */
  .detail-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero-facts { gap: 28px; }
  .navbar { flex-direction: column; gap: 14px; padding-top: 20px; }
  .about, .details, .sponsors { padding: 60px 0; }
  .gallery { padding: 10px 0 55px; }
  .detail-cards { grid-template-columns: 1fr; }

  /* Two across, three rows. Keeps the gallery to about one screen instead of
     six stacked photos, at the cost of smaller faces in the group shots. */
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Stacked one-per-row, the full-size slots ran to ~1.5 screens of empty
     boxes. Two across at a shorter height keeps the section a glance. */
  .tier-slots { gap: 10px; }
  /* Single-logo tiers get a wider tile on phones. At 172px a long wordmark like
     JPMorganChase was width-starved down to 22px tall while everything else sat
     at 32px; 250px lets it reach full height. Bigger tile for the higher tier
     also matches how the tiers are priced. */
  .tier-slots-1 { max-width: 250px; }
  .tier-slots-2 { max-width: 354px; }
  .sponsor-slot { min-height: 76px; padding: 12px 8px; font-size: 0.72rem; }
  .tier-label { font-size: 0.85rem; letter-spacing: 0.14em; }
}
