/* Editorial presentation layer shared by both portfolio entry pages. */
:root {
    --bg: #faf9f5;
    --surface: #fffefa;
    --ink: #153c40;
    --muted: #5a6e6c;
    --primary: #176057;
    --primary-2: #104c46;
    --line: #d7dfd9;
    --soft: #edf2eb;
    --shadow: 0 16px 40px rgb(21 60 64 / 5%);
    --radius-lg: 6px;
    --radius-md: 4px;
}
html { scroll-padding-top: 110px; }
body { background: var(--bg); font-size: 15px; padding-bottom: 0; }
.container { width: min(1200px, 88%); }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 5px;
}
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 300; background: white; padding: 12px; }
.skip-link:focus { top: 12px; }
.utility-bar { background: #e8eee8; font-size: 11px; letter-spacing: .04em; padding: 10px 0; }
.utility-bar .container { display: flex; justify-content: space-between; gap: 16px; }
.utility-bar a { white-space: nowrap; }
.utility-bar a span { margin-left: 12px; }
.site-header { background: rgb(250 249 245 / 97%); border-color: var(--line); }
.nav { min-height: 92px; height: auto; gap: 18px 26px; position: relative; flex-wrap: wrap; padding-block: 18px; }
.brand { flex-shrink: 0; }
.brand-primary { font: 600 23px/1.2 "Source Serif 4", serif; letter-spacing: -.04em; }
.brand-secondary { font-size: 9px; text-transform: uppercase; letter-spacing: .22em; margin-top: 7px; }
.header-course { margin-left: 0; order: 2; }
.menu-toggle { display: none; }
.nav-links {
    display: flex; position: static; width: auto; margin: 0 0 0 auto; padding: 0;
    background: transparent; border: 0; box-shadow: none;
    flex-direction: row; align-items: center; gap: 4px 18px;
}
.nav-links.open { display: flex; }
.nav-links li { width: auto; }
.nav-links a { display: block; font-size: 12px; padding: 12px 0; border: 0; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; }
.btn { border-radius: 3px; padding: 14px 21px; font-size: 12px; font-weight: 700; min-height: 46px; gap: 20px; box-shadow: none; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-secondary { background: transparent; border-color: var(--line); color: var(--ink); }
.btn:hover { transform: translateY(-2px); box-shadow: none; }
.hero { background: linear-gradient(110deg, #f1f5ee, #e5eeea); padding: 48px 0 0; overflow: hidden; }
.hero-grid { grid-template-columns: 1.05fr 1fr; gap: 6%; align-items: center; }
.kicker, .eyebrow { font-size: 10px; text-transform: uppercase; font-weight: 800; letter-spacing: .18em; color: var(--primary); }
.kicker { border: 0; background: transparent; padding: 0; margin-bottom: 18px; }
.hero h1 { font: 600 clamp(1.3rem, 2.2vw, 1.7rem)/1.3 "Source Serif 4", serif; margin: 0 0 14px; max-width: none; }
.hero .hero-statement {
    font: 500 clamp(2.4rem, 4.8vw, 4.25rem)/1.09 "Source Serif 4", serif;
    color: var(--ink); letter-spacing: -.055em; margin: 0 0 24px; max-width: none;
}
em { font-weight: inherit; color: var(--primary); }
.hero p:not(.hero-statement) { max-width: 43ch; font-size: 14px; line-height: 1.8; }
.hero-actions { gap: 12px; margin-top: 25px; }
.spotlight-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.hero .hero-actions .btn { flex: 1 1 200px; justify-content: center; text-align: center; }
.spotlight-link { border: 0; border-top: 1px solid #bdcdc4; border-radius: 0; padding: 15px 0; background: transparent; box-shadow: none; }
.spotlight-link strong { font-size: 11px; }
.spotlight-link span { font-size: 10px; line-height: 1.6; margin-top: 5px; }
.hero-media { border-radius: 150px 5px 5px 5px; box-shadow: none; border: 0; animation: none; background: #e2e8e1; }
.hero-media::before { display: none; }
.hero-media img { height: auto; aspect-ratio: 1 / 1.18; object-fit: cover; object-position: center 35%; }
.hero-media .caption { position: absolute; inset: auto 0 0; padding: 52px 25px 25px; background: linear-gradient(transparent, rgb(9 40 36 / 94%)); border: 0; color: white; }
.hero-media .caption span { font-size: 8px; letter-spacing: .15em; color: #e5eee7; }
.hero-media .caption strong { font: 500 26px/1.25 "Source Serif 4", serif; margin-top: 10px; }
.counters { margin-top: 42px; padding: 25px 0; border-top: 1px solid #cbd9ce; gap: 0; }
.counter-card { border: 0; border-right: 1px solid #cbd9ce; border-radius: 0; background: transparent; padding: 4px 12px; }
.counter-card:last-child { border: 0; }
.counter-number { font-size: 25px; }
.counter-label { font-size: 10px; font-weight: 500; margin-top: 6px; }
.section { padding: 78px 0; }
.eyebrow { margin-bottom: 15px; }
.section-title { font-weight: 500; font-size: clamp(2rem, 3.8vw, 3.2rem); letter-spacing: -.04em; line-height: 1.15; margin-bottom: 24px; }
.section-subtitle { font-size: 14px; margin-bottom: 28px; }
.panel { box-shadow: none; }
.about-wrap { grid-template-columns: 1fr 1fr; border: 0; background: transparent; padding: 0; gap: 7%; align-items: center; }
.about-copy { padding: 0; max-width: 48ch; }
.about-copy p { font-size: 15px; line-height: 1.9; margin-bottom: 20px; }
.about-photo { width: 100%; max-width: none; border: 0; background: #edece5; aspect-ratio: 1.35; border-radius: 5px 70px 5px 5px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.chip { background: transparent; border-color: var(--line); border-radius: 0; font-size: 10px; padding: 7px 10px; }
.background-details { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 18px; }
.background-details summary { font-size: 13px; font-weight: 700; cursor: pointer; }
.background-details summary span { float: right; }
.qual-grid { margin-top: 24px; }
.qual-grid .tile { padding: 20px; box-shadow: none; }
.image-strip { margin-top: 24px; }
.image-strip figure { background: #eaece6; }
.image-strip img { height: 230px; object-fit: contain; }
#courses { background: #eef2eb; }
.course-grid { grid-template-columns: 1.45fr 1fr; gap: 20px; align-items: stretch; }
.course-grid .tile { box-shadow: none; border: 1px solid #d5dfd6; border-radius: 4px; background: var(--surface); padding: 28px; }
.course-grid .tile h3 { font: 600 25px/1.2 "Source Serif 4", serif; margin: 14px 0; }
.course-grid .tile p { font-size: 13px; max-width: 35ch; }
.course-grid .tile .btn { margin-top: 20px; }
.course-grid .featured-course { grid-row: span 2; padding: 0; overflow: hidden; }
.course-photo { width: 100%; height: 285px; object-fit: cover; object-position: center 20%; }
.course-copy { padding: 28px; }
.course-icon { font-size: 26px; color: var(--primary); }
.course-grid .featured-course h3 { font-size: 33px; }
#testimonials { text-align: center; }
.carousel-shell { background: transparent; border: 0; box-shadow: none; border-radius: 0; }
.testimonial-slide { padding: 8px 0 0; gap: 20px; }
.quote { padding: 30px; background: #f0f3ed; border: 0; border-radius: 3px; text-align: left; box-shadow: none; }
.quote p { font: 500 22px/1.5 "Source Serif 4", serif; color: var(--ink); }
.quote strong { font-size: 12px; }
.quote span { font-size: 10px; }
.stars { color: #a58549; font-size: 12px; letter-spacing: 3px; margin-bottom: 16px; }
.carousel-controls { padding: 24px 0 0; }
.carousel-buttons button { border-radius: 50%; width: 44px; height: 44px; border-color: var(--line); background: transparent; color: var(--ink); }
#testimonials .hero-actions { justify-content: center; }
#research { background: #f1f0ea; }
.credentials-subheading { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.publications-list { gap: 0; }
.publication-card { background: transparent; border: 0; border-top: 1px solid #cfd7ce; border-radius: 0; padding: 24px 0; box-shadow: none; }
.publication-card:hover { transform: none; box-shadow: none; }
.publication-title { font: 500 23px/1.4 "Source Serif 4", serif; max-width: 65ch; }
.publication-journal { font-size: 11px; margin: 9px 0; }
.publication-link { font-size: 12px; }
.academic-details { border-radius: 0; border: 0; border-top: 1px solid #cfd7ce; background: transparent; padding: 20px 0 0; }
.academic-details summary { font-size: 12px; }
.contact-wrap { grid-template-columns: 1fr 1fr; align-items: start; gap: 24px; }
.location-section { grid-row: span 2; }
.location-section h3 { font: 500 24px/1.4 "Source Serif 4", serif; margin-bottom: 8px; }
.location-section iframe { max-width: 100%; }
.form-card { padding: 24px; border-radius: 4px; background: #f0f3ed; }
.field label { font-size: 11px; }
.field input, .field select, .field textarea { border-radius: 2px; min-width: 0; background: var(--surface); }
.field textarea { min-height: 85px; }
.form-grid { gap: 14px; }
.small { font-size: 11px; overflow-wrap: anywhere; }
.form-card[hidden], .inquiry-drafts[hidden] { display: none; }
.inquiry-drafts { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.inquiry-drafts h3 { font: 500 21px/1.3 "Source Serif 4", serif; }
.inquiry-drafts .hero-actions { margin: 16px 0; }
.contact-card { padding: 0; border: 0; background: transparent; }
.contact-card h3 { font: 500 23px/1.3 "Source Serif 4", serif; }
.contact-card .small p { margin-bottom: 8px; }
.footer { padding: 30px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; font-size: 11px; }
.footer-pages { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-pages a:hover { text-decoration: underline; }
.page-link { margin-bottom: 28px; }
.social-widget-button { width: 44px; height: 44px; right: 20px; left: auto; bottom: 24px; background: var(--primary); box-shadow: var(--shadow); z-index: 150; animation: none; }
.social-widget-panel { width: min(330px, calc(100vw - 32px)); right: 20px; left: auto; bottom: 80px; max-height: calc(100dvh - 105px); overflow-y: auto; border-radius: 6px; padding: 24px; z-index: 151; }
.social-widget-panel[hidden] { display: none; }
.social-widget-panel.active { opacity: 1; pointer-events: auto; transform: none; }
.social-widget-panel h3 { font: 500 25px/1.2 "Source Serif 4", serif; padding-right: 20px; }
.social-link { border-radius: 0; padding: 12px 5px; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.social-link span { font-size: 11px; white-space: normal; overflow-wrap: anywhere; }
.social-link i { color: var(--primary); }
.mobile-sticky-cta { display: none; }
.reveal, .reveal.in { opacity: 1; transform: none; animation: none; }
@media (min-width: 1500px) {
    .hero { padding-top: 64px; }
}
@media (max-width: 1100px) {
    html { scroll-padding-top: 185px; }
    .header-course { margin-left: auto; order: 0; }
    .nav-links { flex-basis: 100%; margin-left: 0; padding-top: 10px; border-top: 1px solid var(--line); gap: 4px 26px; }
}
@media (max-width: 980px) {
    body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
    .container { width: 90%; }
    .nav { min-height: 78px; gap: 16px; }
    .hero-grid { gap: 5%; }
    .hero .hero-statement { font-size: clamp(2rem, 4.8vw, 3rem); }
    .hero-media { border-radius: 90px 4px 4px 4px; }
    .hero-media .caption strong { font-size: 22px; }
    .spotlight-strip { grid-template-columns: 1fr; gap: 0; margin-top: 18px; }
    .spotlight-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; }
    .spotlight-link span { margin: 0; }
    .section { padding: 56px 0; }
    .mobile-sticky-cta {
        display: flex; gap: 10px; align-items: center; justify-content: center;
        position: fixed; inset: auto 0 0; padding: 10px 5% calc(10px + env(safe-area-inset-bottom));
        background: rgb(250 249 245 / 98%); border-top: 1px solid var(--line); z-index: 150;
    }
    .mobile-sticky-cta .btn { flex: 1; max-width: none; width: auto; margin: 0; }
    .mobile-connect { flex: 0 0 112px; height: 46px; background: transparent; color: var(--ink); border: 1px solid var(--line); font: 700 12px "Manrope", sans-serif; cursor: pointer; }
    .social-widget-button { display: none; }
    .social-widget-panel { right: 5%; bottom: calc(80px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 110px - env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
    .utility-bar { font-size: 9px; }
    .utility-bar .container > span { max-width: 24ch; }
    .utility-bar a { align-self: center; }
    .utility-bar a span { display: none; }
    .brand-primary { font-size: 21px; }
    .brand-secondary { font-size: 8px; }
    .header-course { display: none; }
    .nav { gap: 12px; padding-block: 14px; }
    .nav-links, .nav-links.open { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
    .nav-links a { min-height: 44px; font-size: 11px; }
    html { scroll-padding-top: 205px; }
    .hero { padding-top: 32px; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero h1 { font-size: 23px; }
    .hero .hero-statement { font-size: clamp(2.1rem, 8.5vw, 3.3rem); }
    .hero p:not(.hero-statement) { font-size: 13px; max-width: 42ch; }
    .hero-actions { gap: 10px; }
    .hero-actions .btn { padding: 12px 15px; font-size: 11px; }
    .spotlight-strip { margin-top: 22px; }
    .hero-media { max-width: 460px; width: 100%; margin: 0 auto; border-radius: 100px 4px 4px 4px; }
    .hero-media img { aspect-ratio: 1 / 1.05; object-position: center 32%; }
    .counters { grid-template-columns: repeat(2, 1fr); gap: 18px 0; margin-top: 28px; }
    .counter-card:nth-child(2) { border: 0; }
    .counter-number { font-size: 24px; }
    .section { padding: 46px 0; }
    .section-title { font-size: 32px; }
    .about-wrap { grid-template-columns: 1fr; gap: 24px; }
    .about-photo { aspect-ratio: 1.25; }
    .qual-grid, .course-grid { grid-template-columns: 1fr; }
    .course-grid .featured-course { grid-row: auto; }
    .course-photo { height: 250px; }
    .testimonial-slide { grid-template-columns: 1fr; }
    .quote { padding: 24px; }
    .quote p { font-size: 21px; }
    .publication-title { font-size: 21px; }
    .contact-wrap { grid-template-columns: 1fr; }
    .location-section { grid-row: auto; }
    .form-card { padding: 20px; }
    .footer { flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}