/* ===========================================================
   || MEET THE TEAM â€” Advisor Cards Module ||
   Append to site.css. All classes prefixed .tm- (no conflicts).
   =========================================================== */

.tm-header-cell {
    text-align: left;
    margin-bottom: 1.5rem;
}

.tm-card {
    background: #030306;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* Top accent bar — slides in on hover */
.tm-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #E31836;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 4;
}

.tm-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 32px 60px rgba(3, 3, 6, 0.35),
                0 0 0 1px rgba(227, 24, 54, 0.3);
}

.tm-card:hover::before {
    transform: scaleX(1);
}

/* Image area — clean, no effects */
.tm-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    background: #1a1a1d;
    line-height: 0;
}

.tm-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content */
.tm-content {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
    position: relative;
}

.tm-tag {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #E31836;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.tm-name {
    font-family: "Oswald", sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.1;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
    transition: color 0.4s ease;
}

.tm-card:hover .tm-name {
    color: #E31836;
}

.tm-role {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    padding-bottom: 18px;
    margin-bottom: 18px;
    position: relative;
}

.tm-role::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #E31836;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-card:hover .tm-role::after {
    width: 80px;
}

.tm-desc {
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255,255,255,0.65);
    margin-bottom: 28px;
    flex-grow: 1;
}

/* CTA */
.tm-cta {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 0;
    margin-top: auto;
    align-self: flex-start;
    position: relative;
    transition: color 0.3s ease;
}

.tm-cta::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: #E31836;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-card:hover .tm-cta {
    color: #E31836;
}

.tm-card:hover .tm-cta::before {
    width: 100%;
}

.tm-cta .tl-arrow {
    font-size: 22px;
    line-height: 1;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.tm-card:hover .tm-cta .tl-arrow {
    transform: translateX(8px);
}

/* Mobile */
@media screen and (max-width: 1023px) {
    .tm-header-cell {
        text-align: center;
    }
    .tm-content {
        padding: 28px 24px;
    }
    .tm-name {
        font-size: 24px;
    }
    .tm-card {
        margin-bottom: 1rem;
    }
}


/* ===========================================================
   || SERVICE AREAS â€” Location Cards Module ||
   Append to site.css. All classes prefixed .sa- (no conflicts).
   =========================================================== */

.sa-header-cell {
    text-align: left;
    margin-bottom: 1.5rem;
    padding-top: 3rem;
    position: relative;
}

/* Subtle top divider line — separation from section above */
.sa-header-cell::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: #E31836;
}

/* Card link wrapper */
.sa-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.sa-card-link:hover,
.sa-card-link:focus,
.sa-card-link:active {
    text-decoration: none;
    color: inherit;
}

.sa-card {
    background: #FFFFFF;
    border: 1px solid rgba(3, 3, 6, 0.08);
    padding: 38px 28px 32px;
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s ease,
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.5s ease;
    will-change: transform;
}

.sa-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #E31836;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.sa-card-link:hover .sa-card {
    transform: translateY(-10px);
    border-color: rgba(227, 24, 54, 0.25);
    box-shadow: 0 28px 56px rgba(3, 3, 6, 0.1);
}

.sa-card-link:hover .sa-card::before {
    transform: scaleX(1);
}

/* Icon */
.sa-icon {
    width: 56px;
    height: 56px;
    background: #F7EDEE;
    color: #E31836;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: background 0.5s ease,
                color 0.5s ease,
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sa-card-link:hover .sa-icon {
    background: #E31836;
    color: #FFFFFF;
    transform: rotate(-6deg) scale(1.05);
}

/* Tag */
.sa-tag {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #E31836;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Name */
.sa-name {
    font-family: "Oswald", sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.1;
    color: #030306;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
    transition: color 0.4s ease;
}

.sa-card-link:hover .sa-name {
    color: #E31836;
}

/* Description */
.sa-desc {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #555;
    margin-bottom: 22px;
}

/* Bottom accent line */
.sa-line {
    display: block;
    width: 40px;
    height: 2px;
    background: #030306;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.5s ease;
}

.sa-card-link:hover .sa-line {
    width: 80px;
    background: #E31836;
}

/* CTA inside card */
.sa-cta-link {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #030306;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    position: relative;
    transition: color 0.3s ease, gap 0.4s ease;
}

.sa-cta-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: #E31836;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sa-card-link:hover .sa-cta-link {
    color: #E31836;
    gap: 14px;
}

.sa-card-link:hover .sa-cta-link::before {
    width: 100%;
}

.sa-cta-link .tl-arrow {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.sa-card-link:hover .sa-cta-link .tl-arrow {
    transform: translateX(6px);
}

/* CTA strip */
.sa-cta-cell {
    margin-top: 1.5rem;
}

.sa-cta-strip {
    background: #030306;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-left: 4px solid #E31836;
}

.sa-cta-text {
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    line-height: 1.5;
    color: #FFFFFF;
    margin: 0;
    flex: 1;
}

.sa-cta-text strong {
    color: #FFFFFF;
    font-weight: 700;
}

/* Button override inside dark CTA strip — keeps button visible on hover */
.sa-cta-strip .button,
.sa-cta-strip a.button {
    background: #E31836 !important;
    color: #FFFFFF !important;
    border: 1px solid #E31836 !important;
    transition: background 0.4s ease,
                color 0.4s ease,
                border-color 0.4s ease,
                transform 0.4s ease,
                box-shadow 0.4s ease;
}

.sa-cta-strip .button:hover,
.sa-cta-strip a.button:hover,
.sa-cta-strip .button:focus,
.sa-cta-strip a.button:focus,
.sa-cta-strip .button:active,
.sa-cta-strip a.button:active {
    background: #FFFFFF !important;
    color: #E31836 !important;
    border: 1px solid #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

/* Mobile */
@media screen and (max-width: 1023px) {
    .sa-header-cell {
        text-align: center;
        padding-top: 2rem;
    }
    .sa-card {
        padding: 32px 24px 28px;
    }
    .sa-name {
        font-size: 22px;
    }
    .sa-cta-strip {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
}

@media screen and (max-width: 639px) {
    .sa-cta-text {
        font-size: 15px;
    }
}


/* ===========================================================
   || FOUNDER / TEAM MEMBER BIO â€” Profile Module ||
   Append to site.css. All classes prefixed .bio- (no conflicts).
   Used for Tony Tedesco, Nirmitha Punukollu, Cindy Zhao, etc.
   =========================================================== */

/* Image side */
.bio-img-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.bio-img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.bio-img-frame {
    position: absolute;
    top: 24px;
    left: 24px;
    right: -24px;
    bottom: -24px;
    border: 2px solid #E31836;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-img-wrap:hover .bio-img-frame {
    transform: translate(8px, 8px);
}

.bio-img-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    background: #E31836;
    color: #FFFFFF;
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    padding: 10px 16px;
}

/* Content side */
.bio-content {
    padding-left: 1rem;
}

.bio-eyebrow {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #E31836;
    display: inline-block;
    padding-left: 32px;
    position: relative;
    margin-bottom: 16px;
}

.bio-eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 2px;
    background: #E31836;
    transform: translateY(-50%);
}

.bio-name {
    font-family: "Oswald", sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.05;
    color: #030306;
    text-transform: uppercase;
    letter-spacing: -0.8px;
    margin-bottom: 10px;
}

.bio-name-accent {
    color: #E31836;
    font-style: italic;
    font-weight: 500;
}

.bio-role {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 24px;
}

.bio-divider {
    width: 60px;
    height: 3px;
    background: #E31836;
    margin-bottom: 32px;
}

/* Stats rail */
.bio-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    padding: 24px 0;
    border-top: 1px solid rgba(3, 3, 6, 0.1);
    border-bottom: 1px solid rgba(3, 3, 6, 0.1);
}

.bio-stat {
    flex: 1;
    border-left: 2px solid #E31836;
    padding-left: 16px;
}

.bio-stat-num {
    display: block;
    font-family: "Oswald", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: #030306;
    margin-bottom: 6px;
}

.bio-stat-label {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 10px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(3, 3, 6, 0.55);
}

/* Body copy */
.bio-text {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 18px;
}

.bio-text strong {
    color: #030306;
    font-weight: 600;
}

/* Pull quote (base styles) */
.bio-quote {
    position: relative;
    margin: 32px 0;
    padding: 24px 28px;
    background: #FFFFFF;
    border-left: 4px solid #E31836;
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: #030306;
    font-style: italic;
    letter-spacing: 0.2px;
}

.bio-quote-mark {
    position: absolute;
    top: -12px;
    left: 16px;
    font-family: "Oswald", sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    color: #E31836;
    font-style: normal;
}

/* Expertise tags */
.bio-tags-wrap {
    margin: 32px 0;
}

.bio-tags-label {
    display: block;
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #E31836;
    margin-bottom: 14px;
}

.bio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bio-tag {
    display: inline-block;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(3, 3, 6, 0.2);
    color: #030306;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.bio-tag:hover {
    background: #E31836;
    border-color: #E31836;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* CTA row */
.bio-cta-row {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.bio-secondary-link {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #030306;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease, gap 0.4s ease;
}

.bio-secondary-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: #E31836;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-secondary-link:hover {
    color: #E31836;
    gap: 14px;
}

.bio-secondary-link:hover::before {
    width: 100%;
}

.bio-secondary-link .tl-arrow {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-secondary-link:hover .tl-arrow {
    transform: translateX(6px);
}

/* Full-width footer block: quote + tags + CTA */
.bio-footer-cell {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(3, 3, 6, 0.1);
}

/* Wide pull quote — centered at full width */
.bio-quote-wide {
    max-width: 820px;
    margin: 0 auto 3rem;
    padding: 32px 40px;
    text-align: center;
    font-size: 22px;
    line-height: 1.5;
    background: #FFFFFF;
    border-left: 4px solid #E31836;
    position: relative;
}

.bio-quote-wide .bio-quote-mark {
    position: absolute;
    top: -18px;
    left: 21px;
    transform: translateX(-50%);
    font-size: 72px;
    line-height: 1;
    color: #E31836;
    font-style: normal;
    padding: 0 16px;
}

/* Centered tags wrap */
.bio-tags-wrap-center {
    text-align: center;
    margin: 0 auto 2.5rem;
    max-width: 900px;
}

.bio-tags-wrap-center .bio-tags {
    justify-content: center;
}

/* Centered CTA row */
.bio-cta-row-center {
    justify-content: center;
    margin-top: 0;
}

/* Highlights grid (3-up numbered cards inside footer block) */
.bio-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 3rem;
}

.bio-highlight {
    background: #FFFFFF;
    border: 1px solid rgba(3, 3, 6, 0.08);
    padding: 32px 28px 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s ease,
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-highlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #E31836;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-highlight:hover {
    transform: translateY(-6px);
    border-color: rgba(227, 24, 54, 0.25);
    box-shadow: 0 24px 48px rgba(3, 3, 6, 0.08);
}

.bio-highlight:hover::before {
    transform: scaleX(1);
}

.bio-highlight-num {
    display: inline-block;
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #FFFFFF;
    background: #E31836;
    padding: 6px 12px;
    margin-bottom: 18px;
}

.bio-highlight-title {
    font-family: "Oswald", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: #030306;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
}

.bio-highlight-text {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #555;
    margin: 0;
}

/* Tablet & Mobile */
@media screen and (max-width: 1023px) {
    .bio-img-frame {
        top: 16px;
        left: 16px;
        right: -16px;
        bottom: -16px;
    }
    .bio-content {
        padding-left: 0;
        margin-top: 3rem;
    }
    .bio-name {
        font-size: 36px;
    }
    .bio-stats {
        gap: 16px;
    }
    .bio-stat-num {
        font-size: 26px;
    }
    .bio-quote {
        font-size: 16px;
        padding: 20px 22px;
    }
    .bio-cta-row {
        gap: 20px;
    }
    .bio-footer-cell {
        margin-top: 2rem;
        padding-top: 2.5rem;
    }
    .bio-quote-wide {
        font-size: 17px;
        padding: 24px 22px;
        margin-bottom: 2rem;
    }
    .bio-quote-wide .bio-quote-mark {
        font-size: 56px;
        top: -14px;
    }
    .bio-cta-row-center {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .bio-highlights {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 2rem;
    }
    .bio-highlight {
        padding: 28px 22px 24px;
    }
}

@media screen and (max-width: 639px) {
    .bio-name {
        font-size: 30px;
    }
    .bio-stats {
        flex-direction: column;
        gap: 20px;
    }
    .bio-stat {
        padding-left: 14px;
    }
}


/* ===========================================================
   || CONTACT CARDS â€” Team Contact Module ||
   Append to site.css. All classes prefixed .contact- (no conflicts).
   Used for Tony, Nirmitha, Cindy contact sections.
   =========================================================== */

/* Section header */
.contact-header-cell {
    text-align: left;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.contact-sub {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 20px;
}

/* Card link wrapper (single-link cards) AND container (multi-link cards) */
.contact-card-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #FFFFFF;
    border: 1px solid rgba(3, 3, 6, 0.08);
    padding: 44px 32px 36px;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s ease,
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.contact-card-link:hover,
.contact-card-link:focus,
.contact-card-link:active {
    text-decoration: none;
    color: inherit;
}

/* Multi-item card variant — not a clickable card itself */
.contact-card-multi {
    cursor: default;
}

/* Red accent bar — slides in on hover */
.contact-card-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #E31836;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

/* Subtle radial glow in corner */
.contact-card-link::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at center, rgba(227, 24, 54, 0.08) 0%, rgba(227, 24, 54, 0) 70%);
    border-radius: 50%;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
    pointer-events: none;
}

.contact-card-link:hover {
    transform: translateY(-10px);
    border-color: rgba(227, 24, 54, 0.25);
    box-shadow: 0 28px 56px rgba(3, 3, 6, 0.1);
}

.contact-card-link:hover::before {
    transform: scaleX(1);
}

.contact-card-link:hover::after {
    transform: scale(1.5);
}

/* Icon — original color preserved, background changes on hover */
.contact-icon {
    width: 72px;
    height: 72px;
    background: #F7EDEE;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: background 0.5s ease,
                box-shadow 0.5s ease,
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-card-link:hover .contact-icon {
    background: #FFFFFF;
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 0 0 2px #E31836;
}

/* Label */
.contact-label {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #E31836;
    margin-bottom: 12px;
    padding-bottom: 12px;
    position: relative;
    z-index: 1;
}

.contact-label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #030306;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.5s ease;
}

.contact-card-link:hover .contact-label::after {
    width: 60px;
    background: #E31836;
}

/* Value */
.contact-value {
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    color: #030306;
    letter-spacing: 0.3px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
    flex-grow: 1;
}

.contact-value-sm {
    font-size: 17px;
    word-break: break-word;
}

.contact-card-link:hover .contact-value {
    color: #E31836;
}

/* CTA (single-link card only) */
.contact-cta {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #030306;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease, gap 0.4s ease;
    margin-top: auto;
}

.contact-cta::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: #E31836;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card-link:hover .contact-cta {
    color: #E31836;
    gap: 14px;
}

.contact-card-link:hover .contact-cta::before {
    width: 100%;
}

.contact-cta .tl-arrow {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.contact-card-link:hover .contact-cta .tl-arrow {
    transform: translateX(6px);
}

/* Multi-item: phone/email blocks inside multi card */
.contact-phone-block {
    width: 100%;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.contact-phone-block:last-child {
    margin-bottom: 0;
    flex-grow: 1;
}

.contact-phone-type {
    display: block;
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(3, 3, 6, 0.55);
    margin-bottom: 6px;
}

/* Linked value (phone number, email, website) inside multi card */
.contact-value-link {
    display: inline-block;
    text-decoration: none;
    color: #030306;
    position: relative;
    background-image: linear-gradient(to right, #E31836, #E31836);
    background-size: 0% 1px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.4s ease;
}

.contact-value-link:hover,
.contact-value-link:focus {
    color: #E31836;
    background-size: 100% 1px;
    text-decoration: none;
}

/* Override flex-grow for value links inside multi-card blocks */
.contact-phone-block .contact-value {
    margin-bottom: 0;
    flex-grow: 0;
    font-size: 20px;
}

.contact-phone-block .contact-value-sm {
    font-size: 16px;
}

/* Mobile */
@media screen and (max-width: 1023px) {
    .contact-header-cell {
        text-align: center;
    }
    .contact-card-link {
        padding: 36px 24px 28px;
        margin-bottom: 1rem;
    }
    .contact-icon {
        width: 64px;
        height: 64px;
        padding: 14px;
    }
    .contact-value {
        font-size: 19px;
    }
    .contact-value-sm {
        font-size: 15px;
    }
    .contact-phone-block .contact-value {
        font-size: 18px;
    }
    .contact-phone-block .contact-value-sm {
        font-size: 14px;
    }
}

@media screen and (max-width: 639px) {
    .contact-card-link {
        padding: 32px 22px 26px;
    }
}




/* ===== Cap Rate Calculator ===== */
/* ===========================================================
   || CAP RATE CALCULATOR — premium aesthetic (matches .tl- module)
   =========================================================== */
.crc-wrap { font-family: "Roboto", sans-serif; color: #2B2B2B; }

/* Header */
.crc-header { margin-bottom: 48px; }
.crc-eyebrow {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
    color: #E31836; display: inline-block; padding-left: 32px; position: relative; margin-bottom: 18px;
}
.crc-eyebrow::before {
    content: ""; position: absolute; left: 0; top: 50%;
    width: 24px; height: 2px; background: #E31836; transform: translateY(-50%);
}
.crc-heading {
    font-family: "Oswald", sans-serif; font-size: 56px; font-weight: 600;
    line-height: 1.05; letter-spacing: -1px; color: #030306;
    text-transform: uppercase; margin-bottom: 18px;
}
.crc-heading .crc-accent { color: #E31836; font-style: italic; font-weight: 500; }
.crc-intro {
    font-family: "Roboto", sans-serif; font-size: 17px; line-height: 1.65;
    color: #555; max-width: 620px; margin-bottom: 28px;
}
.crc-rule {
    width: 100%; height: 1px;
    background: linear-gradient(to right, #030306 0%, #030306 80px, rgba(3,3,6,0.08) 80px, rgba(3,3,6,0.08) 100%);
    margin-top: 20px;
}

/* Body layout */
.crc-body { display: flex; gap: 48px; align-items: flex-start; flex-wrap: wrap; }
.crc-inputs { flex: 1 1 460px; min-width: 0; }
.crc-outputs-col { flex: 1 1 380px; position: sticky; top: 100px; }

/* Input groups */
.crc-group { margin-bottom: 48px; }
.crc-group-head {
    display: flex; flex-wrap: wrap; align-items: flex-end;
    justify-content: space-between; gap: 16px; margin-bottom: 24px;
    padding-bottom: 16px; border-bottom: 1px solid rgba(3,3,6,0.08);
}
.crc-group-eyebrow {
    display: block;
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    color: #E31836; margin-bottom: 6px;
}
.crc-group-title {
    font-family: "Oswald", sans-serif; font-size: 26px; font-weight: 600;
    text-transform: uppercase; color: #030306; line-height: 1.1; margin: 0;
}

/* Field */
.crc-field { margin-bottom: 22px; }
.crc-field-label {
    display: flex; align-items: center; gap: 8px;
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 10px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase;
    color: #030306; margin-bottom: 8px;
}
.crc-field-name { line-height: 1; }
.crc-tip {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; border-radius: 50%;
    background: #030306; color: #FFF;
    font-family: "Oswald", sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 0; text-transform: lowercase; cursor: help;
    font-style: italic;
}

.crc-input-wrap {
    display: flex; align-items: center;
    border-bottom: 2px solid rgba(3,3,6,0.12);
    transition: border-color 0.25s ease;
}
.crc-input-wrap:focus-within { border-bottom-color: #E31836; }
.crc-prefix {
    color: #E31836; font-family: "Oswald", sans-serif; font-weight: 700;
    font-size: 22px; padding-right: 10px; line-height: 1;
}
.crc-input {
    flex: 1; border: 0; outline: 0; background: transparent;
    padding: 8px 0; font-family: "Oswald", sans-serif;
    font-size: 24px; font-weight: 500; color: #030306;
    letter-spacing: 0.5px;
}
.crc-input::placeholder { color: rgba(3,3,6,0.3); }

/* Subtotal */
.crc-subtotal {
    margin-top: 28px; padding: 18px 0;
    border-top: 1px solid rgba(3,3,6,0.08);
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
}
.crc-subtotal-label {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 11px; font-weight: 600; letter-spacing: 1.8px;
    text-transform: uppercase; color: rgba(3,3,6,0.6);
}
.crc-subtotal-value {
    font-family: "Oswald", sans-serif; font-size: 24px; font-weight: 600;
    color: #030306; letter-spacing: 0.5px;
}

/* Toggle */
.crc-toggle {
    display: inline-flex; border: 1px solid #030306;
    border-radius: 0; overflow: hidden;
}
.crc-toggle-btn {
    background: #FFF; color: #030306; border: 0;
    padding: 10px 18px;
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 11px; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; cursor: pointer;
    transition: all 0.2s ease;
}
.crc-toggle-btn:hover { background: rgba(227,24,54,0.08); }
.crc-toggle-btn.active { background: #E31836; color: #FFF; }

/* ===== Output Card (the showpiece) ===== */
.crc-card {
    background: #030306; padding: 56px 44px 44px;
    position: relative; overflow: hidden;
    border-top: 3px solid #E31836;
}
.crc-card::after {
    content: attr(data-num); position: absolute;
    top: 28px; right: 36px;
    font-family: "Oswald", sans-serif; font-size: 200px; font-weight: 700;
    line-height: 0.85; color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.08);
    pointer-events: none; user-select: none; z-index: 1;
}
.crc-card > * { position: relative; z-index: 2; }

.crc-card-tag {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
    color: #E31836; margin-bottom: 28px;
    display: inline-flex; align-items: center; gap: 10px;
}
.crc-card-dot {
    display: inline-block; width: 8px; height: 8px;
    background: #E31836; border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(227,24,54,0.25);
    animation: crc-pulse 2s ease-in-out infinite;
}
@keyframes crc-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(227,24,54,0.25); transform: scale(1); }
    50%      { box-shadow: 0 0 0 9px rgba(227,24,54,0);    transform: scale(1.1); }
}

.crc-card-eyebrow {
    font-family: "Roboto", sans-serif; font-size: 14px; font-weight: 400;
    color: rgba(255,255,255,0.55); margin-bottom: 4px; letter-spacing: 0.5px;
}
.crc-card-title {
    font-family: "Oswald", sans-serif; font-size: 36px; font-weight: 600;
    color: #FFF; text-transform: uppercase; letter-spacing: -0.5px;
    line-height: 1; margin: 0 0 24px;
}
.crc-card-title .crc-card-accent {
    color: #E31836; font-style: italic; font-weight: 500;
}

.crc-rate-display {
    font-family: "Oswald", sans-serif; font-size: 96px; font-weight: 700;
    color: #FFF; line-height: 1; letter-spacing: -3px;
    margin: 16px 0 8px;
}

.crc-card-divider {
    height: 1px; background: rgba(255,255,255,0.1);
    margin: 32px 0 28px;
}

.crc-card-meta { display: flex; flex-direction: column; gap: 22px; }
.crc-card-meta-item {
    border-left: 2px solid #E31836; padding-left: 14px;
    display: flex; flex-direction: column; gap: 6px;
}
.crc-card-meta-label {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-size: 10px; font-weight: 600; letter-spacing: 1.8px;
    text-transform: uppercase; color: rgba(255,255,255,0.45);
}