/* =============================================================
   NICHENCY — HOME PAGE
   pages/home.css
   ============================================================= */

/* ── HERO ── */
.hero {
  background: var(--hero-bg);
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--dark-blue);
}
.hero .hero-lead { font-size: 16px; color: var(--muted); margin-bottom: 12px; line-height: 1.8; }
.hero .hero-tagline { font-size: 15px; color: var(--muted); margin-bottom: 36px; font-style: italic; }
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
}
.hero-card .eyebrow { margin-bottom: 12px; }
.hero-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; }
.hero-card .tagline {
  font-size: 1rem;
  color: var(--dark-blue);
  font-weight: 600;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  display: block;
}
.hero-card p { font-size: 15px; color: var(--muted); margin-bottom: 0; line-height: 1.75; }

/* ── STATS BAR ── */
.stats-bar { background: var(--dark-blue); padding: 48px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--hero-bg);
  display: block;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: 'Karla', sans-serif;
  font-size: 13px;
  color: rgba(239,251,248,0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── ABOUT SECTION (HOME) ── */
/* ── WHO I AM — two-col: compact photo sidebar + dominant text column ── */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;   /* photo col narrower; text col leads */
  gap: 56px;
  align-items: center;
}

/* Photo — smaller, centred, no heavy border */
.about-img img {
  width: 100%;
  max-width: 220px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--border), 0 12px 28px rgba(19,15,73,0.09);
  display: block;
  margin: 0 auto 20px;
}

/* Stat chips — inline row, compact, subordinate */
.about-stats {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}
.about-stat {
  background: var(--dark-blue);
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  flex: 1;
}
.about-stat .c-num {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hero-bg);
  display: block;
  line-height: 1;
  margin-bottom: 3px;
}
.about-stat .c-label {
  font-family: 'Karla', sans-serif;
  font-size: 10px;
  color: rgba(239,251,248,0.8);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.3;
}

/* Story link — single small text link, no card */
.about-story-link {
  display: block;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}
.about-story-link:hover { color: var(--dark-blue); }

.about-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 20px; }
.mission-box {
  background: var(--hero-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--dark-blue);
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 24px;
  font-size: 16px;
  color: var(--dark-blue);
  font-style: italic;
  line-height: 1.75;
}

/* ── WHY ME ── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color .2s;
  text-align: center;
}
.why-card:hover { border-color: var(--dark-blue); }
.why-icon {
  width: 44px; height: 44px;
  background: var(--hero-bg);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin: 0 auto 16px;
  border: 1px solid var(--border);
}
.why-card h4 { font-size: 1rem; font-weight: 700; color: var(--dark-blue); margin-bottom: 12px; }
.why-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; text-align: left; }
.why-card ul li { font-size: 15px; color: var(--muted); padding-left: 18px; position: relative; line-height: 1.6; }
.why-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--dark-blue); font-size: 13px; }

/* ── CASE STUDIES ── */
.case-grid { display: flex; flex-direction: column; gap: 32px; }
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px 1fr;
  transition: border-color .2s;
}
.case-card:hover { border-color: var(--dark-blue); }
.case-img { height: 100%; min-height: 260px; overflow: hidden; position: relative; }
.case-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.case-card:hover .case-img img { transform: scale(1.04); }
.case-body { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.case-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.case-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark-blue);
  background: var(--hero-bg);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
}
.case-location { font-family: 'Karla', sans-serif; font-size: 13px; color: var(--muted); }
.case-body h3 { font-size: 1.3rem; font-weight: 700; color: var(--dark-blue); margin-bottom: 12px; }
.case-body p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }
.case-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.case-result { background: var(--hero-bg); border: 1px solid var(--border); border-radius: 8px; padding: 14px 12px; text-align: center; }
.case-result .r-num { font-family: 'Inter', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--dark-blue); display: block; line-height: 1; margin-bottom: 5px; }
.case-result .r-label { font-family: 'Karla', sans-serif; font-size: 12px; color: var(--muted); line-height: 1.3; }
.case-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  border-bottom: 2px solid var(--dark-blue);
  padding-bottom: 2px;
  width: fit-content;
  transition: opacity .2s;
}
.case-link:hover { opacity: 0.65; }

/* ── HOME SERVICES GRID ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.governance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color .2s;
}
.service-card:hover { border-color: var(--dark-blue); }
.service-num { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--dark-blue); margin-bottom: 14px; display: block; }
.service-card h4 { font-size: 1rem; font-weight: 700; color: var(--dark-blue); margin-bottom: 10px; }
.service-card p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.75; }

/* ── OWNERSHIP SECTION ── */
.ownership-section {
  background: var(--dark-blue);
  width: 100%;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.ownership-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(239,251,248,0.04);
  pointer-events: none;
}
.ownership-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(239,251,248,0.03);
  pointer-events: none;
}
.ownership-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}
.ownership-top { text-align: center; margin-bottom: 64px; }
.ownership-top .eyebrow { color: var(--hero-bg); border-color: rgba(239,251,248,0.35); }
.ownership-top h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  max-width: 720px;
  margin: 0 auto 20px;
}
.ownership-top .pitch-lead {
  font-family: 'Karla', sans-serif;
  font-size: 18px;
  color: rgba(239,251,248,0.8);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}
.ownership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.ownership-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(239,251,248,0.15);
  border-radius: 12px;
  padding: 36px;
  transition: background .2s, border-color .2s;
}
.ownership-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(239,251,248,0.3); }
.ownership-card h4 { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; color: #ffffff; margin-bottom: 14px; }
.ownership-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ownership-card ul li { font-family: 'Karla', sans-serif; font-size: 15px; color: rgba(239,251,248,0.8); padding-left: 20px; position: relative; line-height: 1.6; }
.ownership-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--hero-bg); font-size: 13px; }
.ownership-statement {
  background: rgba(239,251,248,0.07);
  border: 1px solid rgba(239,251,248,0.15);
  border-left: 4px solid var(--hero-bg);
  border-radius: 8px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.ownership-statement p { font-family: 'Karla', sans-serif; font-size: 18px; font-style: italic; color: #ffffff; line-height: 1.8; margin: 0; }
.ownership-statement .o-aside {
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  color: rgba(239,251,248,0.75);
  line-height: 1.8;
  margin: 0;
  font-style: normal;
  border-left: 1px solid rgba(239,251,248,0.2);
  padding-left: 32px;
}

/* ── FINAL CTA (HOME) ── */
.final-cta { background: var(--dark-blue); padding: 100px 0; text-align: center; }
.final-cta .eyebrow { border-color: rgba(255,255,255,0.4); color: var(--hero-bg); margin-bottom: 24px; }
.final-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: #fff; max-width: 680px; margin: 0 auto 16px; line-height: 1.2; }
.final-cta p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 12px; font-size: 16px; line-height: 1.8; }
.availability { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--hero-bg); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 36px; display: block; }
.final-cta .btn { background: #fff; color: var(--dark-blue); border-color: #fff; }
.final-cta .btn:hover { background: transparent; color: #fff; border-color: #fff; }
.final-cta .btn-primary { background: #ffffff; color: var(--dark-blue); border-color: #ffffff; }
.final-cta .btn-primary:hover { background: transparent; color: #ffffff; border-color: #ffffff; }
.final-cta .btn-secondary { color: #ffffff; border-color: rgba(255,255,255,0.5); background: transparent; }
.final-cta .btn-secondary:hover { background: #ffffff; color: var(--dark-blue); border-color: #ffffff; }
.contact-details-home { display: flex; gap: 32px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.contact-details-home a { font-family: 'Karla', sans-serif; font-size: 16px; color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 8px; transition: color .2s; text-decoration: none; }
.contact-details-home a:hover { color: #fff; }
