/* ══════════════════════════════════════════
   Corporate Stories — Homepage Styles
   main.css
══════════════════════════════════════════ */

:root {
  --black:     #0a0a0a;
  --white:     #f5f4f0;
  --mid-gray:  #c8c6c0;
  --light-bg:  #f0efeb;
  --accent:    #1a1a1a;
  --border:    #e0dfd9;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  cursor: none;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

/* ── CURSOR ── */
.cursor {
  width: 10px; height: 10px;
  background: var(--black);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease;
  transform: translate(-50%, -50%);
}
.cursor.expanded {
  width: 44px; height: 44px;
  background: transparent;
  border: 1.5px solid var(--black);
}
@media (hover: none) and (pointer: coarse) {
  .cursor { display: none; }
  body { cursor: auto; }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── NAVBAR ── */
.navbar {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky !important;
  top: 0 !important;
  z-index: 1030;
}
.navbar-brand {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black) !important;
}
.nav-link {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888 !important;
  padding: 0 1.1rem !important;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--black) !important; }

/* Collapsed mobile menu background */
.navbar-collapse {
  background: var(--white);
}
@media (max-width: 991px) {
  .navbar-collapse.show {
    padding: 1rem 0;
    border-top: 1px solid var(--border);
  }
  .navbar-nav .nav-link {
    padding: 0.6rem 0 !important;
  }
}

/* ── HERO ── */
.hero-section {
  padding: 5rem 0 4rem;
  background: var(--white);
}
.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: #bbb;
}
.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.btn-primary-dark {
  background: var(--black);
  color: var(--white);
  border: none;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 1.6rem;
  transition: background 0.2s;
}
.btn-primary-dark:hover { background: #333; color: var(--white); }

.btn-outline-dark-sm {
  background: transparent;
  color: var(--black);
  border: 1px solid #ccc;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 1.6rem;
  transition: all 0.2s;
}
.btn-outline-dark-sm:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Hero image */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.hero-img-placeholder {
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  border-radius: 10px;
}

/* ── STATS BAND ── */
.stats-section {
  background: var(--light-bg);
  padding: 4.5rem 0;
}
.stats-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}
.stats-body {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
}
.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  margin-top: 0.2rem;
}
.stats-divider {
  width: 1px;
  height: 40px;
  background: #d0cec8;
  margin: auto;
}

/* ── PORTFOLIO ── */
.portfolio-section { padding: 5rem 0; }

.section-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
}
.explore-link {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.explore-link:hover { color: var(--black); }

/* Story Cards */
.story-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.story-card .story-img,
.story-card img,
.story-card .img-placeholder {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
  object-fit: cover;
}
.story-card:hover .story-img,
.story-card:hover img,
.story-card:hover .img-placeholder {
  transform: scale(1.03);
}
.img-placeholder {
  background: #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.7rem;
}
.card-meta { margin-top: 0.8rem; }
.card-title-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
}
.card-location { font-size: 0.7rem; color: #888; }
.card-category {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aaa;
}

/* Card size variants */
.story-card-tall .story-img,
.story-card-tall img,
.story-card-tall .img-placeholder { height: 380px; }

.story-card-md .story-img,
.story-card-md img,
.story-card-md .img-placeholder   { height: 240px; }

.story-card-wide .story-img,
.story-card-wide img,
.story-card-wide .img-placeholder { height: 260px; }

/* ── TRUST ── */
.trust-section {
  background: var(--light-bg);
  padding: 5rem 0;
}
.trust-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
}
.trust-body {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.75;
}
.partner-icon {
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
}
.partner-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  /* filter: grayscale(100%);
  opacity: 0.6; */
  transition: filter 0.3s, opacity 0.3s;
}
.partner-icon img:hover {
  /* filter: grayscale(0%); */
  opacity: 1;
}
.partner-label {
  text-align: center;
  margin-top: 8px;
  font-size: 0.75rem;
  color: #666;
}

/* ── CTA ── */
.cta-section {
  background: var(--black);
  padding: 6rem 0 5rem;
}
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}
.cta-body {
  font-size: 0.82rem;
  color: #999;
  line-height: 1.75;
  max-width: 320px;
}
.btn-cta {
  background: transparent;
  color: var(--white);
  border: 1px solid #555;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.8rem 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.25s;
  text-decoration: none;
  cursor: none;
}
.btn-cta:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-cta .arrow { font-size: 1rem; }

/* ── FOOTER ── */
.site-footer {
  background: var(--black);
  border-top: 1px solid #222;
  padding: 2rem 0;
}
.footer-brand {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555;
}
.footer-copy { font-size: 0.65rem; color: #444; }
.footer-links a {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s;
  cursor: none;
}
.footer-links a:hover { color: #aaa; }

/* ── CHAPTER LABEL ── */
.chapter-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #bbb;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  position: absolute;
  left: -28px;
  top: 0;
  display: none;
}
@media (min-width: 992px) { .chapter-label { display: block; } }

/* ══════════════════════════════════════════
   MOBILE
══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Hero */
  .hero-section { padding: 2.5rem 0 2rem; }
  .hero-img-placeholder {
    max-width: 100%;
    height: 280px !important;
  }
  .hero-img {
    border-radius: 6px;
  }

  /* Stats */
  .stats-section { padding: 2.5rem 0; }

  /* Portfolio */
  .portfolio-section { padding: 2.5rem 0; }
  .story-card-tall .story-img,
  .story-card-tall img,
  .story-card-tall .img-placeholder { height: 240px; }
  .story-card-md .story-img,
  .story-card-md img,
  .story-card-md .img-placeholder   { height: 180px; }
  .story-card-wide .story-img,
  .story-card-wide img,
  .story-card-wide .img-placeholder { height: 180px; }

  /* Trust */
  .trust-section { padding: 2.5rem 0; }
  .partner-icon { width: 80px; height: 45px; }

  /* CTA */
  .cta-section { padding: 3.5rem 0 2.5rem; }
  .btn-cta { width: 100%; justify-content: center; cursor: pointer; }

  /* Footer */
  .footer-links { margin-top: 0.5rem; }
  .footer-links a { margin-left: 0; margin-right: 1.2rem; }
}