 @import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

.page-home {
    --home-accent: #991b1b;
    --home-accent-deep: #5d1111;
    --home-accent-soft: #f3d9d4;
    --home-ink: #261716;
    --home-muted: #6f5a56;
    --home-surface: #fffaf6;
    --home-surface-strong: #f5ede7;
    --home-border: rgba(78, 44, 37, 0.12);
    --home-shadow: 0 30px 80px rgba(39, 19, 16, 0.12);
    --home-radius-xl: 34px;
    --home-radius-lg: 28px;
    --home-radius-md: 22px;
    background:
        radial-gradient(circle at top left, rgba(153, 27, 27, 0.08), transparent 22%),
        linear-gradient(180deg, #fbf7f4 0%, #fffdfa 45%, #f8f2ec 100%);
    color: var(--home-ink);
    font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-home h1,
.page-home h2,
.page-home h3,
.page-home h4,
.page-home h5,
.page-home h6,
.page-home .dtc-logo,
.page-home .hero-title,
.page-home .section-title {
    font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-home img:hover {
    transform: none;
}

.page-home .container {
    max-width: 1240px;
    padding-left: clamp(1.25rem, 3vw, 2rem);
    padding-right: clamp(1.25rem, 3vw, 2rem);
}

.page-home #details,
.page-home #program,
.page-home #dtc-chapter-inline {
    scroll-margin-top: 108px;
}

.page-home .site-header {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.page-home .nav-container {
    width: min(1360px, calc(100% - 28px));
    margin: 10px auto 0;
    padding: 0.78rem 1rem;
    background: rgba(255, 249, 246, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(40, 16, 13, 0.09);
    backdrop-filter: blur(20px) saturate(1.15);
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
}

.page-home .nav-wrapper {
    gap: 1rem;
}

.page-home .logo-section {
    gap: 0.75rem;
    margin-left: 0.25rem;
}

.page-home .logo-img {
    height: 2.5rem;
}

.page-home .dtc-logo {
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--home-ink);
}

.page-home .nav-links {
    align-items: center;
    gap: 0.2rem;
    margin-right: 0.25rem;
}

.page-home .nav-link {
    margin-left: 0;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
    color: #281817;
    font-size: 1rem;
}

.page-home .nav-link::after,
.page-home .nav-link:first-child::after {
    display: none;
}

.page-home .nav-link:hover,
.page-home .nav-dropdown.is-open > .nav-link,
.page-home .nav-dropdown.is-open > .nav-dropdown-toggle {
    color: var(--home-accent);
    background: rgba(153, 27, 27, 0.08);
}

.page-home .nav-dropdown-menu {
    top: calc(100% + 0.8rem);
    padding: 0.55rem;
    border-radius: 22px;
    border: 1px solid rgba(95, 57, 48, 0.12);
    background: rgba(255, 251, 248, 0.98);
    box-shadow: 0 8px 18px rgba(44, 20, 16, 0.05);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.page-home .nav-dropdown-item {
    border-left: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.98rem;
}

.page-home .nav-dropdown-item:hover {
    background: rgba(153, 27, 27, 0.07);
}

.page-home .hero-section {
    min-height: calc(100svh - var(--header-height));
    padding: 1rem 0 3.5rem;
    overflow: hidden;
}

.page-home .home-alert {
    position: fixed;
    right: clamp(1rem, 2vw, 1.6rem);
    bottom: clamp(1rem, 2vw, 1.6rem);
    width: min(360px, calc(100vw - 2rem));
    padding: 1rem;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 168, 140, 0.34);
    background:
        radial-gradient(circle at top left, rgba(255, 145, 114, 0.28), transparent 36%),
        linear-gradient(180deg, rgba(88, 28, 24, 0.97), rgba(48, 17, 15, 0.94));
    color: #fff8f5;
    box-shadow: 0 26px 70px rgba(42, 10, 8, 0.42);
    backdrop-filter: blur(18px) saturate(1.08);
    -webkit-backdrop-filter: blur(18px) saturate(1.08);
    z-index: 9998;
    opacity: 0;
    transform: translateX(calc(100% + 1.5rem));
    transition: transform 0.32s ease, opacity 0.28s ease;
}

.page-home .home-alert.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.page-home .home-alert__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    margin-bottom: 0.95rem;
}

.page-home .home-alert__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 149, 112, 0.14);
    color: #ffd8c9;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-home .home-alert__eyebrow strong {
    font: inherit;
    font-weight: 900;
}

.page-home .home-alert__signal {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffbb84, #ff6d59);
    box-shadow: 0 0 0 0 rgba(255, 109, 89, 0.42);
    animation: homeAlertPulse 1.9s ease-out infinite;
}

.page-home .home-alert__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 189, 167, 0.12);
    color: rgba(255, 244, 239, 0.92);
    cursor: pointer;
    transition: background 0.22s ease, transform 0.22s ease;
}

.page-home .home-alert__close:hover {
    background: rgba(255, 189, 167, 0.22);
    transform: translateY(-1px);
}

.page-home .home-alert__title {
    margin: 0;
    font-size: clamp(1.08rem, 1.4vw, 1.28rem);
    line-height: 1.35;
    letter-spacing: -0.03em;
    color: #fff6f2;
}

.page-home .home-alert__body {
    margin: 0.8rem 0 0;
    color: rgba(255, 242, 236, 0.74);
    font-size: 0.94rem;
    line-height: 1.68;
}

.page-home .home-alert__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-top: 1rem;
}

.page-home .home-alert__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #bc352b, #861714);
    color: #fff9f6;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow: 0 14px 28px rgba(124, 20, 18, 0.26);
}

.page-home .home-alert__cta:hover {
    transform: translateY(-2px);
}

.page-home .home-alert__meta {
    color: rgba(255, 236, 229, 0.56);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-home .hero-section::before,
.page-home .hero-section::after {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 999px;
    pointer-events: none;
}

.page-home .hero-section::before {
    width: 340px;
    height: 340px;
    top: 5rem;
    left: -8rem;
    background: radial-gradient(circle, rgba(231, 86, 70, 0.28), transparent 70%);
    filter: blur(10px);
}

.page-home .hero-section::after {
    width: 420px;
    height: 420px;
    right: -10rem;
    bottom: -8rem;
    background: radial-gradient(circle, rgba(255, 240, 233, 0.28), transparent 72%);
    filter: blur(12px);
}

.page-home .hero-background {
    inset: 0 18px;
    border-radius: 40px;
    overflow: hidden;
}

.page-home .hero-image {
    transform: scale(1.04);
    animation: homeHeroFloat 18s ease-in-out infinite alternate;
    filter: saturate(1.06) contrast(1.02);
}

.page-home .hero-overlay {
    background:
        linear-gradient(108deg, rgba(17, 10, 10, 0.8) 10%, rgba(17, 10, 10, 0.42) 52%, rgba(17, 10, 10, 0.18) 100%),
        linear-gradient(180deg, rgba(153, 27, 27, 0.22), rgba(10, 8, 8, 0.22));
}

.page-home .hero-content {
    min-height: calc(100svh - 120px);
    z-index: 2;
}

.page-home .home-hero-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: clamp(1.6rem, 3vw, 3.2rem);
    align-items: center;
    min-height: calc(100svh - 180px);
    padding: 2.35rem 0 0.75rem;
}

.page-home .hero-copy {
    max-width: 640px;
    margin: 0;
    padding: 0;
    color: #fff8f5;
    text-shadow: none;
}

.page-home .hero-kicker,
.page-home .section-eyebrow,
.page-home .hero-panel-kicker,
.page-home .footer-eyebrow,
.page-home .program-eyebrow,
.page-home .achievement-year {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-home .hero-kicker {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: rgba(255, 245, 241, 0.82);
}

.page-home .hero-title {
    margin: 0.9rem 0 1rem;
    font-size: clamp(3rem, 7vw, 5.4rem);
    line-height: 0.92;
    letter-spacing: -0.07em;
    color: #fffaf7;
}

.page-home .hero-subtitle {
    max-width: 33rem;
    margin: 0 0 1.55rem;
    font-size: clamp(0.98rem, 1.5vw, 1.1rem);
    line-height: 1.66;
    color: rgba(255, 245, 241, 0.78);
}

.page-home .hero-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.page-home .hero-button,
.page-home .hero-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0.95rem 1.55rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.98rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.page-home .hero-button {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, #bc352b, #861714);
    box-shadow: 0 20px 38px rgba(124, 20, 18, 0.28);
}

.page-home .hero-button:hover {
    background: linear-gradient(135deg, #ca4337, #991b1b);
    transform: translateY(-2px);
}

.page-home .hero-secondary-button {
    color: #fff7f2;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.page-home .hero-secondary-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
}

.page-home .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    max-width: 620px;
}

.page-home .hero-metric {
    padding: 0.9rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.page-home .hero-metric strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1.08rem;
    font-weight: 800;
    color: #fffaf7;
}

.page-home .hero-metric span {
    display: block;
    color: rgba(255, 244, 239, 0.74);
    font-size: 0.88rem;
    line-height: 1.45;
}

.page-home .hero-section .services-section.hero-inline {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0;
    padding: 0;
    background: transparent;
}

.page-home .home-services-panel {
    padding: 1.75rem 1.5rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, rgba(64, 40, 38, 0.62), rgba(39, 26, 26, 0.52));
    box-shadow: 0 22px 54px rgba(7, 7, 9, 0.22);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.page-home .hero-panel-header {
    margin-bottom: 1.5rem;
}

.page-home .hero-panel-kicker {
    color: rgba(255, 242, 238, 0.72);
    margin-bottom: 0.7rem;
}

.page-home .hero-panel-title {
    margin: 0;
    font-size: clamp(1.25rem, 1.8vw, 1.72rem);
    line-height: 1.3;
    color: #fffaf7;
    letter-spacing: -0.04em;
}

.page-home .hero-section .services-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.1rem;
    padding: 0;
}

.page-home .hero-section .services-grid .service-item {
    width: auto !important;
    max-width: none !important;
    min-height: 0;
    margin: 0;
    padding: 1.4rem 1rem;
    border-radius: 20px;
    transform: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(15, 16, 21, 0.22), rgba(15, 16, 21, 0.46));
    box-shadow: 0 12px 30px rgba(8, 11, 16, 0.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    cursor: default;
}

.page-home .hero-section .services-grid .service-item:first-child {
    grid-column: auto !important;
    width: auto !important;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(15, 16, 21, 0.22), rgba(15, 16, 21, 0.46)) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transform: none !important;
}

.page-home .hero-section .services-grid .service-item:first-child .service-icon {
    margin-inline: 0;
}

.page-home .hero-section .services-grid .service-item:nth-child(2),
.page-home .hero-section .services-grid .service-item:nth-child(3) {
    width: auto !important;
    transform: none !important;
}

.page-home .hero-section .services-grid .service-item:hover,
.page-home .hero-section .services-grid .service-item:focus {
    transform: translateY(-6px) !important;
    box-shadow: 0 22px 52px rgba(8, 11, 16, 0.24);
}

.page-home .hero-section .service-icon {
    width: 60px;
    height: 60px;
    margin: 0;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
    color: #fffaf7;
}

.page-home .hero-section .service-description {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.52;
    font-weight: 700;
    color: rgba(255, 245, 241, 0.94);
}

.page-home .about-section,
.page-home .programs-section.combined-section,
.page-home .almanac-embed-section {
    padding: 5rem 0;
}

.page-home .about-section {
    background:
        radial-gradient(circle at top right, rgba(153, 27, 27, 0.08), transparent 24%),
        linear-gradient(180deg, #f7f1eb 0%, #fdf9f5 52%, #ffffff 100%) !important;
}

.page-home .programs-section.combined-section {
    background:
        radial-gradient(circle at bottom left, rgba(153, 27, 27, 0.07), transparent 18%),
        linear-gradient(180deg, #ffffff 0%, #fcf7f2 50%, #f6eee8 100%) !important;
}

.page-home .almanac-embed-section {
    background:
        radial-gradient(circle at top left, rgba(153, 27, 27, 0.08), transparent 20%),
        linear-gradient(180deg, #fffdfa 0%, #f8f0ea 100%);
}

.page-home .home-section-intro,
.page-home .home-subsection-intro {
    max-width: 860px;
    margin: 0 auto 2.35rem;
    text-align: center;
}

.page-home .home-subsection-intro {
    margin-top: 3.2rem;
}

.page-home .section-eyebrow,
.page-home .program-eyebrow,
.page-home .achievement-year,
.page-home .footer-eyebrow {
    color: var(--home-accent);
}

.page-home .section-title {
    margin: 0;
    padding-bottom: 0;
    font-size: clamp(2.15rem, 4vw, 3.55rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.98;
    color: var(--home-ink);
}

.page-home .home-section-intro .section-title::after,
.page-home .home-subsection-title::after,
.page-home .almanac-embed-section .section-title::after {
    content: "";
    display: block;
    width: 58px;
    height: 5px;
    margin: 0.85rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #bf3a31, #991b1b);
    box-shadow: 0 8px 18px rgba(153, 27, 27, 0.14);
}

.page-home .section-copy {
    margin: 1rem auto 0;
    max-width: 42rem;
    font-size: 0.98rem;
    line-height: 1.68;
    color: var(--home-muted);
}

.page-home .about-grid {
    gap: 2rem 2.5rem;
    align-items: start;
}

.page-home .about-image {
    position: relative;
    overflow: visible;
    border-radius: var(--home-radius-xl);
}

.page-home .about-image::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -24px;
    height: 70px;
    background: radial-gradient(circle, rgba(153, 27, 27, 0.16), transparent 68%);
    filter: blur(22px);
    z-index: 0;
}

.page-home .about-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    border-radius: var(--home-radius-xl);
    box-shadow: 0 32px 80px rgba(43, 21, 17, 0.18);
}

.page-home .about-image-caption {
    position: absolute;
    left: 1.35rem;
    right: 1.35rem;
    bottom: 1.35rem;
    z-index: 2;
    padding: 0.95rem 1rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 249, 246, 0.84);
    color: #402825;
    font-size: 0.94rem;
    line-height: 1.45;
    box-shadow: 0 18px 44px rgba(30, 16, 13, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.page-home .about-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.page-home .dtc-intro,
.page-home .dtc-pillars,
.page-home .featured-projects,
.page-home .support-statement {
    border-radius: var(--home-radius-lg);
    border: 1px solid var(--home-border);
    box-shadow: 0 18px 46px rgba(39, 19, 16, 0.08);
}

.page-home .dtc-intro,
.page-home .dtc-pillars {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(250, 244, 239, 0.92));
}

.page-home .dtc-intro {
    padding: 1.7rem 1.8rem;
}

.page-home .highlight-intro {
    margin: 0;
    font-size: clamp(1.08rem, 1.9vw, 1.28rem);
    line-height: 1.7;
    text-align: left;
    color: #43302e;
}

.page-home .tech-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.68rem;
    margin: 0.14rem 0.2rem 0.14rem 0;
    border-radius: 999px;
    background: rgba(153, 27, 27, 0.08);
    color: var(--home-accent);
    font-size: 0.88rem;
    font-weight: 800;
}

.page-home .dtc-pillars {
    padding: 1.7rem 1.8rem;
}

.page-home .pillars-heading,
.page-home .projects-heading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.1rem;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--home-ink);
}

.page-home .pillars-heading i,
.page-home .projects-heading i {
    color: var(--home-accent);
}

.page-home .pillar-items,
.page-home .project-cards {
    display: grid;
    gap: 0.9rem;
}

.page-home .pillar-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(95, 57, 48, 0.1);
}

.page-home .pillar-item:first-child {
    border-top: none;
    padding-top: 0;
}

.page-home .pillar-item > i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ba352c, #8c1816);
    color: #fffaf7;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(153, 27, 27, 0.16);
}

.page-home .pillar-content strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--home-ink);
    font-size: 1.02rem;
}

.page-home .pillar-content span {
    color: var(--home-muted);
    line-height: 1.62;
}

.page-home .featured-projects {
    padding: 1.5rem;
    color: var(--home-ink);
    background: linear-gradient(180deg, rgba(153, 27, 27, 0.1), rgba(255, 249, 246, 0.98));
    box-shadow: 0 18px 46px rgba(39, 19, 16, 0.08);
}

.page-home .featured-projects .projects-heading {
    color: var(--home-ink);
}

.page-home .featured-projects .projects-heading i {
    color: var(--home-accent);
}

.page-home .mini-project-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(153, 27, 27, 0.06);
    border: 1px solid rgba(153, 27, 27, 0.08);
}

.page-home .project-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #bc352b, #861714);
    color: #fff8f5;
    font-size: 1.15rem;
}

.page-home .project-info strong {
    display: block;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
    color: var(--home-accent-deep);
}

.page-home .project-info p {
    color: var(--home-muted);
    line-height: 1.55;
}

.page-home .support-statement {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1rem;
    padding: 1.55rem 1.75rem;
    background: linear-gradient(135deg, rgba(153, 27, 27, 0.1), rgba(255, 255, 255, 0.84));
}

.page-home .support-statement i {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #bc352b, #861714);
    color: #fffaf7;
    font-size: 1.35rem;
    box-shadow: 0 18px 36px rgba(153, 27, 27, 0.18);
}

.page-home .support-statement p {
    margin: 0;
    color: #4d3935;
    line-height: 1.72;
}

.page-home .programs-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    overflow: visible !important;
    scroll-snap-type: none !important;
}

.page-home .program-card {
    position: relative;
    min-height: 100%;
    border-radius: var(--home-radius-xl);
    border: 1px solid var(--home-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 243, 238, 0.92));
    box-shadow: 0 24px 60px rgba(41, 19, 16, 0.08);
    overflow: hidden;
}

.page-home .program-card::before {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(153, 27, 27, 0.42);
}

.page-home .program-card:nth-child(1)::before {
    content: "01";
}

.page-home .program-card:nth-child(2)::before {
    content: "02";
}

.page-home .program-card:nth-child(3)::before {
    content: "03";
}

.page-home .program-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 32px 72px rgba(41, 19, 16, 0.14);
}

.page-home .program-card:hover .program-image {
    transform: scale(1.04);
    filter: saturate(1.06);
}

.page-home .program-image {
    height: 220px;
    border-radius: 0;
}

.page-home .program-content {
    padding: 1.5rem;
    gap: 0.75rem;
}

.page-home .program-eyebrow {
    margin: 0;
}

.page-home .program-title {
    margin: 0;
    font-size: clamp(1.55rem, 2vw, 1.95rem);
    letter-spacing: -0.04em;
    color: var(--home-ink);
}

.page-home .program-title::after {
    display: none;
}

.page-home .program-description {
    color: var(--home-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.page-home .home-subsection-title {
    margin: 0;
    font-size: clamp(1.7rem, 2.7vw, 2.45rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.05em;
    color: var(--home-ink);
}

.page-home .achievements-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: none;
    margin-top: 0;
    justify-items: stretch;
    align-items: stretch;
}

.page-home .achievement-card {
    position: relative;
    height: 100%;
    max-width: none;
    border-radius: var(--home-radius-xl);
    border: 1px solid var(--home-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 241, 235, 0.94));
    box-shadow: 0 24px 60px rgba(41, 19, 16, 0.08);
    overflow: hidden;
    cursor: pointer;
}

.page-home .achievement-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 32px 72px rgba(41, 19, 16, 0.14);
}

.page-home .card-front {
    height: 290px;
    border-radius: 0;
    background:
        radial-gradient(circle at top, rgba(153, 27, 27, 0.08), transparent 62%),
        #fffaf7;
}

.page-home .card-image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    padding: 1.2rem;
    object-fit: contain;
}

.page-home .achievement-meta {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.45rem;
    padding: 1.1rem 1.25rem 1.2rem;
}

.page-home .achievement-year {
    margin: 0;
}

.page-home .achievement-name {
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.42;
    min-height: 2.84em;
    color: var(--home-ink);
}

.page-home .achievement-card::after {
    display: none;
}

.page-home .achievement-panel-overlay {
    background: rgba(21, 11, 10, 0.54);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.page-home .achievement-panel {
    border: 1px solid rgba(100, 56, 46, 0.14);
    border-radius: 28px;
    background: linear-gradient(180deg, #fffdfa, #f6eee8);
    box-shadow: 0 30px 90px rgba(21, 11, 10, 0.24);
}

.page-home .panel-img {
    max-height: 280px;
    padding: 0 28px;
}

.page-home .panel-body {
    gap: 0.8rem;
    padding: 1rem 1.8rem 2rem;
}

.page-home .panel-title {
    font-size: 1.28rem;
    color: var(--home-ink);
}

.page-home .panel-description {
    color: var(--home-muted);
}

.page-home .panel-see-more {
    border-radius: 999px;
    padding: 0.72rem 1.1rem;
    background: linear-gradient(135deg, #bc352b, #861714);
}

.page-home .almanac-embed-panel {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
}

.page-home #dtc-chapter-iframe {
    width: 100%;
    height: 560px !important;
    max-height: 560px !important;
    display: block;
    border: 0;
    background: transparent;
    overflow: hidden;
}

.page-home .home-footer {
    position: relative;
    overflow: hidden;
    padding: 0;
    background:
        radial-gradient(circle at top right, rgba(188, 53, 43, 0.28), transparent 28%),
        linear-gradient(180deg, #2f1212 0%, #150909 100%);
}

.page-home .home-footer .container {
    padding-top: 2.3rem;
    padding-bottom: 1.5rem;
}

.page-home .home-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 1.6rem;
    align-items: center;
}

.page-home .home-footer-brand {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.page-home .home-footer-brand img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.18));
}

.page-home .footer-eyebrow {
    color: rgba(255, 240, 234, 0.54);
}

.page-home .home-footer-brand h3 {
    margin: 0.35rem 0 0.55rem;
    color: #fffaf7;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.page-home .home-footer-brand p {
    margin: 0;
    max-width: 34rem;
    color: rgba(255, 243, 239, 0.74);
    line-height: 1.72;
}

.page-home .home-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    justify-content: end;
    align-items: center;
}

.page-home .home-footer-links a {
    color: rgba(255, 246, 242, 0.84);
    padding: 0;
    border: none;
    background: transparent;
    font-weight: 700;
    transition: color 0.22s ease;
}

.page-home .home-footer-links a:hover {
    color: #ffffff;
}

.page-home .home-footer-meta {
    margin: 1.5rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 241, 237, 0.58);
    text-align: left;
}

@keyframes homeHeroFloat {
    from {
        transform: scale(1.04) translateY(0);
    }

    to {
        transform: scale(1.08) translateY(-10px);
    }
}

@keyframes homeAlertPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 141, 114, 0.34);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 141, 114, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 141, 114, 0);
    }
}

@media (max-width: 1200px) {
    .page-home .home-hero-shell {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.84fr);
    }

    .page-home .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1032px) {
    .page-home .logo-section {
        margin-left: 0;
    }

    .page-home .nav-toggle {
        background: rgba(255, 248, 245, 0.92);
        border: 1px solid rgba(95, 57, 48, 0.12);
        box-shadow: none;
    }

    .page-home .mobile-menu {
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .page-home .mobile-menu-items {
        background: #ffffff;
    }
    .page-home .mobile-menu-header {
        background: #ffffff;
    }

    .page-home .mobile-menu .nav-link,
    .page-home .mobile-menu .nav-dropdown,
    .page-home .mobile-menu .nav-dropdown-toggle {
        border-color: rgba(60, 60, 67, 0.10);
    }

    .page-home .mobile-close-btn {
        background: rgba(120, 120, 128, 0.16);
        color: #3a3a3c;
    }

    .page-home .hero-section {
        min-height: auto;
        height: auto;
        padding: 1rem 0 2rem;
    }

    .page-home .hero-background {
        inset: 0 12px;
        border-radius: 32px;
    }

    .page-home .hero-content {
        padding: 0 12px;
        min-height: auto;
    }

    .page-home .home-hero-shell {
        grid-template-columns: 1fr;
        align-items: start;
        min-height: auto;
        gap: 2rem;
        padding-top: 2.25rem;
        padding-bottom: 2rem;
        min-width: 0;   /* fix: flex item inside hero-content (display:flex) — without this the shell
                           won't shrink below its min-content (metrics 3×148px = 466px) at 402px */
        width: 100%;
    }

    .page-home .hero-title {
        font-size: clamp(3rem, 11vw, 4.5rem);
        letter-spacing: -0.07em;
        line-height: 0.92;
    }

    .page-home .home-alert {
        width: min(340px, calc(100vw - 2rem));
        right: 1rem;
        bottom: 1rem;
    }

    .page-home .hero-metrics {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
        max-width: none;
        margin-bottom: 0;
    }

    .page-home .hero-metric {
        padding: 1.05rem 1.15rem;
    }

    .page-home .hero-metric strong {
        font-size: 1rem;
    }

    .page-home .hero-metric span {
        font-size: 0.84rem;
    }

    .page-home .about-section,
    .page-home .programs-section.combined-section,
    .page-home .almanac-embed-section {
        padding: 5rem 0;
    }

    /* Make all about-grid children stretch to full width when stacked */
    .page-home .about-grid {
        align-items: stretch;
        gap: 0.85rem;
    }

    .page-home .about-grid > * {
        width: 100%;
    }

    .page-home .about-text {
        gap: 0.9rem;
    }

    .page-home .dtc-intro,
    .page-home .dtc-pillars,
    .page-home .featured-projects,
    .page-home .support-statement {
        padding: 1rem 1.05rem;
    }

    .page-home .pillars-heading,
    .page-home .projects-heading {
        margin-bottom: 0.55rem;
        font-size: 1rem;
    }

    .page-home .pillar-items {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .page-home .project-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .page-home .pillar-item,
    .page-home .mini-project-card {
        min-width: 0;
        padding: 0.8rem;
        border-radius: 18px;
    }

    .page-home .pillar-item {
        grid-template-columns: 40px 1fr;
        gap: 0.7rem;
        border-top: 0;
        background: rgba(255, 255, 255, 0.72);
        box-shadow: inset 0 0 0 1px rgba(95, 57, 48, 0.08);
    }

    .page-home .pillar-item:first-child {
        padding-top: 0.8rem;
    }

    .page-home .pillar-item > i,
    .page-home .project-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 0.95rem;
    }

    .page-home .pillar-content strong,
    .page-home .project-info strong {
        font-size: 0.94rem;
        margin-bottom: 0.2rem;
    }

    .page-home .pillar-content span,
    .page-home .support-statement p {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .page-home .project-info p {
        font-size: 0.82rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    .page-home .support-statement {
        grid-template-columns: 48px 1fr;
        align-items: center;
        gap: 0.85rem;
        padding: 1rem 1.05rem;
    }

    .page-home .support-statement i {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        font-size: 1rem;
        box-shadow: 0 12px 24px rgba(153, 27, 27, 0.14);
    }

    .page-home .programs-grid {
        grid-template-columns: 1fr;
    }

    .page-home .program-card,
    .page-home .programs-grid .program-card {
        display: grid;
        grid-template-columns: 260px minmax(0, 1fr);
        align-items: stretch;
        min-width: 0;
        max-width: none;
    }

    .page-home .program-image {
        width: 260px;
        min-width: 260px;
        height: 100%;
        min-height: 232px;
        border-top-right-radius: 0;
        border-bottom-left-radius: var(--home-radius-xl);
    }

    .page-home .program-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1.35rem 1.4rem;
    }

    .page-home .achievements-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-home .home-footer-grid {
        grid-template-columns: 1fr;
    }

    .page-home .home-footer-links {
        justify-content: start;
    }

    .page-home #dtc-chapter-iframe {
        height: 520px !important;
        max-height: 520px !important;
    }
}

@media (max-width: 768px) {
    .page-home .nav-container {
        width: calc(100% - 20px);
        border-radius: 24px;
        padding: 0.65rem 0.8rem;
    }
}

@media (max-width: 640px) {
    .page-home .home-alert {
        left: 1rem;
        right: 1rem;
        width: auto;
        border-radius: 24px;
        padding: 0.95rem;
    }

    .page-home .home-alert__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-home .home-alert__meta {
        text-align: left;
    }

    .page-home .hero-background {
        inset: 0;
        border-radius: 0 0 28px 28px;
    }

    .page-home .hero-content {
        padding: 0;
    }

    /* Restore side gutters — home-hero-shell zeroes container padding */
    .page-home .home-hero-shell {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* hero-copy is a grid item — min-width:0 stops it from forcing the 1fr track wider */
    .page-home .hero-copy {
        min-width: 0;
    }

    /* Prevent inline-flex kicker pill from overflowing viewport */
    .page-home .hero-kicker {
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
        font-size: 0.68rem;
    }

    .page-home .hero-overlay {
        background:
            linear-gradient(108deg, rgba(17, 10, 10, 0.9) 10%, rgba(17, 10, 10, 0.62) 52%, rgba(17, 10, 10, 0.26) 100%),
            linear-gradient(180deg, rgba(153, 27, 27, 0.28), rgba(10, 8, 8, 0.28));
    }

    .page-home .nav-container {
        width: calc(100% - 20px);
    }

    .page-home .hero-kicker {
        color: rgba(255, 247, 244, 0.92);
        border-color: rgba(255, 255, 255, 0.22);
        background: rgba(20, 10, 10, 0.2);
    }

    .page-home .hero-title {
        color: #fffdfb;
    }

    .page-home .hero-subtitle {
        color: rgba(255, 247, 244, 0.92);
    }

    .page-home .hero-metric {
        background: rgba(26, 13, 12, 0.32);
        border-color: rgba(255, 255, 255, 0.18);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
        flex: 0 0 auto;
        min-width: 148px;
        scroll-snap-align: start;
    }

    .page-home .hero-metric span {
        color: rgba(255, 246, 241, 0.86);
    }

    .page-home .hero-metrics {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        min-width: 0;
        width: 100%;
        gap: 0.7rem;
    }

    .page-home .hero-metrics::-webkit-scrollbar {
        display: none;
    }

    .page-home .hero-section .services-grid {
        grid-template-columns: 1fr;
    }

    .page-home .hero-section .services-grid .service-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 1.25rem 1.15rem;
        gap: 1rem;
    }

    .page-home .hero-section .service-icon {
        flex-shrink: 0;
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }

    .page-home .hero-section .service-description {
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .page-home .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-home .hero-button,
    .page-home .hero-secondary-button {
        width: 100%;
        min-height: 52px;
        font-size: 1.02rem;
        justify-content: center;
    }

    .page-home .about-image-caption {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .page-home .dtc-intro,
    .page-home .dtc-pillars,
    .page-home .featured-projects,
    .page-home .support-statement {
        padding: 1rem;
    }

    .page-home .pillar-items,
    .page-home .project-cards {
        grid-template-columns: 1fr;
    }

    .page-home .pillar-item,
    .page-home .mini-project-card {
        padding: 0.8rem;
    }

    .page-home .support-statement {
        grid-template-columns: 1fr;
    }

    .page-home .program-image {
        width: 100%;
        min-width: 0;
        height: 190px;
        border-top-right-radius: var(--home-radius-xl);
        border-bottom-left-radius: 0;
    }

    .page-home .program-card,
    .page-home .programs-grid .program-card {
        display: block;
    }

    .page-home .card-front {
        height: 240px;
    }

    .page-home .achievements-grid {
        grid-template-columns: 1fr;
    }

    .page-home .almanac-embed-panel {
        padding: 0 1rem;
    }

    .page-home #dtc-chapter-iframe {
        height: 360px !important;
        max-height: 360px !important;
    }

    .page-home .almanac-embed-section {
        padding: 2.5rem 0 2rem;
    }

    .page-home .home-footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    /* Fix: base rule uses !important on 3-col — override it here for phones */
    .page-home .hero-section .services-grid {
        grid-template-columns: 1fr !important;
    }

    /* Fix: service items in row layout after stacking to 1 col */
    .page-home .hero-section .services-grid .service-item {
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        justify-content: flex-start !important;
    }

    /* Fix: AOS fade-left / fade-right → vertical only to stop right-edge clip */
    .page-home [data-aos="fade-left"],
    .page-home [data-aos="fade-right"] {
        transform: translate3d(0, 30px, 0) !important;
    }

    .page-home [data-aos="fade-left"].aos-animate,
    .page-home [data-aos="fade-right"].aos-animate {
        transform: translate3d(0, 0, 0) !important;
    }
}

/* ── Phone-only hero title size (≤ 480px) ─────────────────────── */
@media (max-width: 480px) {
    .page-home .hero-title {
        font-size: clamp(2.1rem, 9.5vw, 2.75rem);
        overflow-wrap: break-word;
    }

    .page-home .home-services-panel {
        padding: 1.25rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .hero-image,
    .page-home .program-card,
    .page-home .program-image,
    .page-home .achievement-card,
    .page-home .hero-button,
    .page-home .hero-secondary-button,
    .page-home .home-footer-links a,
    .page-home .hero-section .services-grid .service-item,
    .page-home .home-alert,
    .page-home .home-alert__close,
    .page-home .home-alert__cta,
    .page-home .home-alert__signal {
        animation: none !important;
        transition: none !important;
    }
}

html.performance-lite .page-home .home-alert {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* ── Other Accomplishments ── */
.accomplishments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.accomplishment-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--home-radius-md, 22px);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,244,238,0.98));
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.accomplishment-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent 26%);
    pointer-events: none;
}

.accomplishment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(27,20,16,0.14);
}

.accomplishment-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 62px;
    padding: 0.7rem 1rem;
    color: #fff;
}

.accomplishment-banner::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -36px;
    bottom: -44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.accomplishment-banner--reviewer { background: linear-gradient(135deg, #3b6b8a, #1e3a50); }
.accomplishment-banner--consultant { background: linear-gradient(135deg, #5a7c4f, #2d4a26); }
.accomplishment-banner--evaluator { background: linear-gradient(135deg, #8a6b3b, #503a1e); }

.accomplishment-banner__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.accomplishment-type {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,246,240,0.7);
}

.accomplishment-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,18,24,0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
    font-size: 0.9rem;
}

.accomplishment-body {
    padding: 0.75rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.accomplishment-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--home-muted, #6f5a56);
}

.accomplishment-title {
    margin: 0;
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--home-ink, #261716);
}

.accomplishment-meta {
    margin: 0;
    font-size: 0.88rem;
    color: var(--home-muted, #6f5a56);
    line-height: 1.5;
}

.accomplishment-personnel {
    margin: 0;
    font-size: 0.85rem;
    color: var(--home-accent, #991b1b);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.accomplishment-personnel i {
    font-size: 0.78rem;
    opacity: 0.7;
}

.accomplishment-toggle {
    appearance: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.accomplishment-toggle:focus-visible {
    outline: 2px solid var(--home-accent, #991b1b);
    outline-offset: 2px;
    border-radius: var(--home-radius-md, 22px);
}

.accomplishment-expand-hint {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--home-accent, #991b1b);
    letter-spacing: 0.02em;
}

.accomplishment-expand-hint i {
    transition: transform 0.22s ease;
    font-size: 0.7rem;
}

.accomplishment-details {
    padding: 0.9rem 1rem 1.1rem;
    border-top: 1px solid rgba(78, 44, 37, 0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.34s ease, opacity 0.26s ease;
}

.accomplishment-details p {
    margin: 0 0 0.65rem;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--home-muted, #6f5a56);
}

.accomplishment-details ul {
    margin: 0 0 0.75rem;
    padding-left: 1.2rem;
}

.accomplishment-details li {
    font-size: 0.85rem;
    color: var(--home-muted, #6f5a56);
    line-height: 1.6;
    margin-bottom: 0.2rem;
}

.accomplishment-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: var(--home-accent, #991b1b);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.accomplishment-doc-link:hover {
    background: #7a1515;
    transform: translateY(-1px);
}

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

@media (max-width: 600px) {
    .accomplishments-grid {
        grid-template-columns: 1fr;
    }
}
