/* ==========================================================================
   Triple Eight Advisory - Home page
   Ported from the React sections. Loaded only on the front page.
   Depends on the design tokens defined in theme.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared: animations, eyebrow, ring motif, scroll reveals
   -------------------------------------------------------------------------- */

@keyframes teFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes teFadeX {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes teScaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes teSpin { to { transform: rotate(360deg); } }
@keyframes teSpinRev { to { transform: rotate(-360deg); } }
@keyframes teBreathe {
  0%, 100% { opacity: 0.45; transform: scale(0.94); }
  50%      { opacity: 0.9;  transform: scale(1.06); }
}
@keyframes tePing {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes teMarquee { to { transform: translateX(-50%); } }
@keyframes teScrollBead {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

.te-in    { opacity: 0; animation: teFadeUp 1s var(--te-ease) both; animation-delay: var(--d, 0s); }
.te-in-x  { opacity: 0; animation: teFadeX 1s var(--te-ease) both; animation-delay: var(--d, 0s); }
.te-in-up { opacity: 0; animation: teFadeUp 1s var(--te-ease) both; animation-delay: var(--d, 0s); }
.te-scale-in { opacity: 0; animation: teScaleIn 1.3s var(--te-ease) both; animation-delay: var(--d, 0s); }

.te-spin     { animation: teSpin var(--dur, 30s) linear infinite; }
.te-spin-rev { animation: teSpinRev var(--dur, 60s) linear infinite; }
.te-breathe  { animation: teBreathe 7s ease-in-out infinite; }

/* Ping indicator: an outer dot that expands and fades over a solid inner dot. */
.te-ping { position: relative; display: inline-flex; width: 8px; height: 8px; flex-shrink: 0; }
.te-ping > span { position: absolute; inset: 0; border-radius: var(--te-radius-pill); background: var(--te-gold); }
.te-ping > span:first-child { animation: tePing 1s cubic-bezier(0, 0, 0.2, 1) infinite; opacity: 0.75; }
.te-ping--green > span { background: #10b981; }

/* Scroll reveals (driven by theme.js adding .is-visible). */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--te-ease), transform 0.7s var(--te-ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

.te-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--te-text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--te-gold-deep);
}
.te-eyebrow__line { width: 22px; height: 1px; background: currentColor; }
.te-eyebrow--center { justify-content: center; }
.te-eyebrow--dark { color: var(--te-gold-soft); }

.home-em { font-style: italic; color: var(--te-gold-deep); }

/* Editable emphasis: an <em> inside a section title reads as gold italic,
   matching the design's highlighted words. Dark sections use the brighter gold. */
.whyus__title em,
.pillars__title em,
.feature__title em,
.industries__title em,
.testimonials__title em,
.insights__title em,
.faq__title em { font-style: italic; color: var(--te-gold-deep); }
.process__title em { font-style: italic; color: var(--te-gold); }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--te-navy);
  min-height: calc(100svh - var(--te-header-height));
  font-family: var(--te-font-body);
}

.hero__wrap { display: flex; flex-direction: column; min-height: calc(100svh - var(--te-header-height)); }

@media (min-width: 768px) {
  .hero__wrap { flex-direction: row; }
}

/* ---- Left column ---- */
.hero__left {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--te-navy);
  padding: 3rem 1.5rem;
}

@media (min-width: 640px) { .hero__left { padding-inline: 2.5rem; } }
@media (min-width: 768px) {
  .hero__left { width: 58%; padding: 4rem 3.5rem 3.5rem; min-height: calc(100svh - var(--te-header-height)); }
}
@media (min-width: 1024px) { .hero__left { padding-inline: 5rem; } }

.hero__goldbar {
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--te-gold) 0%, var(--te-gold) 40%, rgb(201 162 75 / 0.15) 100%);
}

.hero__meta {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .hero__meta { margin-bottom: 0; } }

.hero__meta-brand { display: flex; align-items: center; gap: 0.75rem; }
.hero__seal {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border: 1px solid var(--te-gold);
  border-radius: var(--te-radius-pill);
  color: var(--te-gold);
  font-family: var(--te-font-display);
  font-size: 0.75rem;
}
.hero__meta-lines { display: flex; flex-direction: column; line-height: 1.15; }
.hero__meta-est { font-size: 10px; text-transform: uppercase; font-weight: 600; color: var(--te-gold); letter-spacing: 0.25em; }
.hero__meta-sub { font-size: 10px; text-transform: uppercase; color: rgb(232 237 243 / 0.5); letter-spacing: 0.2em; }

.hero__status {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 10px;
  text-transform: uppercase;
  color: rgb(232 237 243 / 0.55);
  letter-spacing: 0.25em;
}
@media (min-width: 768px) { .hero__status { display: flex; } }

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) { .hero__content { gap: 1.75rem; margin-block: auto; padding-block: 1.5rem; } }

.hero__kicker { display: inline-flex; align-items: center; gap: 0.75rem; }
.hero__kicker-line { height: 1px; width: 2.5rem; background: var(--te-gold); }
.hero__kicker-text {
  text-transform: uppercase;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--te-gold-soft);
}
@media (min-width: 768px) { .hero__kicker-text { font-size: 11px; letter-spacing: 0.28em; } }

.hero__title {
  margin: 0;
  font-family: var(--te-font-display);
  color: #fff;
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1.07;
  letter-spacing: -0.02em;
}
.hero__title em { color: var(--te-gold); font-style: italic; }
@media (min-width: 768px) { .hero__title { font-size: 3.75rem; line-height: 1.02; } }
@media (min-width: 1024px) { .hero__title { font-size: 4.25rem; } }

.hero__lead-wrap { max-width: 32rem; display: flex; flex-direction: column; gap: 1.25rem; }
.hero__lead {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgb(232 237 243 / 0.78);
}
@media (min-width: 768px) { .hero__lead { font-size: 1.125rem; } }

.hero__tags {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.25rem 0.5rem;
  padding-top: 0.25rem;
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgb(232 237 243 / 0.45);
}
@media (min-width: 768px) { .hero__tags { font-size: 11px; letter-spacing: 0.22em; } }
.hero__tags-dot { color: var(--te-gold); }

.hero__ctas { display: flex; flex-direction: column; gap: 1rem; padding-top: 0.5rem; }
@media (min-width: 640px) { .hero__ctas { flex-direction: row; } }

.hero__cta-primary,
.hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  text-decoration: none;
  transition: all 0.5s var(--te-ease);
}
@media (min-width: 768px) {
  .hero__cta-primary, .hero__cta-secondary { padding-inline: 1.75rem; letter-spacing: 0.18em; }
}
.hero__cta-primary {
  background: var(--te-gold);
  color: var(--te-navy);
  box-shadow: 0 15px 30px -10px rgb(201 162 75 / 0.45);
}
.hero__cta-primary:hover { background: #fff; color: var(--te-navy); transform: translateY(-2px); }
.hero__cta-primary svg { transition: transform 0.5s var(--te-ease); }
.hero__cta-primary:hover svg { transform: translateX(4px); }
.hero__cta-secondary {
  color: #fff;
  border: 1px solid rgb(232 237 243 / 0.25);
  background: transparent;
}
.hero__cta-secondary:hover { border-color: var(--te-gold); color: var(--te-gold); }
.hero__cta-dot { width: 6px; height: 6px; border-radius: var(--te-radius-pill); background: var(--te-gold); }

.hero__creds {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  border-top: 1px solid rgb(232 237 243 / 0.12);
}
@media (min-width: 768px) { .hero__creds { gap: 1.5rem; } }
.hero__cred-k { font-family: var(--te-font-display); color: #fff; font-size: 1.25rem; }
.hero__cred-v {
  margin-top: 0.25rem;
  font-size: 9px; text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(232 237 243 / 0.5);
}
@media (min-width: 768px) { .hero__cred-v { font-size: 10px; letter-spacing: 0.22em; } }

.hero__watermark {
  display: none;
  position: absolute;
  bottom: -1.5rem; right: -1rem;
  font-family: var(--te-font-display);
  font-size: 14rem;
  line-height: 1;
  color: #fff;
  opacity: 0.06;
  user-select: none;
  pointer-events: none;
}
@media (min-width: 768px) { .hero__watermark { display: block; } }

/* ---- Right visual ---- */
.hero__right {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  background: #E8EDF3;
}
@media (min-width: 768px) { .hero__right { width: 42%; min-height: calc(100svh - var(--te-header-height)); } }

.hero__photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  filter: saturate(0.6) contrast(0.95);
}
.hero__photo-lift {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgb(232 237 243 / 0.55) 0%, rgb(232 237 243 / 0.2) 50%, rgb(232 237 243 / 0.6) 100%);
}
.hero__corner-dots { position: absolute; top: 2rem; right: 2rem; z-index: 3; display: flex; gap: 0.375rem; }
.hero__corner-dots span { width: 6px; height: 6px; border-radius: var(--te-radius-pill); background: var(--te-navy); }
.hero__corner-dots span:nth-child(2) { opacity: 0.6; }
.hero__corner-dots span:nth-child(3) { opacity: 0.3; }

.hero__rings {
  position: relative;
  width: 64%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) { .hero__rings { width: 78%; } }
.hero__rings > span { position: absolute; }
.hero__ring-outer { inset: 0; border-radius: 50%; border: 3px solid var(--te-navy); }
.hero__ring-arc {
  inset: 0; border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--te-gold);
  border-right-color: rgb(201 162 75 / 0.33);
}
.hero__ring-orbit { inset: 0; }
.hero__ring-marker {
  position: absolute; left: 50%; top: 0;
  width: 11px; height: 11px;
  margin-left: -5.5px; margin-top: -5.5px;
  border-radius: var(--te-radius-pill);
  background: var(--te-gold);
  box-shadow: 0 0 0 4px rgb(201 162 75 / 0.18), 0 0 18px 3px rgb(201 162 75 / 0.55);
}
.hero__ring-dashed { inset: 6%; border-radius: 50%; border: 1px dashed var(--te-gold); opacity: 0.7; }
.hero__ring-hair { inset: 15%; border-radius: 50%; border: 1px solid var(--te-navy); opacity: 0.18; }
.hero__ring-glow {
  inset: 22%; border-radius: 50%;
  background: radial-gradient(circle, rgb(201 162 75 / 0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* Floating cards */
.hero__card { position: absolute; padding: 1rem; }
@media (min-width: 768px) { .hero__card { padding: 1.75rem; } }

.hero__card--retention {
  top: 4rem; right: 0.75rem;
  width: 9.5rem; z-index: 2;
  background: #fff;
  box-shadow: 0 40px 80px -20px rgb(13 27 51 / 0.35);
  transform: rotate(2deg);
}
@media (min-width: 768px) { .hero__card--retention { top: 6rem; right: 3rem; width: 16rem; } }

.hero__card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.hero__card-rule { width: 2rem; height: 2px; background: var(--te-gold); }
.hero__card-tag { font-size: 9px; text-transform: uppercase; font-weight: 600; letter-spacing: 0.22em; }
.hero__card-tag--blue { color: #3B6FA0; }
.hero__card-tag--gold { color: var(--te-gold); letter-spacing: 0.25em; font-weight: 700; }
.hero__card-stat { font-family: var(--te-font-display); font-size: 1.5rem; letter-spacing: -0.02em; color: var(--te-navy); margin-bottom: 0.25rem; }
.hero__card-stat span { color: var(--te-gold); }
@media (min-width: 768px) { .hero__card-stat { font-size: 2.25rem; } }
.hero__card-label { font-size: 10px; text-transform: uppercase; font-weight: 600; letter-spacing: 0.22em; color: var(--te-navy-soft); margin-bottom: 1rem; }
.hero__card-bars { display: flex; flex-direction: column; gap: 0.375rem; }
.hero__bar-row { display: flex; align-items: center; justify-content: space-between; }
.hero__bar-row > span:first-child { font-size: 10px; color: var(--te-navy-soft); }
.hero__bar { height: 4px; width: 3rem; border-radius: var(--te-radius-pill); background: #E8EDF3; overflow: hidden; }
@media (min-width: 768px) { .hero__bar { width: 6rem; } }
.hero__bar-fill { display: block; height: 100%; border-radius: var(--te-radius-pill); }

.hero__card--strategy {
  bottom: 5rem; left: 0.75rem;
  width: 8.5rem; z-index: 3;
  background: var(--te-navy);
  box-shadow: 0 40px 80px -20px rgb(13 27 51 / 0.55);
  transform: rotate(-4deg);
}
@media (min-width: 768px) { .hero__card--strategy { bottom: 6rem; left: 2.5rem; width: 15rem; } }
.hero__card--strategy .hero__card-top { margin-bottom: 0.75rem; align-items: center; }
.hero__card-line { flex: 1; height: 1px; background: rgb(201 162 75 / 0.3); }
.hero__card-title { font-family: var(--te-font-display); font-size: 1rem; line-height: 1.35; color: #fff; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .hero__card-title { font-size: 1.5rem; } }
.hero__card-role { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: rgb(232 237 243 / 0.55); }

.hero__ticker {
  position: absolute; top: 1rem; left: 0.75rem; z-index: 3;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 40px -15px rgb(13 27 51 / 0.25);
}
@media (min-width: 768px) { .hero__ticker { top: 3rem; left: 2.5rem; } }
.hero__ticker-text { font-size: 10px; text-transform: uppercase; font-weight: 600; letter-spacing: 0.22em; color: var(--te-navy); }
.hero__ticker .te-ping { width: 8px; height: 8px; }

.hero__rail {
  display: none;
  position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  writing-mode: vertical-rl;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) { .hero__rail { display: flex; } }
.hero__rail > span:first-child { font-size: 10px; text-transform: uppercase; color: var(--te-navy); letter-spacing: 0.4em; opacity: 0.55; }
.hero__rail-line { height: 4rem; width: 1px; background: var(--te-navy); opacity: 0.25; }

.hero__scroll {
  display: none;
  position: absolute; bottom: 6rem; right: 2rem;
  z-index: 2;
  flex-direction: column; align-items: center; gap: 0.5rem;
}
@media (min-width: 768px) { .hero__scroll { display: flex; right: 3.5rem; bottom: 7rem; } }
.hero__scroll-text { font-size: 9px; text-transform: uppercase; color: var(--te-navy); letter-spacing: 0.28em; opacity: 0.7; }
.hero__scroll-track { position: relative; height: 2.5rem; width: 1px; overflow: hidden; background: rgb(13 27 51 / 0.2); }
.hero__scroll-bead { position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--te-gold); animation: teScrollBead 2.2s ease-in-out infinite; }

/* Bottom marquee */
.hero__marquee {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 4;
  overflow: hidden;
  background: rgb(255 255 255 / 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgb(201 162 75 / 0.45);
}
.hero__marquee-track {
  display: flex; align-items: center;
  gap: 3rem; padding: 1rem 3rem 1rem 0;
  white-space: nowrap;
  width: max-content;
  animation: teMarquee 35s linear infinite;
}
.hero__marquee-item {
  display: flex; align-items: center; gap: 3rem;
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--te-navy);
}
.hero__marquee-diamond { color: var(--te-gold); }

/* ==========================================================================
   WHY US
   ========================================================================== */

.whyus { padding: 8rem 0 6rem; background: var(--te-gold-tint); overflow: hidden; }
@media (min-width: 1024px) { .whyus { padding-top: 12rem; padding-bottom: 8rem; } }

.whyus__grid { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 768px) { .whyus__grid { grid-template-columns: 1fr 1fr; } }

.whyus__text { display: flex; flex-direction: column; gap: 1.5rem; }
.whyus__title { margin: 0; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.15; color: var(--te-navy); }
.whyus__lead { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--te-ink-muted); }
.whyus__divider { display: block; height: 1px; background: rgb(169 130 46 / 0.12); }
.whyus__points { display: flex; flex-direction: column; gap: 1rem; }
.whyus__point { display: flex; align-items: flex-start; gap: 0.75rem; }
.whyus__point p { margin: 0; font-size: 0.95rem; line-height: 1.65; color: #334155; }
.whyus__point-icon {
  display: grid; place-items: center;
  padding: 0.3rem;
  border-radius: var(--te-radius-pill);
  background: rgb(201 162 75 / 0.12);
  color: var(--te-gold-deep);
  margin-top: 0.15rem;
}
.whyus__point-icon .icon { width: 16px; height: 16px; }
.whyus__cta-wrap { padding-top: 0.5rem; }
.whyus__cta {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 1rem 1.75rem;
  border-radius: var(--te-radius-pill);
  background: var(--te-navy);
  color: #fff;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgb(13 27 51 / 0.25);
  transition: background 0.3s var(--te-ease), transform 0.3s var(--te-ease);
}
.whyus__cta:hover { background: var(--te-navy-soft); color: #fff; transform: scale(1.02); }
.whyus__cta .icon { width: 14px; height: 14px; }

.whyus__media { position: relative; }
.whyus__card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--te-radius-2xl);
  overflow: hidden;
  border: 1px solid rgb(8 20 38 / 0.06);
  box-shadow: var(--te-shadow-lg);
}
.whyus__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--te-ease); }
.whyus__card:hover .whyus__img { transform: scale(1.05); }
.whyus__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(8 20 38 / 0.94) 0%, rgb(8 20 38 / 0.62) 38%, rgb(8 20 38 / 0.18) 70%, rgb(8 20 38 / 0.35) 100%);
}
.whyus__motif { position: absolute; top: -4rem; right: -4rem; z-index: 1; opacity: 0.13; pointer-events: none; }
.whyus__badge { position: absolute; z-index: 1; font-size: 9px; text-transform: uppercase; letter-spacing: 0.24em; color: rgb(203 213 225 / 0.8); }
.whyus__badge--tl { top: 1.5rem; left: 1.5rem; }
.whyus__badge--br { bottom: 1.5rem; right: 1.5rem; }
.whyus__chip {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--te-radius-lg);
  border: 1px solid rgb(255 255 255 / 0.08);
  background: #0f172a;
  box-shadow: 0 14px 35px -10px rgb(8 20 38 / 0.35);
}
@media (max-width: 639px) { .whyus__chip { display: none; } }
@media (min-width: 768px) { .whyus__chip { left: -2.5rem; } }
.whyus__chip-big { font-family: var(--te-font-display); font-size: 1.875rem; font-weight: 700; color: var(--te-gold); }
.whyus__chip-sub { margin-top: 0.25rem; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: #94a3b8; }

/* ==========================================================================
   PILLARS (services)
   ========================================================================== */

.pillars { padding: 6rem 0; background: var(--te-canvas); border-bottom: 1px solid var(--te-line); }
@media (min-width: 768px) { .pillars { padding: 8rem 0; } }

.pillars__head { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 768px) { .pillars__head { grid-template-columns: 1fr auto; } }
.pillars__head-text { max-width: 42rem; }
.pillars__title { margin: 1.25rem 0 0; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); letter-spacing: -0.02em; color: var(--te-navy-deep); font-weight: 600; }
.pillars__lead { margin: 1.25rem 0 0; font-size: 1.0625rem; line-height: 1.65; color: var(--te-ink-muted); }
.pillars__all {
  display: none; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 600; white-space: nowrap;
  color: var(--te-gold-deep); text-decoration: none;
}
@media (min-width: 768px) { .pillars__all { display: inline-flex; } }
.pillars__all .icon { width: 16px; height: 16px; transition: transform var(--te-duration) var(--te-ease); }
.pillars__all:hover .icon { transform: translate(2px, -2px); }

.pillars__grid { margin-top: 3.5rem; display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pillars__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars__grid { grid-template-columns: repeat(3, 1fr); } }

.pillar-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 440px;
  border-radius: var(--te-radius-lg);
  background: #fff;
  border: 1px solid rgb(8 20 38 / 0.06);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--te-shadow-sm);
  transition: box-shadow 0.35s var(--te-ease), border-color 0.35s var(--te-ease), transform 0.35s var(--te-ease);
}
.pillar-card:hover { box-shadow: var(--te-shadow-lg); border-color: var(--te-gold); transform: translateY(-6px); }
.pillar-card__banner { position: relative; height: 12rem; overflow: hidden; background: #0f172a; }
.pillar-card__banner img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: transform 0.7s var(--te-ease), opacity 0.35s var(--te-ease); }
.pillar-card:hover .pillar-card__banner img { transform: scale(1.05); opacity: 1; }
.pillar-card__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.5), transparent, rgb(0 0 0 / 0.2)); }
.pillar-card__num {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: #fff;
  background: rgb(0 0 0 / 0.4);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.75rem;
  border-radius: var(--te-radius-pill);
}
.pillar-card__chip {
  position: absolute; top: 166px; left: 1.5rem;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--te-radius-md);
  background: #fff; border: 1px solid var(--te-line);
  color: var(--te-gold-deep);
  box-shadow: var(--te-shadow-sm);
  transition: border-color 0.3s var(--te-ease), box-shadow 0.3s var(--te-ease);
}
.pillar-card:hover .pillar-card__chip { border-color: var(--te-gold); box-shadow: var(--te-shadow); }
.pillar-card__chip .icon { width: 22px; height: 22px; stroke-width: 1.8; }
.pillar-card__body { padding: 2.5rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
@media (min-width: 768px) { .pillar-card__body { padding: 2.5rem 2rem 2rem; } }
.pillar-card__name { margin: 0.25rem 0 0; font-size: 1.375rem; line-height: 1.35; font-weight: 600; color: var(--te-navy-deep); transition: color 0.3s var(--te-ease); }
.pillar-card:hover .pillar-card__name { color: var(--te-gold-deep); }
.pillar-card__intro {
  margin: 0.75rem 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--te-ink-muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pillar-card__foot { margin-top: 2rem; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgb(8 20 38 / 0.06); }
.pillar-card__count { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--te-ink-muted); }
.pillar-card__explore { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--te-gold-deep); transition: color 0.3s var(--te-ease); }
.pillar-card__explore .icon { width: 14px; height: 14px; }

.pillar-all-tile {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 440px;
  border-radius: var(--te-radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--te-shadow-sm);
  transition: box-shadow 0.35s var(--te-ease), transform 0.35s var(--te-ease);
}
.pillar-all-tile:hover { box-shadow: var(--te-shadow-lg); transform: translateY(-6px); }
.pillar-all-tile__bg { position: absolute; inset: 0; background: #020617; }
.pillar-all-tile__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; transition: transform 0.75s var(--te-ease); }
.pillar-all-tile:hover .pillar-all-tile__bg img { transform: scale(1.05); }
.pillar-all-tile__scrim { position: absolute; inset: 0; background: linear-gradient(to top, #020617, rgb(2 6 23 / 0.8), rgb(2 6 23 / 0.6)); }
.pillar-all-tile__body { position: relative; z-index: 1; padding: 1.5rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
@media (min-width: 768px) { .pillar-all-tile__body { padding: 2rem; } }
.pillar-all-tile__pill {
  display: inline-flex; align-items: center; align-self: flex-start;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: var(--te-radius-pill);
  color: var(--te-gold-soft);
  background: rgb(201 162 75 / 0.12);
  border: 1px solid rgb(201 162 75 / 0.25);
}
.pillar-all-tile__foot { margin-top: auto; }
.pillar-all-tile__title { margin: 0; font-size: 1.625rem; line-height: 1.3; font-weight: 600; color: #fff; }
.pillar-all-tile__copy { margin: 0.75rem 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--te-silver-soft); }
.pillar-all-tile__link { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--te-gold-soft); }
.pillar-all-tile__link .icon { width: 16px; height: 16px; }

/* ==========================================================================
   FEATURE SHOWCASE
   ========================================================================== */

.feature { padding: 6rem 0; background: var(--te-canvas); border-bottom: 1px solid var(--te-line); }
@media (min-width: 768px) { .feature { padding: 8rem 0; } }
.feature__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .feature__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }

.feature__aside { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) { .feature__aside { position: sticky; top: 9rem; } }
.feature__title { margin: 1.25rem 0 0; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; color: var(--te-navy-deep); }
.feature__title-em { font-style: italic; color: var(--te-gold-deep); }
.feature__lead { margin: 1.5rem 0 0; font-size: 1.0625rem; line-height: 1.65; color: var(--te-ink-muted); }

.feature__stat { position: relative; overflow: hidden; padding: 2rem; border-radius: var(--te-radius-lg); background: #020617; border: 1px solid rgb(8 20 38 / 0.08); }
.feature__stat-bg { position: absolute; right: -2.5rem; bottom: -2.5rem; opacity: 0.06; color: var(--te-gold); transition: transform 0.7s var(--te-ease); }
.feature__stat-bg .icon { width: 200px; height: 200px; }
.feature__stat:hover .feature__stat-bg { transform: scale(1.1); }
.feature__stat-inner { position: relative; z-index: 1; }
.feature__stat-flag { display: flex; align-items: center; gap: 0.5rem; }
.feature__stat-flag span:last-child { font-size: 10px; letter-spacing: 0.2em; font-weight: 600; text-transform: uppercase; color: #34d399; }
.feature__stat-num { margin-top: 1rem; font-family: var(--te-font-display); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--te-gold); }
@media (min-width: 768px) { .feature__stat-num { font-size: 3.75rem; } }
.feature__stat-copy { margin: 1rem 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--te-silver-soft); }

.feature__main { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .feature__main { grid-template-columns: 5fr 7fr; } }

.feature__preview { display: none; position: sticky; top: 9rem; height: 420px; overflow: hidden; border-radius: var(--te-radius-lg); border: 1px solid var(--te-line); box-shadow: var(--te-shadow); }
@media (min-width: 1024px) { .feature__preview { display: block; } }
.feature__preview-slide { position: absolute; inset: 0; opacity: 0; transform: scale(0.95); transition: opacity 0.7s var(--te-ease), transform 0.7s var(--te-ease); pointer-events: none; }
.feature__preview-slide.is-active { opacity: 1; transform: scale(1); }
.feature__preview-slide img { width: 100%; height: 100%; object-fit: cover; }
.feature__preview-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgb(2 6 23 / 0.8), rgb(2 6 23 / 0.2), transparent); }
.feature__preview-label {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; color: #fff;
  background: rgb(0 0 0 / 0.4); backdrop-filter: blur(8px);
  padding: 0.375rem 0.875rem; border-radius: var(--te-radius-pill);
  border: 1px solid rgb(255 255 255 / 0.1);
}

.feature__rows { display: flex; flex-direction: column; gap: 1rem; }
.feature__row { border-bottom: 1px solid rgb(8 20 38 / 0.08); padding-bottom: 1rem; transition: padding 0.3s var(--te-ease); }
.feature__row.is-active { padding-bottom: 1.5rem; }
.feature__row-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; background: none; border: 0; text-align: left; }
.feature__row-head { display: flex; align-items: center; gap: 1rem; }
.feature__row-num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; font-variant-numeric: tabular-nums; color: #94a3b8; transition: color 0.3s var(--te-ease); }
.feature__row-title { font-family: var(--te-font-display); font-size: 1.125rem; font-weight: 600; color: #1e293b; transition: color 0.3s var(--te-ease); }
@media (min-width: 768px) { .feature__row-title { font-size: 1.25rem; } }
.feature__row.is-active .feature__row-num,
.feature__row.is-active .feature__row-title { color: var(--te-gold-deep); }
.feature__row-btn > .icon { width: 18px; height: 18px; color: #94a3b8; flex-shrink: 0; transition: transform 0.3s var(--te-ease), color 0.3s var(--te-ease); }
.feature__row.is-active .feature__row-btn > .icon { transform: rotate(180deg); color: var(--te-gold-deep); }

.feature__row-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--te-ease); }
.feature__row.is-active .feature__row-panel { grid-template-rows: 1fr; }
.feature__row-inner { overflow: hidden; padding-left: 2.25rem; display: flex; flex-direction: column; gap: 1rem; }
.feature__row.is-active .feature__row-inner { padding-top: 0.5rem; }
.feature__row-tag {
  align-self: flex-start;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600;
  color: var(--te-gold-deep); background: rgb(201 162 75 / 0.1);
  padding: 0.25rem 0.625rem; border-radius: var(--te-radius-sm);
}
.feature__row-body { margin: 0; font-size: 0.9375rem; line-height: 1.65; color: var(--te-ink-muted); }
.feature__row-media { display: block; width: 100%; height: 12rem; overflow: hidden; border-radius: var(--te-radius-md); border: 1px solid var(--te-line); }
@media (min-width: 1024px) { .feature__row-media { display: none; } }
.feature__row-media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */

.process { padding: 6rem 0; background: var(--te-navy-deep); border-bottom: 1px solid var(--te-navy-line); }
@media (min-width: 768px) { .process { padding: 8rem 0; } }
.process__head { text-align: center; max-width: 42rem; margin: 0 auto 4rem; }
.process__head .te-eyebrow { justify-content: center; }
.process__title { margin: 1.25rem 0 0; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); letter-spacing: -0.02em; color: #fff; font-weight: 600; }
.process__title-em { font-style: italic; color: var(--te-gold); }
.process__lead { margin: 1.25rem 0 0; font-size: 1.0625rem; line-height: 1.65; color: var(--te-silver-soft); }

.process__frame {
  display: grid; gap: 2.5rem; align-items: center;
  min-height: 460px;
  padding: 2rem;
  border-radius: var(--te-radius-2xl);
  background: rgb(15 23 42 / 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgb(255 255 255 / 0.05);
  box-shadow: var(--te-shadow-lg);
}
@media (min-width: 768px) { .process__frame { padding: 3rem; } }
@media (min-width: 1024px) { .process__frame { grid-template-columns: 4fr 8fr; } }

.process__indicator {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-bottom: 2rem; border-bottom: 1px solid rgb(255 255 255 / 0.05);
}
@media (min-width: 1024px) { .process__indicator { align-items: flex-start; text-align: left; padding-bottom: 0; padding-right: 2rem; border-bottom: 0; border-right: 1px solid rgb(255 255 255 / 0.05); } }
.process__indicator-eyebrow { font-size: 10px; letter-spacing: 0.24em; font-weight: 700; text-transform: uppercase; color: var(--te-gold); }
.process__big { margin-top: 1rem; font-family: var(--te-font-display); font-size: 4.5rem; font-weight: 700; line-height: 1; color: var(--te-gold); }
@media (min-width: 768px) { .process__big { font-size: 6rem; } }
.process__of { margin-top: 1.5rem; font-size: 0.875rem; font-weight: 600; color: #94a3b8; }
.process__progress { margin-top: 1rem; height: 4px; width: 9rem; border-radius: var(--te-radius-pill); background: rgb(255 255 255 / 0.1); overflow: hidden; }
.process__progress-fill { display: block; height: 100%; background: var(--te-gold); transition: width 0.5s var(--te-ease); }

.process__panels { min-height: 320px; display: flex; flex-direction: column; justify-content: center; }
.process__panel { animation: teFadeX 0.3s var(--te-ease) both; }
.process__panel[hidden] { display: none; }
.process__panel-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: var(--te-radius-md); background: rgb(201 162 75 / 0.1); color: var(--te-gold); border: 1px solid rgb(201 162 75 / 0.2); margin-bottom: 1.5rem; }
.process__panel-icon .icon { width: 22px; height: 22px; }
.process__panel-title { margin: 0; font-family: var(--te-font-display); font-size: 1.75rem; font-weight: 600; line-height: 1.2; color: #fff; }
.process__panel-body { margin: 1rem 0 0; max-width: 42rem; font-size: 0.9375rem; line-height: 1.65; color: #cbd5e1; }
.process__deliverables { margin-top: 2rem; }
.process__deliverables-label { display: block; margin-bottom: 1rem; font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; color: rgb(201 162 75 / 0.9); }
.process__deliverables-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .process__deliverables-grid { grid-template-columns: repeat(3, 1fr); } }
.process__deliverable { display: flex; flex-direction: column; justify-content: space-between; min-height: 100px; padding: 1rem; border-radius: var(--te-radius-md); border: 1px solid rgb(255 255 255 / 0.05); background: rgb(2 6 23 / 0.4); transition: border-color 0.3s var(--te-ease); }
.process__deliverable:hover { border-color: rgb(255 255 255 / 0.1); }
.process__deliverable-check { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: var(--te-radius-sm); background: rgb(201 162 75 / 0.1); color: var(--te-gold); }
.process__deliverable-check .icon { width: 13px; height: 13px; stroke-width: 3; }
.process__deliverable-text { margin-top: 0.75rem; font-size: 0.75rem; font-weight: 500; line-height: 1.5; color: #cbd5e1; }

.process__tabs { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
@media (min-width: 768px) { .process__tabs { gap: 1rem; } }
.process__tab {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--te-radius-pill);
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  border: 1px solid rgb(255 255 255 / 0.05);
  background: rgb(255 255 255 / 0.03);
  color: #cbd5e1;
  transition: all 0.3s var(--te-ease);
}
.process__tab:hover { background: rgb(255 255 255 / 0.06); color: #fff; }
.process__tab-num { font-variant-numeric: tabular-nums; color: var(--te-gold); }
.process__tab.is-active { background: var(--te-gold); border-color: var(--te-gold); color: #020617; transform: scale(1.02); box-shadow: 0 10px 20px -8px rgb(201 162 75 / 0.4); }
.process__tab.is-active .process__tab-num { color: #020617; }

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */

.industries { padding: 6rem 0; background: var(--te-canvas); border-bottom: 1px solid var(--te-line); }
@media (min-width: 768px) { .industries { padding: 8rem 0; } }
.industries__head { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .industries__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.industries__head-text { max-width: 36rem; }
.industries__title { margin: 1.25rem 0 0; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; color: var(--te-navy-deep); }
.industries__title-em { font-style: italic; color: var(--te-gold-deep); }
.industries__lead { max-width: 24rem; margin: 0; font-size: 1rem; line-height: 1.65; color: var(--te-ink-muted); }

.industries__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .industries__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .industries__grid { grid-template-columns: repeat(3, 1fr); } }

.ind-card {
  position: relative; overflow: hidden;
  min-height: 380px;
  border-radius: var(--te-radius-lg);
  border: 1px solid rgb(8 20 38 / 0.08);
  box-shadow: var(--te-shadow-sm);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem; color: #fff; text-decoration: none;
  transition: box-shadow 0.5s var(--te-ease), transform 0.5s var(--te-ease);
}
.ind-card:hover { box-shadow: var(--te-shadow-lg); transform: translateY(-4px); }
.ind-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--te-ease); }
.ind-card:hover .ind-card__img { transform: scale(1.05); }
.ind-card__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgb(2 6 23 / 0.95), rgb(2 6 23 / 0.5), rgb(15 23 42 / 0.1)); }
.ind-card__body { position: relative; z-index: 1; text-align: left; }
.ind-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: var(--te-radius-md); background: rgb(201 162 75 / 0.1); color: var(--te-gold); border: 1px solid rgb(201 162 75 / 0.2); margin-bottom: 1rem; }
.ind-card__icon .icon { width: 18px; height: 18px; }
.ind-card__name { margin: 0; font-family: var(--te-font-display); font-size: 1.375rem; font-weight: 600; line-height: 1.2; color: #fff; }
.ind-card__tag {
  display: inline-block; margin-top: 0.625rem;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;
  color: #fbbf24; background: rgb(255 255 255 / 0.1); backdrop-filter: blur(8px);
  padding: 0.25rem 0.625rem; border-radius: var(--te-radius-sm);
  border: 1px solid rgb(255 255 255 / 0.1);
}
.ind-card__intro { margin: 1rem 0 0; font-size: 0.8125rem; line-height: 1.55; color: #cbd5e1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ind-card__foot { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / 0.08); display: flex; align-items: center; justify-content: space-between; }
.ind-card__view { font-size: 0.8125rem; font-weight: 600; color: var(--te-gold); }
.ind-card__foot .icon { width: 16px; height: 16px; color: var(--te-gold); transition: transform var(--te-duration) var(--te-ease); }
.ind-card:hover .ind-card__foot .icon { transform: translate(2px, -2px); }

.industries__band {
  margin-top: 3rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--te-radius-lg);
  background: var(--te-navy-deep);
  border: 1px solid var(--te-navy-line);
  box-shadow: var(--te-shadow);
  text-decoration: none;
  transition: border-color 0.3s var(--te-ease), box-shadow 0.3s var(--te-ease);
}
@media (min-width: 768px) { .industries__band { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.5rem 3rem; } }
.industries__band:hover { border-color: var(--te-gold); box-shadow: var(--te-shadow-lg); }
.industries__band-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--te-gold); }
.industries__band-title { margin-top: 0.5rem; font-family: var(--te-font-display); font-size: 1.5rem; line-height: 1.2; font-weight: 600; color: #fff; }
@media (min-width: 768px) { .industries__band-title { font-size: 1.875rem; } }
.industries__band-btn {
  display: inline-flex; align-items: center; gap: 0.625rem; flex-shrink: 0;
  padding: 1rem 1.5rem; border-radius: var(--te-radius-pill);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--te-gold); color: var(--te-navy-deep);
  transition: transform 0.3s var(--te-ease);
}
.industries__band:hover .industries__band-btn { transform: translateX(4px); }
.industries__band-btn .icon { width: 14px; height: 14px; }

/* ==========================================================================
   STATS BAND
   ========================================================================== */

.statsband { padding: 5rem 0; background: var(--te-navy-deep); }
.statsband__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (min-width: 768px) { .statsband__grid { grid-template-columns: repeat(4, 1fr); } }
.statsband__item { text-align: center; }
@media (min-width: 768px) { .statsband__item { text-align: left; } }
.statsband__num { font-family: var(--te-font-display); font-size: 2.25rem; font-weight: 500; color: var(--te-gold); }
@media (min-width: 768px) { .statsband__num { font-size: 3rem; } }
.statsband__label { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.35; color: var(--te-silver-soft); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials { padding: 6rem 0; background: var(--te-canvas); }
@media (min-width: 768px) { .testimonials { padding: 8rem 0; } }
.testimonials__head { display: grid; gap: 1.5rem; align-items: end; margin-bottom: 3.5rem; }
@media (min-width: 768px) { .testimonials__head { grid-template-columns: 1fr auto; } }
.testimonials__title { margin: 1.25rem 0 0; max-width: 42rem; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.1; font-weight: 500; color: var(--te-navy); }
.testimonials__rating { display: flex; align-items: center; gap: 0.75rem; }
.testimonials__stars { display: flex; gap: 2px; color: var(--te-gold); }
.testimonials__stars .icon { width: 18px; height: 18px; }
.testimonials__rating-text { font-size: 0.875rem; color: var(--te-ink-muted); }

.testimonials__grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); } }
.tcard {
  display: flex; flex-direction: column;
  padding: 2rem;
  border-radius: var(--te-radius-lg);
  background: var(--te-card);
  border: 1px solid var(--te-line);
  color: var(--te-navy);
  box-shadow: 0 4px 20px rgb(13 27 51 / 0.04);
}
.tcard--feature { background: var(--te-navy); border-color: rgb(255 255 255 / 0.08); color: #fff; box-shadow: 0 18px 40px -20px rgb(13 27 51 / 0.35); }
.tcard__quote { color: var(--te-gold-deep); }
.tcard--feature .tcard__quote { color: var(--te-gold); }
.tcard__quote .icon { width: 26px; height: 26px; }
.tcard__text { margin: 1.25rem 0 0; flex: 1; font-family: var(--te-font-display); font-weight: 500; font-size: 17px; line-height: 1.55; color: var(--te-navy); }
.tcard--feature .tcard__text { color: #fff; }
.tcard__foot { margin-top: 2rem; padding-top: 1.5rem; display: flex; align-items: center; gap: 1rem; border-top: 1px solid var(--te-line); }
.tcard--feature .tcard__foot { border-top-color: rgb(255 255 255 / 0.12); }
.tcard__avatar { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--te-radius-pill); font-size: 0.875rem; font-weight: 600; background: var(--te-gold-tint); color: var(--te-gold-deep); }
.tcard--feature .tcard__avatar { background: var(--te-gold); color: var(--te-navy-deep); }
.tcard__meta { min-width: 0; display: flex; flex-direction: column; }
.tcard__name { font-size: 0.875rem; font-weight: 600; color: var(--te-navy); }
.tcard--feature .tcard__name { color: #fff; }
.tcard__role { margin-top: 0.125rem; font-size: 0.75rem; color: var(--te-ink-muted); }
.tcard--feature .tcard__role { color: var(--te-silver-soft); }

/* ==========================================================================
   INSIGHTS TEASER
   ========================================================================== */

.insights { padding: 6rem 0; background: var(--te-canvas); }
@media (min-width: 768px) { .insights { padding: 8rem 0; } }
.insights__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }
.insights__title { margin: 1.25rem 0 0; max-width: 36rem; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.1; font-weight: 500; color: var(--te-navy); }
.insights__all { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; padding: 0.75rem 1.25rem; border-radius: var(--te-radius-pill); border: 1px solid var(--te-navy); color: var(--te-navy); text-decoration: none; transition: background 0.3s var(--te-ease); }
.insights__all:hover { background: #fff; color: var(--te-navy); }
.insights__all .icon { width: 14px; height: 14px; }

.insights__grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .insights__grid { grid-template-columns: 1.15fr 1fr; } }

.insights__feature { position: relative; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; border-radius: var(--te-radius-lg); border: 1px solid var(--te-line); text-decoration: none; }
@media (min-width: 768px) { .insights__feature { padding: 2.5rem; } }
.insights__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--te-ease); }
.insights__feature:hover img { transform: scale(1.04); }
.insights__feature-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(8 20 38 / 0.1) 0%, rgb(8 20 38 / 0.55) 55%, rgb(8 20 38 / 0.9) 100%); }
.insights__feature-body { position: relative; z-index: 1; color: #fff; max-width: 32rem; }
.insights__feature-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--te-gold-soft); }
.insights__feature-sep { color: rgb(255 255 255 / 0.5); }
.insights__feature-date { text-transform: none; letter-spacing: 0; font-weight: 500; color: rgb(255 255 255 / 0.75); }
.insights__feature-title { margin: 1rem 0 0; font-family: var(--te-font-display); font-size: 1.5rem; line-height: 1.2; font-weight: 500; }
@media (min-width: 768px) { .insights__feature-title { font-size: 1.875rem; } }
.insights__feature-copy { margin: 0.75rem 0 0; font-size: 0.9375rem; line-height: 1.6; color: rgb(255 255 255 / 0.85); }
.insights__feature-link { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--te-gold-soft); }
.insights__feature-link .icon { width: 14px; height: 14px; }

.insights__list { display: flex; flex-direction: column; gap: 1rem; }
.insights__item { display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--te-radius-md); background: #fff; border: 1px solid var(--te-line); text-decoration: none; box-shadow: var(--te-shadow-sm); transition: box-shadow 0.3s var(--te-ease), transform 0.3s var(--te-ease); }
.insights__item:hover { box-shadow: var(--te-shadow); transform: translateY(-2px); }
.insights__item-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--te-gold-deep); }
.insights__item-sep { color: var(--te-silver); }
.insights__item-date { text-transform: none; letter-spacing: 0; color: var(--te-ink-muted); }
.insights__item-title { margin: 0.75rem 0 0; font-family: var(--te-font-display); font-size: 1.125rem; line-height: 1.3; font-weight: 600; color: var(--te-navy); }
.insights__item-copy { margin: 0.5rem 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--te-ink-muted); }
.insights__item-link { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--te-navy); }
.insights__item-link .icon { width: 14px; height: 14px; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { padding: 6rem 0; background: var(--te-canvas); }
@media (min-width: 768px) { .faq { padding: 8rem 0; } }
.faq__inner { width: 100%; max-width: 48rem; margin-inline: auto; padding-inline: var(--te-gutter); }
.faq__head { text-align: center; }
.faq__title { margin: 1.25rem 0 0; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 500; color: var(--te-navy); }
.faq__list { margin-top: 3rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq__item { border: 1px solid var(--te-line); border-radius: var(--te-radius-md); background: #fff; overflow: hidden; transition: border-color 0.3s var(--te-ease); }
.faq__item.is-open { border-color: var(--te-gold); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; text-align: left; background: none; border: 0; }
.faq__q > span { font-size: 1rem; font-weight: 600; color: var(--te-navy); }
.faq__q .icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--te-gold-deep); transition: transform 0.3s var(--te-ease); }
.faq__item.is-open .faq__q .icon { transform: rotate(180deg); }
.faq__a { padding: 0 1.5rem 1.25rem; }
.faq__a p { margin: 0; font-size: 0.875rem; line-height: 1.65; color: var(--te-ink-muted); }

/* The TestimonialCTA section and .te-ring-motif live in theme.css, because the
   section is reused on inner pages where home.css is not loaded. */

/* ==========================================================================
   Reduced motion: disable the continuous and entrance animations
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .te-in, .te-in-x, .te-in-up, .te-scale-in { opacity: 1; animation: none; }
  .te-spin, .te-spin-rev, .te-breathe, .hero__scroll-bead, .hero__marquee-track,
  .te-ping > span:first-child { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
