@font-face {
  font-family: 'Amiri';
  src: url('amiri-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Amiri';
  src: url('amiri-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

body[class] {
  --font-display: 'Amiri', Georgia, serif;
  --font-sans-custom: 'Amiri', Georgia, serif;
  font-family: 'Amiri', Georgia, serif;
  letter-spacing: .025em;
  text-transform: uppercase;
  color: #bccec8;
  background: #ffffff;
}

button, input, textarea, select {
  font-family: 'Amiri', Georgia, serif;
  letter-spacing: .025em;
}

h1, h2, h3, .password-monogram, .monogram, .footer-brand, .rsvp-mark {
  letter-spacing: .045em;
}

.hero h1, .section-heading h2, .venue-intro h2, .travel-copy h2,
.stay-heading h2, .beaufort-copy h2, .photos-heading h2,
.faq-heading h2, .registry-section h2, .rsvp-copy h2,
.password-card h1 {
  letter-spacing: .045em;
  line-height: 1.06;
}

.hero h1 { font-size: clamp(64px, 8vw, 118px); }
.password-card h1 { font-size: clamp(50px, 8vw, 72px); }

html, body, body[class], .site-header, .hero, .weekend-section,
.venue-section, .venue-card-light, .venue-card-dark, .travel-section,
.travel-copy, .stay-section, .dining-section, .beaufort-section,
.photos-section, .faq-section, .registry-section, .rsvp-section,
footer, .password-page, .password-card {
  background-color: #ffffff;
}

.site-header, .hero, .beaufort-section, .password-page,
.rsvp-section, .travel-copy, .venue-card-dark, .dining-section {
  color: #bccec8;
}

.venue-card-light, .venue-card-dark { border: 1px solid #bccec870; }

footer {
  color: #bccec8;
  border-top: 1px solid #bccec870;
}

.footer-brand, .venue-card-dark, .site-header a { color: #bccec8; }
.site-header { border-bottom: 1px solid #bccec870; }
.site-header a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.site-header .monogram img {
  display: block;
  width: clamp(48px, 5vw, 66px);
  height: clamp(48px, 5vw, 66px);
  border-radius: 50%;
  object-fit: cover;
}
.rsvp-pill { border-color: #bccec8; }
.rsvp-pill:hover { color: #bccec8; background: #ffffff; }
.hero-note, .beaufort-copy > p:not(.eyebrow),
.rsvp-copy > p:not(.eyebrow) { color: #bccec8; }
.hero h1 i, .footer-brand i, .rsvp-mark i,
.beaufort-copy .eyebrow, .rsvp-copy .eyebrow { color: #bccec8; }
.beaufort-list a { border-color: #bccec870; }
.beaufort-list a:hover { color: #bccec8; }
.rsvp-mark, .rsvp-mark::before, .rsvp-mark::after {
  border-color: #bccec870;
}
.button-primary, .button-light { color: #bccec8; background: #ffffff; }
.button-outline { color: #bccec8; border-color: #bccec8; }
.password-page::before, .password-page::after { border-color: #bccec870; }
.password-card { border-color: #bccec870; }
.password-form button {
  color: #bccec8;
  background: #ffffff;
  border-color: #bccec8;
}
.password-form button:hover { background: #ffffff; border-color: #bccec8; }

.subpage main { min-height: 100vh; }

.schedule-day {
  margin: 58px 0 0;
  padding: 0 0 18px;
  border-bottom: 1px solid #bccec870;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(32px, 4vw, 56px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: .025em;
  line-height: 1.1;
  text-transform: none;
}

.schedule-day:first-child { margin-top: 0; }

.event-row:has(+ .schedule-day) { border-bottom: 0; }

@media (max-width: 900px) {
  .schedule-day { margin-top: 44px; }
}

/* The requested palette is intentionally global: every page surface is white
   and every piece of type uses the same blue-green. */
body[class] *,
body[class] *::before,
body[class] *::after {
  color: #bccec8 !important;
}

body[class] input::placeholder,
body[class] textarea::placeholder {
  color: #bccec8 !important;
  opacity: 1;
}

.site-header, .hero, .weekend-section, .venue-section,
.venue-card, .travel-section, .travel-copy, .stay-section,
.stay-grid article, .dining-section, .beaufort-section,
.photos-section, .photo-coming-soon, .faq-section,
.faq-list details, .registry-section, .rsvp-section,
footer, .password-page, .password-card,
.button, .coming-pill, .rsvp-pill,
.password-form input, .password-form button {
  background: #ffffff !important;
}

.eyebrow, .hero-date, .event-status, .venue-kicker, .image-tag,
.coming-pill, .rsvp-copy > span, footer p, footer > a {
  letter-spacing: .13em;
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(54px, 16vw, 84px); line-height: 1; }
}

/* Home page artwork and navigation, matched to the supplied layout. */
html:has(body.home-page),
body.home-page,
body.home-page .home-main,
body.home-page .site-header,
body.home-page .home-details,
body.home-page .weekend-section {
  background: #bccec8 !important;
}

body.home-page {
  min-width: 320px;
}

body.home-page *,
body.home-page *::before,
body.home-page *::after {
  color: #ffffff !important;
}

body.home-page .site-header {
  position: relative;
  z-index: 2;
  display: block;
  height: auto;
  padding: clamp(28px, 4.7vw, 72px) clamp(24px, 2.7vw, 52px);
  border: 0;
}

body.home-page .site-header > .monogram,
body.home-page .site-header > .rsvp-pill {
  display: none;
}

body.home-page .site-header nav {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(7px, 1vw, 18px);
  width: 100%;
}

body.home-page .site-header nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: clamp(58px, 5.4vw, 82px);
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, .82);
  font-size: clamp(10px, 1vw, 16px);
  letter-spacing: .15em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}

body.home-page .site-header nav a:hover,
body.home-page .site-header nav a:focus-visible {
  color: #bccec8 !important;
  background: #ffffff !important;
  outline: none;
}

.home-banner {
  width: 100%;
  overflow: hidden;
}

.home-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.home-date-icon {
  display: block;
  width: clamp(192px, 21vw, 312px);
  height: auto;
  margin: 0 auto 24px;
}

.home-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(380px, 34vw, 620px);
  padding: clamp(64px, 8vw, 120px) 24px;
  text-align: center;
}

.home-details p {
  margin: 0;
}

.home-date,
.home-location {
  font-family: 'Amiri', Georgia, serif;
  font-size: clamp(17px, 2vw, 30px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: .24em;
  line-height: 1.45;
  text-transform: uppercase;
}

.home-location {
  margin-top: 12px !important;
}

.home-countdown {
  margin-top: clamp(44px, 5vw, 76px) !important;
  font-size: clamp(13px, 1.45vw, 22px);
  letter-spacing: .24em;
  line-height: 1.5;
}

body.home-page .weekend-section {
  padding-top: clamp(72px, 9vw, 130px);
  border-top: 1px solid rgba(255, 255, 255, .62);
}

body.home-page .weekend-section .event-list,
body.home-page .weekend-section .event-row,
body.home-page .weekend-section .schedule-day {
  border-color: rgba(255, 255, 255, .52);
}

@media (max-width: 650px) {
  body.home-page .site-header {
    padding: 20px;
    overflow: hidden;
  }

  body.home-page .site-header nav {
    grid-template-columns: repeat(7, minmax(112px, 1fr));
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
  }

  body.home-page .site-header nav a {
    min-height: 54px;
    font-size: 10px;
    white-space: nowrap;
  }

  .home-banner img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-left: 0;
    object-fit: contain;
  }

  .home-details {
    min-height: 390px;
  }

  .home-countdown {
    max-width: 310px;
  }
}

/* RSVP is part of the main menu; the home page intentionally has no corner monogram. */
body.home-page .site-header {
  grid-template-columns: 1fr;
}

body.home-page .site-header > .monogram {
  display: none;
}

body.home-page .site-header nav {
  justify-self: center;
}

.rsvp-copy-simple {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.rsvp-copy-simple > p {
  margin: 0;
}

.rsvp-photo {
  min-height: 620px;
  margin: 0;
  overflow: hidden;
}

.rsvp-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 760px) {
  .rsvp-photo {
    min-height: 70vh;
  }
}

/* Interior pages use the requested olive background with white type and accents. */
body.subpage,
body.subpage main,
body.subpage header,
body.subpage section,
body.subpage article,
body.subpage details,
body.subpage footer,
body.subpage .travel-copy,
body.subpage .venue-card,
body.subpage .photo-coming-soon {
  background: #9ba571 !important;
  background-color: #9ba571 !important;
}

body.subpage *,
body.subpage *::before,
body.subpage *::after {
  color: #ffffff !important;
}

body.subpage .site-header,
body.subpage footer,
body.subpage .event-list,
body.subpage .event-row,
body.subpage .schedule-day,
body.subpage .venue-card,
body.subpage .stay-grid,
body.subpage .stay-grid article,
body.subpage .dining-grid,
body.subpage .dining-item,
body.subpage .beaufort-list,
body.subpage .beaufort-list a,
body.subpage .faq-list,
body.subpage .faq-list details,
body.subpage .rsvp-mark,
body.subpage .rsvp-mark::before,
body.subpage .rsvp-mark::after {
  border-color: rgba(255, 255, 255, .55) !important;
}

body.subpage .button,
body.subpage .coming-pill,
body.subpage .rsvp-pill {
  color: #ffffff !important;
  background: transparent !important;
  border-color: #ffffff !important;
}

body.subpage .button:hover,
body.subpage .rsvp-pill:hover {
  color: #9ba571 !important;
  background: #ffffff !important;
}

/* The home header now matches the navigation used on interior pages. */
body.home-page .site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 94px;
  padding: 0 clamp(24px, 5vw, 78px);
  border-bottom: 1px solid rgba(255, 255, 255, .55);
}

body.home-page .site-header > .monogram,
body.home-page .site-header > .rsvp-pill {
  display: flex;
}

body.home-page .site-header nav {
  display: flex;
  justify-content: center;
  grid-template-columns: none;
  gap: clamp(15px, 2vw, 32px);
  width: auto;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 11px;
}

body.home-page .site-header nav a {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: left;
  white-space: nowrap;
  transition: opacity .2s;
}

body.home-page .site-header nav a:hover,
body.home-page .site-header nav a:focus-visible {
  color: #ffffff !important;
  background: transparent !important;
  opacity: .7;
}

@media (max-width: 900px) {
  body.home-page .site-header {
    display: flex;
    justify-content: center;
    height: auto;
    min-height: 80px;
    padding: 18px 16px;
    overflow: visible;
  }

  body.home-page .site-header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 20px;
    width: 100%;
    line-height: 1.4;
  }

  body.subpage .site-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    min-height: 80px;
    padding: 18px 16px;
    gap: 16px;
    overflow: visible;
  }

  body.subpage .site-header > .monogram {
    display: flex;
    margin: 0 auto;
  }

  body.subpage .site-header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 20px;
    width: 100%;
    line-height: 1.4;
    text-align: center;
  }
}
