/* pages/home.css */

/* ---------- Hero slideshow ---------- */
.hero { position: relative; min-height: 70vh; min-height: 70svh; overflow: hidden; background: var(--cream-2); color: var(--on-photo); }
@media (min-width: 900px) { .hero { min-height: 86vh; } }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; display: flex; align-items: flex-end; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-media, .hero-media picture { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active .hero-img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.0); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .hero-slide.is-active .hero-img { animation: none; } }
/* deep enough under the words for small caps on a bright photo (11-18), with the soft halo on the words themselves */
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(59,56,53,.68) 0%, rgba(59,56,53,.42) 30%, rgba(59,56,53,.12) 55%, rgba(59,56,53,0) 75%); }
.hero-copy .btn { text-shadow: none; }
.hero-copy { text-shadow: var(--photo-halo); position: relative; z-index: 2; padding-bottom: clamp(72px, 10vh, 120px); text-align: center; }
.hero-title { font-family: var(--font-script); font-style: var(--script-style); font-size: clamp(48px, 9vw, 72px); line-height: 1.05; margin: 0 0 10px; color: var(--on-photo); text-shadow: var(--photo-halo); }
.hero-sparkle { color: var(--gold-pale); display: inline-block; vertical-align: top; margin-left: 4px; }
.hero-sub { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; margin: 0 auto 24px; max-width: 64ch; }
@media (min-width: 900px) { .hero-sub { font-size: 13px; } }

.slider-dots { display: flex; gap: 10px; justify-content: center; }
.hero .slider-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 28px; }
.slider-dots .dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slider-dots .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; transition: background .2s, transform .2s; }
.hero .slider-dots .dot { color: var(--on-photo); }
.slider-dots .dot.is-active::before { background: currentColor; transform: scale(1.15); }

/* Hero variant: one still photo, text centered over it (Brand → Layout) */
.hero-still .hero-slide { align-items: center; }
.hero-still .hero-slide.is-active .hero-img { animation: none; }
.hero-still .hero-overlay { background: rgba(59,56,53,.42); }
.hero-still .hero-copy { padding-block: 120px 48px; }

/* Hero variant: photo beside the text */
.hero-split { display: grid; background: var(--cream-2); }
.hs-media { aspect-ratio: 4 / 5; max-height: 72svh; overflow: hidden; }
.hs-media picture, .hs-media img { width: 100%; height: 100%; object-fit: cover; }
.hs-copy { padding: clamp(36px, 7vw, 96px) var(--gutter); text-align: center; display: grid; justify-items: center; align-content: center; gap: 4px; }
.hs-title { font-family: var(--font-script); font-style: var(--script-style); font-size: clamp(44px, 7vw, 68px); line-height: 1.05; margin: 0 0 10px; color: var(--charcoal); }
.hs-sub { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; margin: 0 0 24px; color: var(--text-muted); max-width: 46ch; }
@media (min-width: 900px) {
  .hero-split { grid-template-columns: 11fr 9fr; min-height: 80vh; }
  .hs-media { aspect-ratio: auto; max-height: none; height: 100%; }
  .hs-copy { text-align: left; justify-items: start; }
  .hs-sub { font-size: 13px; }
}

/* ---------- Intro ---------- */
.intro-grid { display: grid; gap: 40px; align-items: center; }
.intro-grid.no-image { max-width: 760px; text-align: center; }
@media (min-width: 900px) { .intro-grid { grid-template-columns: 5fr 6fr; gap: 72px; } .intro-grid.no-image { grid-template-columns: 1fr; } }
/* The intro photo: the whole photo (never cropped), a faint gold hairline inside it and a gold square offset behind
   its lower right corner (2026-11-19, replaces the shifted full outline that read as a misprint). Same in QMS-Model. */
.framed { position: relative; isolation: isolate; margin: 0 24px 24px 0; }
.framed img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.framed::after { content: ""; position: absolute; inset: 16px; border: 1px solid var(--gold); opacity: .3; pointer-events: none; z-index: 1; }
.framed::before { content: ""; position: absolute; right: -24px; bottom: -24px; width: min(160px, 40%); aspect-ratio: 1; border: 1px solid var(--gold); opacity: .35; pointer-events: none; z-index: -1; }
.intro-text h2 { margin-top: 0; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-tile { aspect-ratio: 4 / 5; }
.cat-tile picture, .cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; }
.more-link { margin: 28px 0 0; }

/* ---------- Packages ---------- */
.pkg-cover { aspect-ratio: 4 / 3; overflow: hidden; }
.pkg-cover img { width: 100%; height: 100%; object-fit: cover; }
.pkg-teaser h3 { margin-bottom: 4px; }
.pkg-teaser .price { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-link); font-weight: 500; }
.btn-row.start { justify-content: flex-start; }

/* ---------- Testimonials ---------- */
.t-slider { position: relative; max-width: 820px; margin: 0 auto; text-align: center; display: grid; }
.t-slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.t-slide.is-active { opacity: 1; visibility: visible; }
.t-mark { display: block; font-family: var(--font-serif); font-size: 96px; line-height: .6; color: var(--text-gold-lg); height: 44px; }
.t-slide blockquote { margin: 0 0 24px; font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 3vw, 30px); line-height: 1.4; color: var(--charcoal); }
.t-slide figcaption { display: inline-flex; gap: 14px; align-items: center; text-align: left; }
.t-slide figcaption strong { display: block; font-weight: 500; }
.t-photo img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; color: var(--text-link); }
.t-controls .dot { color: var(--text-link); }
.t-arrow { color: var(--text-link); }
.t-arrow:hover { background: var(--gold-pale); }

/* ---------- Instagram ---------- */
.insta h2 a { color: inherit; text-decoration: none; }
.insta h2 a:hover { color: var(--text-link); }
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; justify-content: center; }
@media (min-width: 900px) { .insta-grid { grid-template-columns: repeat(auto-fit, minmax(140px, calc((100% - 30px) / 6))); } }
.insta-tile { aspect-ratio: 1; overflow: hidden; display: block; background: var(--cream-2); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.insta-tile:hover img { transform: scale(1.04); opacity: .9; }
