/* Wedding film collection — ivory paper, burgundy accents, cinematic imagery. */
main.template-film-page {
  --tf-wine: #702d42;
  --tf-ink: #302725;
  --tf-muted: #776b64;
  --tf-line: #e5dcd2;
  --tf-paper: #fffdf9;
  --tf-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  min-height: 100vh;
  color: var(--tf-ink);
  background: #f8f5ef;
  -webkit-font-smoothing: antialiased;
}
.template-film-page *, .template-film-page *::before, .template-film-page *::after { box-sizing: border-box; }
body:has(.template-film-page) .paid-ai-notice {
  min-height: 36px;
  padding: 8px 24px;
  background: #eee6df;
  color: #6b4c47;
  font-size: 11px;
  line-height: 1.65;
  gap: 18px;
}
body:has(.template-film-page) .paid-ai-notice a { color: #702d42; text-underline-offset: 4px; }
.template-film-page .template-film-header {
  height: 90px;
  padding: 0 max(32px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid var(--tf-line);
  background: #fbf8f3;
}
.template-film-page .template-film-header nav { gap: 28px; font-size: 12px; color: #64564f; }
.template-film-page .template-film-header nav a { padding: 12px 0; text-decoration: none; }
.template-film-page .template-film-header nav a:hover { color: var(--tf-wine); }
.template-film-page .template-film-intro,
.template-film-page .template-film-steps,
.template-film-page .template-film-library,
.template-film-page .template-film-create,
.template-film-page .template-film-task,
.template-film-page .template-film-story-link,
.template-film-page .template-film-footer,
.template-film-page .template-film-error { width: min(1240px, calc(100% - 96px)); margin-left: auto; margin-right: auto; }
.template-film-page .template-film-intro {
  display: grid;
  grid-template-columns: .94fr 1.16fr;
  align-items: center;
  gap: clamp(36px, 5.5vw, 88px);
  padding: clamp(54px, 6vw, 88px) 0 64px;
}
.template-film-page .template-film-eyebrow {
  margin: 0;
  color: var(--tf-wine);
  font: 10px/1.7 Georgia, serif;
  letter-spacing: .19em;
}
.template-film-page .template-film-intro h1 {
  margin: 25px 0 23px;
  font: 400 clamp(38px, 4vw, 60px)/1.35 var(--tf-serif);
  letter-spacing: .035em;
}
.template-film-page .template-film-lead { margin: 0 0 30px; max-width: 440px; font-size: 14px; line-height: 2.15; color: var(--tf-muted); }
.template-film-page .template-film-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  min-height: 50px;
  padding: 14px 25px;
  border: 1px solid var(--tf-wine);
  border-radius: 3px;
  background: var(--tf-wine);
  color: #fffaf5;
  font: 500 13px/1.7 "Microsoft YaHei", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.template-film-page .template-film-primary:hover:not(:disabled) { background: #592237; transform: translateY(-1px); }
.template-film-page .template-film-primary:disabled { opacity: .42; cursor: not-allowed; }
.template-film-page .template-film-primary span { font-size: 12px; }
.template-film-page .template-film-hero {
  position: relative;
  aspect-ratio: 1.48;
  overflow: hidden;
  border: 8px solid var(--tf-paper);
  outline: 1px solid #e6dbd0;
  border-radius: 2px;
  background: #e8dfd3;
  box-shadow: 0 15px 45px #4c35280d;
}
.template-film-page .template-film-hero::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #23191388); pointer-events: none; }
.template-film-page .template-film-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.template-film-page .template-film-hero > span { position: absolute; z-index: 1; left: 23px; bottom: 20px; font: 10px/1.5 Georgia, serif; letter-spacing: .2em; color: #fff; text-shadow: none; }
.template-film-page .template-film-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
  margin-bottom: 76px;
  padding: 26px 0;
  list-style: none;
  border-top: 1px solid var(--tf-line);
  border-bottom: 1px solid var(--tf-line);
}
.template-film-page .template-film-steps li { display: flex; align-items: center; gap: 20px; min-width: 0; padding: 4px 28px; border-right: 1px solid var(--tf-line); }
.template-film-page .template-film-steps li:first-child { padding-left: 0; }
.template-film-page .template-film-steps li:last-child { padding-right: 0; border-right: 0; }
.template-film-page .template-film-steps li > span { color: #b69984; font: italic 34px/1 Georgia, serif; }
.template-film-page .template-film-steps h2 { margin: 0 0 7px; font-size: 14px; font-weight: 500; color: var(--tf-ink); }
.template-film-page .template-film-steps p { margin: 0; color: var(--tf-muted); font-size: 11px; line-height: 1.8; }
.template-film-page .template-film-library { scroll-margin-top: 34px; }
.template-film-page .template-film-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.template-film-page .template-film-section-head h2 { margin: 10px 0 0; font: 400 clamp(27px, 2.5vw, 36px)/1.5 var(--tf-serif); letter-spacing: .025em; }
.template-film-page .template-film-section-head > p { margin: 0 0 7px; color: var(--tf-muted); font-size: 12px; line-height: 1.6; }
.template-film-page .template-film-section-head > span { padding: 10px 16px; border: 1px solid #dfcfc2; border-radius: 3px; background: #f5eee7; font-size: 13px; color: var(--tf-wine); line-height: 1.7; white-space: nowrap; }
.template-film-page .template-film-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 30px; counter-reset: film; }
.template-film-page .template-film-grid--single { grid-template-columns: minmax(0, 760px); }
.template-film-page .template-film-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 0; overflow: hidden; border: 1px solid #e6ddd3; border-radius: 5px; background: var(--tf-paper); text-align: left; color: inherit; cursor: auto; counter-increment: film; box-shadow: none; transition: border-color .25s, box-shadow .25s; }
.template-film-page .template-film-card:hover { border-color: #cdb2a5; box-shadow: 0 10px 28px #4b2f2910; }
.template-film-page .template-film-card.is-selected { border-color: var(--tf-wine); box-shadow: 0 0 0 1px var(--tf-wine); }
.template-film-page .template-film-card-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #281e1a; }
.template-film-page .template-film-card-image img, .template-film-page .template-film-card-image video { display: block; width: 100%; height: 100%; object-fit: cover; }
.template-film-page .template-film-card-image img { transition: transform .5s ease; }
.template-film-page .template-film-card:hover .template-film-card-image img { transform: scale(1.025); }
.template-film-page .template-film-card-image video { object-fit: contain; }
.template-film-page .template-film-card-image > span { position: absolute; bottom: 15px; right: 16px; padding: 7px 12px; border: 1px solid #ffffff40; border-radius: 3px; background: #241a17a8; color: #fff; font-size: 11px; line-height: 1.4; backdrop-filter: blur(6px); }
.template-film-page .template-film-card-copy { position: relative; display: flex; flex-direction: column; flex: 1; align-items: flex-start; gap: 11px; padding: 25px 28px 27px; }
.template-film-page .template-film-card-copy::before { content: "FILM " counter(film, decimal-leading-zero); position: absolute; top: 27px; right: 27px; color: #b49a87; font: 10px/1.5 Georgia, serif; letter-spacing: .12em; }
.template-film-page .template-film-card-copy small { max-width: calc(100% - 80px); color: var(--tf-muted); font-size: 11px; line-height: 1.7; letter-spacing: .04em; }
.template-film-page .template-film-card-copy h3 { margin: 0; color: var(--tf-ink); font: 400 29px/1.4 var(--tf-serif); letter-spacing: .04em; }
.template-film-page .template-film-card-copy p { margin: 0; max-width: 48em; color: #766960; font-size: 13px; line-height: 1.95; }
.template-film-page .template-film-card-copy em { margin-top: 2px; color: #977766; font-size: 11px; line-height: 1.8; font-style: normal; }
.template-film-page .template-film-card-copy > span { margin: 0; font-size: 11px; color: var(--tf-muted); line-height: 1.6; }
.template-film-page .template-film-card-copy .template-film-preview-status { align-self: flex-start; padding: 5px 9px; border-radius: 2px; background: #f2e9e2; color: #8a6757; }
.template-film-page .template-film-card-actions { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 12px; width: 100%; margin-top: auto; padding-top: 13px; }
.template-film-page .template-film-card-actions button { min-height: 46px; padding: 10px 14px; border: 1px solid #cbb7aa; border-radius: 3px; background: transparent; color: var(--tf-wine); font: 500 12px/1.7 "Microsoft YaHei", sans-serif; cursor: pointer; transition: background .2s, border-color .2s; }
.template-film-page .template-film-card-actions .template-film-choose-button { border-color: var(--tf-wine); background: var(--tf-wine); color: #fffaf5; }
.template-film-page .template-film-card-actions .template-film-choose-button:hover { background: #592237; }
.template-film-page .template-film-card-actions .template-film-preview-button:hover { border-color: #a78373; background: #f5ede5; }
.template-film-page .template-film-card-actions button:disabled { opacity: .45; cursor: not-allowed; }
.template-film-page .template-film-card-actions button:only-child { grid-column: 1 / -1; }
.template-film-page .template-film-create { margin-top: 76px; padding: 36px; border: 1px solid #dfd0c3; border-radius: 5px; background: var(--tf-paper); scroll-margin-top: 28px; box-shadow: 0 12px 40px #4c352807; }
.template-film-page .template-film-create .template-film-section-head { margin-bottom: 26px; }
.template-film-page .template-film-selected { display: flex; align-items: center; gap: 24px; padding: 22px; border: 0; border-left: 3px solid var(--tf-wine); border-radius: 0 3px 3px 0; background: #f5efe7; }
.template-film-page .template-film-selected img { display: block; flex-shrink: 0; width: 168px; aspect-ratio: 16 / 9; border-radius: 3px; object-fit: cover; }
.template-film-page .template-film-selected small { color: #8b7465; font-size: 11px; line-height: 1.7; }
.template-film-page .template-film-selected h3 { margin: 7px 0 9px; color: var(--tf-ink); font: 400 27px/1.4 var(--tf-serif); }
.template-film-page .template-film-selected p { margin: 0; color: var(--tf-muted); font-size: 12px; line-height: 1.9; }
.template-film-page .template-film-reference-note { margin: 20px 0 26px; padding-left: 1px; color: var(--tf-muted); font-size: 12px; line-height: 1.9; }
.template-film-page .template-film-uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0 0 28px; }
.template-film-page .template-film-upload { min-width: 0; padding: 25px; border: 1px solid #e5d9cd; border-radius: 4px; background: #fffdf9; }
.template-film-page .template-film-upload h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; color: var(--tf-ink); font-size: 17px; font-weight: 500; }
.template-film-page .template-film-upload h3 span { padding: 3px 8px; border-radius: 3px; color: #8c7464; background: #f3ece3; font: 11px/1.5 Georgia, serif; }
.template-film-page .template-film-upload > p { min-height: 3.8em; margin: 0 0 18px; font-size: 12px; line-height: 1.9; color: var(--tf-muted); }
.template-film-page .template-film-file { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; min-height: 136px; padding: 20px 12px; border: 1px dashed #bb9987; border-radius: 3px; color: var(--tf-wine); background: #faf5ee; cursor: pointer; transition: background .2s, border-color .2s; }
.template-film-page .template-film-file:hover { border-color: var(--tf-wine); background: #f5ebe3; }
.template-film-page .template-film-file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.template-film-page .template-film-file span { font-size: 13px; font-weight: 500; line-height: 1.8; text-align: center; }
.template-film-page .template-film-file small { color: var(--tf-muted); font-size: 10px; line-height: 1.6; text-align: center; }
.template-film-page .template-film-file.is-disabled { opacity: .5; cursor: not-allowed; }
.template-film-page .template-film-photo-previews { display: flex; flex-wrap: wrap; gap: 16px; }
.template-film-page .template-film-photo-previews figure { position: relative; width: 80px; margin: 18px 0 0; }
.template-film-page .template-film-photo-previews img { display: block; width: 80px; height: 96px; margin: 0; border-radius: 4px; object-fit: cover; }
.template-film-page .template-film-photo-previews figcaption { margin-top: 7px; text-align: center; color: var(--tf-muted); font-size: 11px; }
.template-film-page .template-film-photo-previews button { position: absolute; top: -8px; right: -8px; width: 27px; height: 27px; border: 1px solid #ceb9aa; border-radius: 50%; background: #fffaf4; color: var(--tf-wine); font: 18px/1 sans-serif; cursor: pointer; }
.template-film-page .template-film-photo-previews .template-film-set-front { position: static; width: 100%; height: auto; min-height: 30px; margin-top: 7px; padding: 4px 2px; border-radius: 3px; font-size: 10px; line-height: 1.5; }
.template-film-page .template-film-confirmations { display: grid; gap: 14px; max-width: none; margin: 0 0 26px; padding: 22px 24px; border: 1px solid #ede3d9; border-radius: 3px; background: #faf7f2; }
.template-film-page .template-film-confirmations label { display: flex; align-items: flex-start; gap: 11px; color: #6e5d53; font-size: 12px; line-height: 1.9; cursor: pointer; }
.template-film-page .template-film-confirmations input { flex: 0 0 auto; width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--tf-wine); }
.template-film-page .template-film-confirmations label:last-child { color: var(--tf-wine); }
.template-film-page .template-film-create > .template-film-primary { min-width: 270px; min-height: 54px; font-size: 14px; }
.template-film-page .template-film-price-note { max-width: 760px; margin: 13px 0 0; color: var(--tf-muted); font-size: 11px; line-height: 1.9; }
.template-film-page .template-film-task { margin-top: 28px; padding: 30px 36px; border: 1px solid #dfd0c3; border-radius: 5px; background: var(--tf-paper); font-size: 13px; line-height: 1.9; }
.template-film-page .template-film-task > p { color: var(--tf-wine); font-size: 15px; }
.template-film-page .template-film-task video { display: block; width: min(100%, 840px); max-height: 540px; margin: 24px 0; border-radius: 3px; background: #241b18; }
.template-film-page .template-film-task progress { width: 100%; height: 8px; accent-color: var(--tf-wine); }
.template-film-page .template-film-task-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 22px; color: var(--tf-wine); font-size: 12px; }
.template-film-page .template-film-task-actions a, .template-film-page .template-film-task-actions button { min-height: 36px; padding: 6px 0; }
.template-film-page .template-film-parts { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--tf-line); }
.template-film-page .template-film-error { padding: 18px 24px; margin-top: 20px; border-left: 3px solid #a34453; border-radius: 3px; color: #8c2d3c; background: #f8e9e9; font-size: 13px; line-height: 1.9; }
.template-film-page .template-film-story-link { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 76px; padding: 40px 44px; border: 0; border-radius: 4px; color: #fcf6ee; background: #5e293b; }
.template-film-page .template-film-story-link .template-film-eyebrow { color: #d7b9ac; }
.template-film-page .template-film-story-link h2 { margin: 10px 0 12px; color: #fff9f1; font: 400 29px/1.5 var(--tf-serif); letter-spacing: .03em; }
.template-film-page .template-film-story-link p:not(.template-film-eyebrow) { margin: 0; color: #dcc7bd; font-size: 12px; line-height: 1.9; }
.template-film-page .template-film-story-link > a { flex: 0 0 auto; min-height: 47px; padding: 13px 18px; border: 1px solid #bc918f; border-radius: 3px; color: #fff8ef; font-size: 12px; line-height: 1.8; white-space: nowrap; }
.template-film-page .template-film-story-link > a:hover { background: #ffffff0c; border-color: #e5c3b8; }
.template-film-page .template-film-story-link > a span { margin-left: 23px; }
.template-film-page .template-film-footer { display: flex; justify-content: space-between; gap: 20px; padding: 29px 0 34px; color: #948377; font-size: 10px; line-height: 1.8; letter-spacing: .06em; }
.template-film-page a:focus-visible, .template-film-page button:focus-visible, .template-film-page .template-film-file:focus-within { outline: 2px solid #8c4658; outline-offset: 4px; }
@media (max-width: 1060px) {
  .template-film-page .template-film-intro { gap: 40px; }
  .template-film-page .template-film-steps li { padding-left: 19px; padding-right: 19px; gap: 14px; }
  .template-film-page .template-film-card-copy { padding: 23px; }
  .template-film-page .template-film-card-copy::before { right: 22px; top: 25px; }
  .template-film-page .template-film-card-copy h3 { font-size: 27px; }
  .template-film-page .template-film-create { padding: 28px; }
  .template-film-page .template-film-upload { padding: 21px; }
}
@media (max-width: 760px) {
  body:has(.template-film-page) .paid-ai-notice { padding: 8px 18px; gap: 4px 12px; font-size: 10px; }
  .template-film-page .template-film-header { height: 74px; padding: 0 22px; }
  .template-film-page .template-film-header nav { gap: 16px; font-size: 11px; }
  .template-film-page .template-film-header .wordmark-divider, .template-film-page .template-film-header .wordmark-edition { display: none; }
  .template-film-page .template-film-intro, .template-film-page .template-film-steps, .template-film-page .template-film-library, .template-film-page .template-film-create, .template-film-page .template-film-task, .template-film-page .template-film-story-link, .template-film-page .template-film-footer, .template-film-page .template-film-error { width: calc(100% - 40px); }
  .template-film-page .template-film-intro { grid-template-columns: 1fr; padding: 40px 0 32px; gap: 30px; }
  .template-film-page .template-film-intro h1 { margin: 18px 0 17px; font-size: clamp(33px, 7.6vw, 48px); line-height: 1.38; }
  .template-film-page .template-film-lead { margin-bottom: 22px; font-size: 13px; line-height: 1.95; }
  .template-film-page .template-film-primary { min-height: 48px; padding: 12px 22px; }
  .template-film-page .template-film-hero { aspect-ratio: 16 / 10; border-width: 5px; }
  .template-film-page .template-film-hero > span { left: 16px; bottom: 15px; font-size: 8px; }
  .template-film-page .template-film-steps { grid-template-columns: 1fr; gap: 19px; margin-bottom: 43px; padding: 24px 0; }
  .template-film-page .template-film-steps li, .template-film-page .template-film-steps li:first-child { padding: 0; gap: 18px; border: 0; }
  .template-film-page .template-film-steps li > span { flex: 0 0 33px; font-size: 28px; }
  .template-film-page .template-film-steps li > div { display: block; }
  .template-film-page .template-film-steps h2 { font-size: 13px; margin: 0 0 4px; }
  .template-film-page .template-film-steps p { font-size: 11px; }
  .template-film-page .template-film-section-head { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 23px; }
  .template-film-page .template-film-section-head h2 { font-size: 28px; margin-top: 8px; }
  .template-film-page .template-film-section-head > p { margin: 0; font-size: 11px; }
  .template-film-page .template-film-section-head > span { padding: 8px 12px; font-size: 12px; }
  .template-film-page .template-film-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .template-film-page .template-film-card-copy { padding: 22px; gap: 10px; }
  .template-film-page .template-film-card-copy h3 { font-size: 28px; }
  .template-film-page .template-film-card-copy p { font-size: 12px; line-height: 1.95; }
  .template-film-page .template-film-card-copy::before { top: 24px; right: 21px; font-size: 9px; }
  .template-film-page .template-film-card-actions { gap: 10px; padding-top: 10px; }
  .template-film-page .template-film-card-actions button { min-height: 46px; padding-left: 10px; padding-right: 10px; font-size: 12px; }
  .template-film-page .template-film-card-image > span { bottom: 12px; right: 12px; font-size: 10px; }
  .template-film-page .template-film-create { margin-top: 44px; padding: 24px 19px; }
  .template-film-page .template-film-selected { flex-wrap: wrap; gap: 14px; padding: 17px; }
  .template-film-page .template-film-selected img { width: 118px; }
  .template-film-page .template-film-selected > div { flex: 1 1 200px; }
  .template-film-page .template-film-selected h3 { font-size: 25px; }
  .template-film-page .template-film-selected p { font-size: 12px; }
  .template-film-page .template-film-reference-note { margin: 19px 0 23px; font-size: 11px; }
  .template-film-page .template-film-uploads { grid-template-columns: minmax(0, 1fr); gap: 17px; margin-bottom: 22px; }
  .template-film-page .template-film-upload { padding: 20px; }
  .template-film-page .template-film-upload > p { min-height: 0; font-size: 11px; }
  .template-film-page .template-film-file { min-height: 126px; }
  .template-film-page .template-film-confirmations { padding: 17px 15px; gap: 15px; }
  .template-film-page .template-film-confirmations label { font-size: 11px; line-height: 1.9; }
  .template-film-page .template-film-create > .template-film-primary { width: 100%; min-width: 0; min-height: 52px; }
  .template-film-page .template-film-price-note { margin-top: 13px; font-size: 10px; }
  .template-film-page .template-film-task { padding: 23px 20px; }
  .template-film-page .template-film-task-actions { gap: 12px 22px; }
  .template-film-page .template-film-story-link { align-items: flex-start; flex-direction: column; margin-top: 43px; gap: 23px; padding: 28px 23px; }
  .template-film-page .template-film-story-link h2 { font-size: 25px; }
  .template-film-page .template-film-story-link > a { width: 100%; display: flex; justify-content: space-between; white-space: normal; }
  .template-film-page .template-film-footer { flex-direction: column; gap: 7px; padding: 25px 0 29px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .template-film-page *, .template-film-page *::before, .template-film-page *::after { transition: none !important; scroll-behavior: auto !important; }
}
