#suite-gallery { width: 100%; margin-inline: auto; color: #243240; }
#suite-gallery .suite-grid { display: flex; flex-direction: column; gap: 0; width: 100%; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; scrollbar-width: auto; }
#suite-gallery .suite-grid > .suite-card {
  --chapter-bg: #f4e5e9; --chapter-ink: #5f2c43; --chapter-accent: #843c58; --chapter-glow: #e5b9ca; --chapter-button-ink: #fff9fc;
  --chapter-start: var(--chapter-start-light, var(--chapter-bg)); --chapter-end: var(--chapter-end-light, var(--chapter-bg));
  position: relative; display: block; min-width: 0; min-height: 0; margin: 0; padding: 0; overflow: hidden;
  border: 0; border-radius: 0; background: linear-gradient(180deg, var(--chapter-start) 0%, var(--chapter-bg) 48px, color-mix(in srgb, var(--chapter-bg) 86%, var(--chapter-glow)) 62%, var(--chapter-end) 100%);
  color: var(--chapter-ink); opacity: 1; transform: none; scroll-snap-align: none; isolation: isolate;
}
#suite-gallery .suite-grid > .suite-card::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 8% 35%, color-mix(in srgb, var(--chapter-glow) 72%, transparent), transparent 62%), radial-gradient(ellipse at 93% 64%, color-mix(in srgb, var(--chapter-accent) 15%, transparent), transparent 57%);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 72%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 72%, transparent);
}
#suite-gallery .suite-card[data-suite="papatya"] { --chapter-bg: #faf3d8; --chapter-ink: #655322; --chapter-accent: #806319; --chapter-glow: #f0d583; }
#suite-gallery .suite-card[data-suite="azelya"] { --chapter-bg: #f5e3ee; --chapter-ink: #743953; --chapter-accent: #98446c; --chapter-glow: #e0a9ca; }
#suite-gallery .suite-card[data-suite="nergis"] { --chapter-bg: #f4ecc8; --chapter-ink: #66591e; --chapter-accent: #806b17; --chapter-glow: #e2cd6f; }
#suite-gallery .suite-card[data-suite="aster"] { --chapter-bg: #ece5f5; --chapter-ink: #53406b; --chapter-accent: #675092; --chapter-glow: #c7b1e2; }
#suite-gallery .suite-card[data-suite="lilyum"] { --chapter-bg: #f7ede7; --chapter-ink: #705256; --chapter-accent: #8a5c65; --chapter-glow: #e9cec6; }
#suite-gallery .suite-card[data-suite="petunya"] { --chapter-bg: #eae0ef; --chapter-ink: #5e356c; --chapter-accent: #714482; --chapter-glow: #c8a8dc; }
#suite-gallery .suite-card[data-suite="frezya"] { --chapter-bg: #f7e4d4; --chapter-ink: #795039; --chapter-accent: #9a593a; --chapter-glow: #edb78d; }
html[data-theme="dark"] #suite-gallery .suite-card { --chapter-start: var(--chapter-start-dark, var(--chapter-bg)); --chapter-end: var(--chapter-end-dark, var(--chapter-bg)); --chapter-bg: #3a2330; --chapter-ink: #faeaf0; --chapter-accent: #f0acc7; --chapter-glow: #72415a; --chapter-button-ink: #35202c; }
html[data-theme="dark"] #suite-gallery .suite-card[data-suite="papatya"] { --chapter-bg: #332f1f; --chapter-ink: #fff7de; --chapter-accent: #e6cd80; --chapter-glow: #706237; --chapter-button-ink: #332b15; }
html[data-theme="dark"] #suite-gallery .suite-card[data-suite="azelya"] { --chapter-bg: #3c2538; --chapter-ink: #fff0f9; --chapter-accent: #e4a4c9; --chapter-glow: #724463; --chapter-button-ink: #382034; }
html[data-theme="dark"] #suite-gallery .suite-card[data-suite="nergis"] { --chapter-bg: #35301c; --chapter-ink: #fff8d9; --chapter-accent: #edcf6b; --chapter-glow: #75632c; --chapter-button-ink: #332b12; }
html[data-theme="dark"] #suite-gallery .suite-card[data-suite="aster"] { --chapter-bg: #2e273f; --chapter-ink: #f5efff; --chapter-accent: #c2b0e7; --chapter-glow: #584574; --chapter-button-ink: #2d223d; }
html[data-theme="dark"] #suite-gallery .suite-card[data-suite="lilyum"] { --chapter-bg: #332b2b; --chapter-ink: #fff4ee; --chapter-accent: #e4c5bd; --chapter-glow: #705451; --chapter-button-ink: #382829; }
html[data-theme="dark"] #suite-gallery .suite-card[data-suite="petunya"] { --chapter-bg: #31213a; --chapter-ink: #f7eafa; --chapter-accent: #d6a9e8; --chapter-glow: #633e78; --chapter-button-ink: #34203b; }
html[data-theme="dark"] #suite-gallery .suite-card[data-suite="frezya"] { --chapter-bg: #39291f; --chapter-ink: #fff1e3; --chapter-accent: #efba96; --chapter-glow: #785039; --chapter-button-ink: #392417; }
#suite-gallery .suite-card[hidden] { display: none !important; }
#suite-gallery .chapter-ambient {
  position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; user-select: none;
  mask-image: linear-gradient(180deg, transparent 0px, #000 28px, #000 calc(100% - 28px), transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0px, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
#suite-gallery .chapter-background-botanical {
  position: absolute; top: -105px; right: -45px; display: block; width: clamp(480px, 44vw, 650px); height: clamp(560px, 49vw, 740px); max-width: none;
  object-fit: contain; object-position: top right; opacity: .16; pointer-events: none; user-select: none;
}
#suite-gallery .chapter-background-branch {
  position: absolute; top: -70px; left: -115px; display: block; width: 350px; height: 410px; max-width: none;
  object-fit: contain; object-position: top left; opacity: .12; transform: rotate(-16deg); transform-origin: 40% 90%; pointer-events: none; user-select: none;
  animation: lobelya-home-branch-breeze 24s ease-in-out infinite; animation-play-state: paused;
}
#suite-gallery .collection-chapter[data-composition="reverse"] .chapter-background-branch { transform: scaleX(-1) rotate(16deg); }
#suite-gallery .chapter-background-branch[data-motion="running"] { animation-play-state: running; will-change: rotate, translate; }
#suite-gallery .suite-card[hidden] .chapter-background-branch { animation-play-state: paused; }
@keyframes lobelya-home-branch-breeze { 0%, 100% { rotate: -1.4deg; translate: 0px 0px; } 50% { rotate: 1.4deg; translate: 2px 1px; } }
html[data-theme="dark"] #suite-gallery .chapter-background-botanical { opacity: .18; }
html[data-theme="dark"] #suite-gallery .chapter-background-branch { opacity: .14; }
#suite-gallery .collection-chapter[data-first-visible="true"] {
  --chapter-flat-top: 330px;
  background: linear-gradient(180deg, var(--chapter-bg) 0px, var(--chapter-bg) var(--chapter-flat-top), color-mix(in srgb, var(--chapter-bg) 86%, var(--chapter-glow)) 68%, var(--chapter-end) 100%);
}
#suite-gallery .suite-grid > .collection-chapter[data-first-visible="true"]::before {
  mask-image: linear-gradient(180deg, transparent 0px, transparent var(--chapter-flat-top), #000 calc(var(--chapter-flat-top) + 100px), #000 76%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent 0px, transparent var(--chapter-flat-top), #000 calc(var(--chapter-flat-top) + 100px), #000 76%, transparent);
}
#suite-gallery .chapter-inner { position: relative; z-index: 1; width: min(1480px, calc(100% - 96px)); margin-inline: auto; padding-block: 58px 88px; }
#suite-gallery .collection-chapter[data-first-visible="true"] .chapter-inner { padding-top: 64px; }
#suite-gallery .chapter-copy { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 28px; }
#suite-gallery .chapter-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; min-width: 0; }
#suite-gallery .chapter-title-cluster { display: flex; align-items: center; gap: 14px; min-width: 0; }
#suite-gallery .chapter-heading h3 { margin: 0; color: var(--chapter-accent); font-family: var(--display); font-size: clamp(90px, 7vw, 112px); font-weight: 600; line-height: .95; letter-spacing: -.045em; }
#suite-gallery .chapter-botanical { display: block; flex: 0 0 auto; width: 132px; height: 138px; margin-block: -14px; object-fit: contain; object-position: center; pointer-events: none; user-select: none; }
#suite-gallery .chapter-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 300px; max-width: 100%; margin: 0; color: var(--chapter-ink); }
#suite-gallery .chapter-fact { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 76px; padding: 10px 7px; border: 1px solid color-mix(in srgb, var(--chapter-accent) 32%, transparent); border-radius: 10px 3px 10px 3px; background: color-mix(in srgb, var(--chapter-bg) 74%, transparent); }
#suite-gallery .chapter-fact dt { margin: 6px 0 0; font-size: 14px; font-weight: 550; line-height: 1.25; white-space: nowrap; }
#suite-gallery .chapter-fact dd { order: -1; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; color: var(--chapter-accent); font-size: 30px; font-weight: 750; line-height: 1; }
#suite-gallery .chapter-fact dd .icon { width: 21px; height: 21px; flex: 0 0 auto; }
#suite-gallery .chapter-actions { display: flex; flex-shrink: 0; align-items: center; flex-wrap: wrap; gap: 10px; }
#suite-gallery .chapter-detail, #suite-gallery .chapter-inquire { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--chapter-accent); border-radius: 40px; font: inherit; font-size: 14px; font-weight: 650; line-height: 1.4; text-decoration: none; cursor: pointer; transition: background 180ms ease, color 180ms ease; }
#suite-gallery .chapter-detail { background: var(--chapter-accent); color: var(--chapter-button-ink); }
#suite-gallery .chapter-inquire { background: transparent; color: var(--chapter-accent); }
#suite-gallery .chapter-detail:hover { background: color-mix(in srgb, var(--chapter-accent) 87%, var(--chapter-bg)); }
#suite-gallery .chapter-inquire:hover { background: var(--chapter-accent); color: var(--chapter-button-ink); }
#suite-gallery .chapter-collage { position: relative; height: clamp(470px, 44vw, 650px); width: 100%; min-width: 0; }
#suite-gallery .chapter-photo-link { position: absolute; display: block; overflow: hidden; min-width: 0; border: 6px solid color-mix(in srgb, var(--chapter-bg) 80%, white); border-radius: 5px; background: var(--chapter-bg); box-shadow: 0 18px 45px #122b3a24; isolation: isolate; }
#suite-gallery .chapter-photo-main { z-index: 1; left: 0; top: 0; width: 78%; height: 86%; border: 0; border-radius: 5px 64px 5px 5px; }
#suite-gallery .chapter-photo-link:nth-child(2) { z-index: 3; right: 0; top: 8%; width: 31%; height: 42%; transform: rotate(1.1deg); }
#suite-gallery .chapter-photo-link:nth-child(3) { z-index: 2; right: 5%; bottom: 0; width: 32%; height: 43%; transform: rotate(-1.2deg); }
#suite-gallery .collection-chapter[data-composition="reverse"] .chapter-photo-main { left: auto; right: 0; border-radius: 64px 5px 5px 5px; }
#suite-gallery .collection-chapter[data-composition="reverse"] .chapter-photo-link:nth-child(2) { right: auto; left: 0; transform: rotate(-1.1deg); }
#suite-gallery .collection-chapter[data-composition="reverse"] .chapter-photo-link:nth-child(3) { right: auto; left: 5%; transform: rotate(1.2deg); }
#suite-gallery .chapter-photo-link img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--chapter-position, center); transition: transform 800ms cubic-bezier(.2,.7,.2,1); }
#suite-gallery .chapter-photo-action { position: absolute; left: 18px; bottom: 16px; padding: 8px 12px; border: 1px solid #ffffff70; border-radius: 30px; color: #fffefa; background: #0b24358f; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; font-weight: 550; line-height: 1.4; opacity: 0; transform: translateY(4px); transition: opacity 180ms ease, transform 180ms ease; pointer-events: none; }
#suite-gallery .chapter-photo-link:not(.chapter-photo-main) .chapter-photo-action { display: none; }
#suite-gallery .chapter-photo-link:focus-visible { outline: 3px solid var(--chapter-accent); outline-offset: 4px; }
#suite-gallery .chapter-actions > :focus-visible { outline: 2px solid var(--chapter-ink); outline-offset: 4px; }
#suite-gallery .chapter-photo-link:focus-visible .chapter-photo-action { opacity: 1; transform: none; }
@media (hover: hover) { #suite-gallery .chapter-photo-link:hover img { transform: scale(1.035); } #suite-gallery .chapter-photo-link:hover .chapter-photo-action { opacity: 1; transform: none; } }
/* A vertical source-card fallback remains available without the component. */
#suite-gallery .suite-grid > .suite-card:not(.collection-chapter) { display: grid; grid-template-columns: 1.7fr 1fr; align-items: center; gap: 35px; padding: 55px max(32px, calc((100% - 1440px) / 2)); }
#suite-gallery .suite-grid > .suite-card:not(.collection-chapter) .card-media { aspect-ratio: 1.6; border-radius: 4px; }
#suite-gallery .suite-grid > .suite-card:not(.collection-chapter) .card-body { display: block; padding: 0; }
#suite-gallery .suite-grid > .suite-card:not(.collection-chapter) h3 { color: var(--chapter-accent); font-size: 64px; }
#suite-gallery .suite-grid > .suite-card:not(.collection-chapter) .card-body p { color: var(--chapter-ink); font-size: 16px; line-height: 1.6; }
#suite-gallery .suite-grid > .suite-card:not(.collection-chapter) .suite-facts { color: var(--chapter-ink); font-size: 14px; margin-top: 16px; }
#suite-gallery .suite-grid > .suite-card:not(.collection-chapter) .card-link { color: var(--chapter-accent); font-size: 14px; }
@media (max-width: 1100px) {
  #suite-gallery .chapter-inner { width: calc(100% - 64px); padding-block: 50px 70px; }
  #suite-gallery .chapter-heading { gap: 18px 26px; }
  #suite-gallery .chapter-heading h3 { font-size: 94px; }
  #suite-gallery .chapter-botanical { width: 114px; height: 120px; margin-block: -10px; }
  #suite-gallery .chapter-copy { gap: 20px; }
  #suite-gallery .chapter-collage { height: clamp(410px, 46vw, 520px); }
  #suite-gallery .chapter-facts { gap: 8px; }
  #suite-gallery .chapter-detail, #suite-gallery .chapter-inquire { padding-inline: 15px; }
}
@media (max-width: 760px) {
  #suite-gallery .chapter-inner { width: calc(100% - 40px); padding-block: 42px 56px; }
  #suite-gallery .collection-chapter[data-first-visible="true"] .chapter-inner { padding-top: 64px; }
  #suite-gallery .chapter-copy { flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 23px; }
  #suite-gallery .chapter-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; width: 100%; }
  #suite-gallery .chapter-heading h3 { font-size: 80px; margin: 0; }
  #suite-gallery .chapter-botanical { width: 90px; height: 100px; margin-block: -8px; }
  #suite-gallery .chapter-actions { gap: 9px; }
  #suite-gallery .chapter-background-botanical { top: -62px; right: -72px; width: 330px; height: 390px; opacity: .12; }
  #suite-gallery .chapter-background-branch { top: -42px; left: -104px; width: 220px; height: 270px; opacity: .09; }
  html[data-theme="dark"] #suite-gallery .chapter-background-botanical { opacity: .14; }
  html[data-theme="dark"] #suite-gallery .chapter-background-branch { opacity: .11; }
  #suite-gallery .chapter-collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 10px; height: auto; }
  #suite-gallery .chapter-photo-link, #suite-gallery .collection-chapter[data-composition="reverse"] .chapter-photo-link { position: relative; inset: auto; width: 100%; height: auto; transform: none; border-width: 4px; border-radius: 3px; box-shadow: 0 12px 24px #122b3a1a; }
  #suite-gallery .chapter-photo-main, #suite-gallery .collection-chapter[data-composition="reverse"] .chapter-photo-main { grid-column: 1 / -1; aspect-ratio: 1.55; border: 0; border-radius: 3px 40px 3px 3px; }
  #suite-gallery .chapter-photo-link:nth-child(2), #suite-gallery .collection-chapter[data-composition="reverse"] .chapter-photo-link:nth-child(2) { inset: auto; width: calc(100% - 8px); height: auto; transform: none; margin-left: 8px; margin-top: -28px; aspect-ratio: 4 / 3; }
  #suite-gallery .chapter-photo-link:nth-child(3), #suite-gallery .collection-chapter[data-composition="reverse"] .chapter-photo-link:nth-child(3) { inset: auto; width: calc(100% - 8px); height: auto; transform: none; margin-right: 8px; margin-top: -13px; aspect-ratio: 4 / 3; }
  #suite-gallery .suite-grid > .suite-card:not(.collection-chapter) { grid-template-columns: minmax(0, 1fr); padding: 38px 20px 44px; gap: 24px; }
}
@media (max-width: 560px) {
  #suite-gallery .chapter-inner { width: calc(100% - 32px); padding-block: 34px 48px; }
  #suite-gallery .chapter-copy { gap: 18px; }
  #suite-gallery .chapter-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  #suite-gallery .chapter-title-cluster { gap: 10px; width: 100%; }
  #suite-gallery .chapter-heading h3 { font-size: clamp(66px, 18vw, 80px); margin: 0; }
  #suite-gallery .chapter-botanical { width: 80px; height: 90px; margin-block: -7px; }
  #suite-gallery .chapter-facts { width: 100%; gap: 8px; }
  #suite-gallery .chapter-fact { padding: 10px 6px; min-height: 74px; }
  #suite-gallery .chapter-fact dd { gap: 7px; font-size: 28px; }
  #suite-gallery .chapter-background-botanical { top: -58px; right: -78px; width: 300px; height: 360px; }
  #suite-gallery .chapter-background-branch { top: -38px; left: -100px; width: 200px; height: 240px; }
  #suite-gallery .chapter-detail, #suite-gallery .chapter-inquire { padding-inline: 16px; }
  #suite-gallery .chapter-photo-action { left: 12px; bottom: 12px; }
  #suite-gallery .suite-grid > .suite-card:not(.collection-chapter) { padding-inline: 16px; }
}
@media (max-width: 360px) { #suite-gallery .chapter-botanical { width: 64px; height: 76px; } }
@media (prefers-reduced-motion: reduce) { #suite-gallery .chapter-photo-link img, #suite-gallery .chapter-photo-action, #suite-gallery .chapter-actions > * { transition: none !important; } #suite-gallery .chapter-photo-link img { transform: none !important; } }
@media (prefers-reduced-motion: reduce) { #suite-gallery .chapter-background-branch { animation: none !important; rotate: none !important; translate: none !important; will-change: auto; } }
