.lc-reference-site #site-header.solid {
  background: rgba(28, 30, 26, .96);
  backdrop-filter: blur(16px);
}

.lc-ref-hero {
  position: relative;
  padding: 150px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(200, 149, 58, .24), transparent 32%),
    linear-gradient(135deg, #141611 0%, #26311f 48%, #10120e 100%);
  color: #fff;
}

.lc-ref-hero::after {
  content: '';
  position: absolute;
  inset: auto -8% -38% 46%;
  height: 360px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  transform: rotate(-8deg);
}

.lc-ref-hero .container {
  position: relative;
  z-index: 1;
}

.lc-ref-hero h1 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -.04em;
}

.lc-ref-hero p {
  max-width: 640px;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, .74);
  font-size: 1.08rem;
}

.lc-ref-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.lc-ref-filter-section {
  padding: 46px 0 var(--spacing-xl);
  background: #f7f3ea;
}

.lc-ref-public-filters {
  display: grid;
  grid-template-columns: minmax(230px, 1.3fr) repeat(3, minmax(150px, .7fr)) auto;
  gap: .8rem;
  align-items: end;
  padding: 1rem;
  border: 1px solid rgba(44, 46, 42, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 50px rgba(28, 30, 26, .08);
  backdrop-filter: blur(14px);
}

.lc-ref-public-field {
  display: grid;
  gap: .35rem;
}

.lc-ref-public-field label {
  color: var(--color-text-light);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lc-ref-public-field input,
.lc-ref-public-field select {
  min-height: 46px;
  width: 100%;
  padding: 0 .95rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  color: var(--color-text);
  outline: none;
}

.lc-ref-public-field input:focus,
.lc-ref-public-field select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(59, 110, 44, .12);
}

.lc-ref-public-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.lc-ref-public-actions .btn {
  min-height: 46px;
  padding: .7rem 1.35rem;
}

.lc-ref-public-summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.4rem 0;
  color: var(--color-text-light);
  font-size: .9rem;
}

.lc-ref-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.lc-ref-card {
  overflow: hidden;
  border: 1px solid rgba(44, 46, 42, .1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(28, 30, 26, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.lc-ref-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(28, 30, 26, .14);
}

.lc-ref-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1.42;
  overflow: hidden;
  background: #1c1e1a;
}

.lc-ref-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.lc-ref-card:hover .lc-ref-card__media img {
  transform: scale(1.045);
}

.lc-ref-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, .72);
  font-family: var(--font-heading);
}

.lc-ref-card__badge,
.lc-ref-card__premium {
  position: absolute;
  top: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 .75rem;
  border-radius: 999px;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lc-ref-card__badge {
  left: 14px;
  background: rgba(28, 30, 26, .72);
  backdrop-filter: blur(10px);
}

.lc-ref-card__premium {
  right: 14px;
  background: var(--color-secondary);
}

.lc-ref-card__body {
  padding: 1.1rem;
}

.lc-ref-card__meta,
.lc-ref-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  color: var(--color-text-light);
  font-size: .78rem;
  font-weight: 700;
}

.lc-ref-card h2 {
  margin: .45rem 0 .6rem;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
}

.lc-ref-card p {
  color: var(--color-text-light);
  font-size: .94rem;
  line-height: 1.65;
}

.lc-ref-card__tags,
.lc-ref-facts-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}

.lc-ref-card__tags span,
.lc-ref-facts-tags span {
  display: inline-flex;
  padding: .32rem .65rem;
  border-radius: 999px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: .72rem;
  font-weight: 700;
}

.lc-ref-public-pagination {
  display: flex;
  justify-content: center;
  gap: .45rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.lc-ref-public-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 .9rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  font-weight: 700;
}

.lc-ref-public-pagination .current {
  background: var(--color-primary);
  color: #fff;
}

.lc-ref-empty {
  padding: 3rem;
  border-radius: 22px;
  background: #fff;
  text-align: center;
}

.lc-ref-cta {
  padding: var(--spacing-xl) 0;
  background: #10120e;
}

.lc-ref-cta__box {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 26px;
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 149, 58, .25), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  color: #fff;
  text-align: center;
}

.lc-ref-cta__box h2 {
  color: #fff;
}

.lc-ref-cta__box p {
  max-width: 660px;
  margin: 1rem auto 1.8rem;
  color: rgba(255, 255, 255, .68);
}

.lc-ref-single-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 130px 0 78px;
  background: #10120e;
}

.lc-ref-single-hero__image,
.lc-ref-single-hero__overlay {
  position: absolute;
  inset: 0;
}

.lc-ref-single-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-ref-single-hero__overlay {
  background: linear-gradient(180deg, rgba(16, 18, 14, .25), rgba(16, 18, 14, .9));
}

.lc-ref-single-hero .container {
  position: relative;
  z-index: 1;
}

.lc-ref-single-hero__content {
  max-width: 860px;
}

.lc-ref-back,
.lc-ref-single-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lc-ref-single-badge {
  margin-left: .8rem;
  padding: .42rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
}

.lc-ref-single-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  letter-spacing: -.05em;
}

.lc-ref-single-hero p {
  max-width: 680px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, .76);
  font-size: 1.1rem;
}

.lc-ref-single-body {
  padding: var(--spacing-xl) 0;
  background: #f7f3ea;
}

.lc-ref-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: start;
}

.lc-ref-story,
.lc-ref-facts-card {
  border: 1px solid rgba(44, 46, 42, .1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(28, 30, 26, .08);
}

.lc-ref-story {
  padding: clamp(1.4rem, 4vw, 3rem);
}

.lc-ref-client-strip {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.6rem;
  padding: 1rem;
  border-radius: 18px;
  background: var(--color-primary-light);
}

.lc-ref-client-strip__logo {
  width: 86px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
}

.lc-ref-client-strip__logo img {
  max-height: 44px;
  object-fit: contain;
}

.lc-ref-client-strip span {
  display: block;
  color: var(--color-text-light);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lc-ref-client-strip strong {
  font-size: 1.18rem;
}

.lc-ref-story-section + .lc-ref-story-section {
  margin-top: 3rem;
}

.lc-ref-story-section h2 {
  margin-bottom: 1rem;
}

.lc-ref-richtext {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.85;
}

.lc-ref-richtext p + p {
  margin-top: 1rem;
}

.lc-ref-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.lc-ref-gallery__item {
  aspect-ratio: 1.35;
  overflow: hidden;
  border-radius: 18px;
  background: #10120e;
}

.lc-ref-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.lc-ref-gallery__item:hover img {
  transform: scale(1.04);
}

.lc-ref-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 18px;
}

.lc-ref-testimonial {
  margin-top: 3rem;
  padding: 1.6rem;
  border-left: 4px solid var(--color-secondary);
  border-radius: 16px;
  background: var(--color-secondary-light);
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.55;
}

.lc-ref-facts-panel {
  position: sticky;
  top: 92px;
}

.lc-ref-facts-card {
  padding: 1.25rem;
}

.lc-ref-facts-card h2 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.lc-ref-facts-card dl {
  display: grid;
  gap: .8rem;
  margin-bottom: 1.3rem;
}

.lc-ref-facts-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--color-border);
}

.lc-ref-facts-card dt {
  color: var(--color-text-light);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lc-ref-facts-card dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.lc-ref-facts-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1.2rem;
}

@media (max-width: 1080px) {
  .lc-ref-public-filters,
  .lc-ref-grid,
  .lc-ref-single-layout {
    grid-template-columns: 1fr 1fr;
  }

  .lc-ref-public-field--search,
  .lc-ref-public-actions,
  .lc-ref-story,
  .lc-ref-facts-panel {
    grid-column: 1 / -1;
  }

  .lc-ref-facts-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .lc-ref-hero,
  .lc-ref-single-hero {
    padding-top: 120px;
    min-height: auto;
  }

  .lc-ref-public-filters,
  .lc-ref-grid,
  .lc-ref-gallery {
    grid-template-columns: 1fr;
  }

  .lc-ref-public-summary,
  .lc-ref-public-actions,
  .lc-ref-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lc-ref-public-actions .btn,
  .lc-ref-hero__actions .btn {
    justify-content: center;
  }

  .lc-ref-single-badge {
    margin-left: 0;
  }

  .lc-ref-facts-card dl div {
    display: block;
  }

  .lc-ref-facts-card dd {
    margin-top: .25rem;
    text-align: left;
  }
}
