/* Mark Farragher: small additions on top of the mdftpro design system */

.brand-wordmark {
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #111;
}
.brand-wordmark span {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-orange);
}
@media (max-width: 575px) {
    .brand-wordmark span { display: none; }
}

.nav-separator {
    display: inline-block;
    width: 1px;
    height: 24px;
    background: #dee2e6;
}

.footer-heading {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #adb5bd;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.footer-social-icons a { text-decoration: none; }

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brand-orange);
}
.text-orange { color: var(--brand-orange) !important; }

.hero-photo-col {
    padding-left: 1rem;
}
@media (min-width: 992px) {
    .hero-photo-col {
        padding-left: 2.5rem;
    }
}

.person-photo {
    width: 100%;
    max-width: 320px;
    border-radius: 1.25rem;
    object-fit: cover;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.15);
}


.icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex: 0 0 auto;
}
.icon-badge--large {
    width: 84px;
    height: 84px;
    border-radius: 22px;
    font-size: 2.4rem;
}

.project-card .card-img-top,
.blog-card .card-img-top {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.project-hero-img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 1rem;
}

.blog-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c757d;
    font-weight: 700;
}
.blog-meta-left {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.testimonial-quote { font-size: 1rem; }
.testimonial-quote p:last-child { margin-bottom: 0; }
.testimonial-card { min-height: 15rem; }
.testimonial-carousel .carousel-item { padding-left: 0.5rem; padding-right: 0.5rem; }

.cta-card {
    background: #111;
    color: #fff;
    border-radius: 1.25rem;
}
.cta-card .text-muted { color: #adb5bd !important; }
.cta-card a { text-decoration: none; }

.empty-state {
    border: 1px dashed #ced4da;
    border-radius: 1rem;
}

.breadcrumb-link { color: #6c757d; text-decoration: none; }
.breadcrumb-link:hover { color: #111; text-decoration: underline; }

.section-heading {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    border-bottom: 3px solid var(--brand-orange);
    display: inline-block;
    padding-bottom: 0.35rem;
}

.navbar a.nav-link.active {
    color: var(--brand-orange) !important;
    text-decoration: underline !important;
    text-decoration-color: var(--brand-orange) !important;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.4rem;
}
.navbar a.nav-link.active:hover {
    color: var(--brand-orange) !important;
    text-decoration-color: var(--brand-orange) !important;
}

.hero-name {
    white-space: nowrap;
    font-size: clamp(1.35rem, 3.8vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.offering-img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.award-card {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(120% 120% at 100% 0%, rgba(250, 105, 21, 0.3) 0%, rgba(250, 105, 21, 0) 55%),
        linear-gradient(145deg, #0b0b0b 0%, #161616 60%, #241109 100%);
    border: 1px solid rgba(250, 105, 21, 0.45) !important;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.award-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(175, 235, 43, 0.28), transparent 65%);
    pointer-events: none;
}
.award-card .card-body { position: relative; z-index: 1; }

.award-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-orange), #ffb36b);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 0 0 6px rgba(250, 105, 21, 0.14), 0 10px 25px rgba(250, 105, 21, 0.25);
}
.award-year {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    color: var(--brand-green);
    font-weight: 800;
    border: 1px solid rgba(175, 235, 43, 0.35);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
}
.award-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.68rem;
    color: #adb5bd;
    font-weight: 700;
}
.award-title {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1;
    color: #fff;
}
.award-subtitle { color: var(--brand-orange); font-weight: 700; font-size: 0.95rem; }
.award-body { color: #ced4da; font-size: 0.82rem; line-height: 1.55; }

/* Softer lift on cards */
.scale-hover:hover {
    transform: scale(1.02);
}

/* Project cards */
.project-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    box-shadow: 0 0.85rem 2rem rgba(0, 0, 0, 0.09);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.project-card:hover {
    border-color: rgba(250, 105, 21, 0.4);
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.13);
}
.project-card-title {
    color: #111;
    transition: color 0.15s ease;
}
.project-card:hover .project-card-title { color: var(--brand-orange); }
.project-card-tagline {
    color: var(--brand-orange);
    font-size: 0.85rem;
    font-weight: 600;
}
.project-card-summary {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
}
.project-card-summary p:last-child { margin-bottom: 0; }
.project-card .card-footer {
    background: #fff;
    border-top: 1px solid #f1f3f5;
}
.project-card-img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.source-badge {
    display: inline-block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #495057;
    background: #f1f3f5;
    border-radius: 4px;
    padding: 0.16rem 0.45rem;
}
.source-badge--aifixer {
    color: #fff;
    background: #000;
}
.source-badge--mdfpro {
    color: #111;
    background: var(--brand-green);
}
.date-text {
    margin-left: 0;
    text-align: right;
    white-space: nowrap;
}
.blog-meta-left .lang-badge,
.blog-meta-left .lang-flag { margin-left: 0; }
.lang-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.1rem 0.35rem;
    margin-left: 0.35rem;
}
.lang-flag {
    display: inline-flex;
    overflow: hidden;
    margin-left: 0.35rem;
    border-radius: 2px;
    vertical-align: middle;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    line-height: 0;
}
.lang-flag img {
    display: block;
    width: 20px;
    height: 13px;
}

/* Blog cards */
.blog-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.blog-card:hover {
    border-color: rgba(250, 105, 21, 0.4);
    box-shadow: 0 1.1rem 2.2rem rgba(0, 0, 0, 0.11);
}
.blog-card-title {
    min-height: 2.9rem;
}
.blog-card-title a {
    color: #111;
    transition: color 0.15s ease;
}
.blog-card:hover .blog-card-title a { color: var(--brand-orange); }
.blog-card-excerpt {
    min-height: 3.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-excerpt p:last-child { margin-bottom: 0; }
.blog-more {
    margin-top: auto;
    color: var(--brand-orange);
    font-weight: 600;
}
.blog-more:hover { color: var(--brand-orange-hover); }

/* Contact page */
.contact-card {
    height: 100%;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.06);
}
.contact-card--details {
    height: auto;
    background: #f8f9fa;
}
.contact-card-title {
    margin: 0 0 1.25rem;
    font-size: 1.25rem;
    line-height: 1.25;
    font-weight: 700;
}
.contact-form .form-label {
    color: #212529;
    font-size: 0.95rem;
    font-weight: 600;
}
.contact-form .form-control {
    border-color: #dee2e6;
    border-radius: 0.5rem;
}
.contact-form .form-control:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 0.2rem rgba(250, 105, 21, 0.15);
}
.contact-form .form-check-input:checked {
    border-color: var(--brand-orange);
    background-color: var(--brand-orange);
}
.contact-form .form-check-label {
    color: #495057;
    font-size: 0.95rem;
}
.contact-form .btn-primary {
    font-weight: 600;
}
.contact-form-note {
    margin: 1rem 0 0;
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.5;
}
.contact-form-alert {
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}
.contact-form-alert--success {
    border-color: var(--brand-green);
    background: rgba(175, 235, 43, 0.12);
}
.contact-form-alert--error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}
.contact-details-location {
    margin: 0 0 1.25rem;
    color: #6c757d;
    font-size: 0.95rem;
}
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    font-style: normal;
}
.contact-details-list p {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
}
.contact-details-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.contact-details-list a {
    color: var(--brand-orange);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.contact-details-list a:hover { text-decoration: underline; }
.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.btn-contact {
    background: #fff;
    border: 1px solid #fff;
    color: #111;
    font-weight: 600;
}
.btn-contact:hover,
.btn-contact:focus {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: #111;
}
