/* The Digital Engine brand layer on the InGen site standard (Kyle 11/25/2026).
   TDE palette: Yellow #CAE67D, Green #83D59C, Cyan #6CD1C4, Black #232942. Accent darkened for readable text and buttons. */
:root {
    --color-navy: #232942;
    --color-navy-light: #2F3654;
    --color-accent: #1F8F80;
    --color-accent-dark: #16746A;
    --color-green: #2E8A57;
    --tde-yellow: #CAE67D;
    --tde-green: #83D59C;
    --tde-cyan: #6CD1C4;
    --tde-gradient: linear-gradient(90deg, #CAE67D 0%, #83D59C 50%, #6CD1C4 100%);
    --shadow-sm: 0 1px 3px rgba(35, 41, 66, 0.08);
    --shadow-md: 0 4px 16px rgba(35, 41, 66, 0.1);
    --shadow-lg: 0 8px 28px rgba(35, 41, 66, 0.14);
}
.site-header .logo img.header-logo-img.tde-logo { height: 34px; width: auto; }
@media (max-width: 760px) { .site-header .logo img.header-logo-img.tde-logo { height: 26px; } }
.btn-primary { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.btn-primary:hover { background: var(--color-accent); border-color: var(--color-accent); }
.section-label { color: var(--color-accent); }
.trust-band { background: var(--color-navy); }
.trust-band .trust-stat-value { background: var(--tde-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tde-rule { height: 4px; border: 0; background: var(--tde-gradient); border-radius: 2px; width: 72px; margin: 0 0 1rem; }
.hero h1 .tde-em { background: linear-gradient(90deg, #16746A, #1F8F80 45%, #3d9f6c); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* The model: four stages */
.model-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.model-stage { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.4rem 1.2rem; border-top: 5px solid var(--tde-cyan); }
.model-stage:nth-child(1) { border-top-color: var(--tde-yellow); }
.model-stage:nth-child(2) { border-top-color: #A7DD8A; }
.model-stage:nth-child(3) { border-top-color: var(--tde-green); }
.model-stage:nth-child(4) { border-top-color: var(--tde-cyan); }
.model-stage .stage-num { font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; color: var(--color-text-muted); letter-spacing: .08em; text-transform: uppercase; }
.model-stage h3 { margin: .35rem 0 .5rem; }
.model-stage .stage-where { font-weight: 600; color: var(--color-navy); margin-bottom: .5rem; }
.model-stage ul { margin: .5rem 0 0 1.1rem; padding: 0; color: var(--color-text-muted); font-size: .95rem; }
.model-lead { margin-top: 1rem; background: var(--color-navy); color: #fff; border-radius: var(--radius); padding: 1.1rem 1.4rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.model-lead strong { color: var(--tde-yellow); }
@media (max-width: 900px) { .model-stages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .model-stages { grid-template-columns: 1fr; } }

/* ---- TDE page pieces ---- */
.model-diagram { margin: 0; }
.model-diagram svg { width: 100%; max-width: 460px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 18px 40px rgba(35,41,66,.25)); }
.your-part { font-size: .9rem; color: var(--tde-accent, #1F8F80); font-weight: 600; margin-top: .5rem; }
.note-small { font-size: .88rem; color: #64748b; font-style: italic; }
.section-cta { margin-top: 1.5rem; }

.piper-chat { background: #232942; border-radius: 18px; padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; box-shadow: 0 18px 40px rgba(35,41,66,.25); }
.piper-chat-label { margin: 0 0 .25rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #83D59C; font-weight: 700; }
.pc-msg { max-width: 88%; padding: .8rem 1rem; border-radius: 14px; font-size: .95rem; line-height: 1.5; }
.pc-msg strong { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .25rem; color: #1F8F80; }
.pc-student { align-self: flex-end; background: linear-gradient(135deg, #CAE67D, #83D59C); color: #232942; border-bottom-right-radius: 4px; }
.pc-piper { align-self: flex-start; background: #fff; color: #232942; border-bottom-left-radius: 4px; }

.stage-detail { grid-template-columns: 110px 1fr !important; align-items: start; }
.stage-badge { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; color: #232942; background: var(--stage); box-shadow: 0 10px 24px rgba(35,41,66,.18); }
@media (max-width: 760px) { .stage-detail { grid-template-columns: 1fr !important; } .stage-badge { width: 64px; height: 64px; font-size: 1.8rem; } }

/* Imported WordPress article bodies: tables and images */
.article-body img { max-width: 100%; height: auto; border-radius: 10px; }
.article-body figure { margin: 1.5rem 0; }
.article-body figcaption { font-size: .85rem; color: #64748b; margin-top: .4rem; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid #e2e8f0; padding: .55rem .7rem; text-align: left; vertical-align: top; }
.article-body th { background: #f1f5f9; }
.article-body iframe { max-width: 100%; }
@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: 56% 44% !important; }
}
@media (min-width: 1024px) and (max-height: 640px) {
    .hero-grid { min-height: 0 !important; }
    .model-diagram svg { max-width: 300px; }
}
@media (min-width: 1024px) { .hero-text h1 { max-width: 640px; } .hero-sub { max-width: 560px; } }
:root { --color-accent: #1F8F80; }
.home-post .service-card-label { color: #1F8F80; }
.trust-band .section-label { color: #83D59C; }
.site-footer.std-footer { background-color: #232942; }
@media (min-width: 900px) { .process-timeline.steps-4 { grid-template-columns: repeat(4, 1fr); } }
.site-footer .btn-primary { background: #1F8F80; border-color: #1F8F80; color: #fff; } .site-footer .btn-primary:hover { background: #16746A; }
.page-jump { background: #fff; border-bottom: 1px solid rgba(15,23,42,.08); }
.page-jump .container { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; padding-top: 1rem; padding-bottom: 1rem; }
.page-jump a { font-size: .88rem; font-weight: 600; color: var(--color-navy, #0f172a); text-decoration: none; }
.page-jump a:hover { color: #1F8F80; }
main section[id] { scroll-margin-top: 120px; }
/* Proof stats band: up to 4 across on desktop */
@media (min-width: 900px) { .trust-band .trust-stats { flex-wrap: nowrap; gap: 2.5rem; } .trust-band .trust-stats > div { flex: 1 1 0; } }

/* Hero photo (from the old WordPress home page): keep the student raising his hand in frame */
.hero-image img { object-position: 32% center; }

/* Student testimonials (home, proof slot) */
.testimonials { padding: 5rem 0; background: #fff; }
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 700px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { margin: 0; background: #f8f7f3; border-radius: 14px; padding: 1.75rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; border-top: 4px solid transparent; border-image: linear-gradient(90deg, #CAE67D, #83D59C, #6CD1C4) 1; border-image-slice: 1 0 0 0; }
.testimonial-card blockquote { margin: 0; font-size: .98rem; line-height: 1.65; color: #232942; }
.testimonial-card figcaption { display: flex; align-items: center; gap: .85rem; }
.testimonial-card figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #83D59C; }
.testimonial-card figcaption span { display: flex; flex-direction: column; font-size: .85rem; color: #64748b; }
.testimonial-card figcaption strong { color: #232942; font-size: .98rem; }
/* Phones: swipe through the testimonials instead of a 3,500px stack */
@media (max-width: 699px) {
    .testimonial-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin: 0 -1.5rem; padding-left: 1.5rem; padding-right: 1.5rem; scroll-padding-left: 1.5rem; -webkit-overflow-scrolling: touch; }
    .testimonial-card { scroll-snap-align: start; }
    .testimonials .section-heading::after { content: "Swipe for more \2192"; display: block; margin-top: .5rem; font-size: .8rem; font-weight: 600; color: #1F8F80; }
}
.trust-note .paper-link { color: #83D59C; text-decoration: underline; text-underline-offset: 3px; } .trust-note .paper-link:hover { color: #fff; }
