﻿.lcch-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.45rem;
}

.lcch-hero__button {
  align-items: center;
  background: #171b23;
  border: 1px solid #171b23;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  min-height: 3rem;
  padding: 0.55rem 1.1rem;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.lcch-hero__button:hover,
.lcch-hero__button:focus {
  background: #20242d;
  border-color: #20242d;
  color: #ffffff;
  transform: translateY(-1px);
}

.lcch-hero__button--ghost {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(17, 24, 39, 0.12);
  color: #111827;
}

.lcch-hero__button--ghost:hover,
.lcch-hero__button--ghost:focus {
  background: #ffffff;
  border-color: rgba(17, 24, 39, 0.2);
  color: #111827;
}

.lcch-story__meta-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.65rem;
}

.lcch-story__meta-card,
.lcch-milestone-card {
  background: #f5f6f7;
  border: 1px solid #d9dde3;
  border-radius: 18px;
  padding: 1.4rem 1.2rem 1.3rem;
}

.lcch-story__meta-card--accent,
.lcch-milestone-card--accent {
  background: linear-gradient(145deg, rgba(191, 34, 2, 0.08) 0%, #f5f6f7 100%);
}

.lcch-story__meta-label,
.lcch-milestone-card__date {
  color: var(--site-primary);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.lcch-story__meta-title,
.lcch-milestone-card__title {
  color: #111827;
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.55rem;
}

.lcch-story__meta-text,
.lcch-milestone-card__text,
.lcch-documents__note {
  color: #4f5a69;
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
}

.lcch-milestones {
  padding: 0 0 5.8rem;
}

.lcch-sections {
  padding: 0 0 clamp(3rem, 5vw, 4.75rem);
}

.lcch-sections__intro {
  margin: 0 auto 2rem;
  max-width: 48rem;
  text-align: center;
}

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

.lcch-section-card {
  overflow: hidden;
  border: 1px solid #d9dde3;
  border-radius: 18px;
  background: #f5f6f7;
}

.lcch-section-card--wide {
  grid-column: span 3;
}

.lcch-section-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lcch-section-card--wide .lcch-section-card__image {
  aspect-ratio: 21 / 8;
}

.lcch-section-card__body {
  padding: clamp(1.25rem, 2vw, 1.55rem);
}

.lcch-section-card__eyebrow {
  display: inline-flex;
  margin: 0 0 0.65rem;
  color: var(--site-primary);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lcch-section-card__title {
  margin: 0 0 0.65rem;
  color: #111827;
  font-size: clamp(1.18rem, 1.6vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.lcch-section-card__text {
  margin: 0;
  color: #4f5a69;
  font-size: 0.95rem;
  line-height: 1.62;
}

.lcch-milestones__intro {
  margin: 0 auto 2rem;
  max-width: 46rem;
  text-align: center;
}

.lcch-milestone-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-page="lcch-project"] .lcch-document-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lcch-documents__note {
  margin-top: 1rem;
  text-align: center;
}

.lcch-story__image-card--lower-large .lcch-story__image {
  aspect-ratio: 4 / 5.05;
}

.lcch-story__image-stack--lower .lcch-story__image {
  aspect-ratio: 4 / 2.38;
}

[data-bs-theme="dark"] .lcch-hero__button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f3f4f6;
}

[data-bs-theme="dark"] .lcch-hero__button:hover,
[data-bs-theme="dark"] .lcch-hero__button:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.14);
}

[data-bs-theme="dark"] .lcch-hero__button--ghost {
  background: rgba(191, 34, 2, 0.22);
  border-color: rgba(191, 34, 2, 0.28);
  color: #f3f4f6;
}

[data-bs-theme="dark"] .lcch-story__meta-card,
[data-bs-theme="dark"] .lcch-milestone-card,
[data-bs-theme="dark"] .lcch-section-card {
  background: #171b23;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .lcch-story__meta-card--accent,
[data-bs-theme="dark"] .lcch-milestone-card--accent {
  background: linear-gradient(145deg, rgba(191, 34, 2, 0.22) 0%, #171b23 100%);
}

[data-bs-theme="dark"] .lcch-story__meta-title,
[data-bs-theme="dark"] .lcch-milestone-card__title,
[data-bs-theme="dark"] .lcch-section-card__title {
  color: #f3f4f6;
}

[data-bs-theme="dark"] .lcch-story__meta-text,
[data-bs-theme="dark"] .lcch-milestone-card__text,
[data-bs-theme="dark"] .lcch-section-card__text,
[data-bs-theme="dark"] .lcch-documents__note {
  color: #cfd5de;
}

@media (max-width: 991.98px) {
  .lcch-sections__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lcch-section-card--wide {
    grid-column: span 2;
  }

  .lcch-section-card--wide .lcch-section-card__image {
    aspect-ratio: 16 / 9;
  }

  .lcch-story__meta-grid,
  .lcch-milestone-grid,
  body[data-page="lcch-project"] .lcch-document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lcch-gallery__card:last-child {
    grid-column: span 2;
  }

  .lcch-story__image-card--lower-large .lcch-story__image,
  .lcch-story__image-stack--lower .lcch-story__image {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 767.98px) {
  .lcch-hero__actions {
    flex-direction: column;
  }

  .lcch-story__gallery {
    grid-template-columns: 1fr;
  }

  .lcch-story__image-card--tall .lcch-story__image,
  .lcch-story__image-stack .lcch-story__image,
  .lcch-story__image-card--lower-large .lcch-story__image,
  .lcch-story__image-stack--lower .lcch-story__image {
    aspect-ratio: 16 / 10;
  }

  .lcch-story__meta-grid,
  .lcch-sections__grid,
  .lcch-milestone-grid,
  body[data-page="lcch-project"] .lcch-document-grid {
    grid-template-columns: 1fr;
  }

  .lcch-section-card--wide {
    grid-column: auto;
  }

  .lcch-gallery__card:last-child {
    grid-column: auto;
  }
}

/* ---------------------------------------------------------------------------
   E&S Documents for Disclosure
   Download cards shown on project pages. Cards with no file uploaded yet
   render in a muted "Coming soon" state instead of a broken link.
   --------------------------------------------------------------------------- */

.lcch-disclosure {
  padding: 3.5rem 0 4rem;
}

.lcch-disclosure__intro {
  max-width: 46rem;
}

.lcch-disclosure__eyebrow {
  color: var(--site-primary);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
}

.lcch-disclosure__title {
  color: #111827;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.lcch-disclosure__text {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

.lcch-disclosure__grid {
  display: grid;
  gap: 1rem;
  /* min() keeps the auto-fit floor from exceeding the track itself: the
     container is `100% - 48px` plus gutters, so on a 320px phone there is
     less than 17.5rem to give and a fixed floor would overflow sideways. */
  grid-template-columns: repeat(auto-fit, minmax(min(17.5rem, 100%), 1fr));
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.lcch-disclosure__item {
  display: flex;
}

.lcch-disclosure__card {
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #d9dde3;
  border-radius: 18px;
  color: inherit;
  display: flex;
  gap: 0.9rem;
  padding: 1.25rem 1.2rem;
  position: relative;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

a.lcch-disclosure__card:hover,
a.lcch-disclosure__card:focus-visible {
  border-color: rgba(191, 34, 2, 0.45);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

a.lcch-disclosure__card:focus-visible {
  outline: 2px solid var(--site-primary);
  outline-offset: 3px;
}

.lcch-disclosure__icon {
  align-items: center;
  background: rgba(191, 34, 2, 0.08);
  border-radius: 12px;
  color: var(--site-primary);
  display: inline-flex;
  flex: 0 0 auto;
  height: 2.6rem;
  justify-content: center;
  width: 2.6rem;
}

.lcch-disclosure__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.lcch-disclosure__name {
  color: #111827;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.lcch-disclosure__desc {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.lcch-disclosure__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.lcch-disclosure__badge {
  background: rgba(191, 34, 2, 0.1);
  border-radius: 999px;
  color: var(--site-primary);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  text-transform: uppercase;
}

.lcch-disclosure__size {
  color: #6b7280;
  font-family: var(--font-data);
  font-size: 0.78rem;
}

.lcch-disclosure__action {
  align-items: center;
  color: var(--site-primary);
  display: inline-flex;
  flex: 0 0 auto;
  padding-top: 0.55rem;
}

/* Multi-file card: one published button that expands to list its files.
   <details> carries the open/closed state, so this needs no JavaScript. */
.lcch-disclosure__card--group {
  display: block;
  padding: 0;
}

.lcch-disclosure__summary {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  gap: 0.9rem;
  list-style: none;
  padding: 1.25rem 1.15rem;
}

.lcch-disclosure__summary::-webkit-details-marker {
  display: none;
}

.lcch-disclosure__summary:focus-visible {
  border-radius: 14px;
  outline: 2px solid var(--site-primary);
  outline-offset: -2px;
}

.lcch-disclosure__action--chevron {
  padding-top: 0.5rem;
  transition: transform 0.2s ease;
}

.lcch-disclosure__card--group[open] .lcch-disclosure__action--chevron {
  transform: rotate(180deg);
}

.lcch-disclosure__files {
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0.35rem 1.15rem 0.9rem;
}

.lcch-disclosure__file {
  align-items: center;
  border-radius: 10px;
  color: #111827;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  padding: 0.7rem 0.6rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.lcch-disclosure__file:hover,
.lcch-disclosure__file:focus-visible {
  background: rgba(191, 34, 2, 0.06);
}

.lcch-disclosure__file:focus-visible {
  outline: 2px solid var(--site-primary);
  outline-offset: 1px;
}

.lcch-disclosure__file-name {
  flex: 1 1 12rem;
  font-size: 0.92rem;
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}

.lcch-disclosure__file-meta {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
}

.lcch-disclosure__file-icon {
  color: var(--site-primary);
  display: inline-flex;
}

@media (prefers-reduced-motion: reduce) {
  .lcch-disclosure__action--chevron,
  .lcch-disclosure__file {
    transition: none;
  }
}

.lcch-disclosure .visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 575.98px) {
  .lcch-disclosure {
    padding: 2.75rem 0 3rem;
  }

  .lcch-disclosure__card {
    gap: 0.75rem;
    padding: 1.1rem 1rem;
  }

  /* Give the text column back the width the chrome was taking: the icon and
     the trailing download arrow shrink so a long title still wraps to two
     comfortable lines rather than four cramped ones. */
  .lcch-disclosure__icon {
    height: 2.25rem;
    width: 2.25rem;
  }

  .lcch-disclosure__icon svg {
    height: 20px;
    width: 20px;
  }

  .lcch-disclosure__action {
    padding-top: 0.35rem;
  }

  .lcch-disclosure__name {
    font-size: 1rem;
  }

  .lcch-disclosure__desc {
    font-size: 0.875rem;
  }

  /* The floating scroll-to-top button sits over the bottom-right corner of the
     last card on phones; the extra tail keeps the final "Download" clear of it. */
  .lcch-disclosure__grid {
    padding-bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lcch-disclosure__card,
  a.lcch-disclosure__card:hover,
  a.lcch-disclosure__card:focus-visible {
    transform: none;
    transition: none;
  }
}

/* Corridor-section scope line under the disclosure heading */
.lcch-disclosure__scope {
  align-items: center;
  color: var(--site-primary);
  display: inline-flex;
  font-family: var(--font-display);
  /* Sized between the body text and the section heading, so the corridor
     section it covers is readable at a glance without competing with the
     "E&S Documents for Disclosure" title above it. */
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 700;
  gap: 0.5rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin: 0 0 0.9rem;
  max-width: 100%;
  flex-wrap: wrap;
}

.lcch-disclosure__scope-pin {
  align-items: center;
  display: inline-flex;
}

/* Per-card section tag, e.g. "Kebbi" */
.lcch-disclosure__section {
  align-self: flex-start;
  background: rgba(191, 34, 2, 0.1);
  border-radius: 999px;
  color: var(--site-primary);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.15rem;
  padding: 0.18rem 0.55rem;
  text-transform: uppercase;
}

/* "Download" call to action inside each card */
.lcch-disclosure__cta {
  align-items: center;
  color: var(--site-primary);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

a.lcch-disclosure__card:hover .lcch-disclosure__cta,
a.lcch-disclosure__card:focus-visible .lcch-disclosure__cta {
  text-decoration: underline;
}

a.lcch-disclosure__card:hover .lcch-disclosure__action {
  transform: translateY(2px);
}

.lcch-disclosure__action {
  transition: transform 0.2s ease;
}

/* Standalone page shown when a document has not been uploaded yet */
.lcch-doc-pending {
  padding: 4.5rem 0 5rem;
}

.lcch-doc-pending__panel {
  background: #ffffff;
  border: 1px solid #d9dde3;
  border-radius: 20px;
  margin: 0 auto;
  max-width: 40rem;
  padding: 2.5rem 2rem;
  text-align: center;
}

.lcch-doc-pending__icon {
  align-items: center;
  background: rgba(191, 34, 2, 0.08);
  border-radius: 50%;
  color: var(--site-primary);
  display: inline-flex;
  height: 3.5rem;
  justify-content: center;
  margin-bottom: 1.1rem;
  width: 3.5rem;
}

.lcch-doc-pending__eyebrow {
  color: var(--site-primary);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.lcch-doc-pending__title {
  color: #111827;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.85rem;
}

.lcch-doc-pending__text {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 auto 1.75rem;
  max-width: 32rem;
}

.lcch-doc-pending__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.lcch-doc-pending__button {
  background: #171b23;
  border: 1px solid #171b23;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 1.3rem;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lcch-doc-pending__button:hover,
.lcch-doc-pending__button:focus-visible {
  background: #20242d;
  border-color: #20242d;
  color: #ffffff;
}

.lcch-doc-pending__button--ghost {
  background: transparent;
  border-color: rgba(17, 24, 39, 0.18);
  color: #111827;
}

.lcch-doc-pending__button--ghost:hover,
.lcch-doc-pending__button--ghost:focus-visible {
  background: #f5f6f7;
  border-color: rgba(17, 24, 39, 0.3);
  color: #111827;
}

.lcch-doc-pending .visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (prefers-reduced-motion: reduce) {
  .lcch-disclosure__action,
  a.lcch-disclosure__card:hover .lcch-disclosure__action {
    transform: none;
    transition: none;
  }
}
