/*
Theme Name: TEB Ventures
Theme URI: https://www.tebventures.co.za
Author: T.E.B Ventures (Pty) Ltd
Author URI: https://www.tebventures.co.za
Description: A custom corporate theme for T.E.B Ventures (Pty) Ltd — a South African renewable energy developer delivering scalable Solar PV and Battery Energy Storage System (BESS) solutions. Modern, rounded, high-conversion layout with curved section dividers, floating stat cards and dark call-to-action bands.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teb-ventures
Tags: corporate, business, renewable-energy, custom-logo, custom-menu, featured-images, translation-ready, two-columns
*/

/* ==========================================================================
   1. BRAND TOKENS
   ========================================================================== */
:root {
  --teb-navy:        #002d72;
  --teb-navy-deep:   #001b46;
  --teb-navy-700:    #033a80;
  --teb-navy-050:    #f2f6fc;
  --teb-green:       #339900;
  --teb-green-600:   #2b8200;
  --teb-green-400:   #5cc02a;
  --teb-green-050:   #eef8e7;
  --teb-amber:       #ffcc00;
  --teb-amber-600:   #f0b400;
  --teb-ink:         #0d1a2b;
  --teb-body:        #4d5b73;
  --teb-muted:       #7d8aa0;
  --teb-line:        #e4e9f2;
  --teb-surface:     #f5f8fc;
  --teb-white:       #ffffff;

  --teb-r-sm:        10px;
  --teb-r:           16px;
  --teb-r-lg:        24px;
  --teb-r-xl:        34px;
  --teb-pill:        999px;

  --teb-shadow:      0 8px 24px rgba(0, 27, 70, .06);
  --teb-shadow-lg:   0 26px 60px rgba(0, 27, 70, .13);
  --teb-shadow-xl:   0 40px 90px rgba(0, 27, 70, .16);

  --teb-max:         1220px;
  --teb-gutter:      22px;

  --teb-head:        'Manrope', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --teb-text:        'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--teb-text);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--teb-body);
  background: var(--teb-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.teb-nav-open { overflow: hidden; }

h1, h2, h3, h4, h5 {
  font-family: var(--teb-head);
  color: var(--teb-ink);
  line-height: 1.16;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.02rem; }
p  { margin: 0 0 1.1em; }

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--teb-navy); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--teb-green); }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
strong { color: var(--teb-ink); font-weight: 700; }
svg { flex: none; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto;
  background: var(--teb-navy); color: #fff; padding: 10px 18px; border-radius: var(--teb-pill); z-index: 9999;
}

/* ==========================================================================
   3. LAYOUT HELPERS
   ========================================================================== */
.teb-container { width: 100%; max-width: var(--teb-max); margin: 0 auto; padding: 0 var(--teb-gutter); }
.teb-container--wide { max-width: 1380px; }
.teb-narrow { max-width: 760px; }
.teb-center { text-align: center; }
.teb-mx-auto { margin-left: auto; margin-right: auto; }
.teb-hidden-sm { display: inline-flex; }

.teb-section { padding: 92px 0; position: relative; }
.teb-section--tight { padding: 58px 0; }
.teb-section--surface { background: var(--teb-surface); }
.teb-section--navy { background: var(--teb-navy-deep); color: #c3d1e6; }
.teb-section--navy h2, .teb-section--navy h3, .teb-section--navy h1 { color: #fff; }

/* Curved dividers */
.teb-curve { display: block; width: 100%; height: 60px; line-height: 0; }
.teb-curve svg { width: 100%; height: 100%; display: block; }
.teb-curve--top { margin-bottom: -1px; }
.teb-curve--bottom { margin-top: -1px; transform: rotate(180deg); }

/* Section heading */
.teb-sec-head { max-width: 720px; margin-bottom: 52px; }
.teb-sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.teb-sec-head h2 { margin-bottom: .35em; }
.teb-sec-head p { color: var(--teb-body); margin-bottom: 0; }
.teb-section--navy .teb-sec-head p { color: #a9bbd6; }

.teb-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--teb-head); font-size: .78rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teb-green-600);
  margin-bottom: 14px;
}
.teb-eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: var(--teb-green); }
.teb-eyebrow--amber { color: var(--teb-amber); }
.teb-eyebrow--amber::before { background: var(--teb-amber); }
.teb-section--navy .teb-eyebrow { color: #8fe36a; }
.teb-section--navy .teb-eyebrow::before { background: #8fe36a; }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.teb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--teb-head); font-weight: 700; font-size: .95rem; line-height: 1;
  padding: 14px 26px; border-radius: var(--teb-pill); border: 2px solid transparent;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .18s ease, box-shadow .22s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.teb-btn svg { width: 18px; height: 18px; }
.teb-btn:hover { transform: translateY(-2px); }
.teb-btn--primary { background: var(--teb-green); color: #fff; box-shadow: 0 10px 24px rgba(51,153,0,.28); }
.teb-btn--primary:hover { background: var(--teb-green-600); color: #fff; box-shadow: 0 16px 34px rgba(51,153,0,.34); }
.teb-btn--navy { background: var(--teb-navy); color: #fff; box-shadow: 0 10px 24px rgba(0,45,114,.26); }
.teb-btn--navy:hover { background: var(--teb-navy-700); color: #fff; }
.teb-btn--amber { background: var(--teb-amber); color: var(--teb-ink); box-shadow: 0 10px 24px rgba(255,204,0,.34); }
.teb-btn--amber:hover { background: var(--teb-amber-600); color: var(--teb-ink); }
.teb-btn--outline { background: transparent; color: var(--teb-navy); border-color: var(--teb-line); }
.teb-btn--outline:hover { border-color: var(--teb-green); color: var(--teb-green); background: var(--teb-green-050); }
.teb-btn--ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.34); backdrop-filter: blur(6px); }
.teb-btn--ghost:hover { background: #fff; color: var(--teb-navy); border-color: #fff; }
.teb-btn--white { background: #fff; color: var(--teb-navy); }
.teb-btn--white:hover { background: var(--teb-amber); color: var(--teb-ink); }
.teb-btn--lg { padding: 17px 34px; font-size: 1rem; }
.teb-btn--block { display: flex; width: 100%; }
.teb-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   5. HEADER
   ========================================================================== */
.teb-topbar { background: var(--teb-navy-deep); color: #a9bbd6; font-size: .84rem; }
.teb-topbar .teb-container { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; flex-wrap: wrap; }
.teb-topbar a { color: #d5e0f0; }
.teb-topbar a:hover { color: var(--teb-amber); }
.teb-topbar__list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.teb-topbar__list span { display: inline-flex; align-items: center; gap: 7px; }
.teb-topbar__list svg { width: 15px; height: 15px; color: var(--teb-green-400); }
.teb-topbar__social { display: flex; gap: 12px; align-items: center; }
.teb-topbar__social a { display: inline-flex; }
.teb-topbar__social svg { width: 16px; height: 16px; }

.teb-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--teb-line);
  transition: box-shadow .25s ease, background .25s ease;
}
.teb-header.is-scrolled { box-shadow: 0 10px 34px rgba(0,27,70,.09); background: #fff; }
.teb-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 82px; }

.teb-brand { display: inline-flex; align-items: center; gap: 12px; }
.teb-brand img { height: 52px; width: auto; }
.teb-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.teb-brand__text strong { font-family: var(--teb-head); font-size: 1.16rem; font-weight: 800; color: var(--teb-navy); letter-spacing: -.01em; }
.teb-brand__text span { font-size: .66rem; letter-spacing: .17em; text-transform: uppercase; color: var(--teb-green-600); font-weight: 700; }

.teb-nav-list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.teb-nav-list > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--teb-head); font-weight: 700; font-size: .95rem; color: var(--teb-ink);
  padding: 10px 15px; border-radius: var(--teb-pill);
}
.teb-nav-list > li > a:hover,
.teb-nav-list > .current-menu-item > a,
.teb-nav-list > .current_page_item > a,
.teb-nav-list > .current-menu-ancestor > a,
.teb-nav-list > .current_page_ancestor > a { background: var(--teb-green-050); color: var(--teb-green-600); }

/* Dropdown submenu */
.teb-nav-list li { position: relative; }
.teb-nav-list .menu-item-has-children > a::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 4px; margin-top: -3px; opacity: .65; }
.teb-nav-list .sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 232px; list-style: none; margin: 0; padding: 10px;
  background: #fff; border: 1px solid var(--teb-line); border-radius: var(--teb-r); box-shadow: var(--teb-shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 20;
}
.teb-nav-list .sub-menu::before { content: ''; position: absolute; top: -6px; left: 26px; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--teb-line); border-top: 1px solid var(--teb-line); transform: rotate(45deg); }
.teb-nav-list li:hover > .sub-menu, .teb-nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.teb-nav-list .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; font-family: var(--teb-head); font-weight: 600; font-size: .92rem; color: var(--teb-ink); }
.teb-nav-list .sub-menu a:hover { background: var(--teb-green-050); color: var(--teb-green-600); }

.teb-header__cta { display: flex; align-items: center; gap: 18px; }
.teb-header__phone { display: flex; flex-direction: column; line-height: 1.2; font-size: .76rem; color: var(--teb-muted); }
.teb-header__phone a { font-family: var(--teb-head); font-weight: 800; font-size: 1.02rem; color: var(--teb-navy); }
.teb-header__phone a:hover { color: var(--teb-green); }

.teb-burger {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--teb-line);
  background: #fff; cursor: pointer; position: relative;
}
.teb-burger span, .teb-burger::before, .teb-burger::after {
  content: ''; position: absolute; left: 13px; right: 13px; height: 2.4px; border-radius: 3px; background: var(--teb-navy);
  transition: transform .25s ease, opacity .2s ease;
}
.teb-burger span { top: 21px; }
.teb-burger::before { top: 15px; }
.teb-burger::after { top: 27px; }
.teb-burger[aria-expanded="true"] span { opacity: 0; }
.teb-burger[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.teb-burger[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.teb-nav-scrim { position: fixed; inset: 0; background: rgba(0,15,40,.5); opacity: 0; visibility: hidden; transition: opacity .3s ease; z-index: 850; }
.teb-nav-scrim.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   6. HERO
   ========================================================================== */
.teb-hero { position: relative; overflow: hidden; background: var(--teb-navy-deep); color: #c3d1e6; padding: 74px 0 130px; }
.teb-hero__glow { position: absolute; border-radius: 50%; filter: blur(6px); pointer-events: none; }
.teb-hero__glow--a { width: 620px; height: 620px; right: -160px; top: -220px; background: radial-gradient(circle at 30% 30%, rgba(51,153,0,.5), transparent 66%); }
.teb-hero__glow--b { width: 460px; height: 460px; left: -160px; bottom: -200px; background: radial-gradient(circle at 50% 50%, rgba(255,204,0,.22), transparent 68%); }
.teb-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.teb-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--teb-head); font-weight: 700;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #cfe0a8;
  background: rgba(51,153,0,.16); border: 1px solid rgba(143,227,106,.34);
  padding: 8px 16px; border-radius: var(--teb-pill); margin-bottom: 22px;
}
.teb-hero__eyebrow b { color: #8fe36a; }
.teb-hero h1 { color: #fff; margin-bottom: .4em; }
.teb-hero h1 em { font-style: normal; color: var(--teb-amber); }
.teb-hero__lead { font-size: 1.1rem; color: #b3c4dc; max-width: 560px; margin-bottom: 30px; }
.teb-hero__stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.teb-hero__stat b { display: block; font-family: var(--teb-head); font-size: 2.05rem; color: #fff; font-weight: 800; line-height: 1; }
.teb-hero__stat b i { font-style: normal; font-size: .82rem; color: #8fe36a; font-weight: 800; margin-left: 3px; }
.teb-hero__stat span { font-size: .82rem; color: #8fa3c0; letter-spacing: .02em; }

.teb-hero__card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--teb-r-xl); padding: 34px 32px; backdrop-filter: blur(8px);
  box-shadow: var(--teb-shadow-xl);
}
.teb-hero__card h3 { color: #fff; font-size: 1.34rem; margin-bottom: 4px; }
.teb-hero__card > p { color: #9fb1cc; font-size: .92rem; margin-bottom: 22px; }
.teb-hero__ilist { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 13px; }
.teb-hero__ilist li { display: flex; gap: 11px; align-items: flex-start; color: #d5e0f0; font-size: .93rem; line-height: 1.5; }
.teb-hero__ilist svg { width: 20px; height: 20px; color: #8fe36a; margin-top: 2px; }
.teb-hero__badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.teb-chip { font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: #cfe0a8; background: rgba(51,153,0,.16); border: 1px solid rgba(143,227,106,.3); padding: 6px 14px; border-radius: var(--teb-pill); }

/* ==========================================================================
   7. PAGE HEAD (inner pages)
   ========================================================================== */
.teb-pagehead {
  position: relative; overflow: hidden; background: var(--teb-navy-deep); color: #b3c4dc;
  padding: 66px 0 92px; text-align: center;
}
.teb-pagehead__glow { position: absolute; width: 620px; height: 620px; left: 50%; top: -400px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(51,153,0,.32), transparent 68%); pointer-events: none; }
.teb-pagehead .teb-container { position: relative; z-index: 2; }
.teb-pagehead h1 { color: #fff; margin-bottom: .3em; }
.teb-pagehead p { max-width: 660px; margin: 0 auto; color: #a9bbd6; }
.teb-breadcrumb { display: inline-flex; align-items: center; gap: 9px; justify-content: center; font-size: .82rem; color: #7f93b4; margin-bottom: 16px; font-weight: 600; letter-spacing: .03em; }
.teb-breadcrumb span { color: #7f93b4; }
.teb-breadcrumb a { color: #cfe0a8; }
.teb-breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   8. GRID + CARDS
   ========================================================================== */
.teb-grid { display: grid; gap: 26px; }
.teb-grid--2 { grid-template-columns: repeat(2, 1fr); }
.teb-grid--3 { grid-template-columns: repeat(3, 1fr); }
.teb-grid--4 { grid-template-columns: repeat(4, 1fr); }

.teb-card {
  background: #fff; border: 1px solid var(--teb-line); border-radius: var(--teb-r-lg);
  padding: 34px 30px; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
}
.teb-card::after { content: ''; position: absolute; left: 30px; right: 30px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--teb-green); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.teb-card:hover { transform: translateY(-6px); box-shadow: var(--teb-shadow-lg); border-color: transparent; }
.teb-card:hover::after { transform: scaleX(1); }
.teb-card h3 { margin-bottom: 10px; }
.teb-card p:last-child { margin-bottom: 0; }
.teb-card--flat { background: var(--teb-surface); border-color: transparent; }
.teb-card--flat:hover { background: #fff; }
.teb-card__icon {
  width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center;
  background: var(--teb-green-050); color: var(--teb-green-600); margin-bottom: 20px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.teb-card__icon svg { width: 30px; height: 30px; }
.teb-card:hover .teb-card__icon { background: var(--teb-green); color: #fff; transform: rotate(-6deg); }
.teb-card__num { position: absolute; top: 24px; right: 28px; font-family: var(--teb-head); font-weight: 800; font-size: 1.05rem; color: var(--teb-line); }

/* ==========================================================================
   9. STATS + FLOATING PANELS
   ========================================================================== */
.teb-stat { background: #fff; border: 1px solid var(--teb-line); border-radius: var(--teb-r-lg); padding: 30px 26px; text-align: center; }
.teb-stat b { display: block; font-family: var(--teb-head); font-weight: 800; font-size: 2.35rem; color: var(--teb-navy); line-height: 1; }
.teb-stat b i { font-style: normal; font-size: .95rem; color: var(--teb-green-600); margin-left: 3px; }
.teb-stat span { font-size: .86rem; color: var(--teb-muted); font-weight: 600; }

/* Floating stats band that overlaps neighbouring sections */
.teb-float-band { position: relative; z-index: 5; margin: -78px 0 0; }
.teb-float-band .teb-grid { gap: 22px; }
.teb-float-band .teb-stat { box-shadow: var(--teb-shadow-lg); border-color: transparent; }

/* ==========================================================================
   10. SPLIT / PANEL
   ========================================================================== */
.teb-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.teb-split--rev .teb-split__body { order: 2; }
.teb-split--rev .teb-split__media { order: 1; }
.teb-split__body h3 { font-size: 1.5rem; margin-bottom: .5em; }

.teb-panel { background: #fff; border: 1px solid var(--teb-line); border-radius: var(--teb-r-lg); padding: 34px 32px; box-shadow: var(--teb-shadow); }
.teb-panel h3 { font-size: 1.14rem; }
.teb-panel > p:last-child { margin-bottom: 0; }
.teb-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 22px 0 0; }
.teb-kpi { background: var(--teb-surface); border-radius: var(--teb-r-sm); padding: 16px 18px; }
.teb-kpi b { display: block; font-family: var(--teb-head); font-weight: 800; font-size: 1.36rem; color: var(--teb-navy); line-height: 1.1; }
.teb-kpi span { font-size: .78rem; color: var(--teb-muted); font-weight: 600; }

/* ==========================================================================
   11. CHECKLIST
   ========================================================================== */
.teb-check { list-style: none; margin: 0 0 1.1em; padding: 0; display: grid; gap: 13px; }
.teb-check li { position: relative; padding-left: 36px; color: var(--teb-body); line-height: 1.6; }
.teb-check li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teb-green-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b8200' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ==========================================================================
   12. PROCESS STEPS
   ========================================================================== */
.teb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; counter-reset: step; }
.teb-steps::before { content: ''; position: absolute; top: 33px; left: 8%; right: 8%; border-top: 2px dashed var(--teb-line); z-index: 0; }
.teb-step { position: relative; z-index: 1; text-align: center; }
.teb-step__dot {
  width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--teb-head); font-weight: 800; font-size: 1.12rem;
  background: #fff; color: var(--teb-green-600); border: 2px solid var(--teb-green);
  box-shadow: 0 0 0 8px #fff; transition: background .25s ease, color .25s ease;
}
.teb-step:hover .teb-step__dot { background: var(--teb-green); color: #fff; }
.teb-step__body h3 { font-size: 1.06rem; margin-bottom: .35em; }
.teb-step__body p { font-size: .92rem; margin-bottom: 0; }

/* ==========================================================================
   13. TEAM
   ========================================================================== */
.teb-person {
  background: #fff; border: 1px solid var(--teb-line); border-radius: var(--teb-r-lg);
  overflow: hidden; transition: transform .25s ease, box-shadow .3s ease;
}
.teb-person:hover { transform: translateY(-6px); box-shadow: var(--teb-shadow-lg); }
.teb-person__photo { position: relative; aspect-ratio: 5 / 6; overflow: hidden; background: var(--teb-surface); }
.teb-person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.teb-person:hover .teb-person__photo img { transform: scale(1.05); }
.teb-person__avatar {
  aspect-ratio: 5 / 6; display: grid; place-items: center; background: linear-gradient(140deg, var(--teb-navy), var(--teb-navy-700));
  color: #fff; font-family: var(--teb-head); font-weight: 800; font-size: 2.6rem; letter-spacing: .04em;
}
.teb-person__body { padding: 26px 26px 28px; }
.teb-person__role { font-family: var(--teb-head); font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--teb-green-600); margin-bottom: 8px; }
.teb-person h3 { font-size: 1.24rem; margin-bottom: .2em; }
.teb-person__title { display: block; font-size: .9rem; color: var(--teb-muted); font-weight: 600; margin-bottom: 14px; }
.teb-person__body p { font-size: .92rem; }
.teb-person__contact { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--teb-line); font-size: .88rem; display: grid; gap: 7px; }
.teb-person__contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--teb-body); }
.teb-person__contact a:hover { color: var(--teb-green); }
.teb-person__contact svg { width: 16px; height: 16px; color: var(--teb-green-600); }

.teb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.teb-tag { font-size: .74rem; font-weight: 700; color: var(--teb-navy); background: var(--teb-navy-050); border-radius: var(--teb-pill); padding: 5px 13px; }

/* ==========================================================================
   14. TABLE
   ========================================================================== */
.teb-table-wrap { overflow-x: auto; border-radius: var(--teb-r-lg); border: 1px solid var(--teb-line); background: #fff; box-shadow: var(--teb-shadow); }
.teb-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.teb-table th, .teb-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--teb-line); font-size: .95rem; vertical-align: top; }
.teb-table tr:last-child th, .teb-table tr:last-child td { border-bottom: 0; }
.teb-table th { font-family: var(--teb-head); font-weight: 700; color: var(--teb-ink); background: var(--teb-surface); }
.teb-table tbody tr:hover td, .teb-table tbody tr:hover th { background: var(--teb-green-050); }

/* ==========================================================================
   15. CTA + FORM
   ========================================================================== */
.teb-cta { position: relative; overflow: hidden; background: linear-gradient(140deg, var(--teb-navy) 0%, var(--teb-navy-deep) 100%); border-radius: var(--teb-r-xl); padding: 56px 54px; color: #c3d1e6; }
.teb-cta__glow { position: absolute; width: 460px; height: 460px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(51,153,0,.4), transparent 66%); pointer-events: none; }
.teb-cta > * { position: relative; z-index: 2; }
.teb-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .35em; }
.teb-cta p { color: #b3c4dc; margin-bottom: 0; max-width: 640px; }
.teb-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

.teb-contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.teb-info-cards { display: grid; gap: 18px; margin-top: 26px; }
.teb-info-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--teb-line); border-radius: var(--teb-r); padding: 24px 26px; transition: box-shadow .25s ease, transform .25s ease; }
.teb-info-card:hover { box-shadow: var(--teb-shadow-lg); transform: translateY(-3px); }
.teb-info-card__icon { width: 50px; height: 50px; flex: none; border-radius: 15px; display: grid; place-items: center; background: var(--teb-green-050); color: var(--teb-green-600); }
.teb-info-card__icon svg { width: 24px; height: 24px; }
.teb-info-card h4 { margin: 0 0 4px; font-size: .95rem; }
.teb-info-card p { margin: 0; font-size: .93rem; }

.teb-form { background: #fff; border: 1px solid var(--teb-line); border-radius: var(--teb-r-xl); padding: 40px 38px; box-shadow: var(--teb-shadow-lg); }
.teb-form h3 { margin-bottom: 22px; }
.teb-field { margin-bottom: 18px; }
.teb-field label { display: block; font-family: var(--teb-head); font-weight: 700; font-size: .86rem; color: var(--teb-ink); margin-bottom: 8px; }
.teb-field input, .teb-field select, .teb-field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--teb-line); border-radius: var(--teb-r-sm);
  font-family: inherit; font-size: .95rem; color: var(--teb-ink); background: var(--teb-surface);
  transition: border-color .2s ease, background .2s ease;
}
.teb-field textarea { min-height: 132px; resize: vertical; }
.teb-field input:focus, .teb-field select:focus, .teb-field textarea:focus { outline: none; border-color: var(--teb-green); background: #fff; }
.teb-form__note { font-size: .82rem; color: var(--teb-muted); margin: 16px 0 0; }

/* ==========================================================================
   16. DOWNLOADS
   ========================================================================== */
.teb-downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.teb-download {
  display: flex; align-items: center; gap: 22px; background: #fff; border: 1px solid var(--teb-line);
  border-radius: var(--teb-r-lg); padding: 28px 30px; transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
}
.teb-download:hover { transform: translateY(-5px); box-shadow: var(--teb-shadow-lg); border-color: transparent; }
.teb-download__icon { width: 62px; height: 62px; flex: none; border-radius: 18px; display: grid; place-items: center; background: var(--teb-navy-050); color: var(--teb-navy); }
.teb-download__icon svg { width: 28px; height: 28px; }
.teb-download h3 { font-size: 1.1rem; margin-bottom: .25em; }
.teb-download p { font-size: .88rem; margin-bottom: 0; color: var(--teb-muted); }
.teb-download span.teb-download__go { margin-left: auto; flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--teb-green-050); color: var(--teb-green-600); transition: background .2s ease, color .2s ease; }
.teb-download:hover span.teb-download__go { background: var(--teb-green); color: #fff; }
.teb-download__go svg { width: 20px; height: 20px; }

/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.teb-footer { position: relative; background: var(--teb-navy-deep); color: #93a7c4; padding: 78px 0 0; }
.teb-footer__glow { position: absolute; width: 560px; height: 560px; right: -180px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(51,153,0,.24), transparent 68%); pointer-events: none; }
.teb-footer .teb-container { position: relative; z-index: 2; }
.teb-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 56px; }
.teb-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.teb-footer__brand img { height: 54px; margin-bottom: 20px; }
.teb-footer__brand p { font-size: .92rem; margin-bottom: 22px; }
.teb-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.teb-footer__list a { color: #93a7c4; font-size: .93rem; }
.teb-footer__list a:hover { color: var(--teb-amber); }
.teb-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.teb-footer__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.teb-footer__contact svg { width: 18px; height: 18px; color: var(--teb-green-400); margin-top: 3px; flex: none; }
.teb-footer__contact a { color: #93a7c4; }
.teb-footer__contact a:hover { color: var(--teb-amber); }
.teb-socials { display: flex; gap: 12px; }
.teb-socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #c3d1e6; border: 1px solid rgba(255,255,255,.1); }
.teb-socials a:hover { background: var(--teb-green); color: #fff; border-color: var(--teb-green); }
.teb-socials svg { width: 17px; height: 17px; }
.teb-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 0 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; flex-wrap: wrap; }

/* ==========================================================================
   18. BLOG / ARCHIVE / PAGINATION
   ========================================================================== */
.teb-blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.teb-post-meta { display: flex; gap: 18px; align-items: center; font-size: .82rem; color: var(--teb-muted); margin-bottom: 12px; }
.teb-post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.teb-post-meta svg { width: 15px; height: 15px; color: var(--teb-green-600); }
.teb-pagination { margin-top: 46px; display: flex; gap: 8px; justify-content: center; }
.teb-pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; background: #fff; border: 1px solid var(--teb-line); font-family: var(--teb-head); font-weight: 700; color: var(--teb-ink); }
.teb-pagination .page-numbers.current, .teb-pagination .page-numbers:hover { background: var(--teb-green); color: #fff; border-color: var(--teb-green); }
.widget { background: #fff; border: 1px solid var(--teb-line); border-radius: var(--teb-r); padding: 26px 24px; margin-bottom: 22px; }
.widget-title { font-size: 1.05rem; margin-bottom: 16px; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content img { border-radius: var(--teb-r); }

/* ==========================================================================
   19. REVEAL ANIMATION
   ========================================================================== */
.teb-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.teb-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .teb-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   20. RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .teb-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1024px) {
  .teb-hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .teb-split { grid-template-columns: 1fr; gap: 34px; }
  .teb-split--rev .teb-split__body, .teb-split--rev .teb-split__media { order: 0; }
  .teb-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .teb-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .teb-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .teb-steps { grid-template-columns: repeat(2, 1fr); }
  .teb-steps::before { display: none; }
  .teb-downloads { grid-template-columns: 1fr; }
  .teb-blog-layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .teb-topbar__list--social { display: none; }
  .teb-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 86vw); z-index: 860;
    background: #fff; padding: 96px 26px 40px; transform: translateX(105%);
    transition: transform .32s cubic-bezier(.3,.8,.3,1); overflow-y: auto; box-shadow: -20px 0 60px rgba(0,20,50,.2);
  }
  .teb-nav.is-open { transform: none; }
  .teb-nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .teb-nav-list > li > a { padding: 14px 16px; border-radius: 12px; font-size: 1rem; justify-content: space-between; }
  .teb-nav-list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 4px 0 4px 14px; min-width: 0; }
  .teb-nav-list .sub-menu::before { display: none; }
  .teb-nav-list .sub-menu a { padding: 11px 14px; }
  .teb-burger { display: block; }
  .teb-header__phone { display: none; }
}
@media (max-width: 720px) {
  .teb-section { padding: 66px 0; }
  .teb-grid--2, .teb-grid--3, .teb-grid--4 { grid-template-columns: 1fr; }
  .teb-float-band { margin-top: -56px; }
  .teb-kpis { grid-template-columns: 1fr 1fr; }
  .teb-hide-sm { display: none !important; }
  .teb-cta { padding: 40px 28px; }
  .teb-cta__actions { justify-content: flex-start; }
  .teb-form { padding: 30px 24px; }
  .teb-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .teb-footer__bottom { flex-direction: column; text-align: center; }
  .teb-hero__stats { gap: 24px; }
  .teb-hero__stat b { font-size: 1.7rem; }
  .teb-brand__mark { width: 40px; }
  .teb-steps { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .teb-container { padding: 0 18px; }
  .teb-download { flex-wrap: wrap; }
  .teb-download span.teb-download__go { margin-left: 0; }
}

/* ==========================================================================
   21. V2 ADDITIONS — CTA band, person meta, downloads, curve, float band
   ========================================================================== */

/* Dark CTA / statement band */
.teb-band { position: relative; overflow: hidden; }
.teb-band--dark {
  background: linear-gradient(125deg, var(--teb-navy-deep) 0%, var(--teb-navy) 62%, #0a3f8f 100%);
  color: #fff;
}
.teb-band--dark::after {
  content: ''; position: absolute; width: 620px; height: 620px; right: -200px; top: -260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(51,153,0,.32), transparent 68%); pointer-events: none;
}
.teb-band--cta { padding: 86px 0; }
.teb-band__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.6fr auto; gap: 46px; align-items: center; }
.teb-band__copy h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .5em; }
.teb-band__copy p { color: #b9c9e2; max-width: 60ch; margin-bottom: 0; }
.teb-band__actions { display: flex; flex-direction: column; gap: 14px; }
.teb-eyebrow--light { color: #8fe36a; }
.teb-eyebrow--light svg { width: 14px; height: 14px; }
.teb-btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.34); }
.teb-btn--ghost-light:hover { background: #fff; color: var(--teb-navy); border-color: #fff; }
.teb-btn--ghost-light svg { width: 17px; height: 17px; }

/* Person card contact meta */
.teb-person__meta { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--teb-line); display: grid; gap: 8px; font-size: .87rem; }
.teb-person__meta a { display: inline-flex; align-items: center; gap: 8px; color: var(--teb-body); word-break: break-word; }
.teb-person__meta a:hover { color: var(--teb-green); }
.teb-person__meta svg { width: 16px; height: 16px; color: var(--teb-green-600); flex: none; }

/* Downloads */
.teb-download__body { display: grid; gap: 5px; flex: 1 1 auto; min-width: 0; }
.teb-download__body strong { font-family: var(--teb-head); font-weight: 700; font-size: 1.06rem; color: var(--teb-ink); }
.teb-download__body > span { font-size: .88rem; color: var(--teb-muted); }
.teb-download__meta { font-size: .74rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teb-green-600) !important; }
.teb-download__cta { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; color: var(--teb-green-600); font-weight: 700; font-size: .9rem; }
.teb-download__cta em { font-style: normal; }
.teb-download__cta svg { width: 18px; height: 18px; }
.teb-download:hover .teb-download__cta { color: var(--teb-green); }
.teb-downloads--full .teb-download { padding: 32px 34px; }

/* Floating stat band */
.teb-float-section { padding: 0; position: relative; }
.teb-float-band {
  position: relative; z-index: 5; margin: -74px 0 0; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; background: #fff; border-radius: var(--teb-r-lg); padding: 30px 32px;
  box-shadow: 0 28px 60px rgba(0,45,114,.16); border: 1px solid var(--teb-line);
}
.teb-float-band__item { display: flex; align-items: center; gap: 15px; padding: 0 6px; }
.teb-float-band__item + .teb-float-band__item { border-left: 1px solid var(--teb-line); }
.teb-float-band__icon { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--teb-green-050); color: var(--teb-green-600); }
.teb-float-band__icon svg { width: 22px; height: 22px; }
.teb-float-band__item strong { display: block; font-family: var(--teb-head); font-size: 1.02rem; color: var(--teb-navy); line-height: 1.25; }
.teb-float-band__item span { font-size: .83rem; color: var(--teb-muted); }

/* Curved divider */
.teb-curve { position: relative; z-index: 3; margin-bottom: -1px; }
.teb-curve svg { display: block; width: 100%; height: 60px; }

/* Chip on light background */
.teb-chip--green { color: var(--teb-green-600); background: var(--teb-green-050); border-color: rgba(51,153,0,.24); }

/* Footer extras */
.teb-footer__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.teb-footer .teb-chip { color: #cfe0a8; background: rgba(51,153,0,.16); border: 1px solid rgba(143,227,106,.3); }
.teb-footer__social { display: flex; gap: 12px; margin-top: 22px; }
.teb-footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #c3d1e6; border: 1px solid rgba(255,255,255,.1); }
.teb-footer__social a:hover { background: var(--teb-green); color: #fff; border-color: var(--teb-green); }
.teb-footer__social svg { width: 17px; height: 17px; }
.teb-footer__legal { margin: 0; }
.teb-footer h4 + ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.teb-footer h4 + ul a { color: #93a7c4; font-size: .93rem; }
.teb-footer h4 + ul a:hover { color: var(--teb-amber); }

/* Back to top */
.teb-totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 700; width: 48px; height: 48px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--teb-navy); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px rgba(0,45,114,.3); opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s ease;
}
.teb-totop.is-on { opacity: 1; visibility: visible; transform: none; }
.teb-totop:hover { background: var(--teb-green); }
.teb-totop svg { width: 20px; height: 20px; transform: rotate(-90deg); }

/* Header brand wordmark */
.teb-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.teb-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.teb-brand__text strong { font-family: var(--teb-head); font-size: 1.14rem; font-weight: 800; color: var(--teb-navy); letter-spacing: -.01em; }
.teb-brand__text span { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teb-green-600); }

/* Curve sits before a surface section — remove the white fill mismatch */
.teb-curve + .teb-section--surface,
.teb-curve + .teb-section { padding-top: 58px; }

@media (max-width: 1024px) {
  .teb-band__inner { grid-template-columns: 1fr; gap: 30px; }
  .teb-band__actions { flex-direction: row; flex-wrap: wrap; }
  .teb-float-band { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .teb-float-band__item:nth-child(3) { border-left: 0; }
}
@media (max-width: 640px) {
  .teb-float-band { grid-template-columns: 1fr; padding: 24px; }
  .teb-float-band__item + .teb-float-band__item { border-left: 0; border-top: 1px solid var(--teb-line); padding-top: 18px; }
  .teb-download__cta em { display: none; }
  .teb-band--cta { padding: 60px 0; }
  .teb-totop { right: 16px; bottom: 16px; }
}

/* Sticky header state */
.teb-header.is-stuck { box-shadow: 0 10px 30px rgba(0,45,114,.12); }
.teb-header.is-stuck .teb-header__bar { min-height: 74px; }
.teb-nav-scrim { position: fixed; inset: 0; background: rgba(0,24,60,.5); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; z-index: 850; }
body.teb-nav-open .teb-nav-scrim { opacity: 1; visibility: visible; }
.teb-main { display: block; }

/* Brand lockup refinement */
.teb-brand--header .teb-brand__mark { width: 46px; height: auto; }
.teb-brand--footer { flex-direction: column; align-items: flex-start; }
.teb-brand--footer .teb-brand__mark { width: 52px; }
.teb-brand--footer .teb-brand__text strong { color: #fff; }
.teb-brand--footer .teb-brand__text span { color: var(--teb-green-400); }

/* ==========================================================================
   22. IMAGERY — banners, features, media grids, photo bands
   ========================================================================== */
.teb-media-img { margin: 0; border-radius: var(--teb-r-lg); overflow: hidden; box-shadow: var(--teb-shadow-lg); }
.teb-media-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--teb-r-lg); }

/* Full-bleed photo banner (page heads + home hero) */
.teb-banner {
  position: relative; overflow: hidden; background: var(--teb-navy-deep);
  color: #c3d1e6; display: flex; align-items: center;
  padding: 132px 0 128px; min-height: 460px;
}
.teb-banner--tall { min-height: 620px; padding: 168px 0 150px; }
.teb-banner--short { min-height: 360px; padding: 96px 0; }
.teb-banner__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.04); animation: teb-kenburns 22s ease-in-out infinite alternate;
}
@keyframes teb-kenburns { from { transform: scale(1.04) translateY(0); } to { transform: scale(1.12) translateY(-14px); } }
.teb-banner__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, rgba(0,20,52,.94) 0%, rgba(0,27,70,.86) 42%, rgba(0,27,70,.42) 100%);
}
.teb-banner__inner { position: relative; z-index: 2; max-width: 760px; }
.teb-banner__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--teb-head); font-weight: 700;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #cfe0a8;
  background: rgba(51,153,0,.2); border: 1px solid rgba(143,227,106,.36);
  padding: 8px 16px; border-radius: var(--teb-pill); margin-bottom: 20px;
}
.teb-banner__eyebrow b { color: #8fe36a; }
.teb-banner h1 { color: #fff; margin-bottom: .35em; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.teb-banner h1 em { font-style: normal; color: var(--teb-amber); }
.teb-banner p { color: #c2d0e6; font-size: 1.08rem; max-width: 620px; margin-bottom: 0; }
.teb-breadcrumb--light, .teb-breadcrumb--light span { color: #a7bad7; }
.teb-breadcrumb--light a { color: #cfe0a8; }

/* Feature split with a real photo */
.teb-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.teb-feature--rev .teb-feature__media { order: 2; }
.teb-feature__media { position: relative; }
.teb-feature__media img { width: 100%; aspect-ratio: 6/5; object-fit: cover; border-radius: var(--teb-r-xl); box-shadow: var(--teb-shadow-xl); }
.teb-feature__media::after {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 46%; height: 46%;
  border-radius: var(--teb-r-lg); border: 3px solid var(--teb-green); opacity: .35; z-index: -1;
}
.teb-feature__body h3 { font-size: 1.85rem; }
.teb-feature__body p { color: var(--teb-body); }

/* Media grids (mosaics) */
.teb-media { display: grid; gap: 18px; }
.teb-media--2 { grid-template-columns: repeat(2, 1fr); }
.teb-media--3 { grid-template-columns: repeat(3, 1fr); }
.teb-media--4 { grid-template-columns: repeat(4, 1fr); }
.teb-media__item {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--teb-r-lg);
  box-shadow: var(--teb-shadow-lg); aspect-ratio: 4/3; background: var(--teb-surface);
}
.teb-media--2 .teb-media__item { aspect-ratio: 16/10; }
.teb-media__item--span { grid-column: span 2; }
.teb-media__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.teb-media__item:hover img { transform: scale(1.06); }
.teb-media__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 20px 16px; color: #fff;
  font-family: var(--teb-head); font-weight: 700; font-size: .94rem;
  background: linear-gradient(transparent, rgba(0,20,52,.86));
}

/* Wide photo band with navy scrim + CTA */
.teb-photo-band { position: relative; overflow: hidden; padding: 104px 0; background: var(--teb-navy-deep); }
.teb-photo-band__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.teb-photo-band__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,20,52,.9), rgba(0,27,70,.62)); }
.teb-photo-band__inner { position: relative; z-index: 2; max-width: 720px; }
.teb-photo-band__inner h2 { color: #fff; }
.teb-photo-band__inner p { color: #c2d0e6; font-size: 1.06rem; margin-bottom: 26px; }

/* Stat tiles with subtle photo wash */
.teb-hero__card { position: relative; overflow: hidden; }
.teb-hero__card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .12;
  background: url('assets/images/renewable/solar-farm.jpg') center/cover;
}
.teb-hero__card > * { position: relative; z-index: 1; }

/* Brand lockup with the real logo */
.teb-brand--header .teb-brand__mark { width: auto; height: 46px; }
.teb-brand--footer .teb-brand__mark--stack { width: 132px; }
.teb-brand--footer .teb-brand__mark { width: auto; height: 50px; }
.teb-brand__text strong { color: var(--teb-navy); }

/* Home hero photo backdrop */
.teb-hero--photo .teb-hero__bg {
  position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
  opacity: .3; transform: scale(1.05); animation: teb-kenburns 26s ease-in-out infinite alternate;
}
.teb-hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(110deg, rgba(0,20,52,.94) 0%, rgba(0,27,70,.78) 48%, rgba(0,27,70,.52) 100%);
}
.teb-hero--photo .teb-hero__grid { z-index: 2; }

/* Stat tiles with subtle photo wash */
.teb-hero__card { position: relative; overflow: hidden; }
.teb-hero__card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .14;
  background: url('assets/images/renewable/solar-farm.jpg') center/cover;
}
.teb-hero__card > * { position: relative; z-index: 1; }

/* Responsive */
@media (max-width: 900px) {
  .teb-feature { grid-template-columns: 1fr; gap: 30px; }
  .teb-feature--rev .teb-feature__media { order: 0; }
  .teb-media--3, .teb-media--4 { grid-template-columns: repeat(2, 1fr); }
  .teb-banner { padding: 108px 0 96px; min-height: 420px; }
  .teb-banner--tall { min-height: 520px; padding: 132px 0 116px; }
}
@media (max-width: 560px) {
  .teb-media--2, .teb-media--3, .teb-media--4 { grid-template-columns: 1fr; }
  .teb-media__item--span { grid-column: auto; }
  .teb-photo-band { padding: 72px 0; }
}
