/* Servier ACE — match SRV01427 mockup: cream paper, rounded sans, watercolor banners */

body {
  font-size: 17px;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1c3a40;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1.05;
}

.prose h2,
.day h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  color: #1a6b73;
  margin-top: 0;
  margin-bottom: 0.7em;
}

.prose h3 {
  font-size: 1.15rem;
  color: #1c3a40;
  letter-spacing: 0.04em;
}

.prose p,
.lede {
  font-size: 1.02rem;
  line-height: 1.7;
}

.kicker {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.links {
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
}
.links a.btn {
  border: 0;
  padding: 0.7rem 1.45rem;
  margin-left: 0.35rem;
  letter-spacing: 0.12em;
}

.mast {
  min-height: min(52vh, 440px);
}
.mast.hero {
  min-height: min(68vh, 640px);
  align-items: center;
}
.mast.hero .inner {
  text-align: left;
  justify-items: start;
}
.mast.hero .lede,
.mast.hero .cta-row,
.mast.hero .playbill {
  margin-inline: 0;
  text-align: left;
  justify-content: flex-start;
}
.mast h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(20, 40, 48, 0.35);
}
.mast .kicker,
.mast .lede,
.mast .playbill {
  color: #fff;
}

.photo {
  aspect-ratio: 4 / 5;
  border-radius: 180px 180px 22px 22px;
  overflow: hidden;
  background: transparent;
}
.photo.wide { aspect-ratio: 5 / 4; }
.photo img { object-fit: cover; }

/* Destination first still is a framed polaroid — do not crop the frame */
body[data-page="destination"] .block:not(.alt) .split .photo {
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  max-width: 360px;
  margin-left: auto;
}
body[data-page="destination"] .block:not(.alt) .split .photo img {
  object-fit: contain;
  width: 100%;
  height: auto;
}

/* Travel polaroids stay intact */
body[data-page="travel"] .split .photo {
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  max-width: 340px;
  margin-left: auto;
}
body[data-page="travel"] .split .photo img {
  object-fit: contain;
  width: 100%;
  height: auto;
}

/* Welcome couple polaroid */
body[data-page="index"] .block:not(.dark) .split .photo {
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  max-width: 360px;
  margin-left: auto;
}
body[data-page="index"] .block:not(.dark) .split .photo img {
  object-fit: contain;
  width: 100%;
  height: auto;
}

.split {
  align-items: center;
  gap: clamp(1.6rem, 4vw, 4rem);
}

.block.dark {
  background: #1c3a40;
  color: #f6f1e8;
}
.block.dark h2 { color: #f6f1e8; }

.block.dark .tiles {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  width: min(1080px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.block.dark .tile {
  border-radius: 18px;
  aspect-ratio: 16 / 11;
}
.block.dark .tile img {
  object-fit: cover;
  object-position: center center;
}
.block.dark .tile span {
  left: 50%;
  right: auto;
  bottom: 1rem;
  transform: translateX(-50%);
  width: max-content;
  max-width: 90%;
  background: rgba(20, 40, 48, 0.72);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: none;
  padding: 0.4rem 0.95rem;
  z-index: 1;
}
.block.dark .tile::after { background: transparent; }

@media (max-width: 900px) {
  .block.dark .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .block.dark .tiles { grid-template-columns: 1fr; }
}

/* Agenda: mockup is tabs + schedule only, no side couple */

/* Attendee polaroids */
body[data-page="attendees"] .cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem 1.2rem;
}
body[data-page="attendees"] .card {
  background: #fff;
  border: 0;
  box-shadow: 0 8px 24px rgba(28, 58, 64, 0.08);
  border-radius: 6px;
  padding: 0.7rem 0.7rem 1.1rem;
}
body[data-page="attendees"] .card .photo {
  aspect-ratio: 1;
  border-radius: 4px;
  margin: 0;
}
body[data-page="attendees"] .card .photo img {
  object-fit: cover;
  object-position: center top;
}
body[data-page="attendees"] .card .body {
  padding: 0.85rem 0.3rem 0.2rem;
  text-align: center;
}
body[data-page="attendees"] .card h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
  color: #1c3a40;
}
body[data-page="attendees"] .card .meta {
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.78rem;
  opacity: 0.7;
}
@media (max-width: 900px) {
  body[data-page="attendees"] .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Activities cards */
body[data-page="activities"] .lede,
body[data-page="activities"] .notice {
  max-width: none;
  width: 100%;
}
body[data-page="activities"] .card .photo {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}
body[data-page="activities"] .card h3 {
  font-size: 1.2rem;
  color: #1a6b73;
}

/* FAQ two-up feel */
body[data-page="faq"] .narrow { width: min(980px, 92vw); }
body[data-page="faq"] .faq summary {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1c3a40;
}

body[data-page="know"] .split .photo {
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 18px;
  background: transparent;
  max-width: 380px;
  margin-left: auto;
}
body[data-page="know"] .split .photo img {
  object-fit: contain;
  width: 100%;
  height: auto;
}
