/* ============================================================
   The Good Wedding Co. — static rebuild
   Palette + type from the original Squarespace theme:
   headings: Orpheus Pro  -> substituted with Cormorant Garamond
   meta:     Adobe Garamond -> substituted with EB Garamond
   body:     Helvetica Neue
   ============================================================ */

:root {
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);
  --dark-accent: hsl(240, 2.6%, 22.5%);
  --light-accent: hsl(0, 0%, 74.9%);
  --gray-section: #c3c3c3;
  --light-section: #f2f2f2;
  /* orpheus-pro / adobe-garamond-pro load from your Adobe Fonts kit when
     ADOBE_FONTS_KIT is set in build.py; Google fonts are the fallback */
  --heading-font: "orpheus-pro", "Cormorant Garamond", "Times New Roman", serif;
  --meta-font: "adobe-garamond-pro", "EB Garamond", Georgia, serif;
  --body-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-h: 120px;

  /* fluid type scale — measured off the original site at 390px and 1280px */
  --fs-h1-hero: calc(25.7px + 1.66vw);   /* 32.2 -> 47   */
  --fs-h1: calc(39.5px + 1.76vw);        /* 46.4 -> 62.1 */
  --fs-h2: calc(30.1px + 1.06vw);        /* 34.2 -> 43.6 */
  --fs-h3: calc(22px + 0.9vw);
  --fs-h4: calc(14.6px + 1.24vw);        /* 19.4 -> 30.4 */
  --fs-quote: calc(20.7px + 0.35vw);     /* 22.1 -> 25.2 */
  --fs-btn: calc(15.3px + 0.17vw);       /* 16   -> 17.5 */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  font-size: 14.4px;
  letter-spacing: -0.01em;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--heading-font);
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.145;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); line-height: 1.206; }
h3 { font-size: var(--fs-h3); }

h4 {
  font-family: var(--heading-font);
  font-weight: 400;
  letter-spacing: normal;
  font-size: var(--fs-h4);
}

/* ---------- header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: var(--white);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.site-header.header-solid::before { display: none; }
.site-header.header-solid { position: relative; background: var(--black); }

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 24px 40px;
  min-height: var(--header-h);
}

.header-nav {
  display: flex;
  gap: 22px;
  font-size: 14.4px;
}
.header-nav a {
  text-decoration: none;
  opacity: .95;
  padding-bottom: 2px;
}
.header-nav a:hover { opacity: 1; }
.header-nav a.active { border-bottom: 1px solid currentColor; }

.header-logo img { width: 120px; height: auto; }

.nav-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  position: relative;
  z-index: 102;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  margin: 6px auto;
  transition: transform .3s, opacity .3s;
}
/* burger -> X */
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    padding: 14px 18px;
    min-height: 90px;
  }
  /* live site: logo top-left, burger right */
  .header-logo {
    grid-column: 1;
    justify-self: start;
    position: relative;
    z-index: 102;
  }
  .header-logo img { width: 64px; }
  .nav-toggle { display: block; }

  /* full-screen overlay menu, like the original */
  .header-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background: var(--black);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  body.menu-open .header-nav {
    opacity: 1;
    visibility: visible;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { color: var(--white); }
  .header-nav a {
    font-size: 33px;
    line-height: 1;
    color: var(--white);
    text-align: center;
    padding: 6px 0;
    opacity: 1;
  }
  .header-nav a.active { border-bottom: 0; }
}

/* ---------- sections ---------- */
.section { position: relative; padding: 100px 24px; }
.section-inner { max-width: 1180px; margin: 0 auto; }

.theme-white  { background: var(--white); color: var(--black); }
.theme-light  { background: var(--light-section); color: var(--black); }
.theme-gray   { background: var(--gray-section); color: var(--black); }
.theme-black,
.theme-inverse { background: var(--black); color: var(--white); }

/* hero */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 160px 24px 140px;
}
.hero.hero-short { min-height: 62vh; }
.hero-bg,
.hero-bg video,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-content h1 {
  font-size: var(--fs-h1-hero);
  line-height: 1;
  margin-bottom: 26px;
}
.hero-content .hero-sub {
  font-family: var(--heading-font);
  font-size: var(--fs-h4);
  line-height: 1;
  margin-bottom: 34px;
}
.hero-content .hero-sub a { text-underline-offset: 6px; }
.hero-content p.hero-text {
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: 17px;
}

/* buttons */
.btn {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: var(--fs-btn);
  font-weight: 500;
  letter-spacing: .04em;
  padding: 14px 42px;
  border: 1px solid currentColor;
  border-radius: 10px;
  text-decoration: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.theme-black .btn:hover,
.theme-inverse .btn:hover,
.hero .btn:hover { background: var(--white); color: var(--black); }
.theme-white .btn:hover,
.theme-light .btn:hover,
.theme-gray .btn:hover { background: var(--black); color: var(--white); }

/* ---------- dividers ---------- */
.divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}
.divider svg { width: 100%; height: 90px; display: block; }
@media (max-width: 700px) { .divider svg { height: 44px; } }

.divider-dashed {
  padding: 40px 0;
  line-height: 0;
  background: var(--white);
}
.divider-dashed svg { width: 100%; height: 70px; display: block; }

/* ---------- intro / text sections ---------- */
.center-col { max-width: 720px; margin: 0 auto; text-align: center; }
.center-col h1, .center-col h2 { margin-bottom: 30px; }
.center-col p { margin-bottom: 18px; }

/* video grid */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin-top: 60px;
}
@media (max-width: 760px) { .video-grid { grid-template-columns: 1fr; gap: 28px; } }

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}
.video-embed img { width: 100%; height: 100%; object-fit: cover; }
.video-embed .play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.video-embed .play-btn::after {
  content: "";
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%,-50%);
  border-left: 22px solid #fff;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}
.video-embed:hover .play-btn { transform: scale(1.07); background: rgba(0,0,0,.75); }
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* two-column (weddings move fast / accordion) */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.two-col h2 { margin-bottom: 26px; }
.two-col p { margin-bottom: 16px; }

/* accordion */
.accordion details {
  border-top: 1px solid rgba(0,0,0,.35);
}
.accordion details:last-child { border-bottom: 1px solid rgba(0,0,0,.35); }
.accordion summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4px;
  cursor: pointer;
  font-size: 16px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s;
  flex: none;
  margin-left: 18px;
}
.accordion details[open] summary::after { transform: rotate(225deg); }
.accordion .accordion-body { padding: 0 4px 24px; }

/* testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 70px;
}
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; gap: 44px; } }
.testimonial blockquote {
  font-family: var(--heading-font);
  font-size: var(--fs-quote);
  line-height: 1.207;
  margin-bottom: 26px;
}
.testimonial cite { font-style: normal; font-size: 16px; }

/* packages CTA (gray section) */
.packages-cta { text-align: center; }
.packages-cta .cta-image {
  width: min(380px, 80%);
  margin: 0 auto;
  border-radius: 190px 190px 24px 24px;
  overflow: hidden;
  aspect-ratio: 380 / 530;
}
.packages-cta .cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.packages-cta h1 {
  margin: -220px auto 210px;
  position: relative;
  z-index: 2;
}
@media (max-width: 700px) { .packages-cta h1 { margin: -140px auto 130px; } }
.packages-cta p { margin-bottom: 30px; }

/* ---------- pricing cards ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  max-width: 1080px;
  margin: 70px auto 0;
}
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; gap: 36px; } }

.pricing-grid > .package-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc(50% - 28px);
  justify-self: center;
}
@media (max-width: 820px) {
  .pricing-grid > .package-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }
}

.package-card {
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 56px 40px 64px;
  text-align: center;
}
.package-card h3 { margin-bottom: 18px; }
.package-card .price {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: clamp(3rem, 6vw, 4.4rem);
  line-height: 1.1;
  margin-bottom: 12px;
}
.package-card .price span {
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}
.package-card .price-note {
  min-height: 42px;
  margin-bottom: 30px;
  font-family: var(--meta-font);
  font-size: 17px;
  font-style: italic;
  line-height: 1.3;
  opacity: .8;
}
.package-card .package-desc {
  text-align: left;
  margin-bottom: 34px;
  font-size: 15.5px;
}
.section-kicker {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pricing-summary {
  max-width: 720px;
  margin: 30px auto 0;
  line-height: 1.65;
}
.pricing-intro p { margin-top: 24px; }
.package-details .pricing-grid { margin-top: 0; }
.package-card h4 {
  text-transform: uppercase;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin: 30px 0 18px;
}
.package-card ul { list-style: none; }
.package-card li { margin-bottom: 12px; font-size: 15.5px; }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: start;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-grid h2 { margin-bottom: 28px; }
.about-grid p { margin-bottom: 18px; }
.about-photos { display: grid; gap: 26px; }
.about-photos figcaption {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  margin-top: 10px;
  text-align: center;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 56px;
  margin-top: 56px;
}
.logo-row img {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .85;
}
@media (max-width: 700px) { .logo-row { gap: 32px; } .logo-row img { height: 38px; } }

/* ---------- forms ---------- */
.form-wrap { max-width: 640px; margin: 0 auto; }
.contact-section { text-align: center; }
.contact-section h1, .contact-section h2 { margin-bottom: 14px; }
.contact-section .contact-email {
  font-family: var(--heading-font);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 54px;
}
.contact-section form { text-align: left; }

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}
.field label .req { opacity: .6; font-size: 12px; margin-left: 6px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 15px;
  color: inherit;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(0,0,0,.85);
  border-radius: 2px;
}
.theme-inverse .field input,
.theme-inverse .field textarea { color: #000; border-color: rgba(255,255,255,.4); }
.field textarea { min-height: 120px; resize: vertical; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.checkbox-group { display: grid; gap: 10px; }
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.checkbox-group input { width: auto; }

form .btn { margin-top: 8px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.image-pair { display: grid; gap: 26px; }

/* calendly */
.calendly-inline-widget { min-width: 320px; height: 700px; }

/* what to expect list */
.expect-list { list-style: none; max-width: 640px; margin: 0 auto 24px; text-align: left; }
.expect-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.15);
}
.expect-list li:first-child { border-top: 1px solid rgba(0,0,0,.15); }

/* offers hero */
.offers-hero-logo { width: 170px; margin: 0 auto 34px; }

/* ---------- footer ---------- */
.site-footer {
  text-align: center;
  padding: 54px 24px 64px;
}
.site-footer.footer-dark { background: var(--black); color: var(--white); }
.site-footer.footer-light { background: var(--white); color: var(--black); }
.social-row {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 30px;
}
.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px solid currentColor;
  border-radius: 10px;
}
.social-row svg { width: 22px; height: 22px; fill: currentColor; }
.site-footer .copyright { font-size: 14px; color: inherit; opacity: .75; }

/* thank-you page */
.thanks-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
}
