/* =========================================================
   KPC — KENYA PIPELINE COMPANY LANDING PAGE
   ========================================================= */

:root {
  --red:        #d2151c;
  --red-dark:   #a10f14;
  --ink:        #12181d;
  --navy:       #0c1116;
  --navy-2:     #10171d;
  --cream:      #f5f6f7;
  --sage:       #eef4ee;
  --white:      #ffffff;
  --line:       rgba(18, 24, 29, .12);

  --font-head: "Raleway", Arial, sans-serif;
  --font-body: "Rethink Sans", Arial, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --utility-h: 40px;
  --header-h: 92px;
  --header-h-scrolled: 70px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--navy);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.container-custom {
  width: 85%;
  max-width: 1760px;
  margin-inline: auto;
}

/* ---------------- UTILITY BAR ---------------- */
.utility-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 910;
  height: var(--utility-h);
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  font-size: 14px;
  transition: transform .4s var(--ease);
}
.utility-bar.hide { transform: translateY(-100%); }
.utility-inner {
  width: 85%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.utility-emergency {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .92;
  white-space: nowrap;
}
.utility-emergency strong { color: var(--white); font-weight: 600; }
.utility-emergency a { font-weight: 600; }
.utility-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.utility-link { opacity: .85; transition: opacity .25s; white-space: nowrap; }
.utility-link:hover { opacity: 1; }
.utility-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.utility-social a { width: 25px; height: 16px; opacity: .85; transition: opacity .25s; }
.utility-social a:hover { opacity: 1; }
.utility-social svg { width: 100%; height: 100%; }
.utility-search {
  background: none;
  border: 0;
  color: var(--white);
  width: 25px;
  height: 20px;
  opacity: .85;
  transition: opacity .25s;
}
.utility-search:hover { opacity: 1; }
.utility-search svg { width: 100%; height: 100%; }

@media (max-width: 860px) {
  .utility-nonessential { display: none; }
}

/* ---------------- HEADER ---------------- */
.site-header {
  position: fixed;
  inset: var(--utility-h) 0 auto 0;
  z-index: 900;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
  transition: top .4s var(--ease), box-shadow .35s var(--ease);
}
.site-header.utility-hidden { top: 0; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.1); }

.header-top {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: height .35s var(--ease);
}
.site-header.scrolled .header-top { height: var(--header-h-scrolled); }

.logo-img { height: 90px; width: auto; flex-shrink: 0; }
.site-header.scrolled .logo-img { height: 42px; }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.btn-header {
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 4px;
  padding: 11px 20px;
  font-size: 15.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.btn-header:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }
.btn-header--solid {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.btn-header--solid:hover { background: var(--red-dark); border-color: var(--red-dark); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- primary nav row (logo, nav and buttons share the same line) --- */
.nav-primary { flex: 1; min-width: 0; }
.nav-primary ul {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;    
  justify-content: center;
}

.nav-primary ul.dropdown{
  display: block;
}

.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 0;
  white-space: nowrap;
  transition: color .25s;
}
.nav-link:hover, .nav-link.active { color: var(--red); }
.nav-caret { width: 9px; height: 9px; transition: transform .3s var(--ease); flex-shrink: 0; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 250px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 20px 40px rgba(0,0,0,.14);
  padding: 10px;
  list-style: none;
  margin: 18px 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  transition: background .2s, color .2s, padding-left .2s;
}
.dropdown a:hover { background: var(--cream); color: var(--red); padding-left: 18px; }

/* ---------------- RESPONSIVE HEADER / MOBILE NAV ---------------- */
/* Mobile nav panel must stay hidden at every viewport width — only the
   toggle button (itself hidden above 1650px) can open it. This block used
   to live only inside the @media rule below, so above that width the panel had
   no hidden state and rendered as an unstyled list stacked under the header. */
.main-nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 940;
  background: var(--white);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .35s var(--ease), visibility .35s var(--ease), transform .35s var(--ease);
  padding: calc(var(--utility-h) + var(--header-h) + 20px) 7% 60px;
}
.main-nav-mobile.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav-mobile ul { list-style: none; margin: 0; padding: 0; }
body.nav-open { overflow: hidden; }

@media (max-width: 1650px) {
  .nav-primary { display: none; }
  .menu-toggle { display: block; order: 3; }
  .header-actions .btn-header--solid { display: none; }

  .main-nav-mobile > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav-mobile .nav-link {
    padding: 16px 0;
    font-size: 18px;
    justify-content: space-between;
    width: 100%;
  }
  .main-nav-mobile .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    padding: 0 0 10px 14px;
    margin: 0;
  }
  .main-nav-mobile .nav-item.mobile-open .dropdown { display: block; }
  .main-nav-mobile .nav-item.mobile-open .nav-caret { transform: rotate(180deg); }
  .main-nav-mobile .dropdown a { padding: 10px 0; font-size: 16.5px; }
  .main-nav-mobile-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: 95svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-image, .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.hero-image {
  animation: heroZoom 16s ease-out forwards;
  z-index: 1;
  transition: opacity 1.1s var(--ease);
}
.hero-video { z-index: 2; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-video.is-visible { opacity: 1; }
.hero-image.is-hidden { opacity: 0; }

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(100deg, rgba(6,10,13,.92) 0%, rgba(6,10,13,.62) 46%, rgba(6,10,13,.18) 100%),
    linear-gradient(0deg, rgba(6,10,13,.5), transparent 42%);
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1); }
}

.hero-content {
  position: relative;
  z-index: 4;
  padding-top: calc(var(--utility-h) + var(--header-h));
}
.hero-text { max-width: 620px; }
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 18px;
}
.hero-title {
  font: 600 clamp(40px, 5vw, 64px)/1.14 var(--font-head);
  letter-spacing: -.01em;
  margin: 0;
}
.hero-copy {
  max-width: 460px;
  line-height: 1.7;
  font-size: 18px;
  margin: 24px 0 34px;
  opacity: .88;
}
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

.btn-cta {
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
  border-radius: 4px;
  padding: 15px 26px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .35s var(--ease), background .3s, box-shadow .35s var(--ease);
}
.btn-cta:hover { background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 14px 26px rgba(0,0,0,.3); }

.story-btn { display: flex; align-items: center; gap: 13px; border: 0; background: none; color: var(--white); }
.play-icon-sm {
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .35s, color .35s;
}
.play-icon-sm svg { width: 16px; height: 16px; margin-left: 2px; }
.story-btn:hover .play-icon-sm { background: var(--white); color: var(--ink); }
.story-btn span:last-child { font-size: 15.5px; font-weight: 600; }

/* animated scroll cue */
.hero-scroll {
  position: absolute;
  right: 6.5%;
  bottom: 44px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .85;
}
.scroll-track {
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,.28);
  position: relative;
  overflow: hidden;
}
.scroll-track::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--white);
  animation: scrollTrack 2.1s ease-in-out infinite;
}
@keyframes scrollTrack {
  0%   { top: -40%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image { animation: none; transform: none; }
  .scroll-track::after { animation: none; top: 0; height: 100%; }
}

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

@media (max-width: 640px) {
  .hero-title { font-size: 36px; }
  .hero-copy { font-size: 15.5px; }
  .hero-scroll { display: none; }
}

/* ---------------- VIDEO MODAL ---------------- */
.video-modal {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(3,6,8,.95);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.video-modal.open { opacity: 1; visibility: visible; }
.video-wrapper { width: min(920px, 88vw); aspect-ratio: 16/9; background: #000; }
.video-wrapper video { width: 100%; height: 100%; }
.modal-close {
  position: absolute; top: 30px; right: 4%;
  border: 0; background: none; color: var(--white);
  font-size: 38px; line-height: 1;
}

/* ---------------- SEARCH OVERLAY ---------------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 1300;
  background: rgba(12,17,22,.97);
  color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box {
  width: 80%; max-width: 720px;
  display: flex; align-items: center; gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 18px;
  transform: translateY(-10px); opacity: 0;
  transition: transform .45s var(--ease) .05s, opacity .45s var(--ease) .05s;
}
.search-overlay.open .search-box { transform: translateY(0); opacity: 1; }
.search-box svg { width: 22px; height: 22px; flex-shrink: 0; opacity: .8; }
.search-box input {
  flex: 1; background: none; border: 0; outline: none; color: var(--white);
  font-family: var(--font-head); font-size: clamp(22px, 3vw, 32px);
}
.search-box input::placeholder { color: rgba(255,255,255,.4); }
.search-hint { font-size: 14px; opacity: .6; }
.search-hint kbd { border: 1px solid rgba(255,255,255,.4); border-radius: 4px; padding: 1px 6px; }

/* =========================================================
   SHARED SECTION PRIMITIVES
   ========================================================= */
.quicklinks-section, .about-section, .impact-section, .business-section,
.sustainability-section, .news-section, .investor-section, .cta-section {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 16px;
}
.eyebrow--light { color: #ff6b63; }

.section-title {
  font: 600 clamp(30px, 3vw, 42px)/1.2 var(--font-head);
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 20px;
}
.section-title--light { color: var(--white); }

.section-copy {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  opacity: .72;
  max-width: 590px;
  margin: 0 0 30px;
}
.section-copy--light { color: var(--white); opacity: .8; }

.btn-outline-dark, .btn-outline, .btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-radius: 4px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn-outline-dark { border: 1px solid rgba(18,24,29,.3); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); border-color: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn-outline { border: 1px solid rgba(255,255,255,.5); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--ink); transform: translateY(-2px); }
.btn-solid { background: var(--red); border: 1px solid var(--red); color: var(--white); }
.btn-solid:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; }

/* pill CTA — full-round button with a circular arrow chip, used where the
   reference design calls for it (sustainability + investor relations) */
.btn-pill {
  border-radius: 999px;
  padding: 8px 8px 8px 26px;
  gap: 18px;
}
.btn-pill span {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn-pill:hover span { background: rgba(255,255,255,.15); }

/* scroll-reveal (single orchestrated fade/slide per section) */
[data-animate] .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-animate].is-visible .reveal { opacity: 1; transform: translateY(0); }
[data-animate] .reveal-1 { transition-delay: .05s; }
[data-animate] .reveal-2 { transition-delay: .14s; }
[data-animate] .reveal-3 { transition-delay: .23s; }
[data-animate] .reveal-4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  [data-animate] .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   QUICK LINKS STRIP
   ========================================================= */
.quicklinks-section { background: var(--cream); padding: 40px 0; }
.quicklinks-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.quicklink {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 14px 8px;
  border-right: 1px solid var(--line);
  transition: transform .3s var(--ease);
}
.quicklink:last-child { border-right: 0; }
.quicklink:hover { transform: translateY(-4px); }
.quicklink-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--red);
  border: 1px solid rgba(210,21,28,.25);
  transition: background .3s, color .3s;
}
.quicklink:hover .quicklink-icon { background: var(--red); color: var(--white); }
.quicklink-icon svg { width: 22px; height: 22px; }
.quicklink-label { font-size: 16.5px; font-weight: 600; line-height: 1.35; }

@media (max-width: 900px) {
  .quicklinks-row { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .quicklink:nth-child(3n) { border-right: 0; }
}
@media (max-width: 520px) {
  .quicklinks-row { grid-template-columns: repeat(2, 1fr); }
  .quicklink:nth-child(2n) { border-right: 0; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-section { background: var(--white); padding: 130px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: center;
}
.about-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
  align-items: start;
}
.about-main-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/4.2;
  box-shadow: 0 30px 60px rgba(0,0,0,.18);
}
.about-main-image img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  left: 18px; bottom: 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: 4px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
}
.about-badge svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; }
.about-thumbs { display: flex; flex-direction: column; gap: 18px; }
.about-thumbs img {
  aspect-ratio: 2/.85;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(1) contrast(1.05);
  transition: filter .4s var(--ease);
}
.about-thumbs img:hover { filter: grayscale(0); }

/* =========================================================
   IMPACT (dark stats band)
   ========================================================= */
.impact-section {
  color: var(--white);
  overflow: hidden;
  padding: 110px 0;
}
.impact-media { position: absolute; inset: 0; z-index: 0; }
.impact-media img { width: 100%; height: 100%; object-fit: cover; }
.impact-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,10,13,.94) 0%, rgba(6,10,13,.8) 55%, rgba(6,10,13,.55) 100%);
}
.impact-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.impact-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.impact-stat {
  min-width: 130px;
  padding: 0 36px;
  border-left: 1px solid rgba(255,255,255,.22);
}
.impact-stat:first-child { padding-left: 0; border-left: 0; }
.impact-stat-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.32);
  display: grid;
  place-items: center;
  color: var(--white);
  margin-bottom: 16px;
}
.impact-stat-icon svg { width: 20px; height: 20px; }
.impact-stat dd {
  font: 600 clamp(32px, 3.2vw, 46px)/1.1 var(--font-head);
  color: var(--white);
  margin: 0 0 8px;
}
.impact-stat dt { font-size: 15.5px; opacity: .72; margin: 0; }

@media (max-width: 560px) {
  .impact-stat { border-left: 0; padding-left: 0; padding-right: 0; }
}

@media (max-width: 1000px) {
  .impact-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   OUR BUSINESS
   ========================================================= */
.business-section { background: var(--cream); padding: 130px 0; }
.business-grid {
  display: grid;
  grid-template-columns: .6fr 1.4fr;
  gap: 60px;
  align-items: center;
}
.business-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.business-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.business-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(0,0,0,.14); }
.business-card-media { aspect-ratio: 1/.85; overflow: hidden; }
.business-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.business-card:hover .business-card-media img { transform: scale(1.06); }
.business-card-body { padding: 20px; }
.business-card-title { font-family: var(--font-head); font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.business-card-desc { font-size: 14.5px; line-height: 1.55; opacity: .68; margin: 0 0 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--red); }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

.subsidiary-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.subsidiary-chips a {
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(18,24,29,.16);
  transition: background .25s, color .25s, border-color .25s;
}
.subsidiary-chips a:hover { background: var(--red); border-color: var(--red); color: var(--white); }

@media (max-width: 1180px) {
  .business-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .business-cards { grid-template-columns: 1fr; }
}

/* =========================================================
   SUSTAINABILITY
   ========================================================= */
.sustainability-section { background: var(--sage); padding: 0px 0; overflow: hidden; }
.sustainability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 50px;
  align-items: center;
}

.sustainability-copy{
  padding: 50px 0px;
}
.sustainability-image {
   border-radius: 4px; 
   overflow: hidden; 
   aspect-ratio: 4/3.4; 
   height: 100%;
  width: 100%;
  margin-bottom: 0px;
}
.sustainability-image img { width: 100%; height: 100%; object-fit: cover; }
.sustainability-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 48px;
  border-left: 1px solid rgba(18,24,29,.15);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sustainability-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 600;
}
.sustainability-label { line-height: 2; }
.sustainability-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(18,24,29,.22);
  display: grid; place-items: center;
  color: var(--ink);
  flex-shrink: 0;
}
.sustainability-icon svg { width: 30px; height: 30px; }

@media (max-width: 1100px) {
  .sustainability-grid { grid-template-columns: 1fr 1fr; }
  .sustainability-list {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
    padding: 28px 0 0;
    margin-top: 10px;
    border-left: 0;
    border-top: 1px solid rgba(18,24,29,.15);
  }
}
@media (max-width: 700px) {
  .sustainability-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   NEWS & MEDIA
   ========================================================= */
.news-section { background: var(--white); padding: 130px 0; }
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.news-header .section-title, .news-header .eyebrow, .news-header .section-copy { margin-bottom: 0; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.news-card { display: flex; flex-direction: column; }
.news-media { border-radius: 4px; overflow: hidden; aspect-ratio: 4/2.7; margin-bottom: 16px; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.06); }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red); margin: 0 0 10px; }
.news-meta time { color: var(--ink); opacity: .45; font-weight: 500; text-transform: none; letter-spacing: 0; }
.news-title { font-family: var(--font-head); font-size: 16.5px; font-weight: 600; line-height: 1.45; margin: 0 0 14px; }
.news-card .link-arrow { margin-top: auto; }

@media (max-width: 1100px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }

/* =========================================================
   INVESTOR RELATIONS
   ========================================================= */
.investor-section {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: 120px 0;
}
.investor-media { position: absolute; inset: 0; z-index: 0; opacity: .4; }
.investor-media img { width: 100%; height: 100%; object-fit: cover;  
    filter: brightness(.7);}
.investor-section::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, var(--navy) 0%, rgba(12,17,22,.7) 60%, rgba(12,17,22,.3) 100%);
}
.investor-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 50px;
  align-items: center;
}
.investor-links {
  list-style: none;
  margin: 0;
  padding: 0 0 0 44px;
  border-left: 1px solid rgba(255,255,255,.22);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.investor-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15.5px;
  font-weight: 600;
  transition: opacity .3s, padding-left .3s var(--ease);
}
.investor-links a:hover { opacity: .75; padding-left: 6px; }
.investor-link-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  display: grid; place-items: center;
  color: var(--white);
  flex-shrink: 0;
}
.investor-link-icon svg { width: 17px; height: 17px; }

@media (max-width: 1000px) { .investor-grid { grid-template-columns: 1fr; } }

/* =========================================================
   CTA / PARTNER
   ========================================================= */
.cta-section {
  color: var(--white);
  overflow: hidden;
  padding: 100px 0;
}
.cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,10,13,.82) 0%, rgba(10,15,20,.55) 65%, rgba(10,15,20,.3) 100%); }
.cta-grid {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-copy { max-width: 480px; }
.cta-copy .section-title { margin-bottom: 12px; }
.cta-copy .section-copy { margin-bottom: 0; }

@media (max-width: 700px) { .cta-grid { flex-direction: column; align-items: flex-start; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: var(--white); padding: 70px 0 30px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand-logo { height: 100px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; line-height: 1.7; opacity: .65; max-width: 280px; margin: 0 0 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: grid; place-items: center;
  transition: background .3s, border-color .3s;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-social svg { width: 15px; height: 15px; }

.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.footer-col a { font-size: 15px; opacity: .68; transition: opacity .25s, padding-left .25s; }
.footer-col a:hover { opacity: 1; padding-left: 4px; }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14.5px;
  opacity: .55;
}
.footer-legal { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* =========================================================
   RESPONSIVE — GENERAL SECTION PADDING
   ========================================================= */
@media (max-width: 860px) {
  .about-section, .business-section, .sustainability-section, .news-section { padding: 90px 0; }
  .impact-section, .investor-section { padding: 90px 0; }
  .about-grid, .sustainability-grid { grid-template-columns: 1fr; }
  .about-collage { order: -1; }
}
@media (max-width: 640px) {
  .section-title { font-size: 30px; }
}

/* =========================================================
   FLOATING WIDGETS — shared base
   ========================================================= */
.chatbot-widget, .a11y-widget {
  position: fixed;
  bottom: 26px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.chatbot-widget { right: 26px; align-items: flex-end; }
.a11y-widget { left: 26px; align-items: flex-start; }

body.nav-open .chatbot-widget,
body.nav-open .a11y-widget { display: none; }

@media (max-width: 640px) {
  .chatbot-widget { right: 16px; bottom: 16px; }
  .a11y-widget { left: 16px; bottom: 16px; }
}

/* =========================================================
   CHATBOT WIDGET (bottom right)
   ========================================================= */
.chatbot-toggle {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 0;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
  transition: background .3s, transform .3s var(--ease);
  position: relative;
}
.chatbot-toggle:hover { background: var(--red-dark); transform: translateY(-2px); }
.chatbot-toggle svg { width: 24px; height: 24px; position: absolute; transition: opacity .25s, transform .25s; }
.chatbot-icon-close { opacity: 0; transform: rotate(-45deg) scale(.6); }
.chatbot-toggle.is-open .chatbot-icon-chat { opacity: 0; transform: rotate(45deg) scale(.6); }
.chatbot-toggle.is-open .chatbot-icon-close { opacity: 1; transform: rotate(0) scale(1); }

.chatbot-panel {
  width: min(360px, calc(100vw - 32px));
  height: min(500px, calc(100vh - 140px));
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.98);
  transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.chatbot-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.chatbot-header {
  background: var(--ink);
  color: var(--white);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chatbot-header-info { display: flex; align-items: center; gap: 12px; }
.chatbot-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--red);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.chatbot-avatar svg { width: 18px; height: 18px; }
.chatbot-title { font-size: 14.5px; font-weight: 600; margin: 0; }
.chatbot-status { font-size: 12.5px; opacity: .65; margin: 2px 0 0; display: flex; align-items: center; gap: 6px; }
.chatbot-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ecf6a; display: inline-block; }
.chatbot-close { background: none; border: 0; color: var(--white); font-size: 24px; line-height: 1; opacity: .8; }
.chatbot-close:hover { opacity: 1; }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--cream);
}
.chatbot-msg p {
  margin: 0;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  max-width: 85%;
}
.chatbot-msg--bot p { background: var(--white); border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.chatbot-msg--bot a { color: var(--red); font-weight: 600; text-decoration: underline; }
.chatbot-msg--user { display: flex; justify-content: flex-end; }
.chatbot-msg--user p { background: var(--red); color: var(--white); border-bottom-right-radius: 4px; }

.chatbot-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  background: var(--white);
}
.chatbot-form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}
.chatbot-form input:focus { border-color: var(--red); }
.chatbot-form button {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--red);
  color: var(--white);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background .25s;
}
.chatbot-form button:hover { background: var(--red-dark); }
.chatbot-form svg { width: 16px; height: 16px; }

/* =========================================================
   ACCESSIBILITY WIDGET (bottom left)
   ========================================================= */
.a11y-toggle {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
  transition: background .3s, transform .3s var(--ease);
}
.a11y-toggle:hover { background: #232d35; transform: translateY(-2px); }
.a11y-toggle svg { width: 24px; height: 24px; }

.a11y-panel {
  width: min(300px, calc(100vw - 32px));
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,.28);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.98);
  transform-origin: bottom left;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.a11y-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.a11y-panel-header {
  background: var(--ink);
  color: var(--white);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.a11y-panel-title { font-size: 14.5px; font-weight: 600; margin: 0; }
.a11y-panel-close { background: none; border: 0; color: var(--white); font-size: 24px; line-height: 1; opacity: .8; }
.a11y-panel-close:hover { opacity: 1; }

.a11y-options { display: flex; flex-direction: column; padding: 8px; }
.a11y-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background .2s;
}
.a11y-option:hover { background: var(--cream); }
.a11y-option.is-active { background: rgba(210,21,28,.08); color: var(--red); }
.a11y-option-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 12.5px;
  font-weight: 700;
  flex-shrink: 0;
}
.a11y-option.is-active .a11y-option-icon { border-color: var(--red); color: var(--red); }
.a11y-option--reset { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; opacity: .7; }

/* --- effects the accessibility options apply to the page --- */
html.a11y-contrast { filter: invert(1) hue-rotate(180deg); }
html.a11y-contrast img, html.a11y-contrast video,
html.a11y-contrast .chatbot-avatar, html.a11y-contrast .a11y-toggle,
html.a11y-contrast .chatbot-toggle { filter: invert(1) hue-rotate(180deg); }
html.a11y-contrast.a11y-grayscale { filter: invert(1) hue-rotate(180deg) grayscale(1); }
html.a11y-grayscale:not(.a11y-contrast) { filter: grayscale(1); }

html.a11y-underline-links a { text-decoration: underline !important; text-underline-offset: 2px; }

html.a11y-readable-font, html.a11y-readable-font * {
  font-family: "Lexend", Arial, sans-serif !important;
  letter-spacing: .01em !important;
}

html.a11y-reduce-motion *, html.a11y-reduce-motion *::before, html.a11y-reduce-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
