/* ─── RESET ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── ROOT VARIABLES ─── */
/* Note: Second :root block wins — teal/green theme applied */
:root {
  --tip-navy: #0e3d35;
  --tip-navy-mid: #155f52;
  --tip-navy-light: #1a7a6a;
  --tip-orange: #0e7665;
  --tip-orange-dk: #0a5c50;
  --tip-orange-lt: #16a085;
  --tip-teal: #f97316;
  --tip-teal-lt: #fb923c;
  --white: #ffffff;
  --off-white: #f4f9f8;
  --light-grey: #e8f5f2;
  --mid-grey: #7aa39c;
  --dark-grey: #3d6b63;
  --line: rgba(14, 118, 101, 0.12);
}

/* ─── BASE ─── */
html {
  scroll-behavior: smooth;
}

body {
  background: #f4f9f8;
  color: var(--dark-grey);
  /* font-family: "Source Sans 3", sans-serif; */
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── TOPBAR ─── */
.topbar {
  background: #0e3d35;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 10px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar a {
  color: #6dd4c4;
  text-decoration: none;
}

.topbar-left {
  display: flex;
  gap: 10px;
}

.topbar-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ─── NAVBAR ─── */
.navbar {
  background: #ffffff;
  padding: 16px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid #0e7665;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(14, 118, 101, 0.08);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--tip-navy);
}

.nav-links li {
  cursor: pointer;
  transition: color 0.2s;
}

.nav-links li:hover {
  color: var(--tip-orange);
}

.nav-cta {
  background: #0e7665;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 22px;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: #0a5c50;
}

/* ─── HERO ─── */
.hero {
  background: #ffffff;
  border-bottom: 1px solid #d0ece7;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 520px;
  height: 700px;
  background: linear-gradient(135deg, #e8f5f2 0%, #d0ece7 100%);
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 440px;
}

.hero-left {
  padding: 50px 52px 50px 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #d0ece7;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--tip-orange);
  border-radius: 50%;
}

.hero-title {
  /* font-family: "Playfair Display", serif; */
  font-size: clamp(36px, 3.5vw, 60px);
  font-weight: 900;
  line-height: 1.25;
  color: #0e3d35;
  margin-bottom: 20px;
}

.hero-title span {
  color: #0e7665;
  display: block;
}

.hero-desc {
  font-size: 14px;
  color: #3d6b63;
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-chip {
  background: #e8f5f2;
  border: 1px solid #c0ddd8;
  color: #0e3d35;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 6px 12px;
}

.meta-chip.accent {
  background: #0e7665;
  border-color: #0e7665;
  color: #fff;
}

.hero-right {
  padding: 50px 60px 50px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.stat-block {
  padding: 26px 0;
  border-bottom: 1px solid #d0ece7;
  position: relative;
}

.stat-block:first-child {
  padding-top: 0;
}

.stat-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-block::before {
  content: "";
  position: absolute;
  left: -52px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 40px;
  background: #0e7665;
}

.stat-value {
  /* font-family: "Playfair Display", serif; */
  font-size: 45px;
  font-weight: 900;
  color: #0e3d35;
  line-height: 1;
}

.stat-value sup {
  font-size: 24px;
  vertical-align: super;
  color: #f97316;
}

.stat-value sub {
  font-size: 24px;
  color: #f97316;
}

.stat-label {
  font-size: 12px;
  color: #7aa39c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* ─── TICKER ─── */
.ticker {
  background: #e8f5f2;
  color: #0e3d35;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 11px 60px;
  display: flex;
  gap: 30px;
  overflow: hidden;
}

.ticker span::before {
  content: "▶  ";
  opacity: 0.5;
}

/* ─── SECTION BASE ─── */
.section {
  padding: 30px 60px;
}

.section-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0e7665;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: #0e7665;
  flex-shrink: 0;
}

.section-title {
  /* font-family: "Playfair Display", serif; */
  font-size: 30px;
  font-weight: 900;
  color: #0e3d35;
  line-height: 1.1;
  margin-bottom: 32px;
}

/* ─── SNAPSHOT CARDS ─── */
.snap-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.snap-card {
  background: var(--white);
  border-top: 4px solid #0e3d35;
  padding: 26px 22px;
  box-shadow: 0 2px 12px rgba(13, 43, 94, 0.07);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.snap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(13, 43, 94, 0.13);
}

.snap-card.orange {
  border-top-color: #0e7665;
}

.snap-card.teal {
  border-top-color: #f97316;
}

.snap-num {
  /* font-family: "Playfair Display", serif; */
  font-size: 46px;
  font-weight: 900;
  color: #0e3d35;
  line-height: 1;
}

.snap-card.orange .snap-num {
  color: #0e7665;
}

.snap-card.teal .snap-num {
  color: #f97316;
}

.snap-unit {
  font-size: 22px;
}

.snap-label {
  font-size: 12px;
  color: var(--mid-grey);
  margin-top: 8px;
  line-height: 1.5;
}

.snap-tag {
  display: inline-block;
  margin-top: 12px;
  background: #e8f5f2;
  color: #0e3d35;
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  text-transform: uppercase;
}

.snap-card.orange .snap-tag {
  background: rgba(14, 118, 101, 0.1);
  color: #0a5c50;
}

.snap-card.teal .snap-tag {
  background: rgba(249, 115, 22, 0.1);
  color: #c2410c;
}

/* ─── TWO COL ─── */
.two-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
}

/* ─── DRIVER ITEMS ─── */
.driver-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.driver-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
}

.driver-icon-wrap {
  width: 36px;
  height: 36px;
  /*background: #0e3d35;*/
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  position: relative;
}

.driver-icon-wrap.opp {
  /*background: #0e7665;*/
}

.driver-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: #0e3d35;
  margin-bottom: 4px;
}

.driver-item p {
  font-size: 13px;
  color: var(--mid-grey);
  line-height: 1.6;
}

/* ─── SEGMENT CARDS ─── */
.seg-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 14px;
}
 
.seg-card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  transition: transform 0.25s;
}
 
.seg-card:hover {
  transform: translateY(-3px);
}
 
.seg-card.solid {
  background: var(--accent);
  color: #fff;
}
 
.seg-card.tint {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent-tint);
}
 
/* segment color tokens — add a new pair here for any future segment */
.seg-navy   { --accent: #0e3d35; --accent-tint: #d6e6e2; }
.seg-teal   { --accent: #0e7665; --accent-tint: #cde8e2; }
.seg-orange { --accent: #f97316; --accent-tint: #fde0c8; }
.seg-clay   { --accent: #5c7a8a; --accent-tint: #5c7a8a; }
 
.seg-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
}
 
@media (max-width: 576px) {
  .seg-card {
    padding: 20px 16px;
  }
  .seg-name {
    font-size: 16px;
  }
}

/* ─── REGIONAL BARS ─── */
.region-strip {
  display: flex;
  margin-top: 28px;
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
}

.region-cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 12px;
  text-align: center;
  border-right: 1px solid var(--light-grey);
  border-left: 1px solid var(--light-grey);

}


.region-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.region-name {
  font-size: 14px;
  font-weight: 700;
  color: #0e3d35;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .region-strip {
    flex-wrap: wrap;
  }
  .region-cell {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid var(--light-grey);
  }
}

/* ─── COMPANIES ─── */
.company-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.company-tile {
  background: var(--white);
  border: 1px solid #d0ece7;
  padding: 14px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #0e3d35;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.company-tile::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #0e7665;
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.company-tile:hover::before {
  transform: scaleX(1);
}

.company-tile:hover {
  background: #0e3d35;
  color: var(--white);
  border-color: #0e3d35;
}

/* ─── DEVELOPMENTS ─── */
.dev-list {
  display: flex;
  flex-direction: column;
}

.dev-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.dev-date-box {
  background: #0e3d35;
  color: var(--white);
  padding: 10px 12px;
  text-align: center;
}

.dev-month {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6dd4c4;
}

.dev-year {
  /* font-family: "Playfair Display", serif; */
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
}

.dev-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--tip-navy);
  margin-bottom: 6px;
  line-height: 1.4;
}

.dev-body p {
  font-size: 13px;
  color: var(--mid-grey);
  line-height: 1.65;
}

/* ─── SCOPE TABLE ─── */
.scope-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.scope-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.scope-table tr {
  border-bottom: 1px solid #e8f5f2;
}

.scope-table tr:last-child {
  border-bottom: none;
}

.scope-table td {
  padding: 15px 20px;
  vertical-align: top;
}

.scope-table td:first-child {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0e3d35;
  background: #f4f9f8;
  width: 190px;
  white-space: nowrap;
  font-weight: 500;
  border-right: 1px solid var(--line);
}

.scope-table td:last-child {
  color: var(--dark-grey);
}

.scope-table tr:nth-child(even) td:last-child {
  background: rgba(247, 249, 252, 0.8);
}

/* ─── CTA BAND ─── */
.cta-band {
  background: #e8f5f2;
  color: var(--white);
  padding: 30px 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.cta-band::after {
  content: "";
  position: absolute;
  right: 60px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-heading {
  /* font-family: "Playfair Display", serif; */
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  color: #0e3d35;
}

.cta-sub {
  font-size: 15px;
  opacity: 0.85;
  max-width: 500px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  color: #000;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  flex-shrink: 0;
  min-width: 200px;
  position: relative;
  z-index: 1;
}

.btn-white {
  display: block;
  background: #0e7665;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px;
  text-decoration: none;
  text-align: center;
  transition:
    background 0.2s,
    transform 0.15s;
}

.btn-white:hover {
  background: #0e7665;
  color: #fff;
  transform: scale(1.02);
}

.btn-ghost {
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #000;
  background-color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px;
  text-decoration: none;
  text-align: center;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* ─── FOOTER ─── */
.footer-main {
  background: #0e3d35;
  color: rgba(255, 255, 255, 0.55);
  padding: 28px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.footer-main .logo-name {
  color: white;
  font-size: 16px;
}

.footer-main .logo-sub {
  color: var(--tip-orange);
}

.footer-contact {
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 2;
}

.footer-contact a {
  color: #6dd4c4;
  text-decoration: none;
}

.footer-right {
  text-align: right;
  font-size: 11px;
  line-height: 1.8;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 12px 60px;
}

/* ─── DROPDOWN ─── */
.dropdown-menu li {
  border-bottom: 1px solid #ddd !important;
  padding: 0.1rem 0;
  margin: 0;
  font-size: 0.9rem;
}

/* ─── SEARCH RESULTS ─── */
.search-result2 {
  list-style: none;
  padding: 8px;
  margin: 8px 0 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  max-height: 350px;
  overflow-y: auto;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.g-search-t {
  padding: 10px 15px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #666;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.search-result2 li a {
  display: block;
  padding: 10px 15px;
  color: #212529;
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid #f1f1f1;
}

.search-result2 li a:hover {
  background-color: #f5f8ff;
  color: #0d6efd;
}

.report-code {
  display: block;
  font-size: 0.75rem;
  color: #888;
  margin-top: 3px;
}

.search-result2::-webkit-scrollbar {
  width: 6px;
}

.search-result2::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

/* ─── INSIGHT GRID ─── */
.insight-grid {
  grid-template-columns: repeat(2, 1fr);
}

.insight-box {
  padding: 10px 5px;
  height: 100%;
}

.insight-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0e7665;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.insight-list {
  padding-left: 16px;
  margin: 0;
}

.insight-list li {
  font-size: 13px;
  color: #444;
  margin-bottom: 6px;
  line-height: 1.5;
}

/* ─── SOCIAL ICONS ─── */
#footer .social-icons a i {
  font-family: "Font Awesome 5 Brands" !important;
  font-size: 20px !important;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-left > * {
  animation: fadeSlideUp 0.75s ease both;
}

.hero-left > *:nth-child(1) {
  animation-delay: 0.05s;
}
.hero-left > *:nth-child(2) {
  animation-delay: 0.18s;
}
.hero-left > *:nth-child(3) {
  animation-delay: 0.3s;
}
.hero-left > *:nth-child(4) {
  animation-delay: 0.42s;
}

.hero-right > * {
  animation: fadeSlideUp 0.75s ease both;
}

.hero-right > *:nth-child(1) {
  animation-delay: 0.22s;
}
.hero-right > *:nth-child(2) {
  animation-delay: 0.34s;
}
.hero-right > *:nth-child(3) {
  animation-delay: 0.46s;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 900px) {
  .topbar,
  .navbar,
  .section,
  .ticker,
  .cta-band,
  .footer-main,
  .footer-bottom {
    padding-left: 24px;
    padding-right: 24px;
  }

  .topbar-right,
  .nav-links {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 24px;
  }

  .hero-right {
    padding: 36px 24px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }

  .stat-block::before {
    display: none;
  }

  .snap-row {
    grid-template-columns: 1fr 1fr;
  }

  .two-col,
  .seg-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .company-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    min-width: auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }

  .hero::before {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hero-left {
    padding: 32px 20px;
    border-right: none;
    border-bottom: 1px solid #d0ece7;
  }

  .hero-right {
    padding: 28px 20px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }

  .stat-block {
    width: 50%;
    padding: 20px 16px 20px 0;
    border-bottom: 1px solid #d0ece7;
  }

  .stat-block:nth-child(even) {
    padding-left: 16px;
    padding-right: 0;
    border-left: 1px solid #d0ece7;
  }

  .stat-block:last-child {
    border-bottom: none;
  }

  /* hide the left accent bar — no room in 2-col layout */
  .stat-block::before {
    display: none;
  }

  .stat-value {
    font-size: 30px;
  }

  .topbar {
    padding: 10px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .topbar-left {
    flex-direction: column;
    gap: 4px;
  }

  .topbar-right {
    display: none;
  }

  .ticker {
    padding: 10px 24px;
    flex-wrap: wrap;
    gap: 10px 24px;
    overflow: visible;
  }
}

@media (max-width: 768px) {
  .insight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-left {
    padding: 24px 16px;
  }

  .hero-right {
    padding: 20px 16px;
    flex-direction: column;
  }

  .stat-block {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid #d0ece7;
    border-left: none !important;
  }

  .stat-block:last-child {
    border-bottom: none;
    padding-bottom: 8px;
  }

  .stat-value {
    font-size: 28px;
  }

  .hero-title {
    font-size: clamp(20px, 6vw, 28px);
  }

  .meta-chip {
    font-size: 10px;
    padding: 5px 10px;
  }
  .topbar {
    padding: 10px 16px;
  }

  .topbar-left {
    gap: 3px;
  }

  .ticker {
    padding: 10px 16px;
    flex-direction: column;
    gap: 6px;
  }
}