/* Hidden Gems — Classic Treasure theme */

.tl-main.tl-main--hg {
  padding: 0;
  background: #0a0a0b;
}

.tl-hg {
  --hg-black: #0a0a0b;
  --hg-charcoal: #141417;
  --hg-panel: #1a1a1f;
  --hg-gold: #c9a45c;
  --hg-champagne: #e8d5a3;
  --hg-blue: #8eb4d9;
  --hg-blue-soft: #a8c5e0;
  --hg-line: rgba(201, 164, 92, 0.28);
  --hg-glow: rgba(201, 164, 92, 0.12);
  color: var(--hg-blue);
  font-family: "Bricolage Grotesque", sans-serif;
}

.tl-hg__wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

/* Hero gold accents */
.tl-hero--hg .tl-kicker {
  color: var(--hg-champagne, #e8d5a3) !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
}

.tl-hero--hg h1 {
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.tl-hero--hg .tl-lead {
  max-width: 36rem;
}

.tl-hero--hg .tl-crumb a {
  color: rgba(232, 213, 163, 0.85);
}

.tl-hero--hg .tl-crumb li:last-child {
  color: #e8d5a3;
}

/* Intro */
.tl-hg-intro {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 85% 0%, var(--hg-glow), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(13, 46, 77, 0.35), transparent 55%),
    var(--hg-charcoal);
}

.tl-hg-intro::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hg-gold), transparent);
  opacity: 0.55;
}

.tl-hg-intro__eyebrow {
  margin: 0 0 12px;
  color: var(--hg-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tl-hg-intro h2 {
  margin: 0 0 16px;
  max-width: 18ch;
  color: var(--hg-champagne);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tl-hg-intro__lead {
  margin: 0;
  max-width: 40rem;
  color: var(--hg-blue-soft);
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 300;
  line-height: 1.65;
}

.tl-hg-intro__lead + .tl-hg-intro__lead {
  margin-top: 14px;
}

/* Collection */
.tl-hg-collection {
  padding: 56px 0 72px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(201, 164, 92, 0.06), transparent 60%),
    var(--hg-black);
}

.tl-hg-head {
  margin-bottom: 36px;
}

.tl-hg-head__eyebrow {
  display: block;
  margin: 0 0 10px;
  color: var(--hg-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tl-hg-head h2 {
  margin: 0 0 10px;
  color: var(--hg-champagne);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.tl-hg-head p {
  margin: 0;
  max-width: 36rem;
  color: var(--hg-blue);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
}

/* Cards */
.tl-hg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tl-hg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--hg-line);
  background: linear-gradient(165deg, #1e1e24 0%, var(--hg-panel) 55%, #121216 100%);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.tl-hg-card:hover,
.tl-hg-card:focus-visible {
  border-color: rgba(201, 164, 92, 0.65);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 164, 92, 0.12);
  outline: none;
}

.tl-hg-card--placeholder {
  pointer-events: none;
  opacity: 0.78;
}

.tl-hg-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(201, 164, 92, 0.08), transparent 40%),
    #0f0f12;
}

.tl-hg-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
  filter: saturate(0.92) contrast(1.05);
}

.tl-hg-card:hover .tl-hg-card__media img {
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.08);
}

.tl-hg-card__media--fit {
  aspect-ratio: auto;
}

.tl-hg-card__media--fit img {
  height: auto;
  object-fit: contain;
}

.tl-hg-card:hover .tl-hg-card__media--fit img {
  transform: none;
}

.tl-hg-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.85), transparent);
  pointer-events: none;
}

.tl-hg-card__slot {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(201, 164, 92, 0.28);
  border-width: 0 0 1px;
  color: rgba(201, 164, 92, 0.55);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(201, 164, 92, 0.04) 8px,
      rgba(201, 164, 92, 0.04) 16px
    );
}

.tl-hg-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
}

.tl-hg-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  color: var(--hg-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tl-hg-card__body h3 {
  margin: 0;
  color: var(--hg-champagne);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.tl-hg-card__body p {
  margin: 0;
  flex: 1;
  color: var(--hg-blue);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
}

.tl-hg-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--hg-gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tl-hg-card__cta::after {
  content: "→";
  transition: transform 0.3s ease;
}

.tl-hg-card:hover .tl-hg-card__cta::after {
  transform: translateX(4px);
}

.tl-hg-card__soon {
  margin-top: 8px;
  color: rgba(201, 164, 92, 0.55);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Note strip */
.tl-hg-note {
  padding: 0 0 64px;
  background: var(--hg-black);
}

.tl-hg-note__inner {
  padding: 22px 26px;
  border-left: 2px solid var(--hg-gold);
  background: linear-gradient(90deg, rgba(201, 164, 92, 0.08), transparent 70%);
  color: var(--hg-blue-soft);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
}

.tl-hg-note__inner strong {
  color: var(--hg-champagne);
  font-weight: 500;
}

/* Detail article */
.tl-hg-article {
  padding: 56px 0 40px;
  background:
    radial-gradient(ellipse 50% 45% at 90% 0%, var(--hg-glow), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 80%, rgba(13, 46, 77, 0.35), transparent 55%),
    var(--hg-charcoal);
}

.tl-hg-article__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.85fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.tl-hg-article__eyebrow {
  margin: 0 0 12px;
  color: var(--hg-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tl-hg-article h1,
.tl-hg-article h2,
.tl-hg-article__title {
  margin: 0 0 16px;
  color: var(--hg-champagne);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tl-hg-article__lead,
.tl-hg-article__body p {
  margin: 0 0 14px;
  color: var(--hg-blue-soft);
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 300;
  line-height: 1.65;
}

.tl-hg-article__body p:last-child {
  margin-bottom: 0;
}

.tl-hg-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  color: var(--hg-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tl-hg-article__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hg-line);
  background: #0f0f12;
  aspect-ratio: 3 / 4;
}

.tl-hg-article__figure--wide {
  aspect-ratio: 16 / 10;
}

.tl-hg-article__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.tl-hg-article__figure figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.92), transparent);
  color: var(--hg-champagne);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.tl-hg-slots {
  padding: 8px 0 64px;
  background: var(--hg-black);
}

.tl-hg-slots__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tl-hg-slot {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px;
  border: 1px dashed rgba(201, 164, 92, 0.28);
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(201, 164, 92, 0.035) 8px,
      rgba(201, 164, 92, 0.035) 16px
    ),
    var(--hg-panel);
}

.tl-hg-slot strong {
  color: var(--hg-champagne);
  font-size: 15px;
  font-weight: 500;
}

.tl-hg-slot span {
  color: rgba(142, 180, 217, 0.7);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.45;
}

.tl-hg-slot--filled {
  min-height: 0;
  justify-content: flex-start;
  border-style: solid;
  border-color: rgba(201, 164, 92, 0.22);
  background: var(--hg-panel);
}

.tl-hg-slot--filled span {
  color: var(--hg-blue-soft);
  font-size: 14px;
  line-height: 1.55;
}

.tl-hg-slot a {
  color: var(--hg-champagne);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tl-hg-slot a:hover,
.tl-hg-slot a:focus-visible {
  color: var(--hg-gold);
  outline: none;
}

/* Article sections + location */
.tl-hg-section {
  padding: 8px 0 48px;
  background: var(--hg-black);
}

.tl-hg-section__body {
  display: grid;
  gap: 16px;
  max-width: 42rem;
}

.tl-hg-section__body p {
  margin: 0;
  color: var(--hg-blue-soft);
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 300;
  line-height: 1.65;
}

.tl-hg-section__body strong {
  color: var(--hg-champagne);
  font-weight: 500;
}

.tl-hg-section__body a {
  color: var(--hg-champagne);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tl-hg-section__body a:hover,
.tl-hg-section__body a:focus-visible {
  color: var(--hg-gold);
  outline: none;
}

/* Photo gallery cards */
.tl-hg-gallery {
  padding: 8px 0 56px;
  background: var(--hg-black);
}

.tl-hg-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tl-hg-gallery__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.22);
  background: var(--hg-panel);
}

.tl-hg-gallery__card--featured {
  grid-column: 1 / -1;
}

.tl-hg-gallery__card--wide {
  grid-column: span 2;
}

.tl-hg-gallery__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0f0f12;
}

.tl-hg-gallery__card--featured .tl-hg-gallery__media,
.tl-hg-gallery__card--wide .tl-hg-gallery__media {
  aspect-ratio: 21 / 10;
}

.tl-hg-gallery__card--tall .tl-hg-gallery__media {
  aspect-ratio: 3 / 4;
}

.tl-hg-gallery__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.tl-hg-gallery__media--fit,
.tl-hg-gallery__card--tall .tl-hg-gallery__media--fit,
.tl-hg-gallery__card--featured .tl-hg-gallery__media--fit,
.tl-hg-gallery__card--wide .tl-hg-gallery__media--fit {
  aspect-ratio: auto;
}

.tl-hg-gallery__media--fit img {
  height: auto;
  object-fit: contain;
}

.tl-hg-gallery__card:hover .tl-hg-gallery__media img {
  transform: scale(1.04);
}

.tl-hg-gallery__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
}

.tl-hg-gallery__body h3 {
  margin: 0;
  color: var(--hg-champagne);
  font-size: 17px;
  font-weight: 500;
}

.tl-hg-gallery__body p {
  margin: 0;
  color: var(--hg-blue);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.tl-hg-location {
  padding: 8px 0 64px;
  background: var(--hg-black);
}

.tl-hg-location__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: stretch;
}

.tl-hg-location__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(201, 164, 92, 0.22);
  background: var(--hg-panel);
}

.tl-hg-location__card h3 {
  margin: 0;
  color: var(--hg-champagne);
  font-size: 20px;
  font-weight: 500;
}

.tl-hg-location__card p,
.tl-hg-location__card address {
  margin: 0;
  color: var(--hg-blue-soft);
  font-size: 15px;
  font-weight: 300;
  font-style: normal;
  line-height: 1.6;
}

.tl-hg-location__card a {
  color: var(--hg-champagne);
  text-decoration: none;
}

.tl-hg-location__card a:hover,
.tl-hg-location__card a:focus-visible {
  color: var(--hg-gold);
  outline: none;
}

.tl-hg-location__meta {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-hg-location__meta li {
  color: var(--hg-blue);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.tl-hg-location__meta strong {
  display: block;
  margin-bottom: 2px;
  color: var(--hg-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tl-hg-location__map {
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.22);
  background: #0f0f12;
  min-height: 280px;
}

.tl-hg-location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

.tl-hg-location__map-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--hg-gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.tl-hg-location__map-link:hover,
.tl-hg-location__map-link:focus-visible {
  color: var(--hg-champagne);
  outline: none;
}

.tl-hg-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--hg-gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.tl-hg-back:hover,
.tl-hg-back:focus-visible {
  color: var(--hg-champagne);
  outline: none;
}

/* More stories */
.tl-hg-more {
  padding: 56px 0 80px;
  border-top: 1px solid rgba(201, 164, 92, 0.15);
  background:
    radial-gradient(ellipse 45% 50% at 100% 100%, rgba(13, 46, 77, 0.4), transparent 55%),
    var(--hg-charcoal);
}

.tl-hg-more h2 {
  margin: 0 0 24px;
  color: var(--hg-champagne);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 500;
}

.tl-hg-more__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tl-hg-more__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(201, 164, 92, 0.18);
  background: rgba(10, 10, 11, 0.45);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.tl-hg-more__card:hover,
.tl-hg-more__card:focus-visible {
  border-color: rgba(201, 164, 92, 0.5);
  background: rgba(201, 164, 92, 0.06);
  outline: none;
}

.tl-hg-more__card h3 {
  margin: 0;
  color: var(--hg-champagne);
  font-size: 18px;
  font-weight: 500;
}

.tl-hg-more__card p {
  margin: 0;
  flex: 1;
  color: var(--hg-blue);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.tl-hg-more__card span {
  color: var(--hg-gold);
  font-size: 13px;
  font-weight: 600;
}

/* Reveal motion */
@media (prefers-reduced-motion: no-preference) {
  .tl-hg-reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: tl-hg-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .tl-hg-reveal--2 { animation-delay: 0.08s; }
  .tl-hg-reveal--3 { animation-delay: 0.16s; }
  .tl-hg-reveal--4 { animation-delay: 0.24s; }
  .tl-hg-reveal--5 { animation-delay: 0.32s; }
  .tl-hg-reveal--6 { animation-delay: 0.4s; }

  @keyframes tl-hg-rise {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 960px) {
  .tl-hg-grid,
  .tl-hg-more__grid,
  .tl-hg-slots__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tl-hg-article__grid,
  .tl-hg-location__grid {
    grid-template-columns: 1fr;
  }

  .tl-hg-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tl-hg-gallery__card--featured,
  .tl-hg-gallery__card--wide {
    grid-column: 1 / -1;
  }

  .tl-hg-article__figure {
    max-width: 420px;
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 640px) {
  .tl-hg__wrap {
    width: calc(100% - 32px);
  }

  .tl-hg-intro,
  .tl-hg-collection,
  .tl-hg-article {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .tl-hg-grid,
  .tl-hg-more__grid,
  .tl-hg-slots__grid,
  .tl-hg-gallery__grid {
    grid-template-columns: 1fr;
  }

  .tl-hg-gallery__card--featured,
  .tl-hg-gallery__card--wide,
  .tl-hg-gallery__card--tall {
    grid-column: auto;
  }

  .tl-hg-gallery__card--featured .tl-hg-gallery__media,
  .tl-hg-gallery__card--wide .tl-hg-gallery__media,
  .tl-hg-gallery__card--tall .tl-hg-gallery__media {
    aspect-ratio: 16 / 10;
  }

  .tl-hg-gallery__media--fit,
  .tl-hg-gallery__card--tall .tl-hg-gallery__media--fit,
  .tl-hg-gallery__card--featured .tl-hg-gallery__media--fit,
  .tl-hg-gallery__card--wide .tl-hg-gallery__media--fit {
    aspect-ratio: auto;
  }

  .tl-hg-card__body {
    padding: 18px 18px 20px;
  }
}
