/* MSPHD Premium Design System Layout Styles */
.msphd-page-wrapper {
    background-color: #F3EAEA;
    color: #1F1F1F;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    line-height: 1.6;
    perspective: 1000px;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* Force hide scrollbars globally inside the widget and across all children */
.msphd-page-wrapper ::-webkit-scrollbar,
.msphd-page-wrapper *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.msphd-page-wrapper,
.msphd-page-wrapper *,
.msphd-page-wrapper *:hover,
.msphd-page-wrapper *:focus {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.msphd-section {
    padding: 100px 4% 100px 4%;
    position: relative;
    border-bottom: 1px solid rgba(153, 0, 51, 0.08);
    transform-style: preserve-3d;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

.msphd-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.msphd-grid-editorial {
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
}

/* Custom Eyebrow Styling & Reveal Character Class */
.msphd-eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    text-transform: uppercase;
    color: #990033;
    transition: letter-spacing 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.msphd-reveal-char {
    display: inline-block;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.active .msphd-reveal-char {
    opacity: 1;
    transform: translateY(0);
}

.msphd-section-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 35px;
    letter-spacing: -0.02em;
    color: #990033;
}

.msphd-section-title-small {
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #990033;
}

.center-title {
    text-align: center;
    margin-bottom: 60px;
}

/* Dynamic Entrance Animation Rules with Kinetic Energy */
.msphd-animate-trigger {
    opacity: 0;
    transform: translateY(60px) scale(0.97);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.msphd-animate-trigger.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.msphd-animate-trigger[data-anim="fade"].active {
    animation: msphdFadeIn var(--anim-dur, 800ms) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.msphd-animate-trigger[data-anim="slide-up"].active {
    animation: msphdSlideUp var(--anim-dur, 800ms) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.msphd-animate-trigger[data-anim="slide-down"].active {
    animation: msphdSlideDown var(--anim-dur, 800ms) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.msphd-animate-trigger[data-anim="slide-left"].active {
    animation: msphdSlideLeft var(--anim-dur, 800ms) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.msphd-animate-trigger[data-anim="slide-right"].active {
    animation: msphdSlideRight var(--anim-dur, 800ms) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.msphd-animate-trigger[data-anim="scale"].active {
    animation: msphdScaleIn var(--anim-dur, 800ms) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.msphd-animate-trigger[data-anim="zoom"].active {
    animation: msphdZoomIn var(--anim-dur, 800ms) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Heading Animations */
.msphd-animate-heading {
    opacity: 0;
}

.active .msphd-animate-heading {
    opacity: 1;
}

.active .msphd-animate-heading[data-anim="fade"] {
    animation: msphdFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.active .msphd-animate-heading[data-anim="slide-up"] {
    animation: msphdSlideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.active .msphd-animate-heading[data-anim="slide-left"] {
    animation: msphdSlideLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.active .msphd-animate-heading[data-anim="zoom"] {
    animation: msphdZoomIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes msphdFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes msphdSlideUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes msphdSlideDown {
    from { opacity: 0; transform: translateY(-60px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes msphdSlideLeft {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes msphdSlideRight {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes msphdScaleIn {
    from { opacity: 0; transform: scale(0.92); transform-origin: center; }
    to { opacity: 1; transform: scale(1); transform-origin: center; }
}

@keyframes msphdZoomIn {
    from { opacity: 0; transform: scale(1.08); }
    to { opacity: 1; transform: scale(1); }
}

/* Card Interactive Premium Tilt Effects */
.msphd-card-interactive {
    background-color: #F3EAEA;
    border: 1px solid rgba(153, 0, 51, 0.15);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, background-color 0.4s ease;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, box-shadow;
}

.msphd-card-interactive:hover {
    transform: translateY(-10px) rotateX(1.5deg) rotateY(1deg);
    box-shadow: 0 20px 45px var(--glow-color, rgba(153, 0, 51, 0.25));
    border-color: #ED0033 !important;
}

/* Magnetic Buttons */
.msphd-magnetic-btn {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* Icon Elements */
.msphd-card-icon-container {
    font-size: 28px;
    color: #990033;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.msphd-card-interactive:hover .msphd-card-icon-container {
    transform: scale(1.22) rotate(12deg) translateZ(20px);
}

.msphd-card-icon-container svg {
    width: 32px;
    height: 32px;
    fill: #990033;
}

/* Transitions and Glows */
.msphd-glow-on-hover {
    transition: box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: box-shadow, transform;
}

.msphd-glow-on-hover:hover {
    box-shadow: 0 12px 40px var(--glow-color, rgba(153, 0, 51, 0.3));
    transform: scale(1.02);
}

/* Buttons */
.msphd-btn-group {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.msphd-btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.msphd-btn-primary {
    background-color: #990033;
    color: #ffffff;
}

.msphd-btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: #ED0033;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    z-index: -1;
}

.msphd-btn-primary:hover {
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(153,0,51,0.45);
}

.msphd-btn-primary:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.msphd-btn-secondary {
    border: 2px solid #990033;
    background-color: transparent;
    color: #990033;
}

.msphd-btn-secondary:hover {
    background-color: #ED0033;
    border-color: #ED0033;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(237,0,51,0.15);
}

.msphd-btn-accent {
    border-bottom: 2px solid #990033;
    color: #990033;
    padding: 10px 0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.msphd-btn-accent:hover {
    color: #ED0033;
    border-bottom-color: #ED0033;
    padding-left: 10px;
}

/* Module 1: Hero */
.msphd-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.msphd-hero-title {
    font-size: clamp(42px, 5.5vw, 76px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 25px;
    color: #990033;
}

.msphd-hero-subtitle {
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 400;
    color: #1F1F1F;
    margin-bottom: 30px;
    line-height: 1.4;
}

.msphd-hero-desc {
    font-size: 16px;
    color: #1F1F1F;
    line-height: 1.6;
}

.msphd-supporting-line {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #990033;
    margin-top: 30px;
}

.msphd-image-composition {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: #EAE0E0;
    overflow: hidden;
    border: 1px solid rgba(153, 0, 51, 0.1);
}

.msphd-image-composition img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.msphd-image-composition:hover img {
    transform: scale(1.08);
}

.msphd-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border: 1px dashed rgba(153,0,51,0.2);
    color: #990033;
}

.msphd-deco-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 6px;
    background-color: #990033;
}

/* Module 2: Credibility */
.msphd-credibility-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.msphd-credibility-item {
    padding: 30px;
    background: #F3EAEA;
    border-top: 3px solid rgba(153, 0, 51, 0.2);
}

.msphd-credibility-item:hover {
    border-top-color: #ED0033;
}

.msphd-credibility-label {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #990033;
}

.msphd-credibility-desc {
    font-size: 14px;
    color: #1F1F1F;
}

/* Module 3: Who We Are */
.msphd-who-image-wrapper {
    margin-top: 40px;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #EAE0E0;
    border: 1px solid rgba(153, 0, 51, 0.1);
}

.msphd-who-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msphd-editorial-para {
    font-size: 18px;
    line-height: 1.7;
    color: #1F1F1F;
    margin-bottom: 30px;
}

/* Module 4: Expertise Accordion */
.msphd-expertise-accordion {
    margin: 50px 0;
}

.msphd-exp-panel {
    border-bottom: 1px solid rgba(153,0,51,0.15);
    padding: 24px 0;
    cursor: pointer;
    transition: all 0.4s ease;
}

.msphd-exp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.msphd-exp-num {
    font-size: 16px;
    font-weight: 700;
    color: #990033;
    width: 50px;
}

.msphd-exp-title {
    font-size: 22px;
    font-weight: 700;
    flex-grow: 1;
    color: #990033;
    transition: color 0.3s ease;
}

.msphd-exp-trigger i {
    font-size: 18px;
    color: #990033;
    transition: transform 0.4s ease;
}

.msphd-exp-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: #1F1F1F;
    padding-left: 50px;
    font-size: 16px;
}

.msphd-exp-panel.msphd-active {
    background-color: #ED0033 !important;
    padding-left: 20px;
    padding-right: 20px;
}

.msphd-exp-panel.msphd-active .msphd-exp-title {
    color: #FFFFFF !important;
}

.msphd-exp-panel.msphd-active .msphd-exp-num,
.msphd-exp-panel.msphd-active .msphd-exp-trigger i {
    color: #FFFFFF !important;
}

.msphd-exp-panel.msphd-active .msphd-exp-trigger i {
    transform: rotate(45deg);
}

.msphd-exp-panel.msphd-active .msphd-exp-content {
    max-height: 200px;
    margin-top: 15px;
}

.msphd-exp-panel.msphd-active .msphd-exp-content p {
    color: #FFFFFF !important;
}

.msphd-center-cta {
    text-align: center;
    margin-top: 50px;
}

/* Module 5: SERVICES BOARD GRID */
.msphd-services-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background-color: rgba(153, 0, 51, 0.15);
    margin-top: 50px;
}

.msphd-service-board-card {
    background-color: #F3EAEA;
    padding: 40px 30px;
    transition: background-color 0.4s ease;
}

.msphd-service-board-card:hover {
    background-color: #ED0033 !important;
}

.msphd-service-board-card:hover .msphd-board-title {
    color: #FFFFFF !important;
}

.msphd-service-board-card:hover .msphd-board-desc {
    color: #FFFFFF !important;
}

.msphd-service-board-card:hover .msphd-board-num {
    color: #FFFFFF !important;
}

.msphd-service-board-card:hover .msphd-board-accent-line {
    background-color: #FFFFFF !important;
}

.msphd-service-board-card:hover .msphd-card-icon-container,
.msphd-service-board-card:hover .msphd-card-icon-container svg {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

.msphd-board-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.msphd-board-num {
    font-size: 12px;
    font-weight: 700;
    color: #990033;
    letter-spacing: 0.1em;
}

.msphd-board-accent-line {
    width: 25px;
    height: 1px;
    display: block;
    background-color: #990033;
}

.msphd-board-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #990033;
}

.msphd-board-desc {
    font-size: 14px;
    color: #1F1F1F;
    line-height: 1.6;
}

/* Module 6: Why MSPHD */
.msphd-why-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.msphd-why-card {
    background: #F3EAEA;
    padding: 40px;
    position: relative;
    border-right: 1px solid rgba(153,0,51,0.1);
}

.msphd-why-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 35px;
    height: 4px;
    background-color: #990033;
}

.msphd-why-item-label {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #990033;
}

.msphd-why-item-desc {
    font-size: 15px;
    color: #1F1F1F;
    line-height: 1.6;
}

.msphd-why-card:hover {
    background-color: #ED0033 !important;
}

.msphd-why-card:hover .msphd-why-item-label {
    color: #FFFFFF !important;
}

.msphd-why-card:hover .msphd-why-item-desc {
    color: #FFFFFF !important;
}

.msphd-why-card:hover .msphd-card-icon-container,
.msphd-why-card:hover .msphd-card-icon-container svg {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

.msphd-why-card:hover .msphd-why-badge {
    background-color: #FFFFFF !important;
}

/* Asymmetric offsets for Why cards on larger screens */
@media (min-width: 1024px) {
    .msphd-offset-1 { transform: translateY(20px); }
    .msphd-offset-2 { transform: translateY(40px); }
    .msphd-offset-1:hover { transform: translateY(10px) rotateX(1.5deg) rotateY(1deg); }
    .msphd-offset-2:hover { transform: translateY(30px) rotateX(1.5deg) rotateY(1deg); }
}

/* Module 7: How we work */
.msphd-timeline-container {
    position: relative;
    margin: 60px 0;
}

.msphd-timeline-progress {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(153,0,51,0.15);
    z-index: 1;
}

.msphd-timeline-bar {
    width: 25%;
    height: 100%;
    transition: width 0.8s ease;
    background-color: #990033;
}

.msphd-timeline-steps {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    position: relative;
    z-index: 2;
}

.msphd-timeline-step {
    text-align: center;
}

.msphd-step-indicator {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #F3EAEA;
    border: 2px solid rgba(153,0,51,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.msphd-step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.3;
    transition: opacity 0.4s ease;
    background-color: #990033;
}

.msphd-timeline-step.msphd-active .msphd-step-indicator {
    border-color: #ED0033;
    background-color: #ED0033;
    box-shadow: 0 0 15px rgba(237,0,51,0.35);
}

.msphd-timeline-step.msphd-active .msphd-step-dot {
    opacity: 1;
    background-color: #FFFFFF;
}

.msphd-step-body {
    padding: 0 10px;
}

.msphd-step-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #990033;
}

.msphd-step-desc {
    font-size: 12px;
    color: #1F1F1F;
}

.msphd-cross-ribbon {
    margin-top: 60px;
    border-top: 1px solid #990033;
    border-bottom: 1px solid #990033;
    padding: 20px 0;
    text-align: center;
    background: rgba(153,0,51,0.04);
}

.msphd-ribbon-text {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #990033;
}

/* Module 8: Featured Work */
.msphd-work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.msphd-work-card {
    background: #F3EAEA;
    overflow: hidden;
}

.msphd-work-img {
    aspect-ratio: 16/10;
    background: #EAE0E0;
    overflow: hidden;
}

.msphd-work-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.msphd-work-card:hover .msphd-work-img img {
    transform: scale(1.05);
}

.msphd-work-content {
    padding: 35px;
}

.msphd-work-title-text {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #990033;
}

.msphd-work-proofs {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.msphd-work-proofs li {
    font-size: 14px;
    color: #1F1F1F;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.msphd-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #990033;
}

.msphd-work-link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #990033;
}

.msphd-work-card:hover {
    background-color: #ED0033 !important;
}

.msphd-work-card:hover .msphd-work-title-text,
.msphd-work-card:hover .msphd-work-proofs li,
.msphd-work-card:hover .msphd-work-link {
    color: #FFFFFF !important;
}

.msphd-work-card:hover .msphd-dot {
    background-color: #FFFFFF !important;
}

/* Module 9: Technical Depth */
.msphd-depth-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.msphd-depth-card {
    background: #F3EAEA;
    padding: 35px;
}

.msphd-depth-label-text {
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid rgba(153,0,51,0.15);
    padding-bottom: 15px;
    margin-bottom: 15px;
    color: #990033;
}

.msphd-depth-card:hover {
    background-color: #ED0033 !important;
}

.msphd-depth-card:hover .msphd-depth-label-text {
    border-bottom-color: #FFFFFF !important;
    color: #FFFFFF !important;
}

.msphd-depth-card:hover .msphd-depth-desc-text {
    color: #FFFFFF !important;
}

.msphd-depth-desc-text {
    font-size: 14px;
    color: #1F1F1F;
    line-height: 1.6;
}

/* Module 10: People */
.msphd-section-subtitle-wide {
    font-size: 18px;
    color: #1F1F1F;
    max-width: 800px;
    margin-bottom: 50px;
}

.msphd-people-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.msphd-people-card {
    background: #F3EAEA;
    position: relative;
    overflow: hidden;
}

.msphd-member-photo {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #EAE0E0;
}

.msphd-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msphd-portrait-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #990033;
}

.msphd-member-info {
    padding: 20px;
    border-top: 2px solid rgba(153,0,51,0.1);
    transition: border-top-color 0.4s ease;
}

.msphd-people-card:hover {
    background-color: #ED0033 !important;
}

.msphd-people-card:hover .msphd-member-info {
    border-top-color: #FFFFFF !important;
}

.msphd-people-card:hover .msphd-member-name-text {
    color: #FFFFFF !important;
}

.msphd-people-card:hover .msphd-member-role-text {
    color: #FFFFFF !important;
}

.msphd-member-name-text {
    font-size: 18px;
    font-weight: 700;
    color: #990033;
}

.msphd-member-role-text {
    font-size: 13px;
    color: #1F1F1F;
    margin-top: 5px;
}

/* Module 11: Presence */
.msphd-presence-desc-text {
    font-size: 18px;
    color: #1F1F1F;
    margin-top: 25px;
}

.msphd-presence-map-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
}

.msphd-interactive-map {
    position: relative;
    width: 100%;
    height: 100%;
    background: #EAE0E0;
    border: 1px solid rgba(153,0,51,0.15);
}

.msphd-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.12;
    background-image: radial-gradient(#990033 1px, transparent 1px);
    background-size: 16px 16px;
}

.msphd-map-hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 5;
    cursor: pointer;
}

.msphd-pulse-dot {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #990033;
    box-shadow: 0 0 0 0 rgba(153,0,51,0.7);
    animation: msphd-pulse 2s infinite;
}

.msphd-hotspot-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: #F3EAEA;
    color: #990033;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(153,0,51,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.msphd-map-hotspot:hover .msphd-hotspot-label {
    opacity: 1;
    visibility: visible;
    left: 25px;
}

@keyframes msphd-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(153,0,51,0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(153,0,51,0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(153,0,51,0);
    }
}

/* Module 12: Research Integrity */
.msphd-integrity-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.msphd-integ-panel {
    background: #F3EAEA;
    padding: 35px;
    position: relative;
    border-top: 1px solid rgba(153,0,51,0.1);
}

.msphd-integ-num {
    font-size: 28px;
    font-weight: 800;
    display: block;
    margin-bottom: 20px;
    color: #990033;
}

.msphd-integ-title-text {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #990033;
}

.msphd-integ-desc-text {
    font-size: 14px;
    color: #1F1F1F;
}

.msphd-integ-panel:hover {
    background-color: #ED0033 !important;
}

.msphd-integ-panel:hover .msphd-integ-num,
.msphd-integ-panel:hover .msphd-integ-title-text,
.msphd-integ-panel:hover .msphd-integ-desc-text {
    color: #FFFFFF !important;
}

.msphd-integ-panel:hover .msphd-card-icon-container,
.msphd-integ-panel:hover .msphd-card-icon-container svg {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

/* Module 13: Insights */
.msphd-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 40px;
}

.msphd-insight-card {
    background: #F3EAEA;
}

.msphd-insight-img {
    aspect-ratio: 16/10;
    background: #EAE0E0;
    overflow: hidden;
}

.msphd-insight-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msphd-insight-content {
    padding: 25px;
}

.msphd-insight-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 15px;
    color: #990033;
}

.msphd-insight-title-text {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #990033;
}

.msphd-read-more {
    text-decoration: none;
    color: #990033;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.msphd-read-more:hover {
    color: #ED0033;
}

.msphd-insight-card:hover {
    background-color: #ED0033 !important;
}

.msphd-insight-card:hover .msphd-insight-cat,
.msphd-insight-card:hover .msphd-insight-title-text,
.msphd-insight-card:hover .msphd-read-more {
    color: #FFFFFF !important;
}

/* Module 14: Final CTA */
.msphd-final-cta {
    background: linear-gradient(135deg, #F3EAEA 0%, #EAE0E0 100%);
    border: 1px solid rgba(153, 0, 51, 0.15);
    padding: 100px 40px;
    text-align: center;
}

.msphd-final-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.msphd-final-cta-heading {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    color: #990033;
}

.msphd-final-cta-desc {
    font-size: 18px;
    color: #1F1F1F;
    line-height: 1.7;
    margin-bottom: 40px;
}

.msphd-btn-group-center {
    justify-content: center;
}

/* RESPONSIVE DESIGN BREAKPOINTS */
@media (max-width: 1023px) {
    .msphd-grid, .msphd-grid-editorial {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .msphd-timeline-progress {
        display: none;
    }
    
    .msphd-timeline-steps {
        grid-template-columns: 1fr;
        gap: 30px;
        border-left: 2px solid rgba(153, 0, 51, 0.15);
        padding-left: 20px;
        text-align: left;
    }
    
    .msphd-timeline-step {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }
    
    .msphd-step-indicator {
        margin: 0;
        flex-shrink: 0;
    }
    
    .msphd-work-grid {
        grid-template-columns: 1fr;
    }
    
    .msphd-depth-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .msphd-people-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .msphd-insights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .msphd-section {
        padding: 60px 20px;
    }
    
    .msphd-depth-grid {
        grid-template-columns: 1fr;
    }
    
    .msphd-people-grid {
        grid-template-columns: 1fr;
    }
    
    .msphd-btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .msphd-btn {
        text-align: center;
        width: 100%;
    }
}
