/* Illustrated special-day collection. No animation or sound; artwork stays legible. */
.occasion-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 17px 5%;
  background: #151218;
  border-bottom: 1px solid #45333d;
  color: #fff;
}
.occasion-banner > div {
  display: grid;
  gap: 4px;
}
.occasion-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #dbc5ca;
}
.occasion-banner strong {
  font-size: 15px;
  line-height: 1.5;
}
.occasion-flag {
  width: 48px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}
.occasion-flag[hidden],
.occasion-secondary:empty {
  display: none;
}
.occasion-secondary {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  color: #e3cda2;
  margin-top: 10px;
}
[data-occasion] .hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  min-height: clamp(500px, 36vw, 640px);
  padding: 0 4%;
  background: #000;
  border-bottom: 1px solid #4b333c;
  overflow: hidden;
}
[data-occasion] .hero:before,
[data-occasion] .hero:after {
  display: none;
}
.occasion-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  z-index: 0;
}
.occasion-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #03030580, transparent 60%);
  z-index: 0;
  pointer-events: none;
}
[data-occasion] .hero .copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 58%;
  max-width: 800px;
  padding: 44px 0;
  justify-content: center;
  min-width: 0;
}
[data-occasion] .hero .copy > p,
[data-occasion] .hero-tagline {
  display: none;
}
.occasion-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  letter-spacing: 0.2em;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.7;
  text-transform: uppercase;
  color: #e9dfe3;
}
.occasion-eyebrow:before {
  content: "";
  width: 34px;
  height: 2px;
  flex-shrink: 0;
  background: var(--occasion-accent, #ed2347);
}
[data-occasion] .hero h1 {
  display: block;
  width: 100%;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 900;
  font-style: normal;
  white-space: normal;
  margin: 26px 0 21px;
  color: #fff;
  max-width: 100%;
  overflow-wrap: normal;
}
[data-occasion] .hero h1 span {
  display: block;
}
.occasion-hero-message {
  padding: 0;
  border: 0;
  margin: 0 0 26px;
  max-width: 540px;
}
.occasion-hero-message > strong {
  display: block;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 500;
  max-width: 470px;
  color: #eee5e7;
  text-wrap: pretty;
}
.occasion-hero-message > span:not(.occasion-secondary) {
  display: block;
  font-size: 12px;
  line-height: 1.9;
  margin-top: 17px;
  color: #c8bdc2;
  max-width: 460px;
}
.occasion-art-caption {
  position: absolute;
  right: 5%;
  bottom: 30px;
  z-index: 1;
  max-width: 43%;
  text-align: right;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.16em;
  color: #e3d5d5;
  text-shadow: 0 2px 8px #000;
}
[data-occasion] .hero .actions {
  margin-top: 0;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
[data-occasion] .hero .btn,
[data-occasion] .hero .plain {
  background: #08090b44;
  border: 1px solid #ffffff70;
  border-radius: 4px;
  padding: 12px 17px;
  min-height: 43px;
  font-size: 12px;
  color: #fff;
}
[data-occasion] .hero .btn:hover,
[data-occasion] .hero .plain:hover {
  background: #ffffff15;
  border-color: #fff;
}
[data-occasion-kind="memorial"] .hero {
  border-bottom-color: #40454e;
}
[data-occasion-kind="religious"] .hero {
  border-bottom-color: #66543b;
}
[data-occasion-kind="religious"] .occasion-banner {
  background: #132820;
  border-bottom-color: #6a583b;
}
[data-occasion-kind="memorial"] .occasion-banner {
  background: #15171c;
  border-bottom-color: #464b56;
}
[data-occasion-kind="tribute"] .occasion-banner {
  background: #211b27;
  border-bottom-color: #665166;
}
@media (min-width: 1800px) {
  [data-occasion] .hero .copy {
    max-width: 820px;
  }
  [data-occasion] .hero h1 {
    font-size: 64px;
  }
}
@media (max-width: 1100px) {
  [data-occasion] .hero .copy {
    width: 60%;
    padding-top: 42px;
  }
  [data-occasion] .hero h1 {
    font-size: clamp(40px, 4.8vw, 54px);
  }
  .occasion-hero-message > strong {
    font-size: 15px;
  }
  .occasion-art-caption {
    font-size: 8px;
  }
  .occasion-eyebrow {
    font-size: 9px;
    letter-spacing: 0.14em;
  }
}
@media (max-width: 1150px) {
  [data-occasion] .hero {
    min-height: 0;
    display: block;
    padding: 0 20px;
    background: #08090b;
  }
  .occasion-art {
    height: 370px;
    object-fit: cover;
    object-position: right top;
  }
  .occasion-shade {
    background: linear-gradient(
      180deg,
      transparent 190px,
      #08090b80 285px,
      #08090b 370px
    );
    height: 100%;
  }
  [data-occasion] .hero .copy {
    width: 100%;
    max-width: none;
    padding: 340px 0 28px;
    min-height: 0;
  }
  .occasion-eyebrow {
    font-size: 9px;
    letter-spacing: 0.12em;
    gap: 10px;
    line-height: 1.7;
  }
  .occasion-eyebrow:before {
    width: 22px;
  }
  [data-occasion] .hero h1 {
    font-size: clamp(31px, 8.8vw, 48px);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin: 19px 0 18px;
    white-space: normal;
    max-width: 100%;
  }
  .occasion-hero-message {
    margin: 0 0 23px;
    max-width: 100%;
  }
  .occasion-hero-message > strong {
    font-size: 14px;
    line-height: 1.75;
    color: #eee2e5;
  }
  .occasion-hero-message > span:not(.occasion-secondary) {
    font-size: 11px;
    line-height: 1.8;
    margin-top: 13px;
    max-width: 100%;
  }
  .occasion-secondary {
    font-size: 11px;
  }
  .occasion-art-caption {
    display: none;
  }
  [data-occasion] .hero .actions {
    margin-top: 0;
    width: 100%;
    gap: 10px;
    align-items: stretch;
  }
  [data-occasion] .hero .actions .btn,
  [data-occasion] .hero .actions .plain {
    flex: 1 1 135px;
    padding: 11px 10px;
    font-size: 11px;
    white-space: normal;
    text-align: center;
    min-height: 43px;
  }
  .occasion-banner {
    padding: 14px 20px;
    gap: 12px;
  }
  .occasion-banner strong {
    font-size: 12px;
  }
  .occasion-label {
    font-size: 8px;
  }
  .occasion-flag {
    width: 42px;
    height: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-occasion] .hero * {
    animation: none !important;
    transition: none !important;
  }
}
/* Keep the full portrait and flag within small-screen illustration crops. */
@media (max-width: 1150px) {
  [data-occasion] .hero {
    --occasion-panel-height: clamp(300px, 85vw, 370px);
  }
  .occasion-art {
    height: var(--occasion-panel-height);
  }
  .occasion-shade {
    background: linear-gradient(
      180deg,
      transparent calc(var(--occasion-panel-height) - 160px),
      #08090b80 calc(var(--occasion-panel-height) - 85px),
      #08090b var(--occasion-panel-height)
    );
  }
  [data-occasion] .hero .copy {
    padding-top: calc(var(--occasion-panel-height) - 30px);
  }
}
