/* COMPONENTS — buttons, cards, gallery, lightbox, films, accordion, form, etc. */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px;
  padding: 0.8rem 1.75rem; border: 1px solid var(--charcoal); border-radius: 999px; font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.02em; text-decoration: none; background: transparent; color: var(--charcoal);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.btn--primary { background: var(--charcoal); color: var(--ivory); }
.btn--primary:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.btn--light { background: var(--white); border-color: var(--white); }
.btn--small { min-height: 42px; padding: 0.55rem 1.3rem; font-size: 0.85rem; }
.text-link { font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.3em; text-decoration-thickness: 1.5px; }

/* Demo labels (turn off with SITE.showDemoLabels = false in content.js) */
.demo-badge { display: none; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); border: 1px dashed var(--gold); border-radius: 999px; padding: 0.15rem 0.65rem; width: fit-content; }
.show-demo .demo-badge { display: inline-block; }
.notice { border: 1px dashed var(--gold); background: var(--white); padding: 1rem 1.25rem; border-radius: var(--radius-md); font-size: var(--fs-small); color: var(--charcoal); }
.notice--center { max-width: 46rem; margin: 2.5rem auto 0; text-align: center; }

/* Print-mount image frame: thin gold offset line behind a photo */
.frame { position: relative; }
.frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--line-gold); z-index: 0; }
.frame > img { position: relative; z-index: 1; width: 100%; }

/* Brand introduction */
.intro { display: grid; gap: 3rem; align-items: center; }
.intro__signature { font-family: var(--font-heading); font-style: italic; font-size: 2.2rem; margin: 1.5rem 0 2rem; color: var(--gold-text); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.25rem; }
.filters--center { justify-content: center; }
.filter-btn { min-height: 44px; padding: 0.45rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 0.88rem; transition: all 0.25s var(--ease); }
.filter-btn:hover { border-color: var(--gold); }
.filter-btn[aria-pressed="true"] { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.gallery { column-count: 1; column-gap: 1.25rem; }
.g-item { break-inside: avoid; margin: 0 0 1.5rem; }
.g-item__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--champagne); overflow: hidden; border-radius: var(--radius-sm); position: relative; }
.g-item__btn img { width: 100%; transition: transform 0.9s var(--ease); }
.g-item__btn:hover img, .g-item__btn:focus-visible img { transform: scale(1.04); }
.g-item__btn::after { content: "View"; position: absolute; right: 0.9rem; bottom: 0.9rem; background: var(--white); color: var(--charcoal); font-size: 0.75rem; padding: 0.3rem 0.8rem; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: all 0.3s var(--ease); }
.g-item__btn:hover::after, .g-item__btn:focus-visible::after { opacity: 1; transform: none; }
.g-item figcaption { padding-top: 0.75rem; }
.g-item__title { font-family: var(--font-heading); font-size: 1.3rem; line-height: 1.2; margin: 0; }
.g-item__label { font-size: var(--fs-small); color: var(--muted); margin: 0.1rem 0 0; }
.gallery-empty { text-align: center; color: var(--muted); padding: 3rem 0; }
.section-cta { margin-top: 2.5rem; text-align: center; }

/* Lightbox + video modal (light theme) */
.overlay { position: fixed; inset: 0; z-index: 300; background: rgba(250, 248, 244, 0.98); display: grid; grid-template-rows: auto 1fr auto; padding: 1rem var(--gutter) 1.25rem; animation: fadeIn 0.25s var(--ease); }
.overlay__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 52px; }
.overlay__count { font-size: var(--fs-small); color: var(--muted); }
.overlay__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; touch-action: pan-y; }
.overlay__stage img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; box-shadow: var(--shadow-soft); background: var(--champagne); }
.overlay__caption { text-align: center; padding-top: 0.9rem; }
.overlay__caption strong { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 500; display: block; }
.overlay__caption span { color: var(--muted); font-size: var(--fs-small); }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: inline-grid; place-items: center; transition: background 0.25s, border-color 0.25s; }
.icon-btn:hover { border-color: var(--gold); background: var(--champagne); }
.icon-btn svg { width: 22px; height: 22px; }
.overlay__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.overlay__nav--prev { left: 0; } .overlay__nav--next { right: 0; }
.video-frame { width: min(100%, 1100px); aspect-ratio: 16 / 9; background: var(--champagne); }
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; background: #000; }
.video-missing { max-width: 34rem; text-align: center; padding: 2rem; background: var(--white); border: 1px dashed var(--gold); border-radius: var(--radius-md); }
.video-modal-stage { display: grid; place-items: center; }

/* Films */
.films { display: grid; gap: 2rem; }
.film-card { margin: 0; }
.film-card__poster { position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 16 / 9; background: var(--champagne); }
.film-card__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.film-card__poster:hover img { transform: scale(1.04); }
.film-card__play { position: absolute; inset: 0; display: grid; place-items: center; }
.film-card__play span { width: 68px; height: 68px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; box-shadow: var(--shadow-soft); transition: transform 0.3s var(--ease), background 0.3s; }
.film-card__poster:hover .film-card__play span { transform: scale(1.08); background: var(--white); }
.film-card__play svg { width: 26px; height: 26px; margin-left: 3px; fill: var(--charcoal); }
.film-card h3 { margin: 1rem 0 0.25rem; }
.film-card p { color: var(--muted); margin: 0; }

/* Services */
.cards { display: grid; gap: 1.25rem; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 2rem 1.75rem; display: flex; flex-direction: column; transition: border-color 0.3s, box-shadow 0.3s; }
.service-card:hover { border-color: var(--line-gold); box-shadow: var(--shadow-soft); }
.service-card__icon { width: 44px; height: 44px; color: var(--gold-text); margin-bottom: 1.25rem; }
.service-card__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.4rem; }
.service-card p { color: var(--muted); flex: 1; }
.service-card .text-link { font-size: 0.9rem; width: fit-content; }

/* Why choose */
.why { display: grid; gap: 2.25rem; }
.why__item { border-top: 1px solid var(--line-gold); padding-top: 1.5rem; }
.why__item h3 { font-size: 1.45rem; }
.why__item p { color: var(--muted); margin: 0; }

/* Timeline (mobile: vertical) */
.timeline { display: grid; gap: 0; position: relative; counter-reset: step; }
.timeline__step { position: relative; padding: 0 0 2.25rem 3.5rem; }
.timeline__step::before { content: ""; position: absolute; left: 1.2rem; top: 2.4rem; bottom: 0; width: 1px; background: var(--line-gold); }
.timeline__step:last-child { padding-bottom: 0; } .timeline__step:last-child::before { display: none; }
.timeline__num { position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--gold); background: var(--ivory); display: grid; place-items: center; font-family: var(--font-heading); font-size: 1.15rem; }
.timeline__step h3 { font-size: 1.5rem; margin-top: 0.15rem; }
.timeline__step p { color: var(--muted); margin: 0; }

/* Featured story */
.story { display: grid; gap: 2.5rem; align-items: center; }
.story__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: var(--fs-small); color: var(--muted); margin-bottom: 1.25rem; }
.story__highlights { margin: 1.25rem 0 1.75rem; }
.story__highlights li { padding: 0.45rem 0 0.45rem 1.5rem; position: relative; }
.story__highlights li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 0.7rem; height: 1px; background: var(--gold); }
.story__images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.story__images img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.story__images img:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }

/* Packages */
.package { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 2.25rem 1.9rem; display: flex; flex-direction: column; }
.package--feature { border-color: var(--gold); box-shadow: var(--shadow-soft); }
.package h3 { font-size: 1.9rem; margin: 0.5rem 0 0.25rem; }
.package__desc { color: var(--muted); font-size: var(--fs-small); }
.package__price { font-family: var(--font-heading); font-size: 1.7rem; margin: 0.75rem 0 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.package__list { flex: 1; margin-bottom: 1.75rem; }
.package__list li { padding: 0.4rem 0 0.4rem 1.6rem; position: relative; font-size: 0.95rem; }
.package__list li::before { content: ""; position: absolute; left: 0.1rem; top: 0.95em; width: 0.7rem; height: 0.35rem; border-left: 1.5px solid var(--gold-text); border-bottom: 1.5px solid var(--gold-text); transform: rotate(-45deg); }
.package .btn { width: 100%; }
.quote-row { margin-top: 2.5rem; text-align: center; }

/* Testimonials carousel */
.carousel { position: relative; max-width: 54rem; margin-inline: auto; }
.carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: center; padding: 0.5rem 0.25rem 1rem; text-align: center; }
.testimonial__quote { font-family: var(--font-heading); font-size: clamp(1.45rem, 3.2vw, 2.05rem); line-height: 1.35; margin: 0 0 1.75rem; }
.testimonial__who { display: inline-flex; align-items: center; gap: 0.9rem; text-align: left; }
.testimonial__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--champagne); display: grid; place-items: center; font-family: var(--font-heading); font-size: 1.2rem; flex: none; }
.testimonial__name { font-weight: 600; margin: 0; line-height: 1.3; }
.testimonial__place { font-size: var(--fs-small); color: var(--muted); margin: 0; }
.testimonial .demo-badge { margin: 0 auto 1.25rem; }
.carousel__controls { display: flex; justify-content: center; align-items: center; gap: 1.25rem; margin-top: 1.5rem; }
.carousel__dots { display: flex; gap: 0.35rem; }
.carousel__dot { width: 28px; height: 28px; border: 0; background: none; display: grid; place-items: center; }
.carousel__dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold-text); transition: background 0.2s; }
.carousel__dot[aria-current="true"]::before { background: var(--gold-text); }

/* Brand statements */
.statements { display: grid; gap: 1.5rem; text-align: center; }
.statements p { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; margin: 0; }
.statements p + p { border-top: 1px solid var(--line-gold); padding-top: 1.5rem; }

/* FAQ */
.faq { max-width: var(--container-narrow); margin-inline: auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { margin: 0; font-size: inherit; font-family: inherit; }
.faq__btn { width: 100%; text-align: left; background: none; border: 0; padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-heading); font-size: 1.4rem; line-height: 1.25; }
.faq__icon { flex: none; width: 18px; height: 18px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: var(--gold-text); transition: transform 0.3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__btn[aria-expanded="true"] .faq__icon::after { transform: rotate(0); }
.faq__panel { overflow: hidden; height: 0; transition: height 0.3s var(--ease); }
.faq__panel-inner { padding: 0 0 1.5rem; color: var(--muted); max-width: 38rem; }
.faq__panel-inner p:last-child { margin: 0; }

/* Contact + form */
.contact { display: grid; gap: 3rem; }
.contact-list { margin: 2rem 0; }
.contact-list li { padding: 0.9rem 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt, .contact-list .k { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; display: block; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: clamp(1.5rem, 4vw, 2.75rem); }
.form-grid { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label, .field legend { font-size: 0.88rem; font-weight: 500; padding: 0; }
.field .req { color: var(--gold-text); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem; font: inherit; color: var(--charcoal);
  background: var(--ivory); border: 1px solid #cfc7b9; border-radius: var(--radius-sm); transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-text); box-shadow: 0 0 0 3px rgba(183, 154, 107, 0.35); }
.field [aria-invalid="true"] { border-color: #9b2c2c; background: #fff7f6; }
.field__error { color: #9b2c2c; font-size: 0.82rem; min-height: 0; margin: 0; }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset legend { margin-bottom: 0.4rem; }
.checks { display: grid; gap: 0.1rem 1rem; border: 0; padding: 0; margin: 0; }
.check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.92rem; padding: 0.4rem 0; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 0.15rem; accent-color: var(--charcoal); flex: none; }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 0.5rem; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: 0.95rem; }
.form-status--success { background: #eef6ee; border: 1px solid #9ac49a; }
.form-status--error { background: #fdf0ee; border: 1px solid #d99a94; }
.form-status--info { background: var(--ivory); border: 1px solid var(--gold); }
.form-status a { font-weight: 500; }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 1rem 0 0; }

/* Map */
.locations { display: grid; gap: 2rem; }
.location-list li { padding: 1rem 0; border-top: 1px solid var(--line); }
.location-list li:last-child { border-bottom: 1px solid var(--line); }
.location-list strong { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 500; display: block; }
.map { aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); background: var(--champagne); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Social */
.social-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.social-grid a, .social-grid div { display: block; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 1; }
.social-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.social-grid a:hover img { transform: scale(1.05); }

/* Final CTA */
.final-cta { position: relative; isolation: isolate; text-align: center; padding-block: clamp(5rem, 11vw, 9rem); overflow: hidden; }
.final-cta__bg { position: absolute; inset: 0; z-index: -2; }
.final-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(250, 248, 244, 0.82); }
.final-cta h2 { max-width: 18ch; margin-inline: auto; }
.final-cta p { max-width: 34rem; margin-inline: auto; }
.final-cta .hero__actions { justify-content: center; margin-top: 1.75rem; }

/* Back to top */
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.3s var(--ease); box-shadow: var(--shadow-soft); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* Prose pages (privacy policy, 404) */
.prose { max-width: var(--container-narrow); }
.prose h2 { font-size: 1.9rem; margin-top: 2.5rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4rem; }
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem var(--gutter); }
.center-page h1 { font-size: clamp(4rem, 14vw, 9rem); margin: 0; color: var(--gold); }

/* Secondary grey text is too light on champagne, so use charcoal there */
.section--champagne .timeline__step p, .section--champagne .lead, .section--champagne .muted { color: var(--charcoal); }
