/* ==========================================================================
   Messenger2050 – About Us page (Nov 2026)
   Builds on css/style.css (Poppins, dark #272727 theme)
   ========================================================================== */

:root{
  --m-bg: #1b1d21;
  --m-bg-2: #22252b;
  --m-card: #262a31;
  --m-line: rgba(255,255,255,.09);
  --m-text: #b9bec6;
  --m-head: #ffffff;
  --m-gold: #f3ca2f;
  --m-blue: #87c7ff;
  --m-blue-2: #3fa8ff;
}

.page-about{
  background: var(--m-bg);
  color: var(--m-text);
  font-size: 1.333rem;            /* 16px */
  line-height: 1.75;
  overflow-x: hidden;
}

.page-about p{ margin: 0 0 1.4rem; }
.page-about a{ color: var(--m-blue); }
.page-about a:hover, .page-about a:focus{ color: #fff; }

/* ---------- Navbar (fixed, darkens on scroll) ---------- */
.page-about .navbar{ position: fixed; }
.page-about .navbar-2 .navbar-bg{ background: rgba(20,22,26,.96); box-shadow: 0 2px 20px rgba(0,0,0,.35); }
.page-about .navbar-2 .brand{ width: auto; }

.am-wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Hero ---------- */
.am-hero{
  position: relative;
  padding: 15rem 0 7rem;
  background: #111 url(../images/bg/bg4.jpg) center / cover no-repeat;
  color: #e5e8ec;
}
.am-hero:before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,16,.55) 0%, rgba(20,22,26,.85) 70%, var(--m-bg) 100%);
}
.am-hero .am-wrap{ position: relative; }

.am-breadcrumb{
  list-style: none; padding: 0; margin: 0 0 2.5rem;
  font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase;
}
.am-breadcrumb li{ display: inline; color: #9aa1ab; }
.am-breadcrumb li + li:before{ content: "/"; margin: 0 .7rem; color: #5d636c; }
.am-breadcrumb a{ color: var(--m-blue); }

.am-eyebrow{
  color: var(--m-gold);
  font-size: 1.1rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  margin: 0 0 1rem;
}

.am-hero h1{
  font-size: 5rem;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  max-width: 900px;
}
.am-hero h1 span{ color: var(--m-gold); }

.am-tagline{
  font-size: 1.9rem;
  color: var(--m-blue);
  font-weight: 500;
  margin: 0 0 3rem;
  line-height: 1.4;
}
.am-lead{
  max-width: 860px;
  font-size: 1.5rem;
  color: #d8dce2;
}

.am-quote{
  margin: 3.5rem 0 0;
  padding: 1.6rem 2.2rem;
  border-left: 4px solid var(--m-gold);
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.45;
  max-width: 860px;
}

/* ---------- On-page navigation ---------- */
.am-toc{
  position: sticky;
  top: 8rem;
  z-index: 5;
  background: rgba(27,29,33,.97);
  border-top: 1px solid var(--m-line);
  border-bottom: 1px solid var(--m-line);
}
.am-toc ul{
  list-style: none; margin: 0; padding: 1rem 0;
  display: flex; gap: .6rem; overflow-x: auto; white-space: nowrap;
  scrollbar-width: none;
}
.am-toc ul::-webkit-scrollbar{ display: none; }
.am-toc a{
  display: inline-block;
  padding: .45rem 1.2rem;
  border: 1px solid var(--m-line);
  border-radius: 999px;
  font-size: 1.1rem;
  color: #cfd4da;
  text-decoration: none;
}
.am-toc a:hover, .am-toc a:focus{ border-color: var(--m-gold); color: var(--m-gold); text-decoration: none; }

/* ---------- Sections ---------- */
.am-section{
  padding: 7rem 0;
  border-bottom: 1px solid var(--m-line);
  scroll-margin-top: 13rem;
}
.am-section.alt{ background: var(--m-bg-2); }

.am-section h2{
  font-size: 3.2rem;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.am-section h2:after{
  content: ""; display: block;
  width: 64px; height: 3px; margin-top: 1.4rem;
  background: var(--m-gold);
}
.am-sub{
  color: var(--m-blue);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 1.6rem 0 2rem;
}
.am-section h3{
  font-size: 2.1rem;
  letter-spacing: -.01em;
  margin: 0 0 .6rem;
}
.am-section h4{
  font-size: 1.5rem;
  margin: 0 0 .5rem;
  letter-spacing: 0;
}
.am-intro{ max-width: 880px; }

.am-motto{
  color: var(--m-gold);
  font-weight: 600;
  letter-spacing: .04em;
  margin-top: 1.4rem;
}

/* ---------- Grids & cards ---------- */
.am-grid{
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 3rem;
}
.am-grid.two{ grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }

.am-card{
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: 10px;
  padding: 2.6rem 2.6rem 2rem;
}
.am-card.feature{ border-top: 3px solid var(--m-gold); }
.am-card.feature.blue{ border-top-color: var(--m-blue-2); }
.am-card .am-kicker{
  color: var(--m-blue);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 1.4rem;
}
.am-card p:last-child{ margin-bottom: 0; }
.am-card h3 a, .am-card h4 a{ color: #fff; text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.35); }
.am-card h3 a:hover, .am-card h4 a:hover{ color: var(--m-gold); border-bottom-color: var(--m-gold); }

.am-deflist{ margin: 1.5rem 0 1.5rem; padding: 0; list-style: none; }
.am-deflist li{
  padding: 1rem 0 1rem 1.6rem;
  border-top: 1px solid var(--m-line);
  position: relative;
}
.am-deflist li:before{
  content: ""; position: absolute; left: 0; top: 1.85rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--m-gold);
}
.am-deflist strong{ color: #fff; font-weight: 600; }

/* ---------- Layouts that avoid stretched cards with empty space ---------- */
/* Flagship platforms: one full-width card each */
.am-grid.am-stack{ grid-template-columns: 1fr; }
.am-stack .am-card > p{ max-width: 920px; }
/* MediaOS capability list: two columns inside the wide card */
.am-deflist.cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
}
/* Media & entertainment: masonry columns, each card only as tall as its text */
.am-masonry{
  column-count: 2;
  column-gap: 2rem;
  margin-top: 3rem;
}
.am-masonry > .am-card{
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: inline-block;   /* keeps cards whole across columns in older browsers */
  width: 100%;
  margin-bottom: 2rem;
}
/* Groups of four: 2 x 2 so short cards sit next to short cards */
.am-grid.am-quad{ grid-template-columns: repeat(2, 1fr); }
/* Text + card side by side: align to top, don't stretch */
.am-grid.am-top{ align-items: start; }

/* ---------- 70 / 30 split ---------- */
.am-split{ margin: 3rem 0 2rem; }
.am-split-bar{
  display: flex; height: 14px; border-radius: 999px; overflow: hidden;
  background: #333;
}
.am-split-bar span:first-child{ width: 70%; background: var(--m-gold); }
.am-split-bar span:last-child{ width: 30%; background: var(--m-blue-2); }
.am-split .am-grid{ margin-top: 2rem; }
.am-stat{
  font-size: 4.6rem; font-weight: 700; line-height: 1; color: var(--m-gold);
  margin: 0 0 .8rem;
}
.am-stat.blue{ color: var(--m-blue-2); }

/* ---------- Chips (industries, capabilities) ---------- */
.am-chips{
  list-style: none; padding: 0; margin: 2.5rem 0;
  display: flex; flex-wrap: wrap; gap: .8rem;
}
.am-chips li{
  padding: .6rem 1.4rem;
  border: 1px solid var(--m-line);
  background: var(--m-card);
  border-radius: 6px;
  font-size: 1.25rem;
  color: #dfe3e8;
}

/* ---------- Product groups ---------- */
.am-group{ margin-top: 4.5rem; }
.am-group > h3{
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--m-gold);
  margin-bottom: 0;
}
.am-group .am-grid{ margin-top: 1.8rem; }
.am-group .am-card{ padding: 2rem 2.2rem; }
.am-group .am-card p{ font-size: 1.25rem; }

/* ---------- Partnerships CTA ---------- */
.am-cta{
  margin-top: 3.5rem;
  padding: 3rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,102,179,.55), rgba(2,42,90,.85));
  border: 1px solid rgba(135,199,255,.25);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
}
.am-cta h3{ margin: 0 0 .4rem; }
.am-cta p{ margin: 0; color: #dfe9f5; }
.am-btn{
  display: inline-block;
  padding: 1.1rem 2.4rem;
  border-radius: 6px;
  background: var(--m-gold);
  color: #1b1d21 !important;
  font-weight: 600;
  text-decoration: none !important;
  letter-spacing: .03em;
  white-space: nowrap;
}
.am-btn:hover, .am-btn:focus{ background: #fff; }
.am-btn.ghost{ background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.5); }
.am-btn.ghost:hover{ border-color: var(--m-gold); color: var(--m-gold) !important; }

/* ---------- Closing ---------- */
.am-closing{
  text-align: center;
  padding: 8rem 0;
  background: radial-gradient(ellipse at top, #2a2f38 0%, var(--m-bg) 70%);
}
.am-closing h2{ text-transform: none; font-size: 3.6rem; }
.am-closing h2:after{ margin-left: auto; margin-right: auto; }
.am-closing .am-intro{ margin: 0 auto; }
.am-closing .am-actions{ margin-top: 3rem; display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
.am-closing .am-tagline{ margin: 2rem 0 0; }

/* ---------- Footer ---------- */
.am-footer{
  padding: 3rem 0;
  font-size: 1.15rem;
  color: #8a9099;
  border-top: 1px solid var(--m-line);
}
.am-footer .am-wrap{ display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.am-footer a{ color: #b1b8c1; }

/* ---------- Responsive ---------- */
@media (max-width: 767px){
  .page-about{ font-size: 1.25rem; }
  .am-hero{ padding: 12rem 0 5rem; }
  .am-hero h1{ font-size: 3.4rem; }
  .am-tagline{ font-size: 1.5rem; }
  .am-lead{ font-size: 1.3rem; }
  .am-quote{ font-size: 1.4rem; }
  .am-section{ padding: 5rem 0; }
  .am-section h2{ font-size: 2.4rem; }
  .am-grid, .am-grid.two{ grid-template-columns: 1fr; }
  .am-masonry{ column-count: 1; }
  .am-deflist.cols{ grid-template-columns: 1fr; }
  .am-card{ padding: 2rem 1.8rem; }
  .am-closing h2{ font-size: 2.6rem; }
  .am-cta{ padding: 2.2rem; }
  .am-toc{ top: 7rem; }
}
