/* Instagram-first landing: scoped additions; existing theme/fonts remain intact. */
.dm-page { background:#faf8f3; }
.dm-page .dm-main { display:block; width:100%; margin:0; }
.dm-page .dm-main h1,.dm-page .dm-main h2,.dm-page .dm-main h3 {font-family:Literata,Georgia,serif;font-weight:600;color:#17324d;}
.dm-page .dm-main .eyebrow {color:#7b3340;letter-spacing:.075em;text-transform:none;font-weight:600;font-size:.8rem;line-height:1.6;margin:0 0 14px;}
.dm-page .dm-main p {line-height:1.75;}
.dm-hero {padding:48px 0 44px;background:#faf8f3;}
.dm-hero-inner {max-width:var(--max-width);}
.dm-hero h1 {font-size:clamp(2rem,4vw,3.4rem);line-height:1.2;letter-spacing:-.025em;max-width:24ch;margin:0 0 22px;}
.dm-lead {max-width:65ch;font-size:1.08rem;color:#3e4e5d;margin:0 0 26px;}
.dm-profile-row {display:flex;gap:14px;align-items:center;max-width:680px;margin:0 0 26px;}
.dm-page .dm-portrait {border-radius:50%;object-fit:cover;object-position:50% 30%;flex:0 0 auto;display:block;}
.dm-profile-row .dm-portrait {width:56px;height:56px;}
.dm-profile-row strong {display:block;color:#17324d;font-size:.95rem;font-weight:600;}
.dm-profile-row p {font-size:.8125rem;color:#4f5b68;line-height:1.6!important;margin:4px 0 0;}
a.btn.dm-cta {background:#17324d;border:1px solid #17324d;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:13px 20px;font-weight:600;font-size:1rem;text-decoration:none;line-height:1.5;max-width:100%;white-space:normal;}
.dm-cta svg {flex:0 0 auto;}
.dm-cta span {min-width:0;overflow-wrap:anywhere;}
a.btn.dm-cta:hover {background:#244c6e;border-color:#244c6e;color:#fff;}
.dm-main a:focus-visible,.dm-mobile-bar a:focus-visible {outline:3px solid #7b3340;outline-offset:4px;}
.dm-secondary {font-size:.875rem;color:#4f5b68;margin:12px 0 20px;}
.dm-secondary a {display:inline-flex;align-items:center;min-height:44px;color:#17324d;text-decoration:underline;text-underline-offset:4px;}
.dm-checks {list-style:none;display:flex;flex-wrap:wrap;gap:8px 26px;padding:0;margin:16px 0 0;font-size:.875rem;color:#314737;}
.dm-checks li {position:relative;padding-left:21px;}
.dm-checks li::before {content:'✓';position:absolute;left:0;font-weight:600;}
.dm-section {padding:60px 0;border-top:1px solid #e0ded6;}
.dm-section h2 {font-size:clamp(1.55rem,2.6vw,2.15rem);line-height:1.35;margin:0 0 28px;}
.dm-section h3 {font-size:1.12rem;line-height:1.5;}
.dm-steps {background:#f0ede5;}
.dm-step-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;gap:32px;padding:0;margin:0;}
.dm-step-grid li {min-width:0;}
.dm-step-grid h3 {margin:12px 0 9px;}
.dm-step-grid p {font-size:.9375rem;color:#4f5b68;margin:0;max-width:35ch;}
.dm-step-number {color:#7b3340;font-family:Literata,Georgia,serif;font-size:1.4rem;}
.dm-included {background:#faf8f3;}
.dm-benefit-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.dm-benefit {background:#fff;border:1px solid #dedbd3;border-radius:10px;padding:24px;min-width:0;}
.dm-benefit-index {font-size:.8125rem;color:#7b3340;font-weight:600;}
.dm-benefit h3 {margin:12px 0 10px;}
.dm-benefit p {margin:0;color:#4f5b68;font-size:.9375rem;}
.dm-screenshot[hidden] {display:none!important;}
.dm-about {background:#f0ede5;}
.dm-about-inner {display:flex;gap:22px;align-items:flex-start;}
.dm-about .dm-portrait {width:72px;height:72px;}
.dm-about h2 {font-size:1.4rem;margin:0 0 14px;}
.dm-about p {max-width:72ch;color:#3e4e5d;margin:0 0 14px;}
.dm-about .dm-degrees {font-size:.875rem;color:#4f5b68;}
.dm-about a {display:inline-flex;align-items:center;min-height:44px;font-weight:600;color:#17324d;text-decoration:underline;text-underline-offset:4px;}
.dm-hours-note {color:#4f5b68;font-size:.875rem;margin:0 0 32px;}
.dm-course-group {margin:30px 0;}
.dm-course-group h3 {margin:0 0 14px;}
.dm-course-list {list-style:none;padding:0;margin:0;border-top:1px solid #d8d7ce;}
.dm-course-list li {margin:0;padding:0;border-bottom:1px solid #d8d7ce;}
.dm-course-link {display:grid;grid-template-columns:minmax(0,1fr) auto 20px;gap:20px;align-items:center;min-height:64px;padding:17px 6px;text-decoration:none;color:#17324d;}
.dm-course-link:hover {background:#f0ede5;color:#17324d;}
.dm-course-title {font-weight:600;font-size:.975rem;}
.dm-course-hours {font-size:.875rem;white-space:nowrap;color:#4f5b68;}
.dm-course-link svg {color:#7b3340;}
.dm-other-courses {margin-top:32px;border:1px solid #d8d7ce;border-radius:10px;padding:8px 20px;background:#fff;}
.dm-other-courses summary {cursor:pointer;min-height:48px;padding:12px 0;font-weight:600;color:#17324d;}
.dm-other-courses p,.dm-other-list {color:#4f5b68;font-size:.9375rem;}
.dm-other-courses h4 {font-family:Inter,system-ui,sans-serif;color:#17324d;margin:24px 0 10px;}
.dm-other-list {padding-left:22px;line-height:1.8;}
.dm-other-list li {margin-bottom:8px;}
.dm-faq {background:#f0ede5;}
.dm-faq details {background:transparent;border:0;border-bottom:1px solid #d6d3ca;padding:0;}
.dm-faq summary {min-height:60px;padding:17px 0;cursor:pointer;font-weight:600;color:#17324d;}
.dm-faq details p {color:#3e4e5d;max-width:75ch;margin:0 0 24px;}
.dm-disclaimer {font-size:.8125rem;color:#4f5b68;padding-top:24px;padding-bottom:24px;}
.dm-disclaimer p {margin:0;}
.dm-contact {background:#17324d;color:#fff;padding:64px 0;}
.dm-page .dm-contact h2 {color:#fff;font-size:clamp(1.65rem,3vw,2.5rem);max-width:28ch;line-height:1.3;margin:0 0 18px;}
.dm-page .dm-contact .eyebrow {color:#eee4d1;}
.dm-contact p {max-width:65ch;color:#e6e9ed;margin:0 0 24px;}
a.btn.dm-cta-white,.contact a.btn.dm-cta {background:#faf8f3;color:#17324d;border-color:#faf8f3;}
a.btn.dm-cta-white:hover,.contact a.btn.dm-cta:hover {background:#e9e4d8;color:#17324d;border-color:#e9e4d8;}
.dm-contact .dm-other-contact {margin:16px 0 0;font-size:.875rem;}
.dm-other-contact a {display:inline-flex;min-height:44px;align-items:center;color:#fff;text-decoration:underline;text-underline-offset:4px;}
.dm-contact a:focus-visible {outline-color:#fff;}
.dm-course .course-hero {padding:30px 0 40px;background:#faf8f3;}
.dm-course .course-hero::before {display:none;}
.dm-course .course-hero-grid {display:block;}
.dm-course .course-hero h1 {font-size:clamp(2rem,3.6vw,3.15rem);line-height:1.25;max-width:28ch;margin:22px 0;}
.dm-course .course-hero .dm-cta {margin-top:26px;}
.dm-course .course-chips {margin-top:0;}
.dm-course .breadcrumbs {font-size:.8125rem;line-height:1.8;margin-bottom:28px;}
.dm-course .breadcrumbs a {display:inline-flex;align-items:center;min-height:44px;}
.dm-course-body {padding-top:36px;padding-bottom:60px;max-width:1000px;}
.dm-course-body section {margin:0 0 40px;}
.dm-course-body h2 {font-size:1.6rem;margin:0 0 20px;line-height:1.35;}
.dm-course-body li {line-height:1.8;margin-bottom:10px;max-width:75ch;}
.dm-course-body a {color:#17324d;text-underline-offset:4px;}
.dm-course-included {border-top:1px solid #dedbd3;padding-top:28px;}
.dm-course .source-note a,.dm-course-included a {display:inline-flex;align-items:center;min-height:44px;}
.dm-mobile-bar {display:none;}
@media(min-width:701px) {.dm-page {padding-bottom:0}.dm-page .dm-mobile-bar {display:none!important}}
@media(max-width:700px) {
 .dm-page {padding-bottom:calc(6.5rem + env(safe-area-inset-bottom,0px));}
 .dm-page .container {width:calc(100% - 36px);}
 .dm-hero {padding:30px 0 32px;}
 .dm-hero h1 {font-size:2rem;line-height:1.23;max-width:100%;margin-bottom:18px;}
 .dm-lead {font-size:1rem;line-height:1.75;margin-bottom:22px;}
 .dm-profile-row {align-items:flex-start;margin-bottom:22px;gap:12px;}
 .dm-profile-row p {font-size:.8125rem;}
 .dm-hero .dm-cta {width:100%;font-size:.9375rem;padding:13px 12px;}
 .dm-secondary {margin:10px 0 14px;line-height:1.65;}
 .dm-checks {display:grid;gap:8px;margin-top:12px;}
 .dm-section {padding:38px 0;}
 .dm-section h2 {font-size:1.55rem;margin-bottom:24px;}
 .dm-step-grid {grid-template-columns:1fr;gap:24px;}
 .dm-step-grid li {position:relative;padding-left:42px;}
 .dm-step-number {position:absolute;left:0;top:0;font-size:1.2rem;}
 .dm-step-grid h3 {margin:0 0 7px;font-size:1.03rem;}
 .dm-step-grid p {max-width:none;}
 .dm-benefit-grid {grid-template-columns:1fr;gap:12px;}
 .dm-benefit {padding:20px;}
 .dm-benefit h3 {margin:8px 0;font-size:1.03rem;}
 .dm-about-inner {gap:14px;}
 .dm-about h2 {font-size:1.2rem;}
 .dm-about p {font-size:.9375rem;}
 .dm-about .dm-degrees {font-size:.8125rem;}
 .dm-course-link {gap:10px;padding-block:16px;min-height:66px;grid-template-columns:minmax(0,1fr) auto 16px;}
 .dm-course-title {font-size:.9375rem;}
 .dm-course-hours {font-size:.8125rem;}
 .dm-course-link svg {width:16px;}
 .dm-contact {padding:40px 0;}
 .dm-contact .dm-cta {width:100%;}
 .dm-page .dm-mobile-bar {position:fixed;display:flex;left:0;right:0;bottom:0;gap:10px;padding:12px max(16px,env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));background:#faf8f3;border-top:1px solid #d8d7ce;z-index:110;}
 .dm-page .dm-mobile-bar .dm-cta {flex:1;max-width:500px;min-height:48px;font-size:.875rem;padding:10px 12px;}
 .dm-page .dm-mobile-bar .dm-cta svg {width:20px;height:20px;}
 .dm-whatsapp-icon {display:inline-flex;align-items:center;justify-content:center;width:48px;min-height:48px;flex:0 0 48px;background:transparent;border:1px solid #17324d;color:#17324d;border-radius:10px;}
 .dm-whatsapp-icon:hover {background:#e9e4d8;}
 .dm-course .course-hero {padding:22px 0 28px;}
 .dm-course .course-hero h1 {font-size:1.9rem;}
 .dm-course .course-hero .dm-cta {width:100%;}
 .dm-course-body {padding-top:28px;padding-bottom:36px;}
 .dm-course .course-hero .breadcrumbs {font-size:.75rem;margin-bottom:22px;}
}
@media(prefers-reduced-motion:reduce){.dm-cta {transition:none;}}

.dm-course-list li,.dm-other-list li {scroll-margin-top:100px;}
/* Version 2: one site-wide primary colour and responsive chrome. */
body .btn:not(.btn-secondary) {background:#17324d;border-color:#17324d;color:#fff;}
body .btn:not(.btn-secondary):is(:hover,:focus-visible) {background:#244c6e;border-color:#244c6e;color:#fff;}
body .btn-secondary {background:transparent;border-color:#17324d;color:#17324d;}
body .btn-secondary:is(:hover,:focus-visible) {background:#17324d;border-color:#17324d;color:#fff;}
body .contact .btn-secondary {background:transparent;color:#fff;border-color:#fff;}
body .contact .btn-secondary:is(:hover,:focus-visible) {background:#faf8f3;color:#17324d;border-color:#faf8f3;}
/* White-on-navy contact treatment retained from the approved first design. */
body a.btn.dm-cta-white,body .contact a.btn.dm-cta {background:#faf8f3;border-color:#faf8f3;color:#17324d;}
body a.btn.dm-cta-white:is(:hover,:focus-visible),body .contact a.btn.dm-cta:is(:hover,:focus-visible) {background:#e9e4d8;border-color:#e9e4d8;color:#17324d;}
body .eyebrow,body .section-label {color:#7b3340;}
body .contact .eyebrow,body .contact .section-label,body .dm-contact .eyebrow {color:#eee4d1;}
.mobile-student-login {display:none;}
.contact .messenger-small {display:inline-flex;align-items:center;min-height:44px;font-size:.875rem;color:#fff;text-decoration:underline;text-underline-offset:4px;}
.faq-contact-card .detail-buttons {display:flex;flex-direction:column;align-items:stretch;}
.faq-contact-card .detail-buttons > .dm-cta {font-size:.9rem;}
.dm-hub-cta {margin-top:22px;}
.dm-hub-cta .dm-secondary {margin-bottom:0;}
.dm-admissions .hero::before {display:none;}
.dm-admissions .hero .dm-cta {margin-top:20px;}
.dm-admissions .hero {padding-top:38px;padding-bottom:36px;}
.dm-admissions .hero h1 {max-width:28ch;}
.dm-admissions .admission-department {padding-top:32px;padding-bottom:36px;}
.dm-admissions .admission-subject {min-width:0;}
.dm-admissions .dm-contact {margin-top:42px;}
.dm-tourism .dm-course-static {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:17px 6px;border-bottom:1px solid #d8d7ce;}
.dm-tourism .dm-course-static span:last-child {font-size:.8125rem;color:#4f5b68;}
.dm-tourism .dm-tourism-note {margin:0 0 24px;color:#4f5b68;font-size:.9375rem;}
.course-hero .dm-mobile-back {display:none;}
@media(max-width:700px) {
 .site-header .nav {grid-template-columns:minmax(0,1fr) auto;align-items:center;}
 .site-header .header-student-login {display:none;}
 #main-navigation .mobile-student-login {display:list-item;}
 #main-navigation .menu-student-login {display:block;min-height:44px;}
 .hero .hero-actions {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:stretch;width:100%;}
 .hero .hero-actions > a.btn {display:flex;width:100%;min-width:0;min-height:48px;max-width:100%;margin:0;white-space:normal;justify-content:center;}
 .hero .hero-actions > .dm-cta {min-height:52px;}
 .course-hero .breadcrumbs {display:none;}
 .course-hero .dm-mobile-back {display:flex;align-items:center;min-height:44px;max-width:100%;gap:8px;margin-bottom:16px;font-size:.875rem;}
 .dm-mobile-back span {display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
 .dm-admissions .hero h1 {font-size:1.95rem;line-height:1.3;}
 .dm-admissions .hero .dm-cta {width:100%;}
 .dm-admissions .admission-subject h3 {overflow-wrap:anywhere;}
 .dm-tourism .dm-course-static {grid-template-columns:minmax(0,1fr);gap:4px;}
}
/* Accent is no longer a button-fill token; burgundy is explicit small-label colour. */
body {--accent:#17324d;}
body .dm-main a:focus-visible,body .dm-mobile-bar a:focus-visible {outline-color:#17324d;}
body .dm-contact a:focus-visible,body .contact a:focus-visible {outline-color:#fff;}
.dm-faq .dm-faq-all {margin:24px 0 0;}
.dm-faq-all a {display:inline-flex;align-items:center;min-height:44px;color:#17324d;text-decoration:underline;text-underline-offset:4px;}
