* { box-sizing: border-box; }

:root {
  --mint:#c9e1cc;
  --pink:#db3eb1;
  --aqua:#41b6e6;
  --goldenrod:#b8860b;
  --black:#000;
  --white:#fff;
  --card-w:260px;
  --card-h:374px;
}

html, body {
  margin:0;
  min-width:320px;
  background:var(--mint);
  color:var(--black);
  font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
}

main {
  width:100%;
  overflow:hidden;
}

/* Deliberately a banner, not a full-screen hero. */
.hero {
  display:flex;
  justify-content:center;
  padding:26px 20px 8px;
}

.plate-wrap {
  position:relative;
  width:min(760px, 88vw);
  aspect-ratio:3 / 2;
}

.plate {
  position:absolute;
  inset:0;
  z-index:2;
  width:100%;
  height:100%;
  object-fit:contain;
  pointer-events:none;
}

.hero-media {
  position:absolute;
  z-index:1;
  left:12%;
  right:12%;
  top:24%;
  bottom:26%;
  width:76%;
  height:50%;
  object-fit:cover;
}

.info {
  padding:0 0 42px;
}

.carousel-shell {
  position:relative;
  width:min(900px, 100%);
  margin:0 auto;
}

.carousel {
  display:flex;
  gap:18px;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  padding:10px max(24px, calc((100% - var(--card-w)) / 2)) 16px;
}

.carousel::-webkit-scrollbar { display:none; }

.info-card {
  flex:0 0 var(--card-w);
  width:var(--card-w);
  min-height:var(--card-h);
  background:var(--white);
  border:5px solid var(--black);
  scroll-snap-align:center;
}

.card-bar {
  height:58px;
  border-bottom:5px solid var(--black);
}

.pink { background:var(--pink); }
.aqua { background:var(--aqua); }
.goldenrod { background:var(--goldenrod); }

.card-body { padding:24px 21px 26px; }

.eyebrow {
  margin:0 0 24px;
  font-size:.70rem;
  font-weight:800;
  letter-spacing:.15em;
}

h2 {
  margin:0 0 18px;
  font-size:1.75rem;
  line-height:1;
  letter-spacing:-.035em;
}

.card-body p:not(.eyebrow) {
  margin:0 0 13px;
  font-size:.94rem;
  line-height:1.42;
}

.carousel-button {
  position:absolute;
  top:50%;
  z-index:3;
  width:42px;
  height:42px;
  border:3px solid var(--black);
  border-radius:50%;
  background:var(--white);
  color:var(--black);
  font:inherit;
  font-size:29px;
  line-height:1;
  cursor:pointer;
  transform:translateY(-50%);
}

.prev { left:14px; }
.next { right:14px; }

.date {
  margin:0;
  padding:0 20px 32px;
  text-align:center;
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.18em;
}

@media (max-width:700px) {
  :root {
    --card-w:min(250px, 72vw);
    --card-h:360px;
  }

  .hero {
    padding:18px 12px 0;
  }

  .plate-wrap {
    width:min(620px, 96vw);
  }

  .info { padding-top:0; }

  .carousel {
    gap:16px;
    padding-top:2px;
    padding-left:calc((100vw - var(--card-w)) / 2);
    padding-right:calc((100vw - var(--card-w)) / 2);
  }

  .carousel-button { display:none; }
}

@media (min-width:1000px) {
  .hero { padding-top:30px; }
  .plate-wrap { width:700px; }
}

.carousel-button:disabled {
  opacity: 0.16;
  cursor: default;
  pointer-events: none;
}

/* V1.4 content treatments */
.detail-time { font-size:1.32rem !important; font-weight:800; margin-bottom:20px !important; }
.utility-row { display:flex; flex-wrap:wrap; gap:8px 13px; margin-top:11px !important; }
.utility-row a {
  color:var(--black); font-size:.64rem; font-weight:800; letter-spacing:.09em;
  text-decoration-thickness:1px; text-underline-offset:3px;
}
.hotel { margin-bottom:17px; }
.hotel > strong { display:block; font-size:.91rem; line-height:1.18; }
.hotel .utility-row { margin:6px 0 0 !important; }
.stay-card h2 { font-size:1.45rem; margin-bottom:20px; }
.microcopy { margin-top:4px !important; font-size:.72rem !important; line-height:1.3 !important; }

/* V1.5 utility-link color treatment */
.utility-row a,
.utility-row a:link {
  color: var(--pink);
}

.utility-row a:visited {
  color: var(--goldenrod);
}

.utility-row a:hover,
.utility-row a:focus-visible {
  color: var(--aqua);
}

.utility-row a:active {
  color: var(--aqua);
}

.status-pending {
  margin: -2px 0 0;
  text-align: center;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .18em;
}
@media (max-width:700px) {
  .status-pending { margin-top:-4px; }
}

/* V1.7: status moved to the quiet footer area */
.site-footer {
  padding-bottom: 32px;
  text-align: center;
}
.site-footer .date {
  padding-bottom: 12px;
}
.site-footer .status-pending {
  margin: 0;
}

/* V1.9 normalized card typography */
.info-card h2,
.stay-card h2 {
  font-size: 1.45rem;
  line-height: 1.05;
}

.event-date span {
  display: block;
}

.status-pending strong {
  font-weight: 900;
}

/* V1.13 visual polish */
.hero { padding-top: 12px; padding-bottom: 8px; }
.plate-wrap { aspect-ratio: auto; }
.plate-wrap img { display:block; width:100%; height:auto; object-fit:contain; }

.ceremony-header {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.ceremony-header .eyebrow { margin:0; }
.ceremony-photo {
  width:44%;
  aspect-ratio:3/2;
  object-fit:cover;
  object-position:65% 42%;
  border:1.5px solid var(--black);
  display:block;
}
.ceremony-card h2 { margin-top:0; }

@media (max-width:700px) {
  .hero { padding: 4px 12px 4px; }
  .plate-wrap { width:min(580px,94vw); }
  .info { padding-top:0; }
}

/* V1.14 fix: let the static plate participate in document flow.
   V1.13 left it absolutely positioned while removing the wrapper aspect ratio,
   which collapsed the hero and let the plate overlap the cards. */
.plate-wrap {
  position: relative;
  height: auto;
  aspect-ratio: auto;
}

.plate {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
}

/* Future video can still sit behind the plate when enabled. */
.hero-media {
  position: absolute;
}

/* V1.15 tighter vertical composition */
.hero {
  padding-top: 2px;
  padding-bottom: 0;
}

@media (max-width:700px) {
  .hero {
    padding: 0 10px;
  }

  .plate-wrap {
    width: min(560px, 90vw);
  }

  .info {
    padding-top: 0;
  }

  .carousel {
    padding-top: 0;
  }
}

/* Ceremony: tighten the editorial header/subhead stack */
.ceremony-header {
  margin-bottom: 6px;
  align-items: center;
}

.ceremony-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.0;
}

.ceremony-card .card-body {
  padding-top: 22px;
}

.ceremony-card .ceremony-photo {
  width: 42%;
}

/* V1.16: restore intentional hero breathing room + compact Ceremony masthead */
@media (max-width:700px) {
  .hero {
    padding: 20px 10px;
  }
}

/* Ceremony becomes an editorial masthead: eyebrow + subhead + image in one row */
.ceremony-header {
  display: grid;
  grid-template-columns: auto 1fr 36%;
  align-items: center;
  column-gap: 10px;
  margin-bottom: 14px;
}

.ceremony-header .eyebrow {
  margin: 0;
  white-space: nowrap;
}

.ceremony-header + h2 {
  font-size: 1.08rem;
  line-height: 1.02;
  margin: 0;
}

/* Move the existing subhead into the visual masthead row */
.ceremony-card .card-body {
  display: grid;
  grid-template-columns: 1fr;
}

/* Flatten header contents so the h2 can share its row visually */
.ceremony-header {
  grid-template-columns: auto 1fr 36%;
}

.ceremony-photo {
  width: 100%;
  grid-column: 3;
  grid-row: 1;
  aspect-ratio: 3/2;
}

.ceremony-header .eyebrow {
  grid-column: 1;
  grid-row: 1;
}

/* Position the immediately-following h2 into the open middle of masthead */
.ceremony-header + h2 {
  position: absolute;
  left: 0;
}

/* Use a dedicated wrapper positioning context */
.ceremony-card .card-body {
  position: relative;
}

.ceremony-header + h2 {
  top: 25px;
  left: 112px;
  right: 43%;
  z-index: 1;
}

.ceremony-header ~ p {
  position: relative;
}

/* Mobile card geometry is fixed enough for the compact masthead;
   desktop gets a little more room for the middle title. */
@media (min-width:701px) {
  .ceremony-header + h2 {
    left: 122px;
    right: 41%;
  }
}

/* V1.17: true Ceremony masthead + tighter mobile footer */
.ceremony-card .card-body {
  position: static;
  display: block;
}

.ceremony-header {
  display: grid;
  grid-template-columns: auto 1fr 36%;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ceremony-header .eyebrow {
  grid-column: 1;
  margin: 0;
  white-space: nowrap;
}

.ceremony-header h2 {
  grid-column: 2;
  position: static;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.02;
}

.ceremony-header .ceremony-photo {
  grid-column: 3;
  width: 100%;
  margin: 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 65% 42%;
  border: 1.5px solid var(--black);
}

.ceremony-header ~ p {
  position: static;
}

@media (max-width: 700px) {
  .info {
    padding-bottom: 22px;
  }

  .site-footer {
    padding-bottom: 14px;
  }

  .site-footer .date {
    padding-bottom: 6px;
  }

  .status-pending {
    margin: 0;
  }
}

/* V1.18: fix Ceremony masthead wrapping */
.ceremony-header {
  grid-template-columns: auto minmax(0, 1fr) 31%;
  column-gap: 8px;
}

.ceremony-header h2 {
  font-size: .92rem;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.ceremony-header .ceremony-photo {
  width: 100%;
}

@media (max-width:700px) {
  .ceremony-header {
    grid-template-columns: auto minmax(0, 1fr) 30%;
    column-gap: 7px;
  }

  .ceremony-header h2 {
    font-size: .88rem;
  }
}

/* V1.20: Ceremony alignment final */
.ceremony-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 31%;
  align-items: start;
  gap: 10px;
  margin-bottom: 12px;
}

.ceremony-titles {
  min-width: 0;
}

.ceremony-titles .eyebrow {
  white-space: nowrap;
}

.ceremony-titles h2 {
  position: static;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.ceremony-header .ceremony-photo {
  grid-column: 2;
  width: 100%;
  margin: 0;
  align-self: start;
}

@media (max-width:700px) {
  .ceremony-header {
    grid-template-columns: minmax(0, 1fr) 30%;
    gap: 8px;
  }
  .ceremony-titles h2 {
    font-size: .96rem;
  }
}

/* V1.21: restore shared subheading hierarchy */
.ceremony-titles h2 {
  font-size: 1.45rem;
  line-height: 1.05;
}

/* Align photo visually with the subheading rather than the eyebrow */
.ceremony-header .ceremony-photo {
  margin-top: 24px;
  width: 100%;
}

@media (max-width:700px) {
  .ceremony-titles h2 {
    font-size: 1.45rem;
  }
  .ceremony-header {
    grid-template-columns: minmax(0, 1fr) 32%;
  }
  .ceremony-header .ceremony-photo {
    margin-top: 23px;
  }
}

/* V1.22: keep DETAILS date to the intended two lines on mobile */
.event-date span {
  display: block;
  white-space: nowrap;
}

@media (max-width:700px) {
  .event-date {
    font-size: 1.30rem;
    line-height: 1.04;
    letter-spacing: -0.02em;
  }
}


/* V1.24: Ceremony typography now uses the same shared eyebrow/subheading spacing.
   Only the photo has its own optical offset. */
.ceremony-header .ceremony-photo {
  margin-top: 31px;
}
@media (max-width:700px) {
  .ceremony-header .ceremony-photo {
    margin-top: 31px;
  }
}

/* V1.25: force Ceremony title stack to match every other card exactly.
   Earlier legacy Ceremony selectors were still overriding the global .eyebrow margin. */
.ceremony-titles .eyebrow,
.ceremony-header .eyebrow {
  margin: 0 0 24px 0;
}

.ceremony-titles h2 {
  margin: 0 0 18px 0;
  font-size: 1.45rem;
  line-height: 1.05;
}

/* Keep photo independently positioned; tune this number only if needed. */
.ceremony-header .ceremony-photo {
  margin-top: 37px;
}

@media (max-width:700px) {
  .ceremony-titles .eyebrow,
  .ceremony-header .eyebrow {
    margin-bottom: 24px;
  }

  .ceremony-titles h2 {
    margin-bottom: 18px;
  }

  .ceremony-header .ceremony-photo {
    margin-top: 37px;
  }
}

/* V1.26 VIDEO TEST — preserve the existing hero footprint while swapping in teaser motion */
.hero-plate-video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #C9E1CC;
}

/* V1.27 TRANSPARENT VIDEO TEST */
.hero-plate-video {
  background: transparent !important;
}
