/* Services share the existing photographs and quiet transitions. */
@font-face{font-family:'Service Film Serif';src:url('fonts/GowunBatang-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
.home-page { --home-content-width: min(1440px, 94%); }
.home-page #main > .section, .home-page #main > .closing { width: min(1320px, 92%); max-width: none; margin-inline: auto; }
.home-page #main > .section { padding-inline: 0; }
.home-image-note { margin: 14px 0 0; color: #72766c; font-size: 12px; line-height: 1.7; }
.home-page #main > .home-closing { display: grid; grid-template-columns: 1.05fr 1fr; padding: 0; overflow: hidden; text-align: left; background: #f3eee5; margin-bottom: 64px; }
.home-closing .home-closing-image { display: block; width: 100%; height: 100%; min-height: 380px; margin: 0; object-fit: cover; border-radius: 0; }
.home-closing-copy { align-self: center; min-width: 0; padding: 44px clamp(24px, 4vw, 60px); }
.home-closing-copy h2 { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.55; word-break: keep-all; }
.home-closing-copy > p:not(.eyebrow) { word-break: keep-all; line-height: 1.9; }
@media (max-width: 760px) {
  .home-page #main > .home-closing { grid-template-columns: 1fr; margin-bottom: 36px; }
  .home-closing .home-closing-image { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .home-closing-copy { padding: 32px 24px 38px; }
}
#main .warm-hero { position: relative; isolation: isolate; display: grid; width: var(--home-content-width); max-width: 1440px; min-height: 500px; margin: 16px auto 40px; padding: 0; overflow: hidden; border-radius: 22px; background: #30241e; box-shadow: 0 16px 48px #33261810; outline: 1px solid #8b725a1c; }
/* Override the shared text carousel's 8px shift so the hero's top never opens up. */
.hero-slide { --scene-base: #30241e; position: relative; isolation: isolate; z-index: 0; grid-area: 1 / 1; display: flex; justify-content: flex-end; min-width: 0; min-height: 500px; background: var(--scene-base); color: #fff7e9; opacity: 0; visibility: hidden; transform: none; pointer-events: none; }
.hero-slide.is-active { z-index: 2; opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 1.2s ease-in-out; }
.hero-slide.is-outgoing { z-index: 1; opacity: 1; visibility: visible; transition: none; }
.hero-slide[data-scene="family"] { --scene-base: #f3ecdf; justify-content: flex-start; color: #39483b; }
.hero-slide[data-scene="moon"] { --scene-base: #e5d5c1; color: #443427; }
.home-hero-photo { position: absolute; inset: 0; margin: 0; z-index: -2; }
#main .warm-hero .home-hero-video, #main .warm-hero .home-hero-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; border-radius: 0; }
.home-hero-video { opacity: 0; }
.home-hero-video.is-playing { opacity: 1; transition: opacity .35s ease-in-out; }
#main .hero-slide[data-scene="candle-opening"] .home-hero-video, #main .hero-slide[data-scene="candle-opening"] .home-hero-poster { object-position: center 35%; }
#main .warm-hero .home-hero-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; border-radius: 0; }
.hero-slide::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent 38%, #201a1545 58%, #201a1580 100%); pointer-events: none; }
.hero-slide[data-scene="family"]::after { background: linear-gradient(90deg, #f7f1e5f2, #f7f1e5d9 26%, #f7f1e566 43%, transparent 60%); }
.hero-slide[data-scene="moon"]::after { background: linear-gradient(90deg, transparent 40%, #f4e4cd55 57%, #f4e4cd99 100%); }
.warm-hero .editorial-copy { display: flex; flex-direction: column; justify-content: center; width: 43%; min-width: 0; padding: 48px 36px 48px 24px; }
.hero-brand-note { margin: 0 0 26px; color: #dfc8a6; font-size: 10px; letter-spacing: .3em; opacity: .88; }
.warm-hero .home-hero-tagline { font-family: var(--serif); font-size: clamp(1.6rem, 2.55vw, 2.45rem); font-weight: 400; line-height: 1.65; letter-spacing: -.045em; color: #fff8ef; margin: 0 0 24px; word-break: keep-all; overflow-wrap: anywhere; text-shadow: 0 2px 20px #23150c40; }
.warm-hero .home-hero-tagline > span { color: #e8d5b8; }
.warm-hero .home-hero-description { font-size: clamp(.85rem, 1.05vw, .95rem); line-height: 1.95; letter-spacing: -.03em; color: #e0d6c9; margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.hero-message { opacity: 0; transform: translateY(4px); transition: opacity .8s ease-in-out, transform 1.2s ease-in-out; }
.hero-slide.is-active .hero-message { opacity: 1; transform: translateY(0); transition: opacity 1s ease-in-out .3s, transform 1.2s ease-in-out .3s; }
.hero-slide.is-outgoing .hero-message { opacity: 0; transform: translateY(0); transition: opacity .3s ease-out; }
.hero-slide:first-of-type .hero-message { animation: hero-welcome 1.4s ease-in-out backwards; }
@keyframes hero-welcome { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.hero-slide[data-scene="moon"] .hero-brand-note { color: #66503c; }
.hero-slide[data-scene="moon"] .home-hero-tagline { color: #3e3026; text-shadow: none; }
.hero-slide[data-scene="moon"] .home-hero-tagline > span { color: #63462f; }
.hero-slide[data-scene="moon"] .home-hero-description { color: #514133; }
.hero-slide[data-scene="family"] .editorial-copy { width: 46%; padding-left: 5%; }
.hero-slide[data-scene="family"] .hero-brand-note { color: #665a43; }
.hero-slide[data-scene="family"] .home-hero-tagline { color: #354739; text-shadow: none; }
.hero-slide[data-scene="family"] .home-hero-tagline > span { color: #4d5b45; }
.hero-slide[data-scene="family"] .home-hero-description { color: #4d5547; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 24px; }
.hero-actions a { display: inline-flex; gap: 12px; align-items: center; justify-content: center; min-height: 44px; color: inherit; font-size: 12px; line-height: 1.5; }
.hero-actions .hero-action-primary { padding: 11px 17px; border: 1px solid currentColor; border-radius: 7px; background: #fff8ee14; text-decoration: none; }
.hero-actions a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-actions a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

/* Compact invitations, with the same quiet scale as the surrounding page. */
.home-page .home-next-steps { gap: 18px; }
.home-next-steps > .home-next-step { --invitation-accent: #785e40; display: flex; flex-direction: column; padding: 20px 26px; border: 1px solid #e4dacc; border-radius: 16px; background: linear-gradient(115deg, #f7f2e9, #fcfaf6); color: #494638; box-shadow: 0 4px 16px #57493404; transition: border-color .2s ease, box-shadow .2s ease; }
.home-next-steps > .home-next-step--everyday { --invitation-accent: #61725a; border-color: #dce1d4; background: linear-gradient(115deg, #f0f3eb, #f9faf5); color: #3e4b3e; }
.home-next-step__heading { display: flex; align-items: center; gap: 13px; }
.home-next-step__icon { flex: 0 0 30px; width: 30px; height: 30px; color: var(--invitation-accent); }
.home-next-step__heading strong { font-size: 20px; line-height: 1.55; letter-spacing: -.045em; word-break: keep-all; }
.home-next-step > p { margin: 8px 0 12px 43px; color: #67685d; font-size: 13px; line-height: 1.8; word-break: keep-all; }
.home-next-step .home-next-step__action { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: auto 0 0 43px; color: var(--invitation-accent); font-size: 12px; font-weight: 500; line-height: 1.8; text-decoration: none; }
.home-next-step__action svg { flex-shrink: 0; transition: transform .2s ease; }
.home-next-steps > .home-next-step:hover { border-color: var(--invitation-accent); box-shadow: 0 5px 18px #5749340a; }
.home-next-step:hover .home-next-step__action svg { transform: translateX(3px); }
.home-next-steps > .home-next-step:focus-visible { outline: 2px solid var(--invitation-accent); outline-offset: 4px; }
@media (max-width: 1100px) {
  .home-next-steps > .home-next-step { padding: 20px; }
  .home-next-step__heading { gap: 10px; }
  .home-next-step__heading strong { font-size: 18px; }
  .home-next-step > p, .home-next-step .home-next-step__action { margin-left: 0; }
}
@media (max-width: 640px) {
  .home-page .home-next-steps { grid-template-columns: 1fr; gap: 12px; }
  .home-next-steps > .home-next-step { padding: 18px 20px; border-radius: 14px; }
}
@media (max-width: 360px) {
  .home-next-steps > .home-next-step { padding: 16px; }
  .home-next-step__heading strong { font-size: 17px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  #main .warm-hero, .hero-slide { min-height: 480px; }
  .warm-hero .editorial-copy { width: 45%; padding-inline: 22px; }
}
@media (max-width: 760px) {
  #main .warm-hero { width: calc(100% - 24px); margin: 12px auto 28px; min-height: 570px; border-radius: 18px; }
  .hero-slide { min-height: 570px; padding-top: 240px; align-items: center; }
  #main .warm-hero .hero-slide .home-hero-video, #main .warm-hero .hero-slide .home-hero-poster { position: absolute; top: 0; height: 320px; object-position: 22% 62%; mask-image: linear-gradient(#000 65%, transparent 100%); }
  #main .warm-hero .hero-slide .home-hero-image { position: absolute; top: 0; height: 320px; object-position: 80% center; mask-image: linear-gradient(#000 65%, transparent 100%); }
  .hero-slide::after, .hero-slide[data-scene="moon"]::after, .hero-slide[data-scene="family"]::after { background: linear-gradient(180deg, transparent 170px, var(--scene-base) 330px); }
  .warm-hero .editorial-copy { width: 100%; padding: 24px 24px 40px; }
  .hero-slide[data-scene="family"] .editorial-copy { width: 100%; padding: 24px 24px 40px; }
  .hero-brand-note { margin-bottom: 12px; font-size: 9px; }
  .warm-hero .home-hero-tagline { font-size: clamp(1.4rem, 5.8vw, 1.9rem); margin-bottom: 14px; }
  .warm-hero .home-hero-description { font-size: .82rem; line-height: 1.9; }
  .hero-actions { margin-top: 18px; gap: 6px 12px; }
  .hero-actions a { font-size: 11px; }
  .hero-actions .hero-action-primary { padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.is-active, .hero-message, .hero-slide.is-active .hero-message { transition: none; transform: none; }
  .hero-slide:first-of-type .hero-message { animation: none; }
}

/* Persistent names show the full range before the first automatic change. */
#main .warm-hero { margin-bottom: 28px; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; }
.warm-hero .hero-slide { touch-action: pan-y pinch-zoom; min-height: 480px; }
.warm-hero .hero-service-name { margin: 0 0 16px; font: 500 22px/1.5 var(--serif); letter-spacing: -.035em; color: inherit; }
.hero-service-name span { display: block; margin-top: 5px; font: 400 12px/1.6 var(--sans); letter-spacing: 0; }
.warm-hero .hero-brand-note { margin-bottom: 20px; }
.warm-hero .home-hero-tagline { font-size: clamp(25px, 2.55vw, 37px); margin-bottom: 16px; line-height: 1.55; }
.warm-hero .home-hero-description { max-width: 350px; }
.hero-service-note { margin: 10px 0 0; font-size: 11px; line-height: 1.7; color: inherit; }
.warm-hero .hero-slide[data-scene="album"] { --scene-base: #f3ecdf; color: #39483b; }
.hero-slide[data-scene="album"]::after { background: linear-gradient(90deg, transparent 20%, #f3ecdf55 42%, #f3ecdfeb 59%, #f3ecdf 100%); }
.hero-slide[data-scene="album"] .hero-brand-note { color: #665a43; }
.warm-hero .hero-slide[data-scene="album"] .home-hero-tagline { color: #354739; text-shadow: none; }
.warm-hero .hero-slide[data-scene="album"] .home-hero-tagline > span { color: #4d5b45; }
.warm-hero .hero-slide[data-scene="album"] .home-hero-description { color: #4d5547; }
#main .warm-hero .hero-slide[data-scene="album"] .home-hero-image { width: 72%; object-position: center; }
.hero-service-navigation { grid-area: 2 / 1; position: relative; z-index: 3; display: flex; align-items: stretch; min-width: 0; gap: 24px; padding: 0 30px; background: #faf7ef; color: #3c4b3f; border-top: 1px solid #ded9ca; }
.hero-service-choices { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); flex: 1; min-width: 0; }
.hero-service-choices a { display: flex; align-items: center; gap: 12px; min-height: 86px; padding: 14px 12px; position: relative; color: #656b5c; text-decoration: none; border-bottom: 3px solid transparent; }
.hero-service-choices a + a { border-left: 1px solid #e5e1d5; }
.hero-service-choices a.is-selected { color: #344a3b; background: #ebefe4; border-bottom-color: #50664d; }
.hero-service-choices strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.hero-service-choices small { display: block; font-size: 11px; line-height: 1.65; }
.hero-choice-index { font: italic 16px Georgia, serif; opacity: .75; }
.hero-playback { display: flex; justify-content: center; align-items: center; gap: 2px; }
.hero-playback[hidden] { display: none; }
.hero-playback > span { padding-right: 8px; font-size: 11px; letter-spacing: .06em; white-space: nowrap; }
.hero-playback button { min-height: 44px; min-width: 44px; padding: 6px; background: transparent; border: 0; color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
.hero-playback [data-hero-toggle] { min-width: 96px; font-size: 12px; }
.hero-service-navigation a:hover, .hero-playback button:hover { background: #e9edde; }
.hero-service-navigation :focus-visible { outline: 2px solid #50664d; outline-offset: -4px; border-radius: 4px; }
@media (min-width: 761px) and (max-width: 1200px) {
  .hero-service-navigation { padding-inline: 14px; gap: 12px; flex-wrap: wrap; }
  .hero-service-choices { flex-basis: 100%; }
  .hero-playback { margin: -10px auto 0; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .warm-hero .editorial-copy { width: 48%; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .hero-service-choices a { gap: 6px; padding-inline: 6px; }
  .hero-choice-index, .hero-service-choices strong { font-size: 14px; }
  .hero-service-choices small { font-size: 10px; }
}
@media (max-width: 760px) {
  #main .warm-hero { min-height: 0; margin-top: 12px; }
  .warm-hero .hero-slide { min-height: 448px; padding-top: 178px; align-items: stretch; }
  #main .warm-hero .hero-slide .home-hero-image,
  #main .warm-hero .hero-slide .home-hero-video,
  #main .warm-hero .hero-slide .home-hero-poster { height: 255px; mask-image: linear-gradient(#000 65%, transparent); }
  #main .warm-hero .hero-slide[data-scene="album"] .home-hero-image { width: 100%; object-position: center 53%; }
  .warm-hero .hero-slide::after { background: linear-gradient(180deg, transparent 150px, var(--scene-base) 263px); }
  .warm-hero .editorial-copy, .hero-slide[data-scene="family"] .editorial-copy { width: 100%; padding: 18px 24px 22px; justify-content: flex-start; }
  .warm-hero .hero-brand-note { display: none; }
  .warm-hero .hero-service-name { font-size: 20px; margin-bottom: 12px; }
  .hero-service-name span { display: inline; margin-left: 8px; font-size: 10px; }
  .warm-hero .home-hero-tagline { font-size: clamp(25px, 6.4vw, 31px); margin-bottom: 12px; }
  .warm-hero .home-hero-description { font-size: 13px; line-height: 1.8; }
  .hero-service-note { margin-top: 7px; font-size: 10px; }
  .warm-hero .hero-actions { margin-top: 14px; }
  .warm-hero .hero-actions a { font-size: 12px; }
  .hero-service-navigation { display: block; padding: 0 12px; }
  .hero-service-choices { display: flex; overflow-x: auto; scrollbar-width: thin; }
  .hero-service-choices a { flex: 0 0 148px; min-height: 59px; padding: 7px 10px; gap: 9px; border-bottom-width: 2px; }
  .hero-service-choices strong { font-size: 13px; }
  .hero-service-choices small { font-size: 10px; }
  .hero-playback { min-height: 44px; }
}

/* The company film stays in the hero and uses its original framing and controls. */
.warm-hero .hero-company { background: #181c18; padding: 0; }
.hero-company::after { display: none; }
.hero-company-player { position: absolute; inset: 0; display: flex; flex-direction: column; min-width: 0; }
.hero-company-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 16px 24px; }
.hero-company-heading h2 { margin: 0; color: #fff7e9; font: 500 20px/1.6 var(--serif); }
.hero-company-heading h2 { font-family:'Service Film Serif','Batang',serif; font-weight:400; }
[data-hero-company-video]::cue { background:transparent; color:#fff9ed; font-family:'Service Film Serif','Batang',serif; font-weight:400; font-size:clamp(11px,1.35vw,20px); text-shadow:0 1px 3px #181c18; }
.hero-company-heading small { margin-left: 8px; font: 400 12px var(--sans); color: #d8d9cf; white-space: nowrap; }
.hero-company-heading a { display: inline-flex; align-items: center; min-height: 44px; color: #e4ddce; font-size: 12px; }
#main .warm-hero [data-hero-company-video] { display: block; flex: 1; min-height: 0; width: 100%; height: 0; object-fit: contain; border-radius: 0; background: #101310; }
.hero-company-player > p { margin: 0; padding: 10px 24px; color: #d8d9cf; font-size: 11px; line-height: 1.7; }
@media (max-width: 760px) {
  .hero-company-heading { padding: 18px; gap: 0; }
  .hero-company-heading h2 { font-size: 18px; }
  .hero-company-player > p { padding: 12px 18px; }
}
@media (max-width: 360px) {
  .warm-hero .editorial-copy, .hero-slide[data-scene="family"] .editorial-copy { padding-inline: 18px; }
  .hero-service-name span { display: block; margin: 2px 0 0; }
  .warm-hero .hero-service-name { margin-bottom: 9px; }
}
