/* assets/css/pages/home.css — Home page specific styles from prototype-e-focused */

/* ── Home page full-width body ────────────────── */
body.page-home {
  padding: 0;
}

body.page-home > main {
  padding-block: 0;
}

/* ── Hero ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-chrome);
  margin-bottom: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.8) brightness(0.9);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgb(15 20 26 / 0.65) 0%, rgb(15 20 26 / 0.52) 45%, rgb(15 20 26 / 0.78) 100%),
    radial-gradient(ellipse at 25% 30%, rgb(174 184 195 / 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 60%, rgb(223 228 233 / 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgb(237 240 243 / 0.06) 0%, transparent 40%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-silver);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--color-silver);
}

.hero-content p {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: float 2s ease-in-out infinite;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Intro strip ───────────────────────────────── */
.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--color-paper);
}

.intro-card {
  padding: 48px 36px;
  text-align: center;
  border-right: 1px solid var(--color-mist);
}

.intro-card:last-child {
  border-right: none;
}

.intro-card .intro-icon {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--color-silver);
}

.intro-card h3,
.intro-card .intro-heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.intro-card p {
  font-size: 14px;
  color: var(--color-smoke);
  line-height: 1.7;
}

/* ── Stats band ────────────────────────────────── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats-band .stat-item {
  padding: 48px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stats-band .stat-item:last-child {
  border-right: none;
}

.stats-band .stat-number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  font-style: italic;
  color: var(--color-silver);
  line-height: 1;
  margin-bottom: 8px;
}

.stats-band .stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ── About feature (2-col with image) ──────────── */
.about-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 500px;
}

.about-feature .af-text {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--gradient-chrome-dark);
}

.about-feature .af-text h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 20px;
}

.about-feature .af-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-feature .af-text .btn {
  margin-top: 16px;
  align-self: flex-start;
}

.about-feature .af-image {
  overflow: hidden;
}

/* ── Gallery masonry ───────────────────────────── */
.gallery-masonry {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 8px;
}

.gallery-masonry .gm-item {
  position: relative;
  overflow: hidden;
  background: var(--gradient-chrome);
}

.gallery-masonry .gm-item img {
  transition: transform 0.5s ease;
}

.gallery-masonry .gm-item:hover img {
  transform: scale(1.04);
}

.gallery-masonry .gm-item::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, rgb(255 255 255 / 0.16), rgb(39 49 59 / 0.08));
  mix-blend-mode: multiply;
}

.gm-1 { grid-row: 1 / 3; }
.gm-4 { grid-column: 2 / 4; }

/* ── Upcoming event card ───────────────────────── */
.upcoming-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 380px;
  border: 1px solid transparent;
  background: linear-gradient(var(--color-paper), var(--color-paper)) padding-box, var(--gradient-chrome) border-box;
}

.upcoming-card .uc-image {
  overflow: hidden;
}

.upcoming-card .uc-image img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.upcoming-card .uc-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.upcoming-card .uc-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.upcoming-card .uc-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-silver);
  margin-bottom: 12px;
}

.upcoming-card .uc-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  font-style: italic;
  color: var(--color-ink);
  line-height: 1.2;
  margin-bottom: 12px;
}

.upcoming-card .uc-text {
  font-size: 15px;
  color: var(--color-smoke);
  line-height: 1.7;
  margin-bottom: 24px;
}

.upcoming-card .uc-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-steel);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.upcoming-card .btn {
  align-self: flex-start;
}

/* ── Home responsive ───────────────────────────── */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .hero-scroll {
    display: none;
  }

  .intro-strip {
    grid-template-columns: 1fr;
  }

  .intro-card {
    border-right: none;
    border-bottom: 1px solid var(--color-mist);
  }

  .intro-card:last-child {
    border-bottom: none;
  }

  .about-feature {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-feature .af-text {
    padding: 48px 28px;
  }

  .about-feature .af-image {
    min-height: 280px;
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-band .stat-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .stats-band .stat-item:nth-child(2),
  .stats-band .stat-item:nth-child(4) {
    border-right: none;
  }

  .upcoming-card {
    grid-template-columns: 1fr;
  }

  .upcoming-card .uc-body {
    padding: 32px 28px;
  }

  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px;
  }

  .gm-1 { grid-row: 1 / 3; }
  .gm-4 { grid-column: 1 / 3; }

  .gallery-masonry .gm-item:hover img {
    transform: none;
  }
}
