/* Royal-blue album: layered paper, fine metallic lines and measured spacing. */
.film { background: #2447a2; --champagne: #e0c38a; --champagne-light: #f5e4c1; }
.film .wrap { max-width: 1440px; padding-inline: clamp(22px, 4.5vw, 72px); }
.film .album-opening {
  padding: clamp(18px, 3vw, 42px) clamp(16px, 4.5vw, 72px) 0;
  background: radial-gradient(ellipse at 50% 0%, #3d5dba, transparent 65%), #193879;
}
.opening-heading, .opening-caption { max-width: 1296px; margin: auto; display: flex; align-items: center; gap: 18px; }
.opening-heading { justify-content: space-between; padding-bottom: 22px; color: #f5e4c1; font: 500 .67rem/1.5 'Manrope', sans-serif; letter-spacing: .19em; text-transform: uppercase; }
.opening-heading span:first-child { font: 400 1.5rem/1.2 'Cormorant Garamond', Georgia, serif; letter-spacing: .02em; text-transform: none; }
.film .album-opening video { max-width: 1296px; max-height: 72svh; border: 1px solid #e0c38a80; box-shadow: 0 24px 60px #07152b70; background: #f5f7ff; }
.opening-caption { min-height: 76px; font: italic 1.1rem/1.5 Georgia, serif; color: #f5e4c1; }
.opening-star { font-style: normal; font-size: 1.5rem; }
.opening-caption a { margin-left: auto; font: 500 .65rem/1.5 'Manrope', sans-serif; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.opening-caption a span { margin-left: 12px; font-size: 1.2rem; }
.film .album-nav { background: #173475ed; height: 68px; box-shadow: 0 6px 28px #0b226026; }
.film .album-links a { position: relative; padding-block: 12px; }
.film .album-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: #e0c38a; transform: scaleX(0); transition: transform .25s; }
.film .album-links a:hover::after, .film .album-links a[aria-current]::after { transform: scaleX(1); }
.film .album-links a[aria-current] { color: white; }
.film .album-intro { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 6vw, 86px); background: #f5f4ef; color: #193879; }
.film .album-intro::before { content: '50'; position: absolute; z-index: -1; right: 3%; top: -30%; color: #2447a208; font: 400 clamp(260px, 36vw, 510px)/1 Georgia, serif; letter-spacing: -.09em; }
.film .album-intro::after { content: ''; position: absolute; width: 460px; height: 460px; right: -260px; top: -220px; border: 1px solid #2447a222; border-radius: 50%; box-shadow: 0 0 0 22px #2447a208, 0 0 0 44px #2447a206; pointer-events: none; }
.film .album-intro-grid { grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 6vw, 90px); }
.film .album-intro h2 { font-size: clamp(3.3rem, 7.3vw, 7rem); max-width: none; }
.film h2 em { font-weight: 400; }
.film .album-intro-copy { max-width: 420px; font-size: 1.2rem; }
.film .section { padding-block: clamp(50px, 6.5vw, 90px); }
.film #her-night { position: relative; isolation: isolate; background: radial-gradient(ellipse at 5% 4%, #526fcb66, transparent 48%), #2447a2; }
.film #her-night::before { content: ''; position: absolute; z-index: -1; top: 22px; right: -160px; width: 420px; height: 420px; border: 1px solid #f5e4c126; border-radius: 50%; box-shadow: 0 0 0 24px #f5e4c10a, 0 0 0 48px #f5e4c106; }
.film .section-head { margin-bottom: clamp(28px, 4vw, 54px); column-gap: 48px; }
.film .section-head h2 { font-size: clamp(3rem, 5.5vw, 5rem); }
.film .section-head .lead { max-width: 34ch; font-size: 1.1rem; color: #e0e8ff; }
.film .section-head .eyebrow { display: flex; align-items: center; gap: 15px; color: #f5e4c1; font-size: .65rem; margin-bottom: 14px; }
.film .section-head .eyebrow::before { content: ''; width: 35px; height: 1px; background: #e0c38a; }
.film .heroes { max-width: 1200px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 42px); }
.film .print:nth-child(n) { grid-column: auto; margin: 0; align-self: center; }
.film .print:nth-child(1) { grid-column: 1 / -1; width: min(100%, 960px); justify-self: center; margin-bottom: 10px; }
.film .print:last-child:nth-child(even) { grid-column: 1 / -1; width: min(100%, 780px); justify-self: center; }
.film .print { position: relative; padding: clamp(8px, 1vw, 13px); background: #fffdf8; border: 1px solid #fff; outline: 1px solid #e0c38a60; outline-offset: 6px; box-shadow: 0 3px 0 #d0c8b8, 0 8px 0 -3px #eee8dc, 0 25px 48px #081d5e55; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease, box-shadow .3s ease; }
.film .print .ph { display: block; max-width: none; padding: 0; box-shadow: none; background: transparent; }
.film .print .ph:hover { transform: none; box-shadow: none; }
.film .print:focus-within { outline: 3px solid #f5e4c1; }
.film .print .ph img { height: auto; object-fit: contain; }
.film #the-night { background: linear-gradient(150deg, #203e8e, #2447a2 45%, #193879); }
.film .chapter { padding-top: clamp(34px, 4vw, 58px); margin-top: clamp(38px, 5vw, 70px); }
.film .chapter-head { grid-template-columns: 64px minmax(200px, auto) 1fr; margin-bottom: 26px; }
.film .chapter-number { font-size: 3.4rem; }
.film .chapter-count { font-size: .62rem; letter-spacing: .14em; }
.film .chapter h3 { font-size: clamp(2.1rem, 3.2vw, 3.1rem); }
.film .chapter-line { font-size: 1rem; }
.film .ph-grid { --row: 290px; --gap: clamp(12px, 1.5vw, 22px); }
.film .ph-grid .ph { padding: 6px; background: #fffdf8; border-radius: 2px; box-shadow: 0 3px 0 #d3cbbc, 0 12px 26px #071d5550; }
.film .ph-grid .ph:hover { transform: translateY(-5px); box-shadow: 0 4px 0 #d3cbbc, 0 22px 36px #071d5580; }
.film .section.ice { background: #f5f4ef; color: #193879; }
.film .section.ice .lead { color: #193879; }
.film .guestbook-form { border-top: 3px solid #e0c38a; border-radius: 3px; }
.film #full-set .wrap { display: block; max-width: 880px; text-align: center; }
.film #full-set .lead { margin-inline: auto; }
.film #full-set .full-set-copy, .film #full-set h2, .film #full-set .full-set-action, .film #full-set .under { width: 100%; max-width: none; margin-inline: auto; text-align: center; }
.film .section-download { max-width: none; margin: 0 0 28px; }
.film #her-night .section-download { text-align: center; }
.film .download-section { display: inline-block; padding: 12px 22px; border: 1px solid #e0c38a; border-radius: 999px; color: #fff4da; font: 500 14px/1.5 var(--sans); text-decoration: none; }
.film .download-section:hover { background: #ffffff18; }
.film .photo-card { margin: 0; min-width: 0; flex-grow: calc(var(--ar) * 100); flex-basis: calc(var(--ar) * var(--row)); max-width: min(100%, calc(var(--ar) * var(--row) * 1.8)); }
.film .photo-card .ph { width: 100%; max-width: none; }
.film .photo-card .ph img { height: auto; }
.film .download-photo { display: block; text-align: center; padding: 12px 8px; min-height: 44px; color: #fff4da; font: 500 13px/1.5 var(--sans); text-underline-offset: 4px; }
.film .print .download-photo { color: #193879; }
.film .planner-feature { padding: clamp(30px, 5vw, 66px); margin-block: clamp(48px, 6vw, 84px); border: 0; border-radius: 8px; background: radial-gradient(ellipse at top, #fffdf7, #f4f1e9); color: #193879; }
.film .planner-heading { max-width: 650px; margin: 0 auto clamp(28px, 4vw, 46px); text-align: center; }
.film .planner-kicker { margin: 0 0 10px; color: #72603c; font: italic 1.35rem/1.4 'Cormorant Garamond', Georgia, serif; }
.film .planner-heading h3 { margin: 0; color: #193879; font: 400 clamp(2.7rem, 5vw, 4.7rem)/1.08 'Cormorant Garamond', Georgia, serif; letter-spacing: -.025em; }
.film .planner-role { margin: 16px 0 0; color: #435574; font: 500 .85rem/1.7 var(--sans); }
.film .planner-role span { padding-inline: 6px; }
.film .planner-thanks { max-width: 42ch; margin: 18px auto 0; color: #435574; font: 400 1.25rem/1.5 'Cormorant Garamond', Georgia, serif; }
.film #the-event-planner .ph-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 32px); max-width: 1040px; margin-inline: auto; align-items: center; }
.film #the-event-planner .ph-grid::after { display: none; }
.film #the-event-planner .photo-card { max-width: none; width: 100%; }
.film #the-event-planner .photo-card .ph { display: block; }
.film .planner-footer { text-align: center; margin-top: 28px; }
.film .planner-footer > p { width: 100%; max-width: none; margin-inline: auto; text-align: center; color: #435574; font: 400 .9rem/1.8 var(--sans); }
.film .planner-contact { display: inline-block; padding-block: 10px; min-height: 44px; color: #193879; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #a58c55; }
.film .planner-contact:hover { text-decoration-thickness: 2px; }
.film .planner-contact:focus-visible { outline: 2px solid #2447a2; outline-offset: 4px; }
.planner-link-hint { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.film .planner-footer .section-download { margin: 20px 0 0; }
.film .planner-feature .download-section, .film .planner-feature .select-section, .film .planner-feature .download-photo { color: #193879; border-color: #19387950; }
.film .planner-feature .download-section:hover, .film .planner-feature .select-section:hover { background: #1938790a; }
@media (max-width: 620px) {
  .film .planner-feature { padding: 32px 18px; }
  .film #the-event-planner .ph-grid { grid-template-columns: 1fr; max-width: 350px; gap: 22px; }
  .film .planner-footer .section-download { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .film .planner-feature .select-section { margin: 0; }
}
.film #guestbook .wrap { text-align: center; }
.film #guestbook .eyebrow, .film #full-set .eyebrow { width: 100%; max-width: none; margin-inline: auto; text-align: center; }
.film #guestbook .lead { margin-inline: auto; }
.film #guestbook .guestbook-form { width: 100%; margin-inline: auto; text-align: left; }
.film #guestbook .guestbook-form > p { text-align: center; }
.film .credit { padding-block: 36px; }
.film .credit p { max-width: 64ch; }
.consent-banner { background: #173475; border: 1px solid #e0c38a66; border-radius: 4px; color: #fff; box-shadow: 0 12px 40px #081d5e60; }
.consent-banner p, .consent-banner a { color: #f5f4ef; }
.consent-banner .consent-accept { background: #f5e4c1; color: #173475; border-color: #f5e4c1; }
.consent-banner .consent-decline { color: #fff; border-color: #ffffff66; }
body:has(.consent-banner:not([hidden])) .music-dock { visibility: hidden; }
.birthday-welcome { background: radial-gradient(ellipse at 50% 0, #5271c9, transparent 65%), #203e8e; }
.birthday-welcome .welcome { padding: clamp(24px, 4vw, 54px) clamp(16px, 4vw, 60px) 0; }
.birthday-welcome .welcome-film { border: 1px solid #e0c38a; box-shadow: 0 26px 70px #07152b66; }
.birthday-welcome .welcome-entry { padding-top: 30px; }
.birthday-welcome .consent-banner { position: relative; inset: auto; width: calc(100% - 32px); max-width: 640px; margin: 16px auto; }
.birthday-welcome .welcome { padding-top: 68px; position: relative; }
.welcome-skip { position: absolute; top: 18px; right: clamp(18px, 4vw, 60px); display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 10px 20px; border: 1px solid #f5e4c180; border-radius: 99px; color: #fff; font: 500 12px/1.4 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.welcome-skip:hover { background: #ffffff16; }
.welcome-skip:focus-visible { outline: 3px solid #f5e4c1; outline-offset: 4px; }
.birthday-welcome .welcome-kicker { color: #f5e4c1; }
.birthday-welcome .welcome-kicker, .birthday-welcome .welcome-caption { width: 100%; max-width: none; margin-inline: auto; text-align: center; }
.birthday-welcome .welcome-caption { font-size: clamp(24px, 3vw, 36px); }
.birthday-welcome .welcome-button { transition: transform .2s, box-shadow .2s; }
.birthday-welcome .welcome-button:hover { transform: translateY(-3px); box-shadow: 0 12px 24px #081d5e50; }
@media (max-width: 820px) {
  .film .album-intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .film .album-intro-copy { max-width: 100%; border: 0; padding: 0; }
  .film .section-head { grid-template-columns: 1fr; }
  .film .section-head .lead { margin-top: 14px; }
  .film .chapter-head { grid-template-columns: 64px minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 620px) {
  .opening-heading { padding-bottom: 16px; }
  .opening-heading span:last-child { display: none; }
  .opening-caption { min-height: 80px; flex-wrap: wrap; gap: 6px 12px; padding-block: 14px; font-size: .95rem; }
  .opening-caption a { width: 100%; margin: 0 0 0 28px; font-size: .6rem; }
  .film .album-nav { height: 60px; }
  .film .heroes { grid-template-columns: 1fr; gap: 30px; }
  .film .print:nth-child(n) { grid-column: 1; width: 100%; }
  .film .ph-grid { --row: 210px; }
  .film .album-intro h2 { font-size: 3.5rem; }
  .film .chapter-number { font-size: 2.6rem; }
  .film .full-set-number { display: none; }
  .birthday-welcome .welcome { gap: 0; }
  .birthday-welcome .speech-play { position: static; display: block; transform: none; margin: 12px auto; white-space: normal; }
  .birthday-welcome .speech-play[hidden] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .film .print, .film .ph-grid .ph, .birthday-welcome .welcome-button { transform: none !important; transition: none !important; }
}
