/* XLClass homepage — cinematic redesign (DESIGN.md) */
:root {
  --xlh-ink: #14141a;
  --xlh-mute: #5c6170;
  --xlh-paper: #f7f4ef;
  --xlh-snow: #fffefc;
  --xlh-line: #e4dfd6;
  --xlh-brand: #e85a1c;
  --xlh-brand-hover: #c44814;
  --xlh-night: #0e1018;
  --xlh-night-fade: rgba(14, 16, 24, 0.72);
  --xlh-radius-card: 20px;
  --xlh-radius-btn: 12px;
  --xlh-shadow: 0 12px 40px rgba(14, 16, 24, 0.08);
  --xlh-section-y: clamp(3.5rem, 8vw, 6.5rem);
  --xlh-wrap: min(1120px, calc(100% - 2.5rem));
  --xlh-wrap-wide: min(1280px, calc(100% - 2rem));
}

/* Quiet the ticker so the film meets the nav */
body.xl-page-home .tg-header__top--ticker {
  display: none !important;
}

.xl-home {
  background: var(--xlh-paper);
  color: var(--xlh-ink);
  font-family: var(--xl-font, "Inter", "Segoe UI", sans-serif);
}

.xlh-wrap {
  width: var(--xlh-wrap);
  margin-inline: auto;
}

.xlh-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--xlh-mute);
}

.xlh-eyebrow--light {
  color: rgba(255, 254, 252, 0.72);
}

.xlh-title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--xlh-ink);
}

.xlh-lead {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--xlh-mute);
  max-width: 36rem;
}

.xlh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--xlh-radius-btn);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.xlh-btn--primary {
  background: var(--xlh-brand);
  color: #fff;
}

.xlh-btn--primary:hover {
  background: var(--xlh-brand-hover);
  color: #fff;
}

.xlh-btn--ghost {
  background: transparent;
  color: var(--xlh-ink);
  border-color: var(--xlh-line);
}

.xlh-btn--ghost:hover {
  border-color: var(--xlh-ink);
  color: var(--xlh-ink);
}

.xlh-link {
  font-weight: 600;
  color: var(--xlh-brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.xlh-link:hover {
  border-bottom-color: var(--xlh-brand);
  color: var(--xlh-brand-hover);
}

.xlh-link--light {
  color: rgba(255, 254, 252, 0.9);
}

.xlh-link--light:hover {
  color: #fff;
  border-bottom-color: rgba(255, 254, 252, 0.6);
}

/* —— 01 Hero (editorial split) —— */
.xlh-hero {
  position: relative;
  overflow: hidden;
  background: var(--xlh-paper);
  color: var(--xlh-ink);
  border-bottom: 1px solid var(--xlh-line);
}

.xlh-hero__glow {
  position: absolute;
  top: -12%;
  right: -8%;
  width: min(52vw, 620px);
  height: min(52vw, 620px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 90, 28, 0.14) 0%, rgba(232, 90, 28, 0) 68%);
  pointer-events: none;
}

.xlh-hero__inner {
  position: relative;
  z-index: 1;
  width: var(--xlh-wrap-wide);
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.xlh-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.55rem, 5.8vw, 4.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--xlh-ink);
}

.xlh-hero__accent {
  color: var(--xlh-brand);
}

.xlh-hero__lead {
  margin: 0 0 1.15rem;
  font-size: clamp(1.05rem, 1.55vw, 1.18rem);
  line-height: 1.6;
  color: var(--xlh-mute);
  max-width: 30rem;
}

.xlh-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.xlh-hero__proof li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--xlh-ink);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--xlh-line);
  background: var(--xlh-snow);
}

.xlh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
}

.xlh-hero__stage {
  position: relative;
}

.xlh-hero__visual {
  position: relative;
  text-align: center;
  min-height: clamp(22rem, 42vw, 28rem);
}

.xlh-hero__main-img {
  position: relative;
  z-index: 1;
  display: inline-block;
  max-width: min(100%, 26rem);
}

.xlh-hero__photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(34rem, 72vh);
  object-fit: contain;
  border-radius: clamp(2.5rem, 8vw, 6.25rem);
}

.xlh-hero__shapes img {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.xlh-hero__shapes img:nth-child(1) {
  left: 0;
  top: 11%;
  width: clamp(4.5rem, 12vw, 8.875rem);
}

.xlh-hero__shapes img:nth-child(2) {
  right: 12%;
  bottom: -2%;
  width: clamp(4.5rem, 12vw, 8.875rem);
}

.xlh-hero__metric {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border-radius: 16px 16px 16px 0;
  box-shadow: -6px 6px 0 0 rgba(14, 16, 24, 0.14);
  text-align: left;
}

.xlh-hero__metric--brand {
  left: 4%;
  top: 18%;
  background: var(--xlh-brand);
  color: #fff;
}

.xlh-hero__metric--brand .xlh-hero__metric-title,
.xlh-hero__metric--brand .xlh-hero__metric-title span,
.xlh-hero__metric--blue .xlh-hero__metric-title,
.xlh-hero__metric--blue .xlh-hero__metric-title span {
  color: #fff;
}

.xlh-hero__metric--blue {
  right: 0;
  top: 24%;
  background: #1e56c8;
  color: #fff;
}

.xlh-hero__metric--light {
  right: 6%;
  bottom: 12%;
  background: var(--xlh-snow);
  color: var(--xlh-ink);
  border: 1px solid var(--xlh-line);
  box-shadow: -6px 6px 0 0 rgba(14, 16, 24, 0.1);
}

.xlh-hero__metric-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
}

.xlh-hero__metric--light .xlh-hero__metric-icon {
  background: var(--xlh-brand);
  color: #fff;
}

.xlh-hero__metric-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.xlh-hero__metric-title span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.xlh-hero__metric--brand .xlh-hero__metric-title span,
.xlh-hero__metric--blue .xlh-hero__metric-title span {
  color: rgba(255, 255, 255, 0.92);
}

.xlh-hero__metric--light .xlh-hero__metric-title span {
  color: var(--xlh-mute);
}

/* —— 02 Find —— */
.xlh-find {
  padding: var(--xlh-section-y) 0;
  background: var(--xlh-paper);
}

.xlh-find__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 1.25rem;
  padding: 0.45rem;
  background: var(--xlh-snow);
  border: 1px solid var(--xlh-line);
  border-radius: 16px;
  box-shadow: var(--xlh-shadow);
}

.xlh-find__input {
  flex: 1 1 14rem;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  color: var(--xlh-ink);
  outline: none;
}

.xlh-find__input::placeholder {
  color: #9aa0ad;
}

.xlh-find__subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.xlh-find__subjects a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--xlh-line);
  background: var(--xlh-snow);
  color: var(--xlh-ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.xlh-find__subjects a:hover {
  border-color: var(--xlh-brand);
  color: var(--xlh-brand);
}

.xlh-find__count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--xlh-mute);
}

.xlh-find__all {
  font-weight: 600 !important;
  color: var(--xlh-brand) !important;
  border-color: transparent !important;
  background: transparent !important;
}

/* —— 03 Rooms —— */
.xlh-rooms {
  padding: var(--xlh-section-y) 0 calc(var(--xlh-section-y) + 0.5rem);
  background: var(--xlh-snow);
  border-block: 1px solid var(--xlh-line);
}

.xlh-rooms__head {
  margin-bottom: 1.75rem;
}

.xlh-rooms__lead {
  margin: 0.65rem 0 0;
  max-width: 38rem;
}

.xlh-rooms__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.xlh-rooms__cta {
  margin: 2rem 0 0;
  text-align: center;
}

.xlh-rooms__item {
  position: relative;
  min-width: 0;
}

.xlh-rooms__when {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  background: var(--xlh-night);
  color: #fffefc;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
}

/* Class cards scoped for home cinema row */
.xlh-rooms .os-class-card-v2 {
  background: var(--xlh-snow);
  border-radius: var(--xlh-radius-card);
  border: 1px solid var(--xlh-line);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
  box-shadow: 0 2px 8px rgba(14, 16, 24, 0.04);
}

.xlh-rooms .os-class-card-v2:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 90, 28, 0.35);
  box-shadow: var(--xlh-shadow);
}

.xlh-rooms .os-class-card-v2__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ebe6de;
}

.xlh-rooms .os-class-card-v2__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xlh-rooms .os-class-card-v2__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 254, 252, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--xlh-brand);
  pointer-events: none;
}

.xlh-rooms .os-class-card-v2__tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(14, 16, 24, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  max-width: calc(100% - 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xlh-rooms .os-class-card-v2__body {
  padding: 1rem 1.1rem 0.85rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.xlh-rooms .os-class-card-v2__title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--xlh-ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xlh-rooms .os-class-card-v2__title a {
  color: inherit;
  text-decoration: none;
}

.xlh-rooms .os-class-card-v2__title a:hover {
  color: var(--xlh-brand);
}

.xlh-rooms .os-class-card-v2__type {
  font-size: 0.78rem;
  color: var(--xlh-mute);
  margin: 0;
}

.xlh-rooms .os-class-card-v2__type-label {
  font-weight: 600;
  color: #9aa0ad;
  margin-right: 0.35rem;
}

.xlh-rooms .os-class-card-v2__teacher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.xlh-rooms .os-class-card-v2__teacher-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--xlh-line);
}

.xlh-rooms .os-class-card-v2__teacher-name {
  font-size: 0.85rem;
  color: #3a3f4c;
  font-weight: 500;
}

.xlh-rooms .os-class-card-v2__rating-row {
  font-size: 0.85rem;
  color: var(--xlh-mute);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.xlh-rooms .os-class-card-v2__stars {
  color: #d4a017;
}

.xlh-rooms .os-class-card-v2__rating-num {
  font-weight: 700;
  color: var(--xlh-ink);
}

.xlh-rooms .os-class-card-v2__new-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--xlh-brand);
  background: rgba(232, 90, 28, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

.xlh-rooms .os-class-card-v2__excerpt {
  font-size: 0.82rem;
  color: var(--xlh-mute);
  line-height: 1.45;
  margin: 0.25rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xlh-rooms .os-class-card-v2__stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  margin-top: auto;
  border-top: 1px solid var(--xlh-line);
  background: #faf8f4;
}

.xlh-rooms .os-class-card-v2__stat {
  padding: 0.65rem 0.5rem;
  text-align: center;
  border-right: 1px solid var(--xlh-line);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.xlh-rooms .os-class-card-v2__stat:last-child {
  border-right: none;
}

.xlh-rooms .os-class-card-v2__stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9aa0ad;
}

.xlh-rooms .os-class-card-v2__stat-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--xlh-ink);
  line-height: 1.2;
  word-break: break-word;
}

.xlh-rooms .os-class-card-v2__price-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.xlh-rooms .os-class-card-v2__coin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1e56c8;
  flex-shrink: 0;
}

.xlh-rooms .os-class-card-v2__per {
  font-size: 0.65rem;
  color: #9aa0ad;
  font-weight: 600;
}

/* —— 04 Stills —— */
.xlh-stills {
  padding: var(--xlh-section-y) 0;
  background: var(--xlh-paper);
}

.xlh-stills .xlh-wrap {
  margin-bottom: 1.5rem;
}

.xlh-stills__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: var(--xlh-wrap-wide);
  margin-inline: auto;
}

.xlh-still {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--xlh-radius-card);
  overflow: hidden;
  text-decoration: none;
  color: #fffefc;
}

.xlh-still--text {
  background: linear-gradient(145deg, #2a3140 0%, #14141a 100%);
}

.xlh-still--text .xlh-still__veil {
  background: linear-gradient(180deg, transparent 0%, rgba(14, 16, 24, 0.45) 100%);
}

.xlh-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.xlh-still:hover img {
  transform: scale(1.04);
}

.xlh-still__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(14, 16, 24, 0.82) 100%);
}

.xlh-still__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.xlh-still__line {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* —— 05 Safety —— */
.xlh-safety {
  padding: var(--xlh-section-y) 0;
  background: var(--xlh-snow);
  border-block: 1px solid var(--xlh-line);
}

.xlh-safety__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.xlh-safety__figure {
  margin: 0;
  border-radius: var(--xlh-radius-card);
  overflow: hidden;
  box-shadow: var(--xlh-shadow);
}

.xlh-safety__figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.xlh-safety__facts {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.xlh-safety__facts li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--xlh-ink);
}

.xlh-safety__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--xlh-brand);
}

/* —— 06 Faces —— */
.xlh-faces {
  padding: var(--xlh-section-y) 0;
  background: var(--xlh-paper);
}

.xlh-faces__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.xlh-face {
  position: relative;
  display: block;
  border-radius: var(--xlh-radius-card);
  overflow: hidden;
  text-decoration: none;
  color: #fffefc;
  aspect-ratio: 3 / 4;
  background: #d8d2c8;
  transition: transform 0.25s ease;
}

.xlh-face:hover {
  transform: translateY(-4px);
}

.xlh-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xlh-face__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--xlh-ink);
  background: linear-gradient(145deg, #efe9df 0%, #d8d2c8 100%);
}

.xlh-face__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(14, 16, 24, 0.88));
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.xlh-face__name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.xlh-face__sub {
  font-size: 0.8rem;
  color: rgba(255, 254, 252, 0.72);
  line-height: 1.35;
}

.xlh-faces__cta {
  margin: 1.75rem 0 0;
  text-align: center;
}

/* —— 07 Journal —— */
.xlh-journal {
  padding: var(--xlh-section-y) 0;
  background: var(--xlh-snow);
  border-block: 1px solid var(--xlh-line);
}

.xlh-journal__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.xlh-journal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.xlh-journal-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  border-radius: var(--xlh-radius-card);
  overflow: hidden;
  border: 1px solid var(--xlh-line);
  background: var(--xlh-paper);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 8px rgba(14, 16, 24, 0.04);
}

.xlh-journal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 90, 28, 0.35);
  box-shadow: var(--xlh-shadow);
}

.xlh-journal-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ebe6de;
}

.xlh-journal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.xlh-journal-card:hover .xlh-journal-card__media img {
  transform: scale(1.03);
}

.xlh-journal-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  padding: 1.15rem 1.25rem 1.35rem;
}

.xlh-journal__meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--xlh-mute);
}

.xlh-journal-card__title {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--xlh-ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xlh-journal-card__excerpt {
  margin-top: auto;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--xlh-mute);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* —— 08 Close —— */
.xlh-close {
  position: relative;
  overflow: hidden;
  background: var(--xlh-night);
  color: #fffefc;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.xlh-close__media {
  position: absolute;
  inset: 0;
}

.xlh-close__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xlh-close__veil {
  position: absolute;
  inset: 0;
  background: rgba(14, 16, 24, 0.78);
}

.xlh-close__inner {
  position: relative;
  z-index: 1;
  padding: var(--xlh-section-y) 0;
  text-align: center;
}

.xlh-close__title {
  margin: 0 auto 2rem;
  max-width: 18ch;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fffefc;
}

.xlh-close__doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.xlh-door {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--xlh-radius-card);
  border: 1px solid rgba(255, 254, 252, 0.22);
  background: rgba(255, 254, 252, 0.06);
  text-decoration: none;
  color: #fffefc;
  text-align: left;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.xlh-door:hover {
  background: rgba(255, 254, 252, 0.12);
  border-color: rgba(232, 90, 28, 0.65);
  transform: translateY(-4px);
  color: #fffefc;
}

.xlh-door__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 254, 252, 0.6);
}

.xlh-door__label {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.xlh-door__hint {
  font-size: 0.88rem;
  color: rgba(255, 254, 252, 0.65);
  line-height: 1.4;
}

/* —— Responsive —— */
@media (max-width: 991.98px) {
  .xlh-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .xlh-hero__stage {
    max-width: 34rem;
    margin-inline: auto;
    width: 100%;
  }

  .xlh-hero__metric--brand {
    left: 0;
  }

  .xlh-hero__metric--blue {
    right: 0;
  }

  .xlh-hero__shapes img:nth-child(1) {
    display: none;
  }

  .xlh-stills__grid {
    grid-template-columns: 1fr;
  }

  .xlh-rooms__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xlh-still {
    aspect-ratio: 16 / 9;
  }

  .xlh-safety__grid {
    grid-template-columns: 1fr;
  }

  .xlh-faces__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .xlh-journal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .xlh-hero__visual {
    min-height: 0;
    padding-bottom: 0.5rem;
  }

  .xlh-hero__main-img {
    max-width: min(100%, 18rem);
  }

  .xlh-hero__metric {
    padding: 0.65rem 0.75rem;
    gap: 0.45rem;
  }

  .xlh-hero__metric-icon {
    width: 2.15rem;
    height: 2.15rem;
  }

  .xlh-hero__metric-icon svg {
    width: 18px;
    height: 18px;
  }

  .xlh-hero__metric-title {
    font-size: 1.05rem;
  }

  .xlh-hero__metric-title span {
    font-size: 0.72rem;
  }

  .xlh-hero__metric--brand {
    top: 12%;
    max-width: min(11.5rem, 46vw);
  }

  .xlh-hero__metric--blue {
    top: 16%;
    max-width: min(12rem, 50vw);
  }

  .xlh-hero__metric--light {
    bottom: 8%;
    max-width: min(11rem, 46vw);
  }

  .xlh-hero__shapes img:nth-child(2) {
    display: none;
  }

  .xlh-close__doors {
    grid-template-columns: 1fr;
  }

  .xlh-faces__row {
    grid-template-columns: 1fr 1fr;
  }

  .xlh-rooms .os-class-card-v2__stats {
    grid-template-columns: 1fr;
  }

  .xlh-rooms .os-class-card-v2__stat {
    border-right: none;
    border-bottom: 1px solid var(--xlh-line);
  }

  .xlh-rooms .os-class-card-v2__stat:last-child {
    border-bottom: none;
  }
}

@media (max-width: 575.98px) {
  .xlh-find__form {
    flex-direction: column;
  }

  .xlh-rooms__grid {
    grid-template-columns: 1fr;
  }

  .xlh-find__form .xlh-btn {
    width: 100%;
  }

  .xlh-journal__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xlh-face:hover,
  .xlh-door:hover,
  .xlh-journal-card:hover,
  .xlh-rooms .os-class-card-v2:hover {
    transform: none;
  }
}
