/* =========================================================
   KENTE GROUP — Global Stylesheet
   ========================================================= */

/* === ROOT VARIABLES === */
:root {
  --bg: #FAFAFA;
  --text: #0B0B0B;
  --muted: #6B6B6B;
  --line: #EDEDED;
  --gold: #D5B75F;
  --card: #FFFFFF;
}

/* === BASE RESET === */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

main {
  flex: 1; /* ensures footer stays at bottom */
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

a:hover {
  opacity: 1;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   HEADER (Global Navigation)
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
}

.site-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* --- Nav Menu --- */
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-menu a {
  font-weight: 500;
  color: var(--text);
  opacity: 0.9;
}

.nav-menu a:hover {
  opacity: 1;
}

/* --- Hamburger (mobile) --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: var(--text);
  margin: 3px 0;
  transition: all 0.3s ease;
}

/* --- Mobile nav behaviour --- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--bg);
    border-top: 1px solid var(--line);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
  }
}

/* Hamburger "X" animation */
.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  padding: 60px 0 60px;
  text-align: center;
}

.hero-copy {
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 0 32px;
}

.hero-copy::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 32px auto 0;
  border-radius: 2px;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.subhead {
  font-size: 18px;
  color: var(--muted);
}

/* =========================================================
   BRAND GRID (Ventures)
   ========================================================= */

.brand-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tile {
  background: linear-gradient(180deg, #fff, #f7f7f7);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.tile.in-view {
  opacity: 1;
  transform: translateY(0);
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06), 0 1px 0 rgba(0,0,0,0.05);
}

.tile .tile-inner {
  padding: 24px;
  text-align: center;
}

.logo-pill {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  font-weight: 700;
}

.tagline { font-size: 14px; margin-bottom: 6px; }
.category { font-size: 12px; color: var(--muted); }

/* =========================================================
   SCROLL CUE
   ========================================================= */

.scroll-cue {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 48px auto 0;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 32px;
  height: 48px;
  position: relative;
}

.scroll-cue span {
  display: block;
  width: 22px;
  height: 34px;
  border: 1.5px solid var(--text);
  border-radius: 16px;
  opacity: 0.6;
}

.scroll-cue span::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--text);
  border-radius: 2px;
  animation: drop 1.6s infinite;
}

@keyframes drop {
  0% { opacity: 0.9; transform: translate(-50%, 0); }
  60% { opacity: 0.2; transform: translate(-50%, 8px); }
  100% { opacity: 0.9; transform: translate(-50%, 0); }
}

/* =========================================================
   PILLARS
   ========================================================= */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 60px 0;
  border-top: 1px solid var(--line);
}

.pillar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: grid;
  gap: 8px;
  text-align: center;
}

.pillar .icon { color: var(--text); opacity: .9; }
.pillar h3 { margin: 0; }

/* =========================================================
   STORY PANELS
   ========================================================= */

.story .panel-hero {
  background: linear-gradient(180deg, #fff, #f6f6f6);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.panel-hero .panel-inner {
  padding: 80px 0;
  text-align: center;
}

.panel-hero h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 6px;
}

.panel-hero p {
  color: var(--muted);
}

/* .panel-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}

.panel-split.reverse {
  grid-template-columns: .9fr 1.1fr;
} */

 /* =========================================================
   STORY PANELS (Alternating layout)
   ========================================================= */

.panel-split {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}

.panel-split.reverse {
  flex-direction: row-reverse;
}

.split-col {
  flex: 1;
}

.story-thumb {
  border-radius: 14px;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 1px solid var(--line);
}

/* Stack vertically on mobile */
@media (max-width: 960px) {
  .panel-split,
  .panel-split.reverse {
    flex-direction: column;
  }
}


.split-col.text h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.split-col.text p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 10px;
}

.story-thumb {
  border-radius: 14px;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.button-ghost {
  display: inline-block;
  border: 1px solid var(--text);
  border-radius: 40px;
  padding: 10px 24px;
  font-size: 15px;
  color: var(--text);
  transition: all 0.2s ease;
}

.button-ghost:hover {
  background: var(--text);
  color: #fff;
}

/* =========================================================
   TIMELINE & JOURNAL
   ========================================================= */

.timeline {
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}

.section-title {
  font-size: 22px;
  margin-bottom: 20px;
}

.line {
  position: relative;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.mark {
  position: absolute;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--text);
  cursor: pointer;
}

/* Journal cards */
.journal {
  padding: 70px 0;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  display: grid;
  gap: 6px;
}

.thumb-wrapper {
  background: repeating-linear-gradient(135deg, #f5f5f5 0 12px, #ececec 12px 24px);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.read {
  font-size: 14px;
  margin-top: 4px;
  color: var(--text);
}

.read:hover { color: var(--gold); }

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  width: 100%;
  padding: 48px 0;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  max-width: 90px;
  height: auto;
  display: block;
}

.footer-left p {
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 15px;
  color: var(--text);
  opacity: 0.9;
}

.footer-links a:hover { opacity: 1; }

.footer-socials {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}

.footer-socials img {
  width: 26px;
  height: 26px;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.footer-socials img:hover {
  opacity: 1;
  filter: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 960px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  /* .panel-split, .panel-split.reverse { grid-template-columns: 1fr; gap: 24px; } */
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }

  .footer-socials {
    justify-content: center;
  }

  .story-thumb { height: 220px; }
}

@media (max-width: 560px) {
  .brand-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; padding: 0 20px; }
  .pillars, .journal-grid { grid-template-columns: 1fr; gap: 24px; padding: 0 20px; }
  .hero { padding: 90px 0 50px; }
  .hero-copy { padding: 0 20px; }
  .hero h1 { font-size: 32px; line-height: 1.15; }
  .subhead { font-size: 16px; }
}

/* ───────────────────────────────
   VENTURE PAGE STYLES
   ─────────────────────────────── */
.venture-hero {
  text-align: center;
  padding: 20px 20px 60px;
  max-width: 800px;
  margin: 0 auto;
}

.venture-logo {
  width: 160px;
  height: auto;
  margin-bottom: 24px;

  display: block;
  margin: 0 auto 24px;
}

.venture-hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.venture-tagline {
  font-size: 18px;
  color: var(--muted, #555);
  margin-top: 0;
}

.venture-mission {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 24px;
}

.venture-mission h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.venture-mission p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
}

.venture-cta {
  text-align: center;
  margin: 40px 0 80px;
}

.venture-button {
  display: inline-block;
  padding: 12px 26px;
  border: 1.5px solid #000;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  color: #000;
  transition: all 0.25s ease;
}

.venture-button:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}

.venture-visual {
  position: relative;
  background: linear-gradient(135deg, #f7f7f7, #fff);
  padding: 80px 24px;
  text-align: center;
  overflow: hidden;
}

.venture-visual .visual-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/venture-bg-pattern.png') center/cover no-repeat;
  opacity: 0.08;
}

.venture-visual .visual-text {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.venture-visual h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.venture-visual p {
  font-size: 17px;
  color: #444;
  line-height: 1.6;
}

.venture-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 100px auto;
  padding: 0 24px;
}

.highlight h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.highlight p {
  color: #555;
  line-height: 1.6;
}

.venture-footer {
  text-align: center;
  padding: 60px 20px 100px;
  border-top: 1px solid #eee;
  font-size: 15px;
  color: #555;
}

.venture-footer a {
  color: #000;
  font-weight: 500;
  text-decoration: none;
}

.venture-footer a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .venture-logo {
    width: 120px;
  }
  .venture-hero {
    padding: 80px 20px 40px;
  }
  .venture-highlights {
    margin: 60px auto;
  }
}


/* === KENTE FIXES 2025-10-26 === */
/* Align story page content width with header/footer (1200px) */
.story-hero,
.story-wrap {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px;
  padding-right: 24px;
}

/* Prevent overly wide hero titles from spilling beyond the nav rhythm on huge screens */
.story-hero h1 {
  word-break: break-word;
}

/* Footer logo aspect-ratio fix (was appearing widened) */
.footer-logo {
  height: 28px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
}
@media (max-width: 560px) {
  .footer-logo { height: 24px !important; }
}

/* === KENTE FIXES 2025-10-26 (v2) === */

/* Constrain wide background visuals (e.g., Because of War) */
.venture-visual {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.venture-visual .visual-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.25;
  border-radius: 8px;
  z-index: 0;
}
.venture-visual .visual-text {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  text-align: center;
  color: var(--text);
}

/* Center global CTAs like “Read Our Stories” within container width */
.center {
  max-width: 1200px;
  margin: 8px auto;
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
}

/* Refine footer logo scaling and vertical alignment */
.footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}
.footer-logo img {
  max-height: 32px;
  width: auto;
}
