/* V1.1: retain the established design; refine composition and motion. */
:root {
  --motion-ease: cubic-bezier(.22,.7,.2,1);
  --motion-duration: 800ms;
}

/* Portraits overscan the viewport slightly so cursor movement cannot expose a seam. */
@media (min-width:761px) {
  .hero { height:clamp(450px,45vw,740px); }
  .hero-portrait { width:min(30vw,470px); max-width:none; }
}

.hero.offscreen .waveform i { animation-play-state:paused; }
.waveform i:nth-child(3n) { animation-direction:reverse; }
@keyframes wave {
  0%,100% { transform:scaleY(.62); }
  28% { transform:scaleY(.92); }
  52% { transform:scaleY(.72); }
  76% { transform:scaleY(1); }
}

/* Never blank out content: a short settle starts as it approaches the viewport. */
.motion-ready .reveal {
  transition:opacity var(--motion-duration) ease, transform var(--motion-duration) var(--motion-ease);
}
.motion-ready .reveal.waiting { opacity:.55; transform:translateY(20px); }
.photo-story .story-image:nth-child(2) { transition-delay:90ms; }
.photo-story .story-image:nth-child(3) { transition-delay:180ms; }
.motion-ready .type-entered em { animation:type-settle 850ms var(--motion-ease) both; }
.motion-ready .specialization .type-entered { animation:type-settle 900ms var(--motion-ease) both; }
.motion-ready .specialization .type-entered em { animation-delay:100ms; }
@keyframes type-settle {
  from { opacity:.6; transform:translateY(12px); }
  to { opacity:1; transform:translateY(0); }
}

/* The frame geometry stays unchanged; only the photograph inside it moves. */
.photo-drift { overflow:hidden; }
.photo-drift img {
  transform:translate3d(0,var(--photo-y,0px),0) scale(1.055);
  transition:transform 650ms var(--motion-ease);
}
.story-image:hover img { transform:translate3d(0,var(--photo-y,0px),0) scale(1.07); }
.episode-image img { object-position:center; }
.episode-image:after { background:linear-gradient(90deg,transparent 91%,var(--ivory)); }
@media (min-width:761px) and (max-width:1100px) {
  .episode-image { min-height:0; aspect-ratio:3 / 2; align-self:center; }
}

/* An open, photographic lounge composition keeps the equipment out of UI graphics. */
.lounge { row-gap:38px; column-gap:9%; }
.lounge > .reveal:first-child { grid-column:1; grid-row:1; }
.lounge-details { grid-column:2; grid-row:1; }
.lounge-photo {
  grid-column:1 / -1;
  grid-row:2;
  width:100%;
  aspect-ratio:2 / 1;
  border-radius:var(--radius);
  background:var(--champagne);
}
.lounge-photo img { width:100%; height:100%; object-fit:cover; object-position:center 60%; }

/* A shared grid aligns both headings and the start of both content columns. */
.planning {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:7%;
  row-gap:34px;
  padding-block:clamp(76px,7vw,108px);
}
.planning .how-it-works, .planning .faq {
  display:grid;
  grid-template-rows:subgrid;
  grid-template-columns:minmax(0,1fr);
  grid-row:1 / span 2;
  padding:0;
  gap:inherit;
  min-width:0;
}
.planning .how-it-works { grid-column:1; }
.planning .faq { grid-column:2; }
.planning .how-heading { position:static; }
.planning .display-heading { font-size:clamp(36px,4.1vw,59px); }
.planning .eyebrow { font-size:.7rem; margin-bottom:22px; max-width:none; }
.planning .text-link { margin-top:24px; }
.planning .steps, .planning .faq-list { align-self:start; }
.planning .steps li { padding:24px 0 28px; gap:18px; }
.planning .steps h3 { font-size:21px; }
.planning .steps p { font-size:15px; }
.planning summary { padding-block:23px; }
.planning details { overflow-anchor:none; }
.button { transition:background 250ms ease,color 250ms ease,transform 350ms var(--motion-ease); }
.button:not(:disabled):hover { transform:translateY(-2px); }
.button:not(:disabled):active { transform:translateY(0); }

@media (max-width:900px) {
  .planning { display:block; padding-block:76px; }
  .planning .how-it-works, .planning .faq { display:block; }
  .planning .faq { margin-top:64px; }
  .planning .steps, .planning .faq-list { margin-top:32px; }
  .planning .display-heading { font-size:clamp(39px,7vw,59px); max-width:650px; }
  .planning .faq h2 em { display:inline; margin-left:10px; }
  .planning .steps h3 { font-size:21px; }
}

@media (max-width:760px) {
  .hero-portrait { max-width:none; }
  .portrait-bride { left:-1%; }
  .portrait-groom { right:-1%; }
  .photo-drift img, .story-image:hover img { transform:none; }
  .episode-image:after { background:linear-gradient(0deg,var(--ivory),transparent 15%); }
  .episode-image img { object-position:center; }
  .lounge { row-gap:28px; }
  .lounge > .reveal:first-child, .lounge-photo, .lounge-details { grid-column:1; }
  .lounge-photo { grid-row:2; aspect-ratio:16 / 9; }
  .lounge-details { grid-row:3; }
  .planning .display-heading { font-size:clamp(35px,8.5vw,54px); }
  .planning .eyebrow { font-size:10px; }
  .planning .steps li { gap:13px; }
  .planning summary { padding-block:22px; }
}

@media (prefers-reduced-motion:reduce) {
  .motion-ready .reveal.waiting { opacity:1; transform:none; }
  .photo-drift img, .story-image:hover img, .button:not(:disabled):hover { transform:none; }
}

/* Approved hero hierarchy: a prominent burgundy statement and a larger waveform. */
.hero .hero-vow {
  pointer-events:auto;
  color:var(--black);
  text-shadow:0 0 .16em rgba(130,38,56,0);
  transition:color 400ms ease, text-shadow 400ms ease;
}
@media (hover:hover) and (pointer:fine) {
  .hero .hero-vow:hover {
    color:var(--burgundy);
    text-shadow:0 0 .16em rgba(130,38,56,.22);
  }
}
@media (prefers-reduced-motion:reduce) {
  .hero .hero-vow { transition:none; }
}

.hero .hero-tagline {
  color:var(--burgundy);
  font-size:clamp(22px,2.15vw,36px);
  font-weight:800;
  line-height:1.25;
  letter-spacing:.045em;
  text-transform:uppercase;
  white-space:normal;
  text-wrap:balance;
  margin:32px auto 0;
}
.hero .waveform { transform:scale(1.28); }
.hero .hero-audio { margin-top:28px; height:88px; }
.hero .scroll-invitation { margin-top:12px; font-size:14px; }

@media (min-width:1100px) {
  .hero { height:clamp(540px,37.5vw,740px); }
  .hero-content { width:57%; padding-top:clamp(70px,4.5vw,100px); }
  .hero h1 { font-size:clamp(52px,7.9vw,140px); }
  .hero h1 em { line-height:.94; }
  .hero-portrait { width:min(23vw,470px); }
  .hero .hero-tagline { white-space:nowrap; font-size:clamp(22px,2.24vw,38px); margin-top:36px; }
  .hero .hero-audio { margin-top:18px; }
  .hero .scroll-invitation { font-size:18px; }
}

@media (min-width:761px) and (max-width:1099px) {
  .hero .hero-tagline { max-width:95%; font-size:clamp(20px,2.4vw,26px); margin-top:25px; }
  .hero .hero-audio { margin-top:20px; height:72px; }
  .hero .scroll-invitation { margin-top:8px; font-size:12px; }
}

@media (max-width:760px) {
  .hero .hero-tagline { font-size:clamp(19px,3.6vw,25px); line-height:1.3; letter-spacing:.035em; max-width:420px; margin-top:24px; }
  .hero .hero-audio { margin-top:18px; height:50px; }
  .hero .waveform { transform:scale(1.16); }
  .hero .scroll-invitation { font-size:12px; }
  .hero-portrait { top:270px; }
  .hero { height:660px; }
  .hero .scroll-invitation { top:600px; }
}

@media (min-width:480px) and (max-width:760px) {
  .hero { height:910px; }
  .hero-portrait { top:350px; }
  .hero .scroll-invitation { top:835px; }
}

@media (max-width:360px) {
  .hero { height:620px; }
  .hero-portrait { top:270px; }
  .hero .hero-tagline { font-size:18px; }
  .hero .scroll-invitation { top:563px; }
}
/* Approved transparent brand artwork; only the original recording dot pulses. */
.brand { position:relative; width:clamp(280px,26vw,380px); height:47px; }
.brand-lockup { position:absolute; left:0; top:50%; width:100%; aspect-ratio:2074 / 416; transform:translateY(-50%); }
.brand-lockup img { display:block; width:100%; height:100%; object-fit:contain; }
.brand-recording-dot { position:absolute; inset:0; animation:recording-pulse 3.8s ease-in-out infinite; }
.site-header .brand { height:clamp(47px,3.8232421875vw,52.6875px); }
.site-footer .brand { width:min(340px,100%); height:68px; }
@keyframes recording-pulse { 0%,100% { opacity:1; } 50% { opacity:.72; } }
@media (min-width:761px) and (max-width:1000px) {
  .site-header .brand { width:340px; height:48px; }
  .js-nav .menu-toggle { display:flex; gap:13px; align-items:center; }
  .js-nav .site-header nav { display:none; }
  .js-nav .site-header nav.is-open {
    display:flex; position:absolute; left:16px; right:16px; top:80px;
    width:auto; padding:26px; gap:24px; background:var(--ivory);
    border:1px solid var(--line); border-radius:16px; box-shadow:0 15px 25px #08080810;
    align-items:flex-start; flex-direction:column;
  }
  .js-nav .site-header nav>a:not(.button) { font-size:14px; }
  body:not(.js-nav) .site-header { flex-wrap:wrap; }
  body:not(.js-nav) .site-header nav { width:100%; }
}
@media (max-width:760px) {
  .site-header .brand { width:min(300px,calc(100% - 82px)); height:39.09375px; }
  .site-footer .brand { width:min(320px,100%); height:64px; }
}
@media (prefers-reduced-motion:reduce) {
  .brand-recording-dot { animation:none; opacity:1; }
}

/* The supplied episode photo gets a shallow top crop, with room for its existing drift. */
.episode-image { width:100%; height:auto; min-height:0; aspect-ratio:2 / 1; align-self:center; }
.episode-image img { position:absolute; inset:-9px 0 auto; height:calc(100% + 18px); object-position:center bottom; }

/* Quiet photographic atmosphere behind the planning copy, never over the text. */
.planning { position:relative; isolation:isolate; }
.planning::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:url("assets/Gemini_Generated_Image_vqilnzvqilnzvqil.jpg") center / cover no-repeat;
  opacity:.085;
  mask-image:linear-gradient(to bottom,transparent,black 12%,black 88%,transparent);
}
.planning .steps p, .planning details p { color:#49413c; font-weight:500; }
@media (max-width:900px) {
  .planning::before { opacity:.06; }
}

/* Give the episode message a wider, more readable editorial line. */
.episode-description { max-width:660px; font-size:clamp(19px,1.55vw,26px); line-height:1.65; }
@media (min-width:1100px) {
  .episode-copy { padding-right:clamp(28px,4vw,76px); }
  .episode-copy h2 { font-size:clamp(36px,3.6vw,76px); white-space:nowrap; }
  .episode-copy h2 em { display:inline; margin-left:.18em; }
  .episode-description { margin-block:28px 30px; }
}
@media (max-width:760px) {
  .episode-description { font-size:18px; }
}


/* A centered editorial heading and recording-inspired secondary brand badge. */
.inquiry-heading { text-align:center; align-self:center; }
.inquiry-heading .display-heading { font-size:clamp(52px,6.1vw,92px); }
.inquiry-monogram {
  display:grid; place-items:center;
  width:clamp(190px,18vw,260px); aspect-ratio:1; margin:38px auto 0;
  border-radius:50%; background:var(--burgundy); color:var(--ivory);
}
.monogram-letters { font-family:var(--sans); font-size:clamp(51px,4.8vw,70px); font-weight:800; letter-spacing:-.065em; line-height:1; padding-right:.06em; }
@media (min-width:761px) and (max-width:1050px) {
  .inquiry-heading .display-heading { font-size:clamp(40px,5.5vw,58px); }
}
@media (max-width:760px) {
  .inquiry-heading .display-heading { font-size:clamp(50px,11vw,74px); }
  .inquiry-monogram { width:180px; margin-top:28px; }
  .monogram-letters { font-size:49px; }
}

/* Customer journey: four steps remain one horizontal row on desktop. */
.experience-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; list-style:none; padding:0; margin:56px 0 32px; text-align:left; }
.experience-steps li { padding:26px 22px 30px; border:1px solid #f7efe55c; border-radius:16px; }
.experience-step-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; }
.experience-number { font:italic 44px/1 var(--serif); }
.experience-step-top svg { width:32px; height:34px; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
.experience-steps h3 { font-size:clamp(17px,1.45vw,22px); line-height:1.3; letter-spacing:-.035em; margin-bottom:14px; }
.experience-steps p { font-size:15px; line-height:1.65; color:#f2e5db; }
.packages-explore { border:1px solid var(--ivory); color:var(--ivory); background:transparent; }
.packages-explore:hover { background:var(--ivory); color:var(--burgundy); }
.planning { display:block; }
.planning .faq { display:grid; grid-template-columns:.8fr 1.2fr; grid-template-rows:auto; gap:8%; margin:0; }
.planning .faq-list { margin:0; }
.planning .faq h2 em { display:block; margin-left:0; }
.planning .faq .text-link { background:none; border:0; border-bottom:1px solid currentColor; color:var(--burgundy); padding:0 0 4px; margin-top:18px; font-weight:700; }
.nav-packages { padding:0; border:0; background:none; color:var(--black); font-size:.75rem; font-weight:800; text-transform:uppercase; white-space:nowrap; }
.nav-packages:hover { color:var(--burgundy); }
@media (min-width:1001px) and (max-width:1279px) { .nav-packages { display:none; } }
@media (max-width:1000px) { .nav-packages { font-size:14px; } }
@media (max-width:900px) {
  .planning .faq { display:block; }
  .planning .faq-list { margin-top:32px; }
}
@media (max-width:760px) {
  .experience-steps { grid-template-columns:1fr; gap:16px; margin-top:38px; }
  .experience-steps li { padding:24px; }
  .experience-step-top { margin-bottom:16px; }
  .experience-steps h3 { font-size:22px; }
}
/* One native, scrollable package dialog shared by all entry points. */
#packages-dialog { width:min(1240px,94vw); max-width:94vw; max-height:90vh; max-height:90dvh; margin:auto; padding:50px 38px 26px; border:0; border-radius:24px; background:var(--ivory); color:var(--black); overscroll-behavior:contain; }
#packages-dialog::backdrop { background:#160c0da6; backdrop-filter:blur(5px); }
.packages-close { display:flex; align-items:center; gap:10px; position:absolute; right:24px; top:12px; min-height:44px; padding:4px 10px; border:0; background:transparent; color:var(--burgundy); font-weight:750; z-index:1; }
.packages-close span { font-size:28px; line-height:1; }
.packages-heading { text-align:center; margin-bottom:30px; }
.packages-heading .display-heading { font-size:clamp(38px,4vw,56px); }
.packages-heading .eyebrow { font-size:11px; margin-top:20px; }
.package-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.package-card { display:flex; flex-direction:column; padding:28px 24px; border:1px solid var(--line); border-radius:18px; background:var(--ivory); }
.package-featured { background:var(--burgundy); color:var(--ivory); border-color:var(--burgundy); }
.package-index { text-transform:uppercase; letter-spacing:.18em; font-size:10px; font-weight:750; margin-bottom:14px; }
.package-card h3 { font-size:clamp(20px,2.1vw,28px); line-height:1.2; letter-spacing:-.045em; }
.package-price { font-size:42px; font-weight:800; letter-spacing:-.06em; line-height:1.2; margin:20px 0 12px; }
.package-duration { font-size:14px; line-height:1.5; }
.package-card ul { list-style:none; padding:18px 0 24px; margin:0; flex:1; }
.package-card li { font-size:13px; line-height:1.55; padding:10px 0; border-bottom:1px solid #c9bcb066; }
.package-card .button { width:100%; padding:14px 12px; background:var(--burgundy); color:var(--ivory); font-size:12px; }
.package-featured .button { background:var(--ivory); color:var(--burgundy); }
.packages-note { text-align:center; font-size:12px; color:var(--muted); margin:22px 0 0; }
#package { display:block; width:100%; min-height:48px; padding:8px 22px 8px 1px; font:inherit; font-size:15px; background:transparent; color:var(--black); border:0; border-bottom:1px solid #9b8c80; border-radius:0; }
.package-note { font-size:12px; line-height:1.5; color:var(--muted); margin-top:8px; }
#package:focus-visible { outline:2px solid var(--burgundy); outline-offset:4px; }
@media (max-width:760px) {
  #packages-dialog { padding:60px 18px 24px; width:94vw; border-radius:18px; }
  .package-grid { grid-template-columns:1fr; gap:16px; }
  .package-card { padding:26px; }
  .package-card h3 { font-size:28px; }
}
#packages-dialog .packages-close { position:sticky; top:0; right:auto; width:max-content; margin:-38px 0 12px auto; background:var(--ivory); border-radius:8px; }
/* Keep the close control in its own row, including on narrow screens. */
#packages-dialog { padding-top:18px; }
#packages-dialog .packages-close { margin:0 0 18px auto; }
/* A centered FAQ column replaces the former process/FAQ split. */
.planning .faq { display:block; max-width:900px; margin-inline:auto; }
.planning .faq > div:first-child { text-align:center; margin-bottom:40px; }
.planning .faq h2 em { display:inline; margin-left:.12em; }
.planning .faq-list { margin-top:0; }
@media (max-width:760px) {
  .planning .faq > div:first-child { margin-bottom:30px; }
}

/* Let the four-step strip use the screen width, with shallow rectangular cards. */
@media (min-width:1100px) {
  .specialization > .section-width { width:calc(100% - 48px); max-width:none; padding-inline:0; }
  .experience-steps { gap:16px; }
  .experience-steps li { padding:20px 24px 24px; }
  .experience-step-top { margin-bottom:16px; }
  .experience-steps h3 { margin-bottom:10px; }
}
.packages-explore { background:var(--ivory); color:var(--burgundy); }
.packages-explore:hover { background:#eadcd2; color:var(--burgundy); }


/* Finalized package identity; existing grid stretches every card to equal height. */
.package-card { position:relative; }
.package-heirloom { background:#e5d6c2; border-color:#cdbba3; }
.package-tagline { font-family:var(--serif); font-style:italic; font-size:23px; line-height:1.25; margin:0 0 18px; }
.package-sticker { position:absolute; top:-12px; right:17px; transform:rotate(7deg); background:var(--ivory); color:var(--burgundy); padding:10px 16px; border:1px solid #dac8b8; box-shadow:0 3px 8px #280b1420; border-radius:3px; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.provisional-label { display:block; font-size:12px; font-weight:650; line-height:1.45; color:#65333a; margin-top:4px; }
.coverage-footnote { margin-top:22px; font-size:13px; line-height:1.5; color:var(--muted); text-align:center; }
@media (max-width:760px) { .package-grid { gap:26px; } }
