/* ─────────────────────────────────────────────────────────────
   projects.css — Projects listing page styles
   Fixes applied:
   - proj-hero min-height: 30px → 300px (typo — caused hero to collapse)
   - All decorative section comment dividers removed
───────────────────────────────────────────────────────────── */

/* Section label */
.section-label {
  font-family: var(--font-accent, 'Cormorant Garamond', Georgia, serif);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold, #c8a45d);
  display: block;
  margin-bottom: 14px;
}

.section-label.light { color: var(--gold, #c8a45d); }

/* Section heading */
.section-heading {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
}

.section-heading em {
  font-style: italic;
  color: var(--gold, #c8a45d);
}

.section-heading.light { color: #fff; }

/* Gold rule */
.gold-rule {
  width: 44px;
  height: 1px;
  background: var(--gold, #c8a45d);
  margin-bottom: 24px;
}

/* Scroll reveal base states */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-delay="1"] { transition-delay: 0.10s; }
[data-delay="2"] { transition-delay: 0.20s; }
[data-delay="3"] { transition-delay: 0.32s; }

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Page base */
.projects-main {
  background: #000;
  color: #fff;
}

/* Hero */
.proj-hero {
  position: relative;
  height: 60vh;
  min-height: 300px; /* Fixed: was 30px — typo that collapsed the hero section */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.proj-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.72);
}

.proj-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.48) 50%,
    rgba(0,0,0,0.12) 100%
  );
}

.proj-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
}

/* Kicker pill */
.proj-kicker {
  display: inline-block;
  font-family: var(--font-accent, 'Cormorant Garamond', Georgia, serif);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(212,175,100,0.95);
  border: 1px solid rgba(212,175,100,0.45);
  border-radius: 999px;
  padding: 7px 18px;
  margin-top: 100px;
  margin-bottom: 20px;
}

/* Hero title */
.proj-hero-title {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 24px;
}

.proj-hero-title em {
  font-style: italic;
  color: var(--gold, #c8a45d);
}

/* Hero subtitle */
.proj-hero-sub {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.03em;
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 36px;
}

/* Hero action buttons */
.proj-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Primary CTA button */
.btn-proj-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--gold, #c8a45d);
  color: #000;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.3s, transform 0.3s;
}

.btn-proj-primary:hover {
  background: #b8943f;
  transform: translateY(-2px);
}

/* Secondary outline button */
.btn-proj-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.btn-proj-secondary:hover {
  border-color: var(--gold, #c8a45d);
  color: var(--gold, #c8a45d);
  background: rgba(200,164,93,0.08);
  transform: translateY(-2px);
}

/* Scroll indicator */
.proj-hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.proj-hero-scroll span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--gold, #c8a45d));
  margin: auto;
  animation: projScrollLine 1.8s ease-in-out infinite;
}

@keyframes projScrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Projects listing section */
.proj-listing {
  padding: 110px 0 120px;
  background: #000;
}

/* Centered section header */
.proj-section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 70px;
}

.proj-section-header .gold-rule {
  margin: 0 auto 24px;
}

.proj-section-sub {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  letter-spacing: 0.02em;
}

/* 2-column cards grid */
.proj-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Project card */
.proj-card {
  background: #0c0c0c;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
}

.proj-card:hover {
  border-color: rgba(200,164,93,0.35);
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.55);
}

/* Card image */
.proj-card-image-wrap {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.proj-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.proj-card:hover .proj-card-img { transform: scale(1.04); }

.proj-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.52) 100%
  );
  transition: opacity 0.4s;
}

/* Badge overlay on card image */
.proj-card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000;
  background: var(--gold, #c8a45d);
  border-radius: 3px;
  padding: 5px 12px;
  z-index: 1;
}

/* Card body */
.proj-card-body {
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.proj-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.proj-card-type {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.05em;
}

.proj-card-type i {
  color: var(--gold, #c8a45d);
  font-size: 11px;
}

/* Card title */
.proj-card-title {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.proj-card-desc {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
  margin-bottom: 22px;
}

/* Feature checklist */
.proj-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 28px;
}

.proj-card-features li {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.68);
  display: flex;
  align-items: center;
  gap: 10px;
}

.proj-card-features li i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(200,164,93,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold, #c8a45d);
  font-size: 9px;
  flex-shrink: 0;
}

/* Card footer — pinned to bottom via flex */
.proj-card-footer {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* Explore project button */
.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--gold, #c8a45d);
  color: #000;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.3s, transform 0.3s;
  width: 100%;
  justify-content: center;
}

.btn-explore:hover {
  background: #b8943f;
  transform: translateY(-2px);
}

.btn-explore i {
  font-size: 12px;
  transition: transform 0.3s;
}

.btn-explore:hover i { transform: translateX(4px); }

/* CTA strip */
.proj-cta-strip {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.proj-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.proj-cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proj-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.75) 100%
  );
}

.proj-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.proj-cta-text .section-heading { margin-bottom: 0; }

/* ─────────────────────────────────────────────────────────
   Responsive breakpoints
───────────────────────────────────────────────────────── */

@media (max-width: 1200px) {
  .proj-listing        { padding: 90px 0 100px; }
  .proj-section-header { margin-bottom: 56px; }
  .proj-cta-strip      { padding: 84px 0; }
}

@media (max-width: 1024px) {
  .proj-listing          { padding: 78px 0 88px; }
  .proj-card-image-wrap  { height: 240px; }
  .proj-card-body        { padding: 26px 24px 24px; }
  .proj-card-title       { font-size: 1.55rem; }
  .proj-cta-inner        { gap: 30px; }
  .proj-cta-strip        { padding: 72px 0; }
  .proj-section-header   { margin-bottom: 50px; }
  .proj-cards-grid       { gap: 24px; }
}

@media (max-width: 900px) {
  /* Single column, centred, capped width */
  .proj-cards-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
    gap: 24px;
  }

  .proj-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .proj-section-header   { margin-bottom: 44px; }
  .proj-card-image-wrap  { height: 260px; }
}

@media (max-width: 768px) {
  /* Hero: auto height prevents content clipping */
  .proj-hero             { height: auto; min-height: 460px; }
  .proj-hero-content     { padding-bottom: 60px; }

  .proj-kicker           { margin-top: 60px; font-size: 0.76rem; padding: 6px 14px; }
  .proj-hero-title       { font-size: clamp(1.6rem, 6.5vw, 2.4rem); }
  .proj-hero-sub         { max-width: 100%; font-size: 0.92rem; }

  .proj-listing          { padding: 64px 0 72px; }
  .proj-section-header   { margin-bottom: 38px; }
  .proj-section-sub      { font-size: 14px; }

  .section-heading       { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }

  .proj-cards-grid       { max-width: 100%; gap: 20px; }
  .proj-card-image-wrap  { height: 230px; }
  .proj-card-body        { padding: 22px 20px 20px; }
  .proj-card-title       { font-size: 1.4rem; }
  .proj-card-desc        { font-size: 13.5px; }
  .proj-card-features li { font-size: 12.5px; }
  .proj-card-footer      { padding-top: 18px; }

  .proj-cta-strip        { padding: 60px 0; }
  .proj-hero-scroll      { display: none; }
}

@media (max-width: 600px) {
  .proj-hero             { min-height: 400px; }
  .proj-hero-content     { padding-bottom: 50px; }

  .proj-kicker           { margin-top: 44px; font-size: 0.72rem; letter-spacing: 0.16em; padding: 5px 12px; }
  .proj-hero-title       { font-size: clamp(1.5rem, 7vw, 2rem); margin-bottom: 18px; }
  .proj-hero-sub         { font-size: 0.88rem; margin-bottom: 28px; line-height: 1.7; }

  /* Buttons side by side at this width — stacks only at 400px */
  .proj-hero-actions     { flex-direction: row; flex-wrap: nowrap; gap: 10px; }

  .btn-proj-primary,
  .btn-proj-secondary    { flex: 1 1 0; min-width: 0; width: auto; padding: 12px 14px; font-size: 11px; letter-spacing: 0.09em; justify-content: center; white-space: nowrap; }

  .proj-listing          { padding: 52px 0 60px; }
  .proj-section-header   { margin-bottom: 32px; }
  .proj-section-sub      { font-size: 13.5px; }
  .proj-cards-grid       { gap: 16px; }

  .proj-card-image-wrap  { height: 200px; }
  .proj-card-body        { padding: 18px 16px 16px; }
  .proj-card-title       { font-size: 1.25rem; margin-bottom: 10px; }
  .proj-card-desc        { font-size: 13px; margin-bottom: 16px; }
  .proj-card-badge       { font-size: 9.5px; padding: 4px 10px; top: 14px; left: 14px; }
  .proj-card-features    { gap: 7px; margin-bottom: 20px; }
  .proj-card-features li { font-size: 12px; }
  .btn-explore           { padding: 12px 20px; font-size: 10.5px; }

  .proj-cta-strip        { padding: 50px 0; }
  .section-heading       { font-size: clamp(1.35rem, 6.5vw, 1.9rem); }

  /* Centered gold rule on mobile */
  .proj-section-header .gold-rule { margin-left: auto; margin-right: auto; }
}

@media (max-width: 400px) {
  .proj-hero             { min-height: 450px; }

  .proj-kicker           { margin-top: 36px; font-size: 0.68rem; padding: 5px 10px; }
  .proj-hero-title       { font-size: clamp(1.35rem, 8vw, 1.75rem); }
  .proj-hero-sub         { font-size: 0.83rem; }

  /* Stack buttons only at truly tiny screens */
  .proj-hero-actions     { flex-direction: column; gap: 10px; }

  .btn-proj-primary,
  .btn-proj-secondary    { flex: none; width: 100%; font-size: 11px; padding: 13px 20px; }

  .proj-listing          { padding: 44px 0 50px; }
  .proj-card-image-wrap  { height: 180px; }
  .proj-card-body        { padding: 16px 14px 14px; }
  .proj-card-title       { font-size: 1.15rem; }
  .proj-card-desc        { font-size: 12.5px; }
  .proj-card-features li { font-size: 11.5px; }
  .section-heading       { font-size: 1.25rem; }
  .proj-cta-strip        { padding: 42px 0; }
  .section-label         { font-size: 11px; letter-spacing: 0.2em; }
}