:root {
  --al-ink: #181713;
  --al-ink-soft: #5f5a50;
  --al-paper: #f8f5ed;
  --al-stone: #e9e3d6;
  --al-dark: #11120f;
  --al-dark-soft: #181916;
  --al-gold: #c8a65d;
  --al-gold-deep: #98752e;
  --al-gold-pale: #ead9ad;
  --al-line: rgba(35, 31, 23, 0.16);
  --al-radius: 20px;
}

html { scroll-behavior: smooth; }

.al-page { overflow: clip; background: var(--al-paper); color: var(--al-ink); }
.al-page a { text-decoration: none; }
.al-page h1, .al-page h2, .al-page h3, .al-page p { margin-top: 0; }

.al-hero {
  width: 100vw;
  max-width: none;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  margin-inline: calc(50% - 50vw);
  display: flex;
  color: #fff;
  background: var(--al-hero-image) center / cover no-repeat;
}

.al-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 8, 7, 0.93) 0%, rgba(7, 8, 7, 0.72) 43%, rgba(7, 8, 7, 0.16) 76%),
    linear-gradient(180deg, rgba(5, 6, 5, 0.3), rgba(5, 6, 5, 0.14) 48%, rgba(5, 6, 5, 0.9));
}

.al-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 5, 0.87));
}

.al-hero-inner {
  min-height: inherit;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(8rem, 14vh, 9rem);
  padding-bottom: clamp(10rem, 20vh, 13rem);
}

.al-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.al-breadcrumb a { color: rgba(255, 255, 255, 0.88); }
.al-breadcrumb a:hover, .al-breadcrumb a:focus-visible { color: var(--al-gold-pale); }
.al-breadcrumb i { color: var(--al-gold); font-size: 0.58rem; }

.al-hero-copy { width: min(900px, 82%); }
.al-eyebrow, .al-kicker { color: var(--al-gold); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; }
.al-eyebrow { margin-bottom: 1rem; }

.al-hero h1 {
  max-width: 1050px;
  margin-bottom: 1.25rem;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.al-hero h1 em { color: var(--al-gold-pale); font-weight: 500; }
.al-hero-copy > p:not(.al-eyebrow) { max-width: 740px; margin-bottom: 1.7rem; color: rgba(255, 255, 255, 0.8); font-size: clamp(1rem, 1.35vw, 1.14rem); line-height: 1.72; }
.al-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

.al-primary {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--al-gold);
  border-radius: 999px;
  background: var(--al-gold);
  color: #17140e;
  font-weight: 900;
  box-shadow: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.al-primary:hover, .al-primary:focus-visible { transform: translateY(-2px); border-color: var(--al-gold-pale); background: var(--al-gold-pale); color: #111; }
.al-text-link { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0; border-bottom: 1px solid rgba(234, 217, 173, 0.58); color: #fff; font-weight: 850; }
.al-text-link:hover, .al-text-link:focus-visible { color: var(--al-gold-pale); }

.al-hero-facts {
  position: absolute;
  right: calc(var(--bs-gutter-x) * 0.5);
  bottom: clamp(2rem, 5vh, 4rem);
  left: calc(var(--bs-gutter-x) * 0.5);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.al-hero-facts > div { min-width: 0; padding: 1rem 1.2rem 0 0; }
.al-hero-facts > div + div { padding-left: 1.2rem; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.al-hero-facts span, .al-hero-facts strong, .al-hero-facts small { display: block; }
.al-hero-facts span { margin-bottom: 0.35rem; color: var(--al-gold-pale); font-size: 0.61rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.al-hero-facts strong { color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1rem, 1.55vw, 1.3rem); font-weight: 600; line-height: 1.2; }
.al-hero-facts small { margin-top: 0.25rem; color: rgba(255, 255, 255, 0.58); font-size: 0.72rem; }

.al-intro { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--al-paper); }
.al-intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr); align-items: start; gap: clamp(3rem, 8vw, 8rem); }
.al-intro h2, .al-filter-heading h2, .al-results h2, .al-final h2 {
  margin: 0.65rem 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.al-page h2 em { color: var(--al-gold-deep); font-weight: 500; }
.al-intro-copy { padding-top: 1.3rem; border-top: 1px solid var(--al-line); }
.al-intro-copy p { color: var(--al-ink-soft); line-height: 1.82; }
.al-intro-copy p + p { margin-top: 1rem; }

.al-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--al-line); border-bottom: 1px solid var(--al-line); }
.al-principles article { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1.35rem 1.5rem 1.35rem 0; }
.al-principles article + article { padding-left: 1.5rem; border-left: 1px solid var(--al-line); }
.al-principles article > span { color: var(--al-gold-deep); font-family: "Playfair Display", Georgia, serif; }
.al-principles h3 { margin-bottom: 0.3rem; font-family: "Playfair Display", Georgia, serif; font-size: 1.15rem; }
.al-principles p { margin-bottom: 0; color: var(--al-ink-soft); font-size: 0.84rem; line-height: 1.55; }

.al-discovery { padding: clamp(4rem, 8vw, 6.5rem) 0; border-top: 1px solid var(--al-line); background: var(--al-stone); }
.al-filter-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); align-items: end; gap: 3rem; margin-bottom: 2.5rem; }
.al-filter-heading h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.al-filter-heading > p { margin-bottom: 0; color: var(--al-ink-soft); line-height: 1.7; }

.al-filter { display: grid; grid-template-columns: minmax(230px, 1.4fr) repeat(3, minmax(155px, 1fr)) auto; align-items: end; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--al-line); border-bottom: 1px solid var(--al-line); }
.al-field label { display: block; margin-bottom: 0.45rem; color: #3d3931; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.al-field > div { position: relative; }
.al-field i { position: absolute; top: 50%; left: 1rem; color: var(--al-gold-deep); transform: translateY(-50%); }
.al-field input, .al-field select {
  width: 100%;
  min-height: 50px;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(36, 32, 24, 0.22);
  border-radius: 12px;
  outline: 0;
  background: rgba(255, 255, 255, 0.64);
  color: var(--al-ink);
  font-size: 0.85rem;
}
.al-field input { padding-left: 2.7rem; }
.al-field input:focus, .al-field select:focus { border-color: var(--al-gold-deep); box-shadow: 0 0 0 0.2rem rgba(152, 117, 46, 0.12); }
.al-filter-submit { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.72rem 1.15rem; border: 1px solid var(--al-dark); border-radius: 999px; background: var(--al-dark); color: #fff; font-size: 0.82rem; font-weight: 900; white-space: nowrap; }
.al-filter-submit:hover, .al-filter-submit:focus-visible { border-color: var(--al-gold-deep); background: var(--al-gold-deep); }

.al-results { scroll-margin-top: 7.5rem; padding: clamp(5rem, 9vw, 8rem) 0; background: var(--al-dark); color: #fff; }
.al-results .al-kicker { color: var(--al-gold); }
.al-results h2 { margin-bottom: 0; color: #fff; font-size: clamp(2.3rem, 4vw, 4.2rem); }
.al-results h2 em { color: var(--al-gold-pale); }
.al-results-header { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.al-sort { display: flex; align-items: center; gap: 0.7rem; }
.al-sort label { color: rgba(255, 255, 255, 0.55); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.al-sort select { min-height: 44px; padding: 0.55rem 2.3rem 0.55rem 0.9rem; border: 1px solid rgba(234, 217, 173, 0.28); border-radius: 999px; background-color: #1c1d19; color: #fff; font-size: 0.78rem; }

.al-active-filters { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.5rem; }
.al-active-filters a, .al-active-filters span { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.7rem; border: 1px solid rgba(234, 217, 173, 0.22); border-radius: 999px; color: rgba(255, 255, 255, 0.76); font-size: 0.72rem; font-weight: 800; }
.al-active-filters a:hover { border-color: var(--al-gold); color: #fff; }
.al-active-filters .al-clear { border-color: transparent; color: var(--al-gold-pale); }

.al-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.al-card { min-width: 0; overflow: hidden; border: 1px solid rgba(234, 217, 173, 0.2); border-radius: var(--al-radius); background: var(--al-dark-soft); transition: transform 200ms ease, border-color 200ms ease; }
.al-card:hover { transform: translateY(-4px); border-color: rgba(234, 217, 173, 0.5); }
.al-card-media { aspect-ratio: 1.42 / 1; position: relative; display: block; overflow: hidden; background: #272821; }
.al-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 7, 6, 0.18), transparent 45%, rgba(7, 8, 7, 0.74)); }
.al-card-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.88) contrast(1.03); transition: transform 450ms ease, filter 250ms ease; }
.al-card:hover .al-card-media img { transform: scale(1.035); filter: saturate(1) contrast(1.03); }
.al-image-fallback { height: 100%; display: grid; place-content: center; gap: 0.55rem; color: rgba(255, 255, 255, 0.5); text-align: center; }
.al-image-fallback i { color: var(--al-gold); font-size: 2rem; }
.al-image-fallback small { font-size: 0.72rem; }
.al-card-location, .al-card-class { position: absolute; z-index: 1; bottom: 0.9rem; color: #fff; font-size: 0.68rem; font-weight: 850; }
.al-card-location { left: 0.9rem; display: inline-flex; align-items: center; gap: 0.35rem; max-width: 65%; }
.al-card-location i { color: var(--al-gold-pale); }
.al-card-class { right: 0.9rem; padding-left: 0.75rem; border-left: 1px solid rgba(255, 255, 255, 0.35); }
.al-card-body { display: flex; flex-direction: column; min-height: 285px; padding: 1.3rem; }
.al-card-type { margin-bottom: 0.45rem; color: var(--al-gold); font-size: 0.64rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.al-card h3 { margin-bottom: 0.65rem; font-family: "Playfair Display", Georgia, serif; font-size: 1.45rem; font-weight: 600; line-height: 1.17; }
.al-card h3 a { color: #fff; }
.al-card h3 a:hover { color: var(--al-gold-pale); }
.al-card-description { display: -webkit-box; margin-bottom: 1rem; overflow: hidden; color: rgba(255, 255, 255, 0.63); font-size: 0.82rem; line-height: 1.62; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.al-amenities { display: flex; flex-wrap: wrap; gap: 0.4rem 0.75rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.al-amenities li { display: inline-flex; align-items: center; gap: 0.3rem; color: rgba(255, 255, 255, 0.68); font-size: 0.7rem; }
.al-amenities i { color: var(--al-gold); }
.al-card-footer { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.al-card-footer > div span, .al-card-footer > div strong, .al-card-footer > div small { display: block; }
.al-card-footer > div span { color: var(--al-gold); font-size: 0.58rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.al-card-footer > div strong { margin-top: 0.15rem; color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 1.04rem; font-weight: 600; }
.al-card-footer > div small { margin-top: 0.15rem; color: rgba(255, 255, 255, 0.47); font-size: 0.62rem; }
.al-card-footer > a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.35rem; color: var(--al-gold-pale); font-size: 0.75rem; font-weight: 850; }

.al-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.al-pagination > span { color: rgba(255, 255, 255, 0.54); font-size: 0.72rem; font-weight: 800; text-align: center; }
.al-pagination a { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--al-gold-pale); font-size: 0.78rem; font-weight: 850; }
.al-pagination a:last-child { justify-self: end; }
.al-empty { padding: 5rem 1rem; border-top: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14); text-align: center; }
.al-empty > span { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 1rem; border: 1px solid var(--al-gold); border-radius: 50%; color: var(--al-gold); }
.al-empty h3 { margin-bottom: 0.55rem; font-family: "Playfair Display", Georgia, serif; font-size: 1.8rem; }
.al-empty p { color: rgba(255, 255, 255, 0.6); }
.al-empty a { color: var(--al-gold-pale); font-weight: 850; }

.al-final { padding: clamp(5rem, 9vw, 8rem) 0; background: #24261f; color: #fff; }
.al-final .container { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); align-items: end; gap: 4rem; }
.al-final h2 { margin-bottom: 0; color: #fff; }
.al-final h2 em { color: var(--al-gold-pale); }
.al-final .container > div:last-child p { margin-bottom: 1.2rem; color: rgba(255, 255, 255, 0.64); line-height: 1.72; }

@media (max-width: 1199.98px) {
  .al-hero-copy { width: min(900px, 92%); }
  .al-filter { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .al-field-search { grid-column: span 2; }
  .al-filter-submit { grid-column: span 2; }
}

@media (max-width: 991.98px) {
  .al-hero::before { background: linear-gradient(90deg, rgba(7, 8, 7, 0.9), rgba(7, 8, 7, 0.38)), linear-gradient(180deg, rgba(5, 6, 5, 0.2), rgba(5, 6, 5, 0.86)); }
  .al-hero-copy { width: 100%; }
  .al-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .al-hero-facts > div:nth-child(3) { padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); border-left: 0; }
  .al-hero-facts > div:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.2); }
  .al-intro-grid, .al-filter-heading, .al-final .container { grid-template-columns: 1fr; }
  .al-filter-heading { gap: 1.25rem; }
  .al-principles { grid-template-columns: 1fr; }
  .al-principles article + article { padding-left: 0; border-top: 1px solid var(--al-line); border-left: 0; }
  .al-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .al-final .container { gap: 2rem; }
}

@media (max-width: 767.98px) {
  .al-hero { min-height: max(100svh, 850px); background-position: 58% center; }
  .al-hero-inner { justify-content: flex-start; padding-top: 8rem; padding-bottom: 13rem; }
  .al-hero h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .al-hero-facts { grid-template-columns: 1fr; bottom: 1.2rem; }
  .al-hero-facts > div { display: grid; grid-template-columns: 0.72fr 1.28fr; align-items: baseline; gap: 0 0.7rem; padding: 0.55rem 0; }
  .al-hero-facts > div + div, .al-hero-facts > div:nth-child(3), .al-hero-facts > div:nth-child(4) { padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); border-left: 0; }
  .al-hero-facts span { grid-row: 1 / 3; }
  .al-hero-facts small { display: none; }
  .al-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .al-field-search, .al-filter-submit { grid-column: span 2; }
  .al-results-header { align-items: flex-start; flex-direction: column; }
  .al-sort { width: 100%; justify-content: space-between; }
  .al-sort select { max-width: 75%; }
  .al-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .al-hero { min-height: max(100svh, 910px); }
  .al-hero-actions, .al-primary { width: 100%; }
  .al-text-link { width: max-content; max-width: 100%; }
  .al-filter { grid-template-columns: 1fr; }
  .al-field-search, .al-filter-submit { grid-column: auto; }
  .al-card-body { min-height: 0; }
  .al-card-footer { align-items: flex-start; flex-direction: column; }
  .al-pagination { grid-template-columns: 1fr 1fr; }
  .al-pagination > span { grid-column: 1 / -1; grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .al-page *, .al-page *::before, .al-page *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
