/* Weddings page and wedding story pages (white background). */

.weddings { display: flex; flex-direction: column; gap: clamp(48px, 5.5vw, 80px); padding-bottom: clamp(48px, 5.5vw, 80px); font-size: 17px; line-height: 1.5; }
.weddings > section { padding: 0 clamp(16px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 28px; }
.weddings > section.reveal-ready { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.weddings > section.reveal-ready.is-revealed { opacity: 1; transform: none; }

.placeholder { display: flex; align-items: flex-end; padding: 16px; font-size: 14px; font-weight: 400; animation: sharpen .9s var(--ease) backwards; }

.w-hero { display: grid; grid-template-columns: 1.65fr 0.85fr 0.72fr; gap: 6px; height: clamp(440px, 64vh, 680px); }
.w-hero__wide, .w-hero__tall { height: 100%; min-height: 0; }
.w-hero__stack { display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 0; }
.w-hero__sq { flex: 1 1 0; min-height: 0; }
.w-hero__slot { position: relative; overflow: hidden; background: #EAE6DF; }
.w-hero__slot img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0);
  will-change: clip-path; z-index: 0;
}
.w-hero__slot img.is-under { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); z-index: 1; }
.w-hero__slot img.is-on {
  -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); z-index: 2;
  transition: -webkit-clip-path 2.2s cubic-bezier(.65, 0, .25, 1), clip-path 2.2s cubic-bezier(.65, 0, .25, 1);
}
@media (max-width: 820px) {
  .w-hero { grid-template-columns: 1fr 1fr; height: auto; gap: 4px; }
  .w-hero__wide { grid-column: 1 / -1; height: 64vw; min-height: 240px; }
  .w-hero__tall { height: 76vw; min-height: 280px; }
  .w-hero__stack { height: 76vw; min-height: 280px; gap: 4px; }
}

.w-intro { align-items: center; text-align: center; gap: 20px !important; }
.w-intro h1 { max-width: 820px; font-size: clamp(28px, 3.4vw, 46px); font-weight: 300; line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; animation: rise-in .7s var(--ease) backwards; }
.w-intro__tag { font-size: 14px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.w-intro__text { max-width: 820px; font-size: 19px; }

.w-heading { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.w-heading p { font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--mid); }
.w-heading h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 300; letter-spacing: .02em; text-transform: uppercase; }

.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 0 32px; }
.steps li { border-top: 1px solid var(--charcoal); padding: 16px 0; display: flex; flex-direction: column; gap: 6px; }
.steps li > span:first-child { font-size: 13px; letter-spacing: .14em; color: var(--mid); }
.steps strong { font-size: 20px; font-weight: 400; }
.steps li > span:last-child { font-size: 15px; }

/* Packages: each tier has its own tint and an animated metal gradient
   on its name and button border. */
@keyframes shine { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
.gold   { --metal: linear-gradient(90deg, #6E5010, #B48A24, #DDBB5C, #9C7A1E, #6E5010); --tint: #F3EEE1; }
.silver { --metal: linear-gradient(90deg, #4E4E4E, #8E8E8E, #C9C9C9, #757575, #4E4E4E); --tint: #EDEEF0; }
.bronze { --metal: linear-gradient(90deg, #5E2E13, #A5642F, #D89A6A, #86481F, #5E2E13); --tint: #F3EAE4; }
.metal {
  background-image: var(--metal); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: shine 9s linear infinite;
}
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.package { display: flex; flex-direction: column; gap: 18px; padding: 28px 24px; background: var(--tint); }
.package__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.package__head h3 { font-size: 17px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; }
.package__head > span { font-size: 13px; letter-spacing: .1em; color: var(--mid); }
.package__price { font-size: 44px; font-weight: 300; line-height: 1; }
.package ul { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.package li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(35, 35, 35, .12); }
.package li svg { flex: none; margin-top: 4px; }
.package__book {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 18px;
  border: 1px solid transparent; color: var(--charcoal); font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  background: linear-gradient(var(--tint), var(--tint)) padding-box, var(--metal) border-box;
  background-size: 100% 100%, 200% 100%; animation: shine 9s linear infinite; transition: color .35s;
}
.package__book::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--metal); background-size: 200% 100%; animation: shine 9s linear infinite;
  transform: scaleX(0); transform-origin: right center;
  transition: transform .5s var(--ease);
}
.package__book:hover, .package__book:focus-visible { color: var(--white); outline: none; }
.package__book:hover::before, .package__book:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.package__book:hover .metal, .package__book:focus-visible .metal { background-image: none; color: var(--white); -webkit-text-fill-color: var(--white); }

.addons { display: grid; grid-template-columns: 1fr 1fr; background: #F1F0EE; }
.addon { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px 28px; }
.addon + .addon { border-left: 1px solid #CFCCC7; }
.addon strong { font-size: 19px; font-weight: 400; }
.addon > span { font-size: 15px; color: #6A6A6A; }
@media (max-width: 700px) {
  .addons { grid-template-columns: 1fr; }
  .addon + .addon { border-left: 0; border-top: 1px solid #CFCCC7; }
}

.w-heading--row { flex-direction: row; align-items: flex-end; justify-content: space-between; text-align: left; }
.stories-nav { display: flex; gap: 8px; }
.stories-nav button {
  width: 40px; height: 40px; border: 1px solid #CFCBC4; border-radius: 50%;
  background: transparent; color: var(--charcoal); font-size: 16px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s, border-color .2s;
}
.stories-nav button:hover { background: rgba(35,35,35,.06); border-color: var(--charcoal); }

/* Wedding story cards: seamless infinite 2–3 up slider */
.stories { overflow: hidden; }
.stories-track {
  display: flex;
  transition: transform .85s var(--ease);
}
.stories-track.no-anim { transition: none; }
.story { flex: 0 0 calc(100% / 2.6); padding-right: 18px; box-sizing: border-box; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 760px) { .story { flex: 0 0 84%; padding-right: 14px; } }
.story__cover { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.story__cover::after {
  content: ''; position: absolute; inset: auto 0 0; height: 48%;
  background: linear-gradient(transparent, rgba(18, 18, 18, .62));
  pointer-events: none;
}
.story__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.story:hover .story__cover img { transform: scale(1.04); }
.story__cover .placeholder { position: absolute; inset: 0; color: #3A342A; font-size: 13px; }
.story__names {
  position: absolute; left: 14px; right: 14px; bottom: 11px; z-index: 1;
  font-size: 18px; font-weight: 400; line-height: 1.2; color: #fff;
}
.story__info { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid #D6D6D6; }
.story__meta { font-size: 13px; color: #6A6A6A; }
.stories-timer { height: 2px; margin-top: 12px; background: rgba(35, 35, 35, .14); }
.stories-timer div { height: 100%; width: 0; background: var(--charcoal); }
.story .more {
  flex: none; padding-bottom: 2px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px no-repeat; transition: background-size .35s var(--ease);
}
.story:hover .more { background-position-x: 0; background-size: 100% 1px; }

/* FAQs: two columns of questions that open on click. */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; }
.faq__col { border-top: 1px solid #D6D6D6; }
.faq__item { border-bottom: 1px solid #D6D6D6; }
.faq__item summary { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 10px 4px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { flex: none; }
.faq__item h3 { flex: 1; font-size: 19px; font-weight: 400; line-height: 1.35; }
.faq__plus { transition: transform .45s var(--ease); }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__answer { padding: 0 4px 22px 44px; display: flex; flex-direction: column; gap: 8px; }
.faq__note { font-size: 14px; font-weight: 400; }
.faq-picker { display: none; }
@media (max-width: 760px) {
  /* Phones: one question at a time, picked from a dropdown. */
  .faq { grid-template-columns: 1fr; }
  .faq__col { border-top: 0; }
  .faq__item { display: none; border: 0; }
  .faq__item.is-picked { display: block; }
  .faq__item summary { display: none; }
  .faq__answer { padding: 4px 4px 0; }
  .faq-picker { display: block; }
  .faq-picker select { min-height: 52px; font-size: 17px; font-weight: 400; border-bottom-color: var(--charcoal); }
}

/* Enquiry form */
.enquire { max-width: 760px; width: 100%; margin: 0 auto; scroll-margin-top: 24px; }
.enquire h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 300; letter-spacing: .02em; text-transform: uppercase; text-align: center; }
.enquire__step { font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-align: center; color: var(--mid); }
.enquire form .field { font-size: 17px; }
.enquire__page { display: flex; flex-direction: column; gap: 28px; }
.enquire__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px 32px; }
.enquire__wide { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.venue-box { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; min-height: 84px; padding: 14px 16px; background: #E8E6E6; }
.venue-box span { flex: 1 1 200px; }
.venue-box iframe { flex: 1 1 100%; width: 100%; height: 240px; border: 0; margin-top: 4px; background: var(--panel); }
.venue-picks { flex: 1 1 100%; display: flex; flex-direction: column; gap: 4px; }
.venue-pick { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; width: 100%; text-align: left; padding: 8px 10px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: inherit; font-size: 14px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.venue-pick:hover, .venue-pick:focus-visible { border-color: var(--fg); background: var(--panel); outline: none; }
.venue-pick small { color: var(--mid); font-size: 12.5px; }
.enquire__actions { display: flex; align-items: center; justify-content: space-between; }
.big-square {
  width: 76px; height: 76px; padding: 0; border: 1.5px solid var(--charcoal); border-radius: 0; background: var(--white); color: var(--charcoal);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .3s, color .3s;
}
.big-square:hover { background: var(--charcoal); color: var(--white); }
.form-error { min-height: 20px; color: #B3261E; font-size: 15px; }
.enquire__done { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 24px 0; }
.enquire__thanks { font-size: clamp(24px, 3vw, 32px); font-weight: 300; }

/* Wedding story page */
.ws-hero { position: relative; height: clamp(300px, 50vh, 520px); overflow: hidden; animation: rise-in .9s var(--ease) backwards; }
.ws-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-hero__tag { position: absolute; top: 16px; right: 20px; font-size: 13px; color: #3A342A; }
.ws-hero__text {
  position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 4vw, 56px) clamp(16px, 3vw, 40px);
  background: linear-gradient(180deg, rgba(20,20,20,0) 0%, rgba(20,20,20,.6) 100%); color: var(--white);
  display: flex; flex-direction: column; gap: 8px;
}
.ws-hero__text p:first-child { font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.ws-hero h1 { font-size: clamp(32px, 5vw, 72px); font-weight: 300; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; }
.ws-facts { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 0 32px !important; }
.ws-facts div { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid var(--charcoal); }

/* Dark mode overrides when Weddings is viewed with ?theme=dark or toggled to dark */
body:not(.light) .steps li,
body:not(.light) .ws-facts div { border-top-color: var(--fg); }
body:not(.light) .gold   { --metal: linear-gradient(90deg, #C79A3B, #F0CF7A, #FFF0B8, #D9AD4B, #C79A3B); --tint: #2B271F; }
body:not(.light) .silver { --metal: linear-gradient(90deg, #8A8A8A, #D2D2D2, #FFFFFF, #AEAEAE, #8A8A8A); --tint: #27282A; }
body:not(.light) .bronze { --metal: linear-gradient(90deg, #A5642F, #E0A270, #F7CAA2, #C47E47, #A5642F); --tint: #2C2420; }
body:not(.light) .package li { border-top-color: rgba(255,255,255,.12); }
body:not(.light) .package__book { color: var(--fg); }
body:not(.light) .addons { background: var(--panel); }
body:not(.light) .addon + .addon { border-color: var(--line); }
body:not(.light) .addon > span,
body:not(.light) .story__meta { color: var(--grey); }
body:not(.light) .stories-nav button { border-color: var(--line); color: var(--fg); }
body:not(.light) .stories-nav button:hover { background: rgba(255,255,255,.08); border-color: var(--fg); }
body:not(.light) .story__info,
body:not(.light) .faq__col,
body:not(.light) .faq__item { border-color: var(--line); }
body:not(.light) .stories-timer { background: rgba(255,255,255,.14); }
body:not(.light) .stories-timer div { background: var(--fg); }
body:not(.light) .faq-picker select { border-bottom-color: var(--fg); }
body:not(.light) .venue-box { background: var(--panel); }
body:not(.light) .big-square { border-color: var(--fg); background: var(--fg); color: var(--bg); }
body:not(.light) .big-square:hover { background: var(--bg); color: var(--fg); }
.ws-facts span:first-child, .ws-label { font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--mid); }
.ws-day { flex-direction: row !important; flex-wrap: wrap; gap: 24px 64px !important; }
.ws-day__lead { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.ws-day__lead p:last-child { font-size: clamp(22px, 2.4vw, 30px); font-weight: 300; line-height: 1.3; }
.ws-day__story { flex: 2 1 420px; display: flex; flex-direction: column; gap: 20px; }
.ws-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-tags span { padding: 8px 12px; border: 1px solid #C9C9C9; font-size: 13px; line-height: 1; letter-spacing: .1em; text-transform: uppercase; }
.ws-photos { column-count: 3; column-gap: 8px; }
@media (max-width: 1000px) { .ws-photos { column-count: 2; } }
@media (max-width: 600px) { .ws-photos { column-count: 1; } }
.ws-photos button {
  position: relative; display: block; width: 100%; margin: 0 0 8px; padding: 0; border: 0; border-radius: 0;
  break-inside: avoid; cursor: zoom-in; overflow: hidden; animation: rise-in .8s var(--ease) backwards;
}
@supports (animation-timeline: view()) {
  .ws-photos button { animation: rise-in linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
}
.ws-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ws-photos button:hover img { transform: scale(1.03); }
.ws-photos .ph-label { position: absolute; left: 12px; bottom: 10px; font-size: 13px; color: #3A342A; }
.ws-nav {
  flex-direction: row !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px !important;
  margin: 0 clamp(16px, 2.4vw, 32px); padding: 20px clamp(16px, 2.4vw, 32px) !important; border-top: 1px solid var(--charcoal);
}
.enquire__grid .consent { grid-column: 1 / -1; }
