/* Company pages share the main theme; legacy content stays opt-in. */
body.db-company-page {background:var(--db-bg);color:var(--db-ink);font-family:var(--db-font)}
body.db-company-page :is(.map_left,.map_left dt,.map_left dd,.map_left .item,.map_left a,.sub_nav dt,.sub_nav dd a,.sub_nav .text) {font-family:var(--db-font)}
body.db-company-page .site-header {box-shadow:0 1px 0 var(--db-line)}
body.db-company-page #container>.page,
body.db-company-page #container>.sub_nav_wrap,
body.db-company-page #container>.cont,
body.db-company-page #history>.cont,
body.db-company-page .teachers {
 box-sizing:border-box;width:min(var(--db-width),calc(100% - var(--db-page-gutter)*2))!important;
 max-width:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;
}
body.db-company-page #container>.sub_nav_wrap {border:0;box-shadow:none;margin-bottom:32px!important}
body.db-company-page #container .sub_nav {width:100%!important;max-width:none;padding:0!important;margin:0!important;box-sizing:border-box}
body.db-company-page #container .sub_nav dt {position:static;display:flex;flex:0 0 100%;height:auto;margin:0 0 14px;padding:0;font-size:20px;line-height:1.4;font-weight:700;color:var(--db-ink)}
body.db-company-page #container .sub_nav dt img {display:none}
body.db-company-page #container .sub_nav dd {margin-left:0;margin-right:24px}
body.db-company-page #container .sub_nav dd a.on,
body.db-company-page #container .sub_nav dd a.on .text {color:var(--db-accent)!important;border-bottom-color:var(--db-accent)!important}
body.db-company-page #container>.cont {background:transparent;padding-bottom:64px;min-height:0}
body.db-company-page #container :is(.reveal-left,.reveal-right,.reveal-up) {opacity:1;transform:none;transition:none}
/* Alternating introduction rows. */
body.db-company-page :is(.intro_left,.intro_right) {display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:56px;padding:32px 0 56px;border:0;width:100%;box-sizing:border-box}
body.db-company-page :is(.intro_left,.intro_right) .intro_img {position:static;width:85%;height:auto;float:none;margin:0;grid-row:1}
body.db-company-page .intro_left .intro_img {grid-column:2;justify-self:end}
body.db-company-page .intro_right .intro_img {grid-column:1;justify-self:start}
body.db-company-page .intro_textbox {position:static;float:none;width:100%;padding:0;margin:0;grid-row:1;min-width:0}
body.db-company-page .intro_left .intro_textbox {grid-column:1}
body.db-company-page .intro_right .intro_textbox {grid-column:2}
body.db-company-page .intro_img img {display:block;width:100%;height:auto;border-radius:10px}
body.db-company-page .intro_textbox dt {font-family:var(--db-font);font-size:clamp(23px,2.4vw,32px);font-weight:700;line-height:1.4;color:var(--db-ink);padding:0;margin:0 0 20px;letter-spacing:-.04em}
body.db-company-page .intro_textbox dt span {position:static;display:block;font-family:var(--db-font);font-size:14px;font-weight:600;color:var(--db-accent);margin:0 0 14px;line-height:1.5;letter-spacing:0}
body.db-company-page .intro_textbox dd {font-family:var(--db-font);font-size:16px;font-weight:400;line-height:1.85;color:var(--db-text-secondary);padding:0;margin:0;word-break:keep-all;overflow-wrap:anywhere}
/* Timeline retains its left/right structure without purple/blue glows. */
body.db-company-page #history {--brand-1:var(--db-accent);--brand-2:var(--db-accent);--brand-1-08:var(--db-accent-soft);--brand-2-08:var(--db-accent-soft);--brand-1-12:var(--db-line);--brand-2-12:var(--db-line);--brand-1-25:var(--db-line);--brand-2-25:var(--db-line);--brand-1-35:var(--db-line);--brand-2-35:var(--db-line);--ink-900:var(--db-ink);--ink-700:var(--db-text-secondary);--ink-500:var(--db-muted);padding-bottom:48px}
body.db-company-page #history .hero-kpi {max-width:none;margin-top:0;background:var(--db-panel);border:0;box-shadow:none;backdrop-filter:none;border-radius:12px;animation:none}
body.db-company-page #history .hero-kpi::before,
body.db-company-page #history .hero-kpi::after {display:none}
body.db-company-page #history .hero-kpi__chip {background:var(--db-accent-soft);color:var(--db-accent)}
body.db-company-page #history .hero-kpi__value .count-number {background:none;color:var(--db-accent);font-weight:750;text-shadow:none}
body.db-company-page #history .timeline {max-width:none;padding-bottom:24px}
body.db-company-page #history .timeline::before {background:var(--db-line);box-shadow:none;animation:none}
body.db-company-page #history .timeline-item {opacity:1;transform:none;transition:none}
body.db-company-page #history .timeline-item::before {display:none}
body.db-company-page #history .timeline-item::after {box-shadow:none}
body.db-company-page #history .timeline-item .year {background:var(--db-accent-soft);color:var(--db-accent);box-shadow:none;backdrop-filter:none;font-weight:700}
body.db-company-page #history .content {background:var(--db-surface);border:1px solid var(--db-line);border-radius:12px;box-shadow:none;backdrop-filter:none}
body.db-company-page #history .content::after {display:none}
body.db-company-page #history .content:hover {transform:none;background:var(--db-surface);box-shadow:none}
body.db-company-page #history .content p {color:var(--db-text-secondary);font-size:16px}
/* Original four instructor cards and biographies. */
body.db-company-page .teachers_wrap {background:transparent;padding:0 0 64px;margin:0}
body.db-company-page .teachers {font-family:var(--db-font);color:var(--db-ink)}
body.db-company-page .teachers .tit .tit_top span {background:var(--db-accent-soft);color:var(--db-accent);font-size:15px}
body.db-company-page .teachers :is(.title-main,.title-sub) {font-size:clamp(28px,3.4vw,44px);font-weight:750;line-height:1.3}
body.db-company-page .teachers .title-sub {background:none;color:var(--db-accent);-webkit-text-fill-color:var(--db-accent)}
body.db-company-page .teachers .philosophy-card {background:var(--db-panel);border:1px solid var(--db-line);backdrop-filter:none;box-shadow:none}
body.db-company-page .teachers .philosophy-card:hover {transform:none;box-shadow:none}
body.db-company-page .teachers .team-grid .instructor-card {box-shadow:none}
body.db-company-page .teachers .team-grid .instructor-card:hover {border-color:var(--db-border-hover);box-shadow:none}
body.db-company-page .teachers .team-grid .pic img {will-change:auto}
body.db-company-page .teachers .edu-item .ico {border-color:var(--db-line);box-shadow:none}
body.db-company-page .teachers .edu-item:hover .ico {border-color:var(--db-accent);box-shadow:none}
body.db-company-page .teachers .edu-item .desc {color:var(--db-muted)}
/* Contact/map and existing image carousel. */
body.db-company-page .map_wrap {display:flex;align-items:flex-start;gap:40px;width:100%;margin:0 0 32px;padding:0;box-sizing:border-box}
body.db-company-page .map_left {width:36%;float:none;padding:0;margin:0;min-width:0}
body.db-company-page .map_left .ball {display:none}
body.db-company-page .map_left dt {font-size:24px;font-weight:700;color:var(--db-ink);padding:0;margin-bottom:24px}
body.db-company-page .map_left dd {padding:12px 0;font-size:15px;line-height:1.7;color:var(--db-text-secondary);border-bottom:1px solid var(--db-line)}
body.db-company-page .map_left .flex_container_dd {display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;word-break:keep-all;overflow-wrap:anywhere}
body.db-company-page .map_left .flex_container_dd .item {width:auto;padding:0;float:none}
body.db-company-page .map_left a {color:var(--db-accent);font-weight:600}
body.db-company-page .map_right {width:auto;flex:1;float:none;min-width:0}
body.db-company-page .academy-building {margin:0 0 24px}
body.db-company-page .academy-building img {display:block;width:100%;height:auto;border-radius:12px}
body.db-company-page .academy-building figcaption {display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;padding-top:10px;line-height:1.6}
body.db-company-page .academy-building figcaption strong {font-size:15px;color:var(--db-ink)}
body.db-company-page .academy-building figcaption span {font-size:12px;color:var(--db-muted)}
body.db-company-page .academy-building .building-directions {flex-basis:100%;margin:4px 0 0;font-size:14px;line-height:1.7;color:var(--db-text-secondary);word-break:keep-all}
body.db-company-page #map {width:100%;height:360px;border:1px solid var(--db-line);border-radius:10px;overflow:hidden;box-sizing:border-box}
body.db-company-page .mainswipe2_section_white {padding:0 0 32px;background:transparent}
body.db-company-page .inner2 {width:100%;max-width:none;margin:0 auto;padding:0 28px;box-sizing:border-box}
body.db-company-page .mainswipe2_item {box-sizing:border-box;padding:0 8px}
body.db-company-page .mainswipe2_item img {display:block;width:100%;height:auto;border:1px solid var(--db-line);border-radius:6px}
body.db-company-page .slick-prev {left:-28px}
body.db-company-page .slick-next {right:-28px}
body.db-company-page .slick-prev::before,body.db-company-page .slick-next::before {color:var(--db-accent)}
@media(max-width:900px){
 body.db-company-page :is(.intro_left,.intro_right) {gap:28px}
 body.db-company-page .map_wrap {flex-direction:column;gap:24px}
 body.db-company-page :is(.map_left,.map_right) {width:100%;flex:auto}
}
@media(max-width:768px){
 body.db-company-page #container>.sub_nav_wrap {margin-top:16px!important;margin-bottom:24px!important;height:auto!important}
 body.db-company-page #container .sub_nav {display:flex!important;flex-wrap:nowrap!important;gap:16px;overflow-x:auto;scrollbar-width:none;height:auto;mask-image:none;-webkit-mask-image:none}
 body.db-company-page #container .sub_nav dt {display:none!important}
 body.db-company-page #container .sub_nav dd {display:flex;flex:0 0 auto;margin:0!important;height:auto}
 body.db-company-page #container .sub_nav dd a {display:flex;align-items:center;height:auto;min-height:44px;padding:8px 4px;line-height:1.4;box-sizing:border-box}
 body.db-company-page #container .sub_nav dd a .text {position:static;font-size:15px;line-height:1.4;padding:0}
 body.db-company-page #container .sub_nav dd a .bar {display:none}
 body.db-company-page :is(.intro_left,.intro_right) {grid-template-columns:1fr;gap:20px;padding:8px 0 40px}
 body.db-company-page :is(.intro_left,.intro_right) .intro_img {grid-column:1;grid-row:2;justify-self:center;width:100%}
 body.db-company-page :is(.intro_left,.intro_right) .intro_textbox {grid-column:1;grid-row:1}
 body.db-company-page .intro_textbox dd {font-size:15px;line-height:1.75}
 body.db-company-page .intro_textbox dt {margin-bottom:14px}
 body.db-company-page #history .timeline-item {padding-left:48px;padding-right:0}
 body.db-company-page #history .timeline::before,body.db-company-page #history .timeline-item::after {left:12px!important}
 body.db-company-page #history .timeline-item .year {left:48px!important;padding:10px 16px;font-size:16px}
 body.db-company-page #history .timeline-item .content {padding:16px}
 body.db-company-page #history .content p {font-size:15px}
 body.db-company-page #history .hero-kpi {padding:20px 18px;margin-bottom:20px}
 body.db-company-page #history .hero-kpi__label {font-size:14px;line-height:1.5;letter-spacing:0;gap:8px}
 body.db-company-page #history .hero-kpi__chip {font-size:12px;line-height:1.5;padding:4px 8px}
 body.db-company-page #history .hero-kpi__value {margin-top:10px;gap:6px}
 body.db-company-page #history .hero-kpi__value .count-number {font-size:40px;line-height:1.1;letter-spacing:-.025em}
 body.db-company-page #history .hero-kpi__unit {font-size:16px;font-weight:650}
 body.db-company-page #history .hero-kpi__sub {margin-top:12px;font-size:14px;line-height:1.6;letter-spacing:-.015em;word-break:keep-all;overflow-wrap:anywhere;text-wrap:pretty}
 body.db-company-page .teachers .philosophy-grid {grid-template-columns:1fr}
 body.db-company-page .teachers .team-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 body.db-company-page .map_left dt {font-size:22px;margin-bottom:16px}
 body.db-company-page .map_left .flex_container_dd {grid-template-columns:80px minmax(0,1fr);gap:8px}
 body.db-company-page #map {height:280px}
}
@media(max-width:540px){body.db-company-page .teachers .team-grid {grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body.db-company-page #history *,body.db-company-page .teachers * {animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Compact faculty introduction; portraits support the subject and biography. */
body.db-company-page .faculty-intro {display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin:8px 0 36px;padding:0 0 30px;border-bottom:1px solid var(--db-line)}
body.db-company-page .faculty-eyebrow {margin:0 0 12px;font-size:14px;font-weight:600;color:var(--db-muted)}
body.db-company-page .faculty-intro h1 {margin:0;font-size:clamp(26px,2.6vw,36px);font-weight:700;line-height:1.4;letter-spacing:-.035em;color:var(--db-ink)}
body.db-company-page .faculty-intro h1 span {color:var(--db-accent)}
body.db-company-page .faculty-description {margin:0 0 4px;font-size:15px;line-height:1.8;color:var(--db-muted);word-break:keep-all}
body.db-company-page .teachers .team-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.db-company-page .teachers .team-grid .instructor-card {border-radius:12px}
body.db-company-page .teachers .team-grid .pic {height:220px!important;aspect-ratio:auto;border-radius:12px 12px 0 0;background:var(--db-soft)}
body.db-company-page .teachers .team-grid .pic img {object-fit:contain!important;object-position:center bottom!important;transform:translateY(0px) scale(1.3)!important;transform-origin:center top;filter:none}
body.db-company-page .teachers .team-grid .t-body {padding:20px 24px}
body.db-company-page .teachers .badge-group {min-height:40px;align-content:flex-start;gap:6px}
body.db-company-page .teachers .catchphrase-box {font-size:16px;line-height:1.65;min-height:72px;margin:10px 0 16px}
body.db-company-page .teachers .instructor-history li {font-size:14px;line-height:1.65}
body.db-company-page .teachers .instructor-name {padding-top:16px;font-size:19px}
@media(max-width:1000px){
 body.db-company-page .faculty-intro {align-items:flex-start;flex-direction:column;gap:16px}
 body.db-company-page .teachers .team-grid {gap:16px}
 body.db-company-page .teachers .team-grid .t-body {padding:16px}
 body.db-company-page .teachers .team-grid .pic {height:190px!important}
}
@media(max-width:768px){
 body.db-company-page .faculty-intro {margin:0 0 24px;padding-bottom:24px}
 body.db-company-page .faculty-description br {display:none}
 body.db-company-page .teachers .team-grid {grid-template-columns:1fr}
 body.db-company-page .teachers .team-grid .pic {height:200px!important}
 body.db-company-page .teachers .team-grid .t-body {padding:20px}
 body.db-company-page .teachers .badge-group,body.db-company-page .teachers .catchphrase-box {min-height:0}
}

/* Keep enlarged faculty portraits inside the photo window. */
body.db-company-page .teachers .team-grid .instructor-card .pic {overflow:hidden!important;isolation:isolate;border-radius:0!important}
