/* =========================================================
   SECTIONS
   ========================================================= */

/* ---------- Loader ---------- */
#loader{
  position:fixed; inset:0; z-index:2000;
  background:var(--navy-deep);
  display:flex; align-items:center; justify-content:center;
  transition:opacity 0.7s var(--ease-premium), visibility 0.7s;
}
#loader.is-hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.loader-mark{
  font-family:var(--font-display); color:var(--white); font-size:1.4rem; letter-spacing:0.02em;
  display:flex; align-items:center; gap:14px;
}
.loader-bar{ width:120px; height:1px; background:rgba(255,255,255,0.15); position:relative; overflow:hidden; }
.loader-bar::after{
  content:''; position:absolute; left:-40%; top:0; bottom:0; width:40%;
  background:var(--gold-bright);
  animation:loaderSweep 1s ease-in-out infinite;
}
@keyframes loaderSweep{ 0%{left:-40%;} 100%{left:100%;} }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:100svh;
  display:flex; align-items:center;
  padding-top:150px;
  padding-bottom:70px;
  background:
    radial-gradient(1100px 620px at 78% 8%, rgba(47,111,126,0.16), transparent 60%),
    radial-gradient(900px 500px at 8% 100%, rgba(198,161,91,0.10), transparent 60%),
    var(--white);
  overflow:hidden;
}
.hero::before{
  content:'';
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(11,31,58,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,31,58,0.045) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(1100px 700px at 70% 20%, black, transparent 75%);
}
.hero-grid{
  position:relative; z-index:2;
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:clamp(2.5rem,5vw,5rem);
  align-items:center;
}
.hero-eyebrow{ margin-bottom:1.6rem; }
.hero h1{ margin-bottom:1.5rem; }
.hero h1 em{ font-style:italic; color:var(--teal); }
.hero-actions{ display:flex; gap:1rem; align-items:center; margin-top:2.4rem; flex-wrap:wrap; }
.hero-proof{ display:flex; gap:2.4rem; margin-top:3.4rem; flex-wrap:wrap; }
.hero-proof-item .stat-num{ font-size:1.9rem; color:var(--navy); }
.hero-proof-item span{ display:block; font-size:0.76rem; color:var(--slate); margin-top:2px; }

.hero-visual{ position:relative; height:520px; }
.hero-dash{
  position:absolute;
  border-radius:20px;
  background:rgba(255,255,255,0.75);
  border:1px solid rgba(11,31,58,0.08);
  backdrop-filter:blur(14px);
  box-shadow:0 30px 60px -25px rgba(11,31,58,0.28);
  padding:1.1rem 1.3rem;
}
.hero-dash-main{
  width:78%; right:0; top:10%;
  background:linear-gradient(165deg,var(--navy),var(--navy-soft));
  color:#fff; border:1px solid rgba(255,255,255,0.1);
}
.hero-dash-main .hero-dash-label{ color:rgba(255,255,255,0.6); }
.hero-dash-label{ font-family:var(--font-mono); font-size:0.68rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--slate); }
.hero-dash-value{ font-family:var(--font-mono); font-size:2rem; font-weight:600; margin-top:6px; }
.hero-node{
  position:absolute; width:auto; left:0;
}
.hero-node-1{ top:0; left:2%; }
.hero-node-2{ bottom:6%; left:8%; width:64%; }
.hero-node-3{ bottom:22%; right:4%; width:52%; }
.node-row{ display:flex; align-items:center; gap:10px; }
.node-dot{ width:8px; height:8px; border-radius:50%; background:var(--teal); flex-shrink:0; }
.node-dot.gold{ background:var(--gold); }
.hero-node-title{ font-size:0.82rem; font-weight:600; color:var(--navy); }
.hero-node-sub{ display:block; font-size:0.72rem; color:var(--slate); }
.hero-lines{ position:absolute; inset:0; z-index:1; overflow:visible; }
.hero-lines path{
  fill:none; stroke:var(--teal); stroke-width:1; opacity:0.35;
  stroke-dasharray:6 6;
}

@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ height:420px; margin-top:1rem; }
}
@media (max-width:640px){
  /* The floating absolute-positioned dashboard cards are a desktop-only
     composition — below 640px we drop the absolute layout entirely and
     stack the same cards as a normal, fully responsive flex column. */
  .hero-visual{ height:auto; display:flex; flex-direction:column; gap:0.85rem; }
  .hero-lines{ display:none; }
  .hero-dash{ position:static; width:100% !important; }
}

/* ---------- Marquee / logo strip ---------- */
.logo-strip{
  padding:2.6rem 0;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.logo-strip-track{
  display:flex; align-items:center; gap:clamp(2.5rem,6vw,5rem);
  overflow:hidden;
}
.logo-strip-item{
  font-family:var(--font-mono); font-size:0.92rem; letter-spacing:0.03em;
  color:var(--slate-light); white-space:nowrap; flex-shrink:0;
}

/* ---------- Stats ---------- */
.stat-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.stat-cell{ background:var(--white); padding:2.4rem 1.6rem; text-align:center; }
.stat-cell .stat-num{ font-size:clamp(2rem,3vw,2.8rem); color:var(--navy); }
.stat-cell .stat-label{ font-size:0.82rem; color:var(--slate); margin-top:0.5rem; }
@media (max-width:820px){ .stat-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------- Section headers ---------- */
.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:2rem; margin-bottom:3.2rem; flex-wrap:wrap; }
.section-head h2{ margin-top:0.9rem; max-width:640px; }

/* ---------- Expertise: horizontal panels ---------- */
.expertise-list{ display:flex; flex-direction:column; }
.expertise-row{
  display:grid; grid-template-columns:70px 1fr auto; align-items:center;
  gap:2rem; padding:2.1rem 0;
  border-top:1px solid var(--line);
  cursor:pointer;
  position:relative;
  transition:padding var(--dur-med) var(--ease-premium);
}
.expertise-list .expertise-row:last-child{ border-bottom:1px solid var(--line); }
.expertise-num{ font-family:var(--font-mono); color:var(--slate-light); font-size:0.95rem; }
.expertise-main h3{ transition:color var(--dur-fast); }
.expertise-row:hover h3, .expertise-row:hover .expertise-num{ color:var(--teal); }
.expertise-desc{
  max-width:0; opacity:0; overflow:hidden;
  transition:max-width var(--dur-med) var(--ease-premium), opacity var(--dur-med), margin var(--dur-med);
  font-size:0.92rem; margin-top:0;
}
.expertise-row.is-open .expertise-desc{ max-width:520px; opacity:1; margin-top:0.8rem; }
.expertise-row.is-open{ padding-bottom:2.4rem; }
.expertise-arrow{
  width:44px; height:44px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  transition:all var(--dur-fast) var(--ease-premium);
}
.expertise-row:hover .expertise-arrow{ background:var(--navy); border-color:var(--navy); color:#fff; }
.expertise-row.is-open .expertise-arrow{ transform:rotate(45deg); background:var(--gold); border-color:var(--gold); color:var(--navy-deep); }
@media (max-width:700px){
  .expertise-row{ grid-template-columns:40px 1fr auto; gap:1rem; }
}

/* ---------- Vertical timeline (process) ---------- */
.process-track{ position:relative; padding-left:2.6rem; }
.process-track::before{
  content:''; position:absolute; left:9px; top:8px; bottom:8px; width:1px;
  background:var(--line);
}
.process-track-fill{
  position:absolute; left:9px; top:8px; width:1px; height:0;
  background:linear-gradient(180deg,var(--teal),var(--gold));
}
.process-step{ position:relative; padding-bottom:3.4rem; }
.process-step:last-child{ padding-bottom:0; }
.process-dot{
  position:absolute; left:-2.6rem; top:2px; width:19px; height:19px; border-radius:50%;
  background:var(--white); border:2px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  transition:border-color var(--dur-med), background var(--dur-med);
}
.process-step.is-active .process-dot{ border-color:var(--gold); background:var(--gold); }
.process-step-label{ font-family:var(--font-mono); font-size:0.72rem; text-transform:uppercase; letter-spacing:0.1em; color:var(--teal); }
.process-step h3{ margin:0.4rem 0 0.6rem; }
.process-step p{ max-width:520px; margin:0; }

/* ---------- Service expanding cards ---------- */
.service-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.service-card{
  position:relative;
  border-radius:var(--radius-lg);
  padding:2.2rem 1.9rem 2.4rem;
  background:var(--white);
  border:1px solid var(--line);
  overflow:hidden;
  min-height:300px;
  display:flex; flex-direction:column;
}
.service-card-icon{
  width:52px; height:52px; border-radius:14px;
  background:var(--soft-gray); color:var(--teal);
  display:flex; align-items:center; justify-content:center; margin-bottom:1.6rem;
  transition:background var(--dur-med), color var(--dur-med), transform var(--dur-med) var(--ease-premium);
}
.service-card-icon svg{ width:24px; height:24px; }
.service-card:hover .service-card-icon{ background:var(--navy); color:var(--gold-bright); transform:scale(1.08) rotate(-6deg); }
.service-card h3{ margin-bottom:0.7rem; }
.service-card p{ font-size:0.92rem; margin-bottom:1.4rem; }
.service-card-list{ margin-top:auto; display:flex; flex-direction:column; gap:0.5rem; }
.service-card-list li{ font-size:0.82rem; color:var(--slate); display:flex; gap:8px; align-items:flex-start; }
.service-card-list li::before{ content:'—'; color:var(--gold); flex-shrink:0; }
.service-card-link{
  margin-top:1.6rem; font-family:var(--font-mono); font-size:0.8rem; display:inline-flex; align-items:center; gap:6px; color:var(--navy);
}
.service-card-link svg{ width:13px; height:13px; transition:transform var(--dur-fast) var(--ease-premium); }
.service-card:hover .service-card-link svg{ transform:translateX(4px); }
@media (max-width:980px){ .service-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .service-grid{ grid-template-columns:1fr; } }

/* ---------- Journey (illustrated flow) ---------- */
.journey{ display:flex; overflow-x:auto; gap:0; scrollbar-width:none; padding-bottom:0.5rem; }
.journey::-webkit-scrollbar{ display:none; }
.journey-step{
  min-width:230px; flex:1;
  padding:0 1.6rem 0 0;
  position:relative;
}
.journey-step:not(:last-child)::after{
  content:'';
  position:absolute; top:22px; right:0; width:calc(1.6rem - 6px); height:1px;
  background:repeating-linear-gradient(90deg,var(--line) 0 6px, transparent 6px 12px);
}
.journey-index{ font-family:var(--font-mono); font-size:0.78rem; color:var(--gold); }
.journey-dot{ width:44px; height:44px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; margin:0.9rem 0 1.2rem; color:var(--teal); background:#fff; }
.journey-dot svg{ width:20px; height:20px; }
.journey-step h4{ margin-bottom:0.5rem; }
.journey-step p{ font-size:0.85rem; margin:0; }
@media (max-width:900px){
  .journey{ flex-direction:column; }
  .journey-step{ padding:0 0 1.8rem 1.6rem; border-left:1px solid var(--line); }
  .journey-step:not(:last-child)::after{ display:none; }
  .journey-dot{ margin-top:-0.5rem; }
}

/* ---------- Learning (dark, apple-style) ---------- */
.learning-promo{
  background:radial-gradient(1000px 500px at 20% 0%, rgba(47,111,126,0.25), transparent 60%), var(--navy-deep);
  border-radius:36px;
  padding:clamp(3rem,6vw,5.5rem);
  position:relative; overflow:hidden;
  color:#fff;
}
.learning-promo::before{
  content:'';
  position:absolute; inset:0;
  background-image:linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}
.learning-inner{ position:relative; z-index:2; display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:center; }
.learning-promo h1, .learning-promo h2, .learning-promo h3, .learning-promo h4{ color:#fff; }
.learning-promo p{ color:rgba(255,255,255,0.7); }
.learning-promo .eyebrow{ color:var(--gold-bright); }
.learning-mock{
  border-radius:18px; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.12);
  padding:1.4rem; backdrop-filter:blur(10px);
}
.learning-mock-bar{ display:flex; gap:6px; margin-bottom:1rem; }
.learning-mock-bar span{ width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,0.18); }
.learning-course{
  display:flex; justify-content:space-between; align-items:center;
  padding:0.9rem 1rem; border-radius:10px; background:rgba(255,255,255,0.04); margin-bottom:0.6rem;
  border:1px solid rgba(255,255,255,0.06);
}
.learning-course-name{ font-size:0.85rem; font-weight:500; }
.learning-course-tag{ font-family:var(--font-mono); font-size:0.66rem; padding:3px 9px; border-radius:999px; background:rgba(198,161,91,0.16); color:var(--gold-bright); }
@media (max-width:900px){ .learning-inner{ grid-template-columns:1fr; } }

/* ---------- Testimonials ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.testi-card{
  border-radius:var(--radius-lg); padding:2rem; background:#fff; border:1px solid var(--line);
  display:flex; flex-direction:column; height:100%;
}
.testi-quote{ font-family:var(--font-display); font-size:1.15rem; line-height:1.45; color:var(--navy); margin-bottom:1.6rem; flex:1; }
.testi-person{ display:flex; align-items:center; gap:12px; }
.testi-avatar{ width:42px; height:42px; border-radius:50%; background:var(--soft-gray); display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-weight:600; color:var(--navy); flex-shrink:0; }
.testi-name{ font-size:0.87rem; font-weight:600; color:var(--navy); }
.testi-role{ font-size:0.78rem; color:var(--slate); }
@media (max-width:980px){ .testi-grid{ grid-template-columns:1fr; } }

/* ---------- FAQ ---------- */
.faq-item{ border-top:1px solid var(--line); }
.faq-list .faq-item:last-child{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; background:none; border:0; text-align:left;
  display:flex; justify-content:space-between; align-items:center; gap:1.5rem;
  padding:1.6rem 0; color:var(--navy); font-family:var(--font-display); font-size:1.15rem; font-weight:500;
}
.faq-q svg{ width:16px; height:16px; flex-shrink:0; color:var(--teal); transition:transform var(--dur-fast) var(--ease-premium); }
.faq-item.is-open .faq-q svg{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height 0.5s var(--ease-premium); }
.faq-a-inner{ padding:0 0 1.8rem; max-width:720px; }

/* ---------- CTA banner ---------- */
.cta-banner{
  border-radius:36px;
  background:linear-gradient(160deg,var(--navy-deep),var(--navy));
  padding:clamp(3.2rem,7vw,6rem);
  text-align:center;
  position:relative; overflow:hidden;
  color:#fff;
}
.cta-banner h1, .cta-banner h2, .cta-banner h3, .cta-banner h4{ color:#fff; }
.cta-banner p{ color:rgba(255,255,255,0.7); }
.cta-banner .eyebrow{ color:var(--gold-bright); }
.cta-banner::before{
  content:'';
  position:absolute; inset:0;
  background-image:linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image:radial-gradient(700px 400px at 50% 30%, black, transparent 75%);
}
.cta-banner-inner{ position:relative; z-index:2; }
.cta-banner .btn-primary{ padding:1.05em 2.4em; font-size:0.92rem; }

/* ---------- Newsletter ---------- */
.newsletter{
  display:flex; gap:0.8rem; flex-wrap:wrap; max-width:460px; margin:1.8rem auto 0;
}
.newsletter input{
  flex:1; min-width:200px;
  padding:0.95em 1.2em; border-radius:999px;
  border:1px solid rgba(255,255,255,0.22); background:rgba(255,255,255,0.05); color:#fff;
  font-family:var(--font-body); font-size:0.9rem;
}
.newsletter input::placeholder{ color:rgba(255,255,255,0.45); }
@media (max-width:480px){
  .newsletter{ flex-direction:column; }
  .newsletter input{ min-width:0; width:100%; }
  .newsletter .btn{ width:100%; justify-content:center; }
}

/* ---------- Form ---------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1.3rem; }
.form-field{ display:flex; flex-direction:column; gap:0.5rem; }
.form-field.full{ grid-column:1/-1; }
.form-field label{ font-family:var(--font-mono); font-size:0.72rem; text-transform:uppercase; letter-spacing:0.08em; color:var(--slate); }
.form-field input, .form-field select, .form-field textarea{
  padding:0.95em 1.1em; border-radius:12px; border:1px solid var(--line); background:#fff;
  font-family:var(--font-body); font-size:0.95rem; color:var(--navy);
  transition:border-color var(--dur-fast);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ border-color:var(--teal); outline:none; }
.form-field textarea{ resize:vertical; min-height:140px; }
@media (max-width:700px){ .form-grid{ grid-template-columns:1fr; } }

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy-deep); color:rgba(255,255,255,0.7); padding:5rem 0 2rem; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr 1.1fr; gap:2.5rem; padding-bottom:3.5rem; }
.footer-brand p{ color:rgba(255,255,255,0.55); font-size:0.88rem; max-width:260px; margin-top:1rem; }
.footer-col-title{ font-family:var(--font-mono); font-size:0.72rem; text-transform:uppercase; letter-spacing:0.1em; color:var(--gold-bright); margin-bottom:1.1rem; display:block; }
.footer-col a{ display:block; font-size:0.87rem; color:rgba(255,255,255,0.6); padding:0.35rem 0; }
.footer-col a:hover{ color:#fff; }
.footer-social{ display:flex; flex-wrap:wrap; gap:0.7rem; margin-top:1.4rem; }
.footer-social a{ width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,0.15); display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ border-color:var(--gold-bright); color:var(--gold-bright); }
.footer-social svg{ width:15px; height:15px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:2rem; border-top:1px solid rgba(255,255,255,0.1); font-size:0.8rem; flex-wrap:wrap; gap:1rem; }
.footer-bottom-links{ display:flex; gap:1.6rem; }
@media (max-width:980px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }

/* ---------- Back to top ---------- */
#back-to-top{
  position:fixed; bottom:28px; right:28px; z-index:500;
  width:48px; height:48px; border-radius:50%;
  background:var(--navy); color:#fff; border:1px solid rgba(255,255,255,0.1);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity var(--dur-fast), transform var(--dur-fast) var(--ease-premium), visibility var(--dur-fast);
  box-shadow:0 14px 30px -12px rgba(11,31,58,0.5);
}
#back-to-top.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
#back-to-top svg{ width:16px; height:16px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero{
  padding:170px 0 5rem;
  background:var(--white);
  position:relative;
  overflow:hidden;
}
.page-hero::before{
  content:'';
  position:absolute; inset:0;
  background-image:linear-gradient(rgba(11,31,58,0.04) 1px, transparent 1px),linear-gradient(90deg,rgba(11,31,58,0.04) 1px, transparent 1px);
  background-size:56px 56px;
  mask-image:radial-gradient(900px 500px at 15% 20%, black, transparent 70%);
}
.page-hero-inner{ position:relative; z-index:2; max-width:760px; }
.breadcrumb{ display:flex; gap:0.5rem; align-items:center; font-family:var(--font-mono); font-size:0.76rem; color:var(--slate); margin-bottom:1.6rem; }
.breadcrumb a:hover{ color:var(--teal); }

/* ---------- Value list (checks) ---------- */
.check-list{ display:grid; grid-template-columns:1fr 1fr; gap:0.9rem 2rem; }
.check-list li{ display:flex; gap:10px; align-items:flex-start; font-size:0.95rem; color:var(--ink); }
.check-list li svg{ width:18px; height:18px; color:var(--teal); flex-shrink:0; margin-top:2px; }
@media (max-width:640px){ .check-list{ grid-template-columns:1fr; } }

/* ---------- Simple two column ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2.5rem,6vw,5.5rem); align-items:center; }
@media (max-width:900px){ .split{ grid-template-columns:1fr; } }

.tag-cloud{ display:flex; flex-wrap:wrap; gap:0.6rem; }

/* ---------- Course product card meta ---------- */
.course-meta{ display:flex; flex-wrap:wrap; gap:0.5rem; margin:0.9rem 0 1.1rem; }
.course-meta span{
  font-family:var(--font-mono); font-size:0.68rem; text-transform:uppercase; letter-spacing:0.05em;
  padding:0.3em 0.7em; border-radius:999px; background:var(--soft-gray); color:var(--slate);
}
.course-objectives{ margin:0 0 1rem; padding-left:0; list-style:none; }
.course-objectives li{ font-size:0.85rem; color:var(--slate); display:flex; gap:8px; align-items:flex-start; margin-bottom:0.4rem; }
.course-objectives li::before{ content:'—'; color:var(--gold); flex-shrink:0; }

/* ---------- Dashboard mockup stat strip ---------- */
.mock-stat-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:0.6rem; margin-bottom:0.9rem; }
.mock-stat{ background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); border-radius:10px; padding:0.8rem 0.9rem; }
.mock-stat-num{ font-family:var(--font-mono); font-weight:600; font-size:1.3rem; color:var(--gold-bright); }
.mock-stat-label{ font-size:0.68rem; color:rgba(255,255,255,0.5); margin-top:2px; }
.mock-progress{ height:5px; border-radius:999px; background:rgba(255,255,255,0.1); margin-top:0.5rem; overflow:hidden; }
.mock-progress-fill{ height:100%; border-radius:999px; background:linear-gradient(90deg,var(--teal-bright),var(--gold-bright)); }

/* ---------- Ecosystem flow diagram ---------- */
.ecosystem-flow{ display:flex; flex-direction:column; align-items:center; gap:0; max-width:620px; margin:0 auto; }
.ecosystem-panel{
  width:100%; border-radius:20px; padding:1.8rem 2rem; text-align:center;
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.12);
}
.ecosystem-panel .eyebrow{ justify-content:center; color:var(--gold-bright); }
.ecosystem-panel h3{ color:#fff; margin-top:0.6rem; }
.ecosystem-panel p{ color:rgba(255,255,255,0.62); margin:0.4rem 0 0; font-size:0.92rem; }
.ecosystem-arrow{ padding:0.7rem 0; color:var(--gold-bright); }
.ecosystem-outcome{ background:linear-gradient(135deg,var(--gold),var(--gold-bright)); border:none; }
.ecosystem-outcome h3{ color:var(--navy-deep); }
.ecosystem-outcome p{ color:rgba(11,31,58,0.72); }

/* ---------- Reusable responsive 3-column grid (replaces one-off inline grid-template-columns) ---------- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; }
@media (max-width:900px){ .grid-3{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .grid-3{ grid-template-columns:1fr; } }

/* Sticky side card (contact page) — only sticky once there's room for a two-column layout */
.sticky-card{ position:static; }
@media (min-width:901px){ .sticky-card{ position:sticky; top:130px; } }

/* ---------- Image panels (supporting photography) ---------- */
.image-panel{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  background-color:var(--soft-gray);
  background-size:cover;
  background-position:center;
  aspect-ratio:4/5;
  border:1px solid var(--line);
}
.image-panel.wide{ aspect-ratio:16/10; }
.image-panel-caption{
  position:absolute; left:0; right:0; bottom:0;
  padding:1.4rem 1.6rem;
  background:linear-gradient(to top, rgba(7,22,48,0.75), transparent);
  color:#fff;
  font-family:var(--font-mono); font-size:0.76rem; letter-spacing:0.03em;
}

/* Full-bleed photo banner with overlay text (home / interior pages) */
.photo-banner{
  position:relative;
  border-radius:36px;
  overflow:hidden;
  min-height:clamp(320px, 42vw, 460px);
  background-color:var(--navy);
  background-size:cover;
  background-position:center;
  display:flex; align-items:flex-end;
  padding:clamp(2rem,4vw,3.5rem);
}
.photo-banner::before{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(7,22,48,0.92) 0%, rgba(7,22,48,0.55) 45%, rgba(7,22,48,0.15) 100%);
}
.photo-banner-content{ position:relative; z-index:2; color:#fff; max-width:640px; }
.photo-banner-content h2{ color:#fff; margin-top:0.8rem; }
.photo-banner-content p{ color:rgba(255,255,255,0.72); margin-top:0.8rem; }
.photo-banner .eyebrow{ color:var(--gold-bright); }

/* =========================================================
   SMALL-SCREEN REFINEMENT PASS (phones, ~480px and under)
   Tighten padding on large dark panels so they never eat
   more space than the viewport actually has to give.
   ========================================================= */
@media (max-width:640px){
  .photo-banner{ align-items:center; }
}
@media (max-width:480px){
  .cta-banner{ padding:2.4rem 1.5rem; border-radius:24px; }
  .learning-promo{ padding:2.4rem 1.5rem; border-radius:24px; }
  .photo-banner{ padding:1.5rem; border-radius:24px; min-height:280px; }
  .mega-feature{ padding:1.2rem; }
  .stat-cell{ padding:1.6rem 1.1rem; }
  .service-card{ padding:1.7rem 1.4rem 1.9rem; min-height:0; }
  .testi-card{ padding:1.5rem; }
  .expertise-row{ padding:1.6rem 0; }
  .journey-step{ min-width:0; }
  .hero{ padding-top:130px; }
  .hero-dash{ padding:0.9rem 1rem; }
  .page-hero{ padding:150px 0 3.5rem; }
  .footer-top{ gap:2.5rem 1.5rem; padding-bottom:2.5rem; }
  .wrap{ padding-left:1.1rem; padding-right:1.1rem; }
  .form-field input, .form-field select, .form-field textarea{ padding:0.85em 1em; }
  .btn{ padding:0.85em 1.5em; font-size:0.8rem; }
}

/* Belt-and-braces: nothing on the page should ever force horizontal scroll */
html, body{ max-width:100%; overflow-x:hidden; }
img, svg, .image-panel, .photo-banner, .learning-mock, .hero-visual{ max-width:100%; }
