/* Moon Bridal public website. Replicates the Squarespace site's look: Moon brown, ivory white, light serif display type.
   Fonts: Newsreader (display, stands in for Ivy Presto Display) and Figtree (text, stands in for Degular Text). Both OFL, self-hosted. */

@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/newsreader-normal.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300; font-display: swap; src: url(/assets/fonts/newsreader-italic.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/figtree-normal.woff2) format('woff2'); }

:root {
  --brown: #685950;
  --tan: #a09075;
  --soft: #edebea;
  --taupe: #877b72;
  --ink: #000;
  --orange: #f4b78e;
  --map-bg: #dadce1;
  --pad: clamp(20px, 3vw, 43px);
  --header-h: 77px;
  --serif: 'Newsreader', 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: clamp(40px, 4.64vw, 66.84px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16.7px; line-height: 1.5; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .display { font-family: var(--serif); font-weight: 300; letter-spacing: -0.012em; }
em { font-style: italic; }
main { display: block; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: #000; padding: 10px 14px; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }

.display { font-size: var(--display); line-height: 1.23; }
.display--center { text-align: center; }
.display--italic { font-style: italic; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; text-align: center; font-family: var(--sans); font-weight: 600; font-size: 11.5px; letter-spacing: 0.15em; text-transform: uppercase; line-height: 1; padding: 17px 24px; transition: background-color .25s, color .25s; }
.btn--brown { background: var(--brown); color: #fff; }
.btn--brown:hover { background: #4f433c; }
.btn--soft { background: var(--soft); color: var(--brown); padding: 20px 54px; font-size: 10.5px; }
.btn--soft:hover { background: #fff; }
.btn--taupe { background: var(--taupe); color: #fff; font-style: italic; font-weight: 400; font-size: 17px; letter-spacing: 0.12em; text-transform: none; padding: 16px 38px; }
.btn--taupe:hover { background: var(--brown); }

.underline-link { text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 100% 3px no-repeat; padding-bottom: 3px; transition: background-size .25s; }
.underline-link:hover { background-size: 100% 100%; background-color: transparent; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: #fff; height: var(--header-h); }
.site-header__bar { height: 100%; display: flex; align-items: center; padding: 0 var(--pad); gap: 24px; }
.logo { font-family: var(--serif); font-weight: 300; font-size: 27px; letter-spacing: -0.02em; text-decoration: none; margin-right: auto; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav ul { display: flex; gap: 24px; }
.site-nav ul a { font-size: 13.3px; font-weight: 400; text-decoration: none; padding: 4px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s; }
.site-nav ul a:hover, .site-nav ul a[aria-current='page'] { background-size: 100% 1px; }
.site-nav__cta { margin-left: 8px; font-size: 10.5px; padding: 17px 22px; }
.burger { display: none; width: 44px; height: 44px; margin-left: -10px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: #000; transition: transform .25s, top .25s; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

main { padding-top: var(--header-h); }
.page-home main, .page-appointment main { padding-top: 0; }

/* Home hero */
.hero { position: relative; height: max(560px, 95svh); max-height: 980px; background: #000; overflow: hidden; display: flex; align-items: flex-end; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: rgba(0,0,0,.12); }
.hero__title { position: relative; color: #fff; font-size: clamp(46px, 5.84vw, 84px); line-height: 1.176; padding: 0 var(--pad) clamp(36px, 6.4vw, 92px); max-width: 8.4em; }

.band { background: var(--tan); color: #fff; display: flex; align-items: center; gap: clamp(20px, 4.5vw, 66px); padding: 33px var(--pad); min-height: 152px; }
.band__art { width: clamp(110px, 15vw, 216px); height: auto; flex: none; filter: none; }
.band p { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.02vw, 29px); line-height: 1.3; letter-spacing: -0.012em; }

/* Carousels */
.carousel { position: relative; }
.carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { flex: none; scroll-snap-align: start; }
.carousel__controls { display: contents; }
.carousel__btn { position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(104, 89, 80, .92); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, opacity .2s; }
.carousel__btn:hover { background: #4f433c; }
.carousel__btn svg { width: 22px; height: 10px; }
.carousel__btn[disabled] { opacity: .35; cursor: default; }

.home-services { padding: clamp(60px, 7.2vw, 104px) 0 clamp(60px, 6vw, 86px); }
.home-services .display { padding: 0 var(--pad); margin-bottom: clamp(36px, 5.6vw, 80px); }
.carousel--services .carousel__track { gap: 20px; padding: 0 var(--pad); scroll-padding: 0 var(--pad); }
.carousel--services .carousel__item { width: clamp(260px, 21.7vw, 313px); }
.carousel--services .carousel__btn { top: calc(clamp(260px, 21.7vw, 313px) / 2 - 22px); }
.carousel--services .carousel__btn[data-dir='-1'] { left: calc(var(--pad) + 17px); }
.carousel--services .carousel__btn[data-dir='1'] { right: calc(var(--pad) + 17px); }
.svc-card__img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; }
.svc-card h3 { font-size: clamp(28px, 2.61vw, 37.6px); line-height: 1; margin: 30px 0 20px; letter-spacing: -0.015em; }
.svc-card p { font-size: 15px; line-height: 1.6; color: #1b1b1b; letter-spacing: .01em; }

/* Wave sections */
.cta-wave { position: relative; background: var(--brown); color: #fff; text-align: center; padding: clamp(40px, 4.4vw, 64px) var(--pad) clamp(44px, 4.6vw, 66px); margin: clamp(30px, 4.4vw, 63px) 0 clamp(70px, 8vw, 116px); }
.cta-wave::before, .cta-wave::after { content: ''; position: absolute; left: 0; right: 0; height: clamp(24px, 4.4vw, 63px); background: var(--brown); }
.cta-wave::before { bottom: 100%; clip-path: ellipse(75% 100% at 50% 100%); }
.cta-wave::after { top: 100%; clip-path: ellipse(75% 100% at 50% 0); }
.cta-wave__title { font-size: clamp(40px, 5.84vw, 84px); line-height: 1.18; font-weight: 300; margin-bottom: clamp(18px, 2vw, 28px); }
.cta-wave__title em { display: block; }

.home-brides { padding: 0 0 clamp(36px, 4vw, 56px); text-align: center; }
.home-brides .display { margin-bottom: clamp(26px, 3vw, 42px); }
.carousel--brides .carousel__track { gap: clamp(30px, 8.8vw, 127px); padding: 0 clamp(40px, 6.7vw, 96px); scroll-padding: 0 clamp(40px, 6.7vw, 96px); }
.carousel--brides .carousel__item { width: clamp(240px, 22vw, 318px); }
.bride-tile { width: 100%; aspect-ratio: 1; object-fit: cover; }
.carousel--brides .carousel__btn { top: calc(clamp(240px, 22vw, 318px) / 2 - 22px); }
.carousel--brides .carousel__btn[data-dir='-1'] { left: calc(var(--pad) + 17px); }
.carousel--brides .carousel__btn[data-dir='1'] { right: calc(var(--pad) + 17px); }
.see-brides { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.05vw, 29.5px); margin-top: clamp(40px, 4.6vw, 66px); }

/* Footer */
.site-footer { background: var(--brown); color: rgba(255,255,255,.74); position: relative; padding: clamp(48px, 6.2vw, 90px) var(--pad) 0; min-height: 387px; display: flex; flex-direction: column; }
.site-footer--wave { padding-top: clamp(76px, 8.6vw, 124px); }
.site-footer--wave::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: clamp(20px, 2.9vw, 42px); background: #fff; clip-path: ellipse(75% 100% at 50% 0); }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(20px, 2.6vw, 38px); }
.f-find { order: 1; } .f-reach { order: 2; } .f-hours { order: 3; } .f-follow { order: 4; }
.site-footer h2 { font-size: 27px; line-height: 1.36; color: rgba(255,255,255,.62); margin-bottom: 28px; }
.site-footer p { font-size: 15px; line-height: 1.55; margin-bottom: 16px; }
.site-footer strong { font-weight: 600; }
.site-footer a { text-underline-offset: 3px; }
.site-footer a[href^="tel:"], .site-footer a[href^="mailto:"] { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__legal { margin-top: auto; padding: 0 0 22px; font-size: 11px !important; color: rgba(255,255,255,.5); margin-bottom: 0 !important; }

/* Services page */
.services-page { padding: clamp(48px, 9.2vw, 133px) var(--pad) 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(30px, 6.9vw, 100px); row-gap: clamp(56px, 8.2vw, 118px); align-items: start; margin-top: clamp(40px, 5.3vw, 76px); }
.svc-page-card { text-align: center; }
.svc-page-card__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.svc-page-card h2 { font-size: clamp(21px, 1.7vw, 24.5px); margin: 26px 0 8px; line-height: 1.2; }
.svc-page-card p { font-size: 14.4px; line-height: 1.55; color: #1b1b1b; margin-bottom: 14px; }
.svc-page-card .svc-page-card__sub { font-style: italic; font-size: 13px; margin-bottom: 36px; }
.services-grid__intro { align-self: center; text-align: center; font-family: var(--serif); font-weight: 300; font-size: clamp(18px, 1.55vw, 22.5px); line-height: 1.3; letter-spacing: -0.012em; }
.services-cta { text-align: center; padding: clamp(52px, 5.8vw, 84px) var(--pad) clamp(40px, 4.5vw, 64px); }
.services-cta h2 { font-size: clamp(27px, 2.84vw, 40.9px); line-height: 1.23; }
.services-cta h2 span { display: block; }
.services-cta .btn { margin-top: clamp(28px, 3vw, 42px); }
.services-cta__note { margin-top: clamp(40px, 4.5vw, 65px); font-size: 18px; color: #555; letter-spacing: .01em; }

/* SEO pages: scoped additions preserve the existing page layouts. */
.svc-page-card .svc-page-card__more { font-size: 13px; }
.seo-page { padding: clamp(28px, 4.4vw, 64px) var(--pad) 0; color: var(--brown); }
.seo-breadcrumbs { max-width: 760px; margin: 0 auto 32px; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.seo-page h1 { max-width: 1000px; margin: 0 auto clamp(28px, 4vw, 58px); overflow-wrap: anywhere; }
.seo-page__hero { width: 100%; max-width: 760px; aspect-ratio: 4/3; object-fit: cover; border-radius: 0; margin: 0 auto clamp(36px, 4.4vw, 64px); }
.seo-prose { max-width: 645px; margin: 0 auto; font-size: 16.7px; line-height: 1.7; overflow-wrap: anywhere; }
.seo-prose p, .seo-prose ul { margin: 0 0 1.5em; }
.seo-prose h2 { font-size: clamp(32px, 3.2vw, 40px); line-height: 1.2; margin: 1.4em 0 .55em; }
.seo-prose h3 { font-size: 28px; line-height: 1.3; margin: 1.25em 0 .6em; }
.seo-prose ul { list-style: disc; padding-left: 1.4em; }
.seo-prose li { padding-left: .25em; margin-bottom: .5em; }
.seo-related { padding: clamp(36px, 5vw, 72px) var(--pad) 0; color: var(--brown); }
.seo-related__grid { max-width: 1100px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 6.9vw, 100px); }
.seo-related__card { text-align: center; overflow-wrap: anywhere; }
.seo-related__card h3 { font-size: 24.5px; line-height: 1.2; margin-bottom: 16px; }
.seo-related__card p { color: #1b1b1b; font-size: 14.4px; line-height: 1.55; }
@media (max-width: 900px) { .seo-related__grid { grid-template-columns: 1fr; gap: 36px; } }

/* Brides index */
.brides-intro { padding: clamp(28px, 4.4vw, 64px) var(--pad) 0; text-align: center; }
.brides-intro h1 { max-width: 9.4em; margin: 0 auto clamp(26px, 3vw, 44px); font-size: clamp(46px, 5.84vw, 84px); line-height: 1.18; }
.brides-intro p { font-family: var(--serif); font-weight: 300; font-size: clamp(19px, 1.88vw, 27px); line-height: 1.36; max-width: 1012px; margin: 0 auto clamp(24px, 2.8vw, 40px); letter-spacing: -0.01em; }
.brides-grid { padding: clamp(24px, 3.2vw, 46px) var(--pad) 0; }
.brides-grid ul { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(30px, 13.9vw, 200px); row-gap: clamp(30px, 4.2vw, 60px); }
.bride-card { position: relative; display: block; aspect-ratio: 1; overflow: hidden; text-decoration: none; }
.bride-card__img { width: 100%; height: 100%; object-fit: cover; }
.bride-card__name { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 2.6vw, 38px); background: rgba(255,255,255,.86); opacity: 0; transition: opacity .35s; }
.bride-card:hover .bride-card__name, .bride-card:focus-visible .bride-card__name { opacity: 1; }
.brides-outro { text-align: center; padding: clamp(60px, 7vw, 100px) var(--pad) clamp(70px, 8vw, 116px); }
.brides-outro__title { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 3.9vw, 56px); line-height: 1.2; margin-bottom: clamp(20px, 2.4vw, 34px); }
.brides-outro p:last-child { font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 1.88vw, 27px); }

/* Bride page */
.bride-page { padding: clamp(36px, 6.6vw, 96px) 0 0; }
.bride-page h1 { font-size: clamp(52px, 5.84vw, 84px); line-height: 1.18; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 7.5vw, 108px); padding: clamp(28px, 4.6vw, 66px) clamp(20px, 7.5vw, 108px) 0; align-items: start; }
.gallery__col { display: flex; flex-direction: column; gap: clamp(20px, 7.5vw, 108px); }
.gallery__img { width: 100%; height: auto; }
.bride-pager { display: flex; justify-content: space-between; align-items: center; padding: clamp(40px, 5vw, 72px) var(--pad) clamp(40px, 5vw, 72px); }
.bride-pager__link { display: inline-flex; align-items: center; gap: 22px; text-decoration: none; font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.05vw, 29.5px); transition: opacity .2s; }
.bride-pager__link:hover { opacity: .6; }
.chev { width: 11px; height: 20px; }

/* Appointment */
.appt-hero { position: relative; height: clamp(300px, 29.4vw, 424px); margin-top: 0; display: grid; place-items: center; overflow: hidden; padding-top: var(--header-h); background: #2a2a1f; }
.appt-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.appt-hero__shade { position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.appt-hero__title { position: relative; color: #fff; font-size: clamp(42px, 5.84vw, 84px); line-height: 1.18; text-align: center; max-width: 9em; padding: 0 var(--pad); }
.appt-body { padding: clamp(36px, 4vw, 58px) var(--pad) clamp(50px, 6vw, 86px); }
.appt-body__copy { max-width: 645px; margin: 0 auto; }
.appt-body__copy p { margin-bottom: 1.5em; font-size: 15px; line-height: 1.62; }
.booking { max-width: 900px; margin: clamp(28px, 3.3vw, 48px) auto 0; }
.booking__frame { display: block; width: 100%; height: 700px; border: 1px solid #1f2d4a; background: #fff; }
.appt-body__note { max-width: 645px; margin: clamp(30px, 3.5vw, 50px) auto 0; font-size: 15px; }
.here { background: var(--map-bg); padding: clamp(44px, 5.2vw, 75px) var(--pad) clamp(50px, 5.8vw, 84px); text-align: center; }
.here__address { margin: 28px 0 clamp(24px, 2.6vw, 38px); font-size: 17px; line-height: 1.7; letter-spacing: .02em; color: #3a3a3a; }
.here__map { display: block; width: 100%; max-width: 1014px; height: clamp(300px, 34.5vw, 497px); margin: 0 auto; border: 0; filter: grayscale(1) contrast(.95); }
.notfound { padding: 120px var(--pad); text-align: center; }
.notfound p { margin-top: 28px; font-family: var(--serif); font-size: 24px; }

/* Mobile / tablet */
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-header__bar { justify-content: center; position: relative; }
  .burger { display: block; position: absolute; left: calc(var(--pad) - 10px); top: 10px; }
  .logo { margin: 0; font-size: 22px; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; padding: 28px var(--pad); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; overflow-y: auto; }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .site-nav ul { flex-direction: column; gap: 6px; }
  .site-nav ul a { font-family: var(--serif); font-size: 40px; font-weight: 300; line-height: 1.5; background: none; }
  .site-nav ul a[aria-current='page'] { font-style: italic; }
  .site-nav__cta { margin: 28px 0 0; padding: 20px 24px; }

  .hero { height: max(520px, 78svh); }
  .band { flex-direction: row-reverse; align-items: flex-start; gap: 12px; padding: 30px var(--pad); }
  .band__art { width: 88px; margin-top: -6px; }
  .carousel--services .carousel__track, .carousel--brides .carousel__track { gap: 16px; padding: 0 var(--pad); scroll-padding: 0 var(--pad); }
  .carousel--services .carousel__item, .carousel--brides .carousel__item { width: calc(100vw - 2 * var(--pad)); }
  .carousel--services .carousel__btn, .carousel--brides .carousel__btn { position: static; margin: 20px 5px 0; }
  .carousel__controls { display: flex; justify-content: center; }
  .svc-card h3 { margin-top: 22px; }
    .home-brides { padding-bottom: 28px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .f-find { order: 1; } .f-reach { order: 2; } .f-follow { order: 3; } .f-hours { order: 4; }
  .site-footer h2 { margin-bottom: 14px; }
  .site-footer section { margin-bottom: 22px; }
  .site-footer__legal { margin-top: 28px; }

  .services-grid { grid-template-columns: 1fr; row-gap: 52px; }
  .services-grid__intro { padding: 0 8px; }
  .brides-grid ul { column-gap: 14px; row-gap: 14px; }
  .bride-card__name { display: none; }
  .gallery { display: flex; flex-direction: column; gap: 20px; padding-left: var(--pad); padding-right: var(--pad); }
  .gallery__col { display: contents; }
  .gallery figure { order: var(--o); }
  .booking__frame { height: 760px; }
  .here__map { height: 320px; }
}
@media (hover: none) { .bride-card__name { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .carousel__track { scroll-behavior: auto; } * { transition: none !important; } }
