
/* ══════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════ */
:root {
  --ink:        #0D0D0D;
  --paper:      #F7F4EE;
  --card:       #FDFBF7;
  --white:      #FFFFFF;
  --gold:       #C9A84C;
  --gold-lt:    #E8D5A3;
  --teal:       #1A5C6B;
  --teal-lt:    #2A7A8C;
  --teal-dark:  #0D3A44;
  --muted:      #6B6560;
  --rule:       #D8D2C8;
  --nav-h:      68px;
  --radius:     6px;
}

/* ══════════════════════════════════════
   RESET
══════════════════════════════════════ */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: auto; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; object-fit: cover; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ══════════════════════════════════════
   PAGE TRANSITION VEIL
══════════════════════════════════════ */
#veil {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--paper);
  opacity: 0; pointer-events: none;
  transition: opacity 360ms ease;
}
#veil.on { opacity: 1; pointer-events: all; }

/* ══════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity  .6s cubic-bezier(.22,1,.36,1),
    transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.visible { opacity: 1; transform: none; }
/* Fallback: if JS hasn't run yet, still show content */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  background: rgba(247,244,238,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  transition: box-shadow .3s;
}
#nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.07); }
.nav-logo {
  display: flex; align-items: center;
  transition: opacity .2s;
  flex-shrink: 0;
}
.nav-logo:hover { opacity: .85; }
.nav-logo img {
  height: 50px; width: auto;
  display: block; object-fit: contain;
}
.nav-logo:hover { color: var(--teal); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: .78rem; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal); }
.nav-cta {
  background: var(--teal); color: #fff;
  padding: .48rem 1.3rem; border-radius: 2px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s;
}
.nav-cta:hover { background: var(--teal-lt); }
/* Hamburger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; margin: -8px;
  background: none; border: none; cursor: pointer;
  z-index: 510; position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.burger span {
  width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: all .3s; display: block;
  pointer-events: none;
}
.mobile-nav {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; z-index: 495;
  background: var(--paper);
  border-bottom: 2px solid var(--teal);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  padding: 1.2rem 5%; flex-direction: column; gap: .8rem;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav a {
  font-size: .95rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); padding: .7rem 0;
  border-bottom: 1px solid var(--rule);
  display: block; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:active,
.mobile-nav a:hover { color: var(--teal); }

/* ══════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════ */
section { padding: 4rem 5% 4.5rem; }
.sec-header { margin-bottom: 2rem; }
.sec-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'DM Mono', monospace;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .5rem;
}
.sec-label::before { content: '—'; }
h2.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 900; line-height: 1.1;
  margin-bottom: .8rem;
}
.sec-sub {
  font-size: .95rem; color: var(--muted);
  line-height: 1.72; max-width: 520px;
  margin-bottom: 2rem;
}
.btn-primary {
  display: inline-block;
  background: var(--ink); color: #fff;
  padding: .82rem 2rem; border-radius: 2px;
  font-size: .84rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--teal); transform: translateY(-2px); }
.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--ink); color: var(--ink);
  padding: .82rem 2rem; border-radius: 2px;
  font-size: .84rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  transition: all .2s;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  padding: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
.hero-left {
  background: var(--teal-dark);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 3rem) 6% 3rem;
  position: relative; overflow: hidden;
}
.hero-left::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal-lt));
}
.hero-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201,168,76,.12) 0%, transparent 50%),
    repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,.015) 41px);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: 'DM Mono', monospace;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.hero-eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--gold); }
h1.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 900; line-height: 1.06;
  color: #fff; margin-bottom: 1rem;
  position: relative; z-index: 1;
}
h1.hero-h1 em { font-style: italic; color: var(--gold-lt); }
.hero-bio {
  font-size: .95rem; line-height: 1.75;
  color: rgba(255,255,255,.65);
  max-width: 440px; margin-bottom: 1.6rem;
  position: relative; z-index: 1;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-hero-primary {
  display: inline-block;
  background: var(--gold); color: var(--ink);
  padding: .85rem 2.2rem; border-radius: 2px;
  font-size: .84rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  transition: all .2s;
}
.btn-hero-primary:hover { background: var(--gold-lt); transform: translateY(-2px); }
.btn-hero-outline {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,.35); color: rgba(255,255,255,.85);
  padding: .85rem 2.2rem; border-radius: 2px;
  font-size: .84rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  transition: all .2s;
}
.btn-hero-outline:hover { border-color: #fff; color: #fff; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 2rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  position: relative; z-index: 1;
}
.h-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 900; color: #fff; line-height: 1;
}
.h-stat-num span { color: var(--gold); }
.h-stat-label { font-size: .73rem; color: rgba(255,255,255,.5); margin-top: .25rem; letter-spacing: .04em; }

/* hero right — full image */
.hero-right {
  position: relative; overflow: hidden;
}
.hero-right img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.75) saturate(1.1);
}
.hero-right-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,58,68,.5) 0%, transparent 60%);
}
.hero-badges {
  position: absolute; bottom: 2.5rem; left: 2rem;
  display: flex; gap: .6rem; flex-wrap: wrap;
}
.h-badge {
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  padding: .4rem .9rem; border-radius: 2px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; color: var(--teal-dark);
}

/* floating chips on hero right */
.hero-chip {
  position: absolute;
  background: #fff; border-radius: 40px;
  padding: .6rem 1.1rem;
  display: flex; align-items: center; gap: .5rem;
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
  font-size: .8rem; font-weight: 600;
  white-space: nowrap; z-index: 2;
}
.chip-dot { width: 9px; height: 9px; border-radius: 50%; }
.chip-dot.green { background: #4CAF50; }
.chip-dot.gold  { background: var(--gold); }
.hero-chip.c1 { top: 18%; right: 8%; animation: chipFloat 3s ease-in-out infinite; }
.hero-chip.c2 { bottom: 25%; left: 5%;  animation: chipFloat 3s ease-in-out infinite 1.5s; }
@keyframes chipFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
#about { background: var(--white); border-bottom: 2px solid var(--rule); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 3rem; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  height: 440px; border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}
.about-badge {
  position: absolute; bottom: -1.2rem; right: -1.2rem;
  background: var(--gold); color: #fff;
  padding: 1.2rem; text-align: center;
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(201,168,76,.35);
}
.ab-years { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; line-height: 1; }
.ab-label { font-size: .68rem; letter-spacing: .06em; opacity: .9; }
.about-text p { color: var(--muted); line-height: 1.75; margin-bottom: .9rem; font-size: .95rem; }
.about-values { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.val-tag {
  border: 1px solid var(--rule); padding: .38rem 1rem;
  border-radius: 20px; font-size: .77rem; color: var(--muted);
  letter-spacing: .04em;
  transition: border-color .2s, color .2s;
}
.val-tag:hover { border-color: var(--teal); color: var(--teal); }

/* ══════════════════════════════════════
   SKILLS
══════════════════════════════════════ */
#skills { background: var(--ink); color: #fff; border-top: none; }
#skills .sec-label { color: var(--gold); }
#skills .sec-sub   { color: rgba(255,255,255,.45); }
.skills-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5px; background: rgba(255,255,255,.07);
}
.sk-card {
  background: #141414; padding: 1.6rem 1.5rem;
  position: relative; overflow: hidden;
  transition: background .25s;
}
.sk-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.sk-card:hover { background: #1a1a1a; }
.sk-card:hover::before { transform: scaleX(1); }
.sk-img {
  width: 100%; height: 120px;
  border-radius: 3px; margin-bottom: .8rem;
  object-fit: cover; opacity: .75;
  transition: opacity .3s;
}
.sk-card:hover .sk-img { opacity: .95; }
.sk-icon {
  font-size: 1.4rem; width: 40px; height: 40px;
  background: rgba(201,168,76,.1); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .7rem;
}
.sk-card h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; margin-bottom: .6rem; }
.sk-card p  { font-size: .84rem; color: rgba(255,255,255,.48); line-height: 1.7; }
.sk-bars { margin-top: 1.2rem; display: flex; flex-direction: column; gap: .6rem; }
.sk-bar-row { font-size: .74rem; color: rgba(255,255,255,.5); }
.sk-bar-row span { display: block; margin-bottom: .28rem; }
.sk-track { height: 2px; background: rgba(255,255,255,.1); border-radius: 1px; overflow: hidden; }
.sk-fill {
  height: 100%; background: linear-gradient(90deg, var(--gold), var(--teal-lt));
  border-radius: 1px; transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s cubic-bezier(.22,1,.36,1);
}
.sk-fill.animate { transform: scaleX(1); }

/* ══════════════════════════════════════
   JOURNEY
══════════════════════════════════════ */
#journey { background: var(--paper); border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule); }
.journey-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.timeline { position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 8px;
  width: 1px; height: calc(100% - 16px);
  background: linear-gradient(to bottom, var(--gold), var(--teal));
}
.tl-item { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--gold);
  flex-shrink: 0; margin-top: 3px; position: relative; z-index: 1;
  transition: border-color .2s;
}
.tl-dot.alt { border-color: var(--teal); }
.tl-year { font-family: 'DM Mono', monospace; font-size: .68rem; color: var(--gold); letter-spacing: .1em; margin-bottom: .2rem; }
.tl-year.alt { color: var(--teal); }
.tl-content h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: .18rem; }
.tl-org  { font-size: .8rem; color: var(--teal); font-weight: 600; margin-bottom: .45rem; }
.tl-desc { font-size: .86rem; color: var(--muted); line-height: 1.72; }
.tl-tags { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .65rem; }
.tl-tag  { font-size: .68rem; padding: .2rem .6rem; border-radius: 2px; background: rgba(26,92,107,.08); color: var(--teal); }
/* Journey image panel */
.journey-img-panel { position: sticky; top: calc(var(--nav-h) + 2rem); }
.journey-img-panel img {
  width: 100%; height: 280px; border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
  margin-bottom: 1.2rem;
}
.journey-quote {
  background: var(--teal-dark); color: #fff;
  padding: 2rem; border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.journey-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-style: italic; line-height: 1.65;
  color: rgba(255,255,255,.85);
}
.journey-quote cite { display: block; font-size: .75rem; margin-top: .75rem; color: var(--gold-lt); font-style: normal; }

/* ══════════════════════════════════════
   TRAINING & DEVELOPMENT
══════════════════════════════════════ */
#training { background: var(--white); }
.training-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 2rem; }
.training-big { }
.training-big .impact-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem,7vw,6rem);
  font-weight: 900; line-height: .9; color: var(--ink);
}
.training-big .impact-num span { color: var(--gold); }
.training-big p { font-size: .95rem; color: var(--muted); line-height: 1.75; margin-top: .8rem; margin-bottom: 1.2rem; }
.training-img { position: relative; }
.training-img img {
  width: 100%; height: 300px; border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
}
.training-img-badge {
  position: absolute; top: -1rem; right: -1rem;
  background: var(--teal); color: #fff;
  padding: 1rem 1.25rem; border-radius: 3px;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 900; text-align: center; line-height: 1.1;
}
.training-img-badge small { display: block; font-family: 'DM Sans', sans-serif; font-size: .7rem; font-weight: 400; opacity: .8; }
.t-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.4rem; }
.t-card {
  border: 1px solid var(--rule); padding: 1.4rem;
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.t-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,.08); }
.t-card-img { width: 100%; height: 120px; object-fit: cover; border-radius: 3px; margin-bottom: 1rem; }
.t-card-icon { font-size: 1.6rem; margin-bottom: .8rem; }
.t-card h3 { font-family: 'Playfair Display', serif; font-size: 1rem; margin-bottom: .4rem; }
.t-card p  { font-size: .83rem; color: var(--muted); line-height: 1.65; }
.t-metric  { font-family: 'DM Mono', monospace; font-size: .68rem; color: var(--gold); margin-top: .65rem; }
/* Programs table */
.prog-section { margin-top: 2rem; }
.prog-section h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 1rem; }
.prog-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .85rem 0; border-bottom: 1px solid var(--rule);
}
.prog-row:first-of-type { border-top: 1px solid var(--rule); }
.prog-name   { font-weight: 500; font-size: .92rem; }
.prog-detail { font-size: .77rem; color: var(--muted); margin-top: .15rem; }
.prog-badge  {
  font-family: 'DM Mono', monospace; font-size: .67rem;
  background: rgba(26,92,107,.08); color: var(--teal);
  padding: .28rem .75rem; border-radius: 2px; white-space: nowrap;
}

/* ══════════════════════════════════════
   PROJECTS
══════════════════════════════════════ */
#projects { background: var(--paper); border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule); }
.proj-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.proj-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.proj-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(0,0,0,.1); }
.proj-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.proj-img {
  width: 100%; height: 220px; object-fit: cover;
  filter: brightness(.9);
  transition: filter .3s;
}
.proj-card.featured .proj-img { height: 100%; min-height: 280px; }
.proj-card:hover .proj-img { filter: brightness(.95); }
.proj-body { padding: 1.5rem; }
.proj-type { font-family: 'DM Mono', monospace; font-size: .67rem; color: var(--teal); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .45rem; }
.proj-body h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: .65rem; }
.proj-body p  { font-size: .84rem; color: var(--muted); line-height: 1.68; }
.proj-nums { display: flex; gap: 1.5rem; margin-top: .9rem; flex-wrap: wrap; }
.pn-num { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 900; color: var(--teal); line-height: 1; }
.pn-lbl { font-size: .71rem; color: var(--muted); margin-top: .15rem; }

/* ══════════════════════════════════════
   CERTIFICATIONS
══════════════════════════════════════ */
#certifications { background: var(--white); border-bottom: 2px solid var(--rule); }
.cert-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.cert-card {
  border: 1px solid var(--rule); padding: 1.4rem 1.2rem;
  text-align: center; border-radius: var(--radius);
  transition: all .25s;
  background: var(--card);
}
.cert-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(201,168,76,.12); }
.cert-icon { font-size: 1.8rem; margin-bottom: .5rem; display: block; }
.cert-card h4 { font-family: 'Playfair Display', serif; font-size: .95rem; margin-bottom: .2rem; }
.cert-card p  { font-size: .75rem; color: var(--muted); }
.cert-year    { font-family: 'DM Mono', monospace; font-size: .67rem; color: var(--gold); margin-top: .5rem; }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
#testimonials { background: var(--teal-dark); color: #fff; }
#testimonials .sec-label { color: var(--gold-lt); }
#testimonials h2.sec-title { color: #fff; }
#testimonials .sec-sub { color: rgba(255,255,255,.45); }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.testi-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem; border-radius: var(--radius);
  transition: background .2s;
}
.testi-card:hover { background: rgba(255,255,255,.08); }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; margin-bottom: .8rem;
  border: 2px solid rgba(201,168,76,.4);
}
.testi-quote-mark { font-family: 'Playfair Display', serif; font-size: 2.8rem; line-height: .5; color: var(--gold); margin-bottom: .6rem; display: block; }
.testi-card p { font-size: .85rem; color: rgba(255,255,255,.75); line-height: 1.72; }
.testi-author { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.08); }
.testi-name { font-weight: 600; font-size: .87rem; }
.testi-role { font-size: .74rem; color: var(--gold-lt); margin-top: .15rem; }

/* ══════════════════════════════════════
   BLOG / INSIGHTS
══════════════════════════════════════ */
#blog { background: var(--paper); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.blog-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.09); }
.blog-img { width: 100%; height: 180px; object-fit: cover; transition: filter .3s; }
.blog-card:hover .blog-img { filter: brightness(.9); }
.blog-body { padding: 1.5rem; }
.blog-cat { font-family: 'DM Mono', monospace; font-size: .65rem; color: var(--teal); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .4rem; }
.blog-body h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; margin-bottom: .5rem; line-height: 1.3; }
.blog-body p  { font-size: .82rem; color: var(--muted); line-height: 1.65; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--rule); font-size: .73rem; color: var(--muted); }
.blog-read { color: var(--teal); font-weight: 600; transition: letter-spacing .2s; }
.blog-card:hover .blog-read { letter-spacing: .04em; }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
#contact { background: var(--teal-dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info .sec-label { color: var(--gold-lt); }
.contact-info h2.sec-title { color: #fff; }
.contact-info-desc { color: rgba(255,255,255,.55); line-height: 1.75; margin-bottom: 1.2rem; }
.contact-links { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.5rem; }
.c-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem; border: 1px solid rgba(255,255,255,.1);
  border-radius: 3px; color: rgba(255,255,255,.8);
  font-size: .87rem; transition: border-color .2s, background .2s;
}
.c-link:hover { border-color: var(--gold); background: rgba(255,255,255,.04); }
.c-link-icon { font-size: 1.1rem; flex-shrink: 0; }
.contact-img { border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
.contact-img img { width: 100%; height: 200px; object-fit: cover; opacity: .6; }
/* Form */
.contact-form { display: flex; flex-direction: column; gap: .9rem; }
.contact-form-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 2rem;
}
.f-group { display: flex; flex-direction: column; gap: .35rem; }
.f-group label { font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.f-group input,
.f-group textarea,
.f-group select {
  padding: .85rem 1rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 3px; color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: .88rem;
  outline: none; transition: border-color .2s;
  -webkit-appearance: none;
}
.f-group input::placeholder,
.f-group textarea::placeholder { color: rgba(255,255,255,.25); }
.f-group input:focus,
.f-group textarea:focus,
.f-group select:focus { border-color: var(--gold); }
.f-group select option { background: var(--teal-dark); }
.f-group textarea { resize: vertical; min-height: 120px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.btn-submit {
  background: var(--gold); color: var(--ink);
  padding: .9rem; border: none; border-radius: 3px;
  font-family: 'DM Sans', sans-serif; font-size: .84rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s, transform .15s;
  width: 100%;
}
.btn-submit:hover { background: var(--gold-lt); transform: translateY(-1px); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: #080E10; color: rgba(255,255,255,.5);
  padding: 2.5rem 5%;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: #fff;
  margin-bottom: .75rem; display: block;
}
.footer-tagline { font-size: .82rem; line-height: 1.7; max-width: 240px; }
.footer-col h4 {
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  margin-bottom: 1rem;
}
.footer-col a { display: block; font-size: .82rem; margin-bottom: .5rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: .75rem; }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; transition: border-color .2s, background .2s;
}
.footer-socials a:hover { border-color: var(--gold); background: rgba(201,168,76,.1); }

/* ══════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════ */
#back-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 400;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: 0 4px 16px rgba(26,92,107,.35);
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  cursor: pointer; border: none;
}
#back-top.show { opacity: 1; transform: translateY(0); }
#back-top:hover { background: var(--teal-lt); }

/* ══════════════════════════════════════
   RESPONSIVE — ALL DEVICES
   1440px+ Desktop · 1024px Laptop
   860px  Tablet  · 560px  Mobile
   400px  Small   · 360px  Tiny
══════════════════════════════════════ */

@media (min-width: 1440px) {
  body { font-size: 17px; }
  section { padding: 5rem 8% 5.5rem; }
  #nav { padding: 0 8%; }
  .hero-left { padding-left: 8%; padding-right: 6%; }
}
@media (max-width: 1024px) {
  section { padding: 4rem 5% 4.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .skills-grid { grid-template-columns: repeat(2,1fr); }
  .cert-grid   { grid-template-columns: repeat(4,1fr); }
  .proj-card.featured { grid-column: span 2; }
}
@media (max-width: 860px) {
  section { padding: 4rem 5% 4.5rem; }
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: calc(var(--nav-h) + 2.5rem) 6% 3rem; }
  .hero-right { height: 55vw; min-height: 240px; max-height: 380px; }
  .hero-chip.c1,.hero-chip.c2 { display: none; }
  .hero-stats { gap: 2rem; }
  .about-grid,.journey-layout,.training-hero,.contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-wrap img { height: 300px; }
  .about-badge { bottom: -1rem; right: -1rem; padding: 1rem; }
  .skills-grid { grid-template-columns: repeat(2,1fr); }
  .sk-img { height: 110px; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-card.featured { grid-column: span 1; display: block; }
  .proj-card.featured .proj-img { height: 200px; }
  .cert-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; }
  .testi-grid { grid-template-columns: 1fr; }
  .blog-grid  { grid-template-columns: repeat(2,1fr); }
  .nav-links  { display: none; }
  .burger     { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .journey-img-panel { display: none; }
  .t-cards { grid-template-columns: repeat(2,1fr); }
  .training-img img { height: 260px; }
  .prog-row { flex-wrap: wrap; gap: .5rem; }
}
@media (max-width: 560px) {
  section { padding: 2rem 5% 2.8rem; }
  h1.hero-h1  { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  h2.sec-title { font-size: clamp(1.45rem, 7vw, 1.9rem); }
  .hero-left { padding: calc(var(--nav-h) + 2rem) 5% 2.5rem; }
  .hero-stats { gap: 1.2rem; flex-wrap: wrap; }
  .h-stat-num { font-size: 1.7rem; }
  .hero-badges { gap: .4rem; bottom: 1rem; left: 1rem; }
  .h-badge { font-size: .63rem; padding: .28rem .6rem; }
  .hero-btns  { flex-direction: column; gap: .7rem; }
  .btn-hero-primary,.btn-hero-outline { text-align: center; padding: .72rem 1.4rem; font-size: .8rem; }
  .about-img-wrap img { height: 240px; }
  .about-badge { bottom: -.5rem; right: -.5rem; padding: .75rem; }
  .ab-years { font-size: 1.7rem; }
  .skills-grid { grid-template-columns: 1fr; }
  .sk-img  { height: 130px; }
  .cert-grid  { grid-template-columns: repeat(2,1fr); gap: .7rem; }
  .cert-card  { padding: 1.1rem .9rem; }
  .testi-grid,.blog-grid { grid-template-columns: 1fr; }
  .t-cards    { grid-template-columns: 1fr; }
  .proj-nums  { gap: 1rem; flex-wrap: wrap; }
  .f-row      { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-tagline { max-width: 100%; }
  .footer-bottom  { flex-direction: column; align-items: flex-start; }
  .journey-quote p { font-size: .95rem; }
  .impact-num { font-size: clamp(3.2rem,14vw,5.5rem); }
  .training-img-badge { top: .5rem; right: .5rem; font-size: 1.1rem; padding: .75rem .9rem; }
  #nav { padding: 0 4%; }
  .nav-logo { font-size: 1rem; }
  .nav-cta  { display: none; }
  .prog-row { align-items: flex-start; }
  .prog-badge { align-self: flex-start; }
  .tl-item { gap: 1rem; }
}
@media (max-width: 400px) {
  section { padding: 1.8rem 4% 2.5rem; }
  .hero-right { height: 200px; }
  .cert-grid  { grid-template-columns: 1fr 1fr; }
  .about-img-wrap img { height: 200px; }
  .sk-bars { display: none; }
  .hero-stats { gap: .8rem; }
  .h-stat-num { font-size: 1.5rem; }
}
@media (min-width: 1920px) {
  section { padding: 3rem 12% 4rem; }
  #nav { padding: 0 12%; }
}
@media (max-width: 812px) and (orientation: landscape) {
  #hero { min-height: auto; }
  .hero-left { padding-top: calc(var(--nav-h) + 1.5rem); padding-bottom: 1.8rem; }
  section { padding: 2rem 5% 2.5rem; }
  .hero-right { height: 100%; min-height: 280px; }
}

/* ══════════════════════════════════════
   WORDPRESS HELPERS
══════════════════════════════════════ */
.wp-caption { width: auto !important; }
.wp-caption-text { font-size: .8rem; color: var(--muted); text-align: center; margin-top: .4rem; }
.alignleft   { float: left; margin: 0 1.5rem 1rem 0; }
.alignright  { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto; }
.entry-content h2,.entry-content h3 { font-family: 'Playfair Display',serif; margin: 1.5rem 0 .6rem; }
.entry-content p  { color: var(--muted); margin-bottom: 1rem; line-height: 1.8; }
.entry-content ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.entry-content a  { color: var(--teal); text-decoration: underline; }
.page-content,.single-post { padding-top: calc(var(--nav-h) + 2.5rem); }
/* Timeline current badge */
.tl-current-badge { background: var(--gold); color: #fff; font-size: .6rem; padding: .15rem .5rem; border-radius: 2px; margin-left: .4rem; vertical-align: middle; text-transform: uppercase; letter-spacing: .06em; }
/* Testi stars */
.testi-stars { color: var(--gold); font-size: .85rem; margin: .4rem 0; }
/* Nav training link */
.nav-training-link { color: var(--gold) !important; font-weight: 600 !important; }
/* T card link */
.t-card-link { display: inline-block; margin-top: .8rem; font-size: .78rem; color: var(--teal); font-weight: 600; letter-spacing: .04em; }
.t-card-link:hover { color: var(--gold); }
/* Contact link aliases */
.contact-link { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid rgba(255,255,255,.1); border-radius: 3px; color: rgba(255,255,255,.8); font-size: .87rem; transition: border-color .2s, background .2s; }
.contact-link:hover { border-color: var(--gold); background: rgba(255,255,255,.04); }
.contact-link-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ══════════════════════════════════════
   TRAINING OFFERINGS PAGE
══════════════════════════════════════ */
/* TRAINING PAGE HERO — matches homepage split layout */
.tp-page-header {
  min-height: 100vh;
  padding: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
  margin-top: 0;
}

/* LEFT — dark teal panel identical to homepage hero-left */
.tp-hero-left {
  background: var(--teal-dark);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 3rem) 6% 3rem;
  position: relative; overflow: hidden;
}
.tp-hero-left::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal-lt));
}
.tp-hero-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201,168,76,.12) 0%, transparent 50%),
    repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,.015) 41px);
}
.tp-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: 'DM Mono', monospace;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.tp-eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--gold); }
.tp-typing-wrap {
  display: inline-flex; align-items: center; gap: .5rem;
  position: relative; z-index: 1; margin-bottom: 1rem;
}
.tp-typing {
  font-family: 'DM Mono', monospace;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
  min-width: 220px;
}
.tp-typing-cursor {
  display: inline-block; width: 2px; height: 1em;
  background: var(--gold); vertical-align: middle;
  animation: tpBlink .75s step-end infinite;
}
@keyframes tpBlink { 0%,100%{opacity:1} 50%{opacity:0} }
h1.tp-hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
  font-weight: 900; line-height: 1.06;
  color: #fff; margin-bottom: 1rem;
  position: relative; z-index: 1;
}
h1.tp-hero-h1 em { font-style: italic; color: var(--gold-lt); }
.tp-hero-sub {
  font-size: .95rem; line-height: 1.75;
  color: rgba(255,255,255,.65);
  max-width: 440px; margin-bottom: 1.6rem;
  position: relative; z-index: 1;
}
.tp-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }

/* Stats bar */
.tp-header-stats {
  display: flex; gap: 2.5rem; margin-top: 2rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  position: relative; z-index: 1;
}
.tp-hstat { display: flex; flex-direction: column; gap: .2rem; }
.tp-hstat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 900;
  color: #fff; line-height: 1;
}
.tp-hstat-num span { color: var(--gold); }
.tp-hstat-label { font-size: .73rem; color: rgba(255,255,255,.5); margin-top: .25rem; letter-spacing: .04em; }

/* RIGHT — full-bleed image panel */
.tp-hero-right {
  position: relative; overflow: hidden;
}
.tp-hero-right img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.72) saturate(1.15);
}
.tp-hero-right-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,58,68,.45) 0%, transparent 60%);
}

/* Floating chips — same as homepage */
.tp-chip {
  position: absolute;
  background: #fff; border-radius: 40px;
  padding: .6rem 1.1rem;
  display: flex; align-items: center; gap: .5rem;
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
  font-size: .8rem; font-weight: 600;
  white-space: nowrap; z-index: 2;
}
.tp-chip.c1 { top: 20%; right: 8%; animation: chipFloat 3s ease-in-out infinite; }
.tp-chip.c2 { bottom: 28%; left: 6%; animation: chipFloat 3s ease-in-out infinite 1.5s; }
.tp-chip.c3 { top: 55%; right: 10%; animation: chipFloat 3s ease-in-out infinite .8s; }

/* Course count badge */
.tp-hero-badges {
  position: absolute; bottom: 2.5rem; left: 2rem;
  display: flex; gap: .6rem; flex-wrap: wrap; z-index: 2;
}
.tp-hero-badge {
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  padding: .4rem .9rem; border-radius: 2px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; color: var(--teal-dark);
}
.tp-header-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0; }

/* WHY */
.tp-why { background: var(--white); border-bottom: 2px solid var(--rule); }
.tp-why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 1.5rem; }
.tp-why-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem; transition: box-shadow .2s, transform .2s; }
.tp-why-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.tp-why-card > span { font-size: 1.8rem; display: block; margin-bottom: .7rem; }
.tp-why-card h3 { font-family: 'Playfair Display',serif; font-size: 1rem; margin-bottom: .4rem; }
.tp-why-card p  { font-size: .82rem; color: var(--muted); line-height: 1.65; }

/* FILTER */
.tp-filter { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.tp-filter-btn {
  padding: .5rem 1.1rem; border-radius: 2px;
  border: 1.5px solid var(--rule); background: var(--white);
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  cursor: pointer; transition: all .2s;
  color: var(--muted);
}
.tp-filter-btn:hover,.tp-filter-btn.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.tp-filter-btn.hidden-cat { display: none; }

/* COURSE CARDS GRID */
.tp-courses-section { background: var(--paper); border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule); }
.tp-courses-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.tp-course-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.tp-course-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(0,0,0,.1); border-color: var(--teal); }
.tp-course-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1.2fr 1fr; }
.tp-course-card.hidden  { display: none; }
.tp-card-img-wrap { position: relative; overflow: hidden; }
.tp-card-img-wrap img { width: 100%; height: 220px; object-fit: cover; transition: transform .4s; }
.tp-course-card.featured .tp-card-img-wrap img { height: 100%; min-height: 320px; }
.tp-course-card:hover .tp-card-img-wrap img { transform: scale(1.04); }
.tp-featured-badge { position: absolute; top: 1rem; left: 1rem; background: var(--gold); color: var(--ink); font-size: .68rem; font-weight: 700; padding: .28rem .75rem; border-radius: 2px; letter-spacing: .04em; }
.tp-cat-badge { position: absolute; top: 1rem; right: 1rem; background: rgba(13,58,68,.85); color: #fff; font-size: .67rem; font-weight: 600; padding: .25rem .7rem; border-radius: 2px; backdrop-filter: blur(4px); }
.tp-card-body { padding: 1.8rem; display: flex; flex-direction: column; }
.tp-card-icon { font-size: 1.6rem; margin-bottom: .7rem; }
.tp-card-body h3 { font-family: 'Playfair Display',serif; font-size: 1.2rem; margin-bottom: .5rem; line-height: 1.2; }
.tp-card-body > p { font-size: .85rem; color: var(--muted); line-height: 1.68; margin-bottom: .8rem; flex: 1; }
.tp-card-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.tp-meta-chip { background: rgba(26,92,107,.07); color: var(--teal); font-size: .7rem; font-weight: 600; padding: .3rem .7rem; border-radius: 2px; }
.tp-outcomes { margin-bottom: .8rem; }
.tp-outcomes strong { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: .4rem; }
.tp-outcomes ul { list-style: none; padding: 0; }
.tp-outcomes li { font-size: .82rem; color: var(--muted); padding: .2rem 0; display: flex; align-items: flex-start; gap: .4rem; line-height: 1.5; }
.tp-outcomes li span { color: var(--teal); font-weight: 700; flex-shrink: 0; }
.tp-prereqs { font-size: .78rem; color: var(--muted); background: rgba(26,92,107,.05); padding: .6rem .8rem; border-radius: 3px; border-left: 2px solid var(--teal); margin-bottom: 1rem; }
.tp-prereqs strong { color: var(--teal); }
.tp-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--rule); margin-top: auto; }
.tp-price { font-family: 'Playfair Display',serif; font-size: 1.5rem; font-weight: 900; color: var(--teal); }
.tp-card-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.btn-outline-sm { font-size: .75rem; font-weight: 600; padding: .5rem 1rem; border: 1.5px solid var(--teal); color: var(--teal); border-radius: 2px; transition: all .2s; white-space: nowrap; }
.btn-outline-sm:hover { background: var(--teal); color: #fff; }
.btn-enroll { background: var(--gold); color: var(--ink); font-size: .78rem; font-weight: 700; padding: .55rem 1.2rem; border-radius: 2px; letter-spacing: .04em; transition: background .2s, transform .15s; white-space: nowrap; }
.btn-enroll:hover { background: var(--gold-lt); transform: translateY(-1px); }

/* BESPOKE CTA */
.tp-bespoke { background: var(--ink); color: #fff; text-align: center; }
.tp-bespoke-inner { max-width: 640px; margin: 0 auto; }
.tp-bespoke h2 { font-family: 'Playfair Display',serif; font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 900; color: #fff; margin-bottom: .8rem; }
.tp-bespoke p { font-size: .92rem; color: rgba(255,255,255,.55); line-height: 1.75; margin-bottom: 1.5rem; }
.tp-bespoke-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ENQUIRY MODAL */
.tp-modal {
  position: fixed; inset: 0; z-index: 6000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.tp-modal[hidden] { display: none; }
.tp-modal-inner {
  background: var(--paper); border-radius: var(--radius);
  padding: 2.5rem; max-width: 520px; width: 100%;
  position: relative; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,.2);
}
.tp-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; font-size: 1.2rem;
  cursor: pointer; color: var(--muted); padding: .4rem;
  line-height: 1;
}
.tp-modal-close:hover { color: var(--ink); }
.tp-modal h3 { font-family: 'Playfair Display',serif; font-size: 1.4rem; margin-bottom: .4rem; }
.tp-modal-backdrop { position: fixed; inset: 0; z-index: 5999; background: rgba(0,0,0,.45); backdrop-filter: blur(2px); }
.tp-modal-backdrop[hidden] { display: none; }

/* SINGLE COURSE */
.sc-hero { position: relative; height: 420px; margin-top: var(--nav-h); overflow: hidden; }
.sc-hero-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.sc-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(13,58,68,.85) 50%, transparent); }
.sc-hero-content { position: absolute; inset: 0; padding: 2.5rem 8%; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; max-width: 760px; }
.sc-back { font-size: .8rem; color: var(--gold-lt); margin-bottom: 1rem; align-self: flex-start; transition: color .2s; }
.sc-back:hover { color: var(--gold); }
.sc-badge-large { font-size: 2.5rem; margin-bottom: .5rem; }
.sc-hero-content h1 { font-family: 'Playfair Display',serif; font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 900; line-height: 1.1; margin-bottom: 1rem; }
.sc-meta-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.sc-meta-pills span { background: rgba(255,255,255,.1); backdrop-filter: blur(4px); padding: .35rem .85rem; border-radius: 2px; font-size: .75rem; color: rgba(255,255,255,.85); }
.sc-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; padding: 3rem 8%; max-width: 1140px; margin: 0 auto; align-items: start; }
.sc-main {}
.sc-block { margin-top: 2rem; }
.sc-block h2 { font-family: 'Playfair Display',serif; font-size: 1.4rem; margin-bottom: 1rem; }
.sc-outcomes { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.sc-outcomes li { display: flex; align-items: flex-start; gap: .7rem; font-size: .88rem; color: var(--muted); }
.sc-outcomes li span { color: var(--teal); font-weight: 700; flex-shrink: 0; font-size: 1rem; }
.sc-sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.sc-enroll-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.8rem; }
.sc-price { font-family: 'Playfair Display',serif; font-size: 2rem; font-weight: 900; color: var(--teal); margin-bottom: 1rem; }
.sc-sidebar-meta { margin-top: 1.2rem; display: flex; flex-direction: column; gap: .6rem; font-size: .82rem; color: var(--muted); }
.sc-sidebar-meta strong { color: var(--ink); }
.sc-trainer-card { display: flex; align-items: center; gap: .8rem; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem 1.2rem; margin-top: 1rem; }
.sc-trainer-card img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* ══════════════════════════════════════
   TRAINING PAGE RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .tp-page-header { min-height: 80vh; }
  .tp-header-stats { gap: 1.5rem; }
  .tp-why-grid { grid-template-columns: repeat(2,1fr); }
  .tp-courses-grid { grid-template-columns: 1fr; }
  .tp-course-card.featured { grid-column: span 1; display: block; }
  .tp-course-card.featured .tp-card-img-wrap img { height: 240px; }
  .sc-layout { grid-template-columns: 1fr; }
  .sc-sidebar { position: static; }
  .sc-hero { height: 360px; }
}
@media (max-width: 860px) {
  .tp-page-header { grid-template-columns: 1fr; min-height: auto; }
  .tp-hero-right { height: 45vw; min-height: 220px; max-height: 340px; }
  .tp-chip.c3 { display: none; }
  .tp-why-grid { grid-template-columns: 1fr; }
  .sc-hero { height: 300px; }
  .sc-layout { padding: 2rem 5%; gap: 2rem; }
}
@media (max-width: 560px) {
  .tp-hero-content { padding: 2.5rem 5% 2rem; }
  .tp-hero-stats { flex-wrap: wrap; gap: 1rem; }
  .tp-bespoke-btns { flex-direction: column; align-items: center; }
  .tp-card-footer { flex-direction: column; align-items: flex-start; }
  .tp-card-actions { width: 100%; }
  .btn-enroll,.btn-outline-sm { width: 100%; text-align: center; }
}
