/* ══════════════════════════════════════════════
   ABOUT.CSS — about.html only
   Bridge-story visual, goals/values, team grid + avatar
   wordmark, about-hero.
══════════════════════════════════════════════ */

.bridge-story {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.bridge-problem-wrap {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.2rem 1.6rem;
    background: rgba(255, 90, 90, 0.05);
    border: 0.5px solid rgba(255, 90, 90, 0.18);
    border-radius: 8px;
    margin: 0 auto 3.5rem;
    max-width: 680px;
    flex-direction: column;
}

.bridge-problem-badge {
    flex-shrink: 0;
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ff7675;
    background: rgba(255, 118, 117, 0.12);
    border: 0.5px solid rgba(255, 118, 117, 0.3);
    padding: 0.2rem 0.65rem;
    border-radius: 100px;
    margin-top: 0.2rem;
}

.bridge-problem-wrap p        { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }

.bridge-problem-wrap strong   { color: rgba(255, 160, 160, 0.85); }

.bridge-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin: 1rem auto 0.5rem;
    width: 100%;
    max-width: 420px;
    padding: 0;
    box-sizing: border-box;
}

.bridge-node {
    flex-shrink: 0;
    width: 100%;
    max-width: 280px;
    margin-inline: auto;
    background: var(--bg2);
    border: 0.5px solid var(--border);
    border-radius: 8px;
    padding: 1rem 1rem 0.95rem;
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.node-science {
    border-color: rgba(45, 106, 79, 0.3);
    background: rgba(45, 106, 79, 0.05);
}

.node-market {
    border-color: rgba(74, 144, 164, 0.3);
    background: rgba(74, 144, 164, 0.05);
}

.bridge-node:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.12);
    border-color: rgba(45, 106, 79, 0.4);
}

.bridge-story.bridge-animate .node-science {
    animation: bNodeIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0s both;
}

.bridge-story.bridge-animate .node-market {
    animation: bNodeIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s both;
}

.node-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.45rem;
    line-height: 0;
}

.node-emoji svg { width: 26px; height: 26px; }

.node-letter {
    font-family: var(--font-body);
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin: 0 auto 0.35rem;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.node-title-text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}

.bridge-mid {
    flex: 0 1 auto;
    width: 100%;
    max-width: 340px;
    height: auto;
    min-height: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0.15rem auto;
    text-align: center;
}

.bridge-svg {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    aspect-ratio: 600 / 170;
    margin: 0 auto;
}

.bridge-tagline-label {
    font-size: clamp(11.5px, 3.1vw, 15px);
    color: var(--muted);
    text-align: center;
    margin: 1.5rem auto 0;
    max-width: 34rem;
    width: 100%;
    z-index: 10;
    line-height: 1.6;
    letter-spacing: 0.01em;
    padding: 0 0.75rem;
    white-space: nowrap;
}

.bridge-arch-path {
    fill: none;
    stroke: url(#bridgeGrad);
    stroke-width: 3.5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 7px rgba(45, 106, 79, 0.55));
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
}

.bridge-story.bridge-animate .bridge-arch-path {
    animation: bDraw 1.3s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.bridge-support-line {
    stroke: rgba(74, 144, 164, 0.45);
    stroke-width: 2;
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
}

.bridge-story.bridge-animate .bridge-support-line:nth-child(3) { animation: bDraw 0.35s ease 1.50s forwards; }

.bridge-story.bridge-animate .bridge-support-line:nth-child(4) { animation: bDraw 0.35s ease 1.65s forwards; }

.bridge-story.bridge-animate .bridge-support-line:nth-child(5) { animation: bDraw 0.35s ease 1.55s forwards; }

.bridge-road-line {
    stroke: rgba(74, 144, 164, 0.2);
    stroke-width: 4;
    stroke-dasharray: 640;
    stroke-dashoffset: 640;
}

.bridge-story.bridge-animate .bridge-road-line { animation: bDraw 0.9s ease 1.1s forwards; }

.bridge-conclusion {
    text-align: center;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 620px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: rgba(45, 106, 79, 0.05);
    border: 0.5px solid rgba(45, 106, 79, 0.14);
    border-radius: 8px;
}

.bridge-conclusion strong { color: var(--accent2); }

.bridge-conclusion em {
    display: block;
    font-style: normal;
    font-size: 12px;
    margin-top: 0.5rem;
    opacity: 0.65;
    letter-spacing: 0.02em;
}

.bridge-quote {
    border-top: 1px solid var(--border);
    padding: 0.7rem 0 0;
    margin: 1.1rem auto 0;
    max-width: 34rem;
    font-style: italic;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
}

.bridge-quote p { margin: 0; }

.goals-section,
#about {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.goals-section::before,
#about::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: none;
    pointer-events: none;
    z-index: 0;
}

.goals-section .bridge-story,
.goals-section .goals-header,
.goals-section .goals-grid,
#about .bridge-story,
#about .goals-header,
#about .goals-grid {
    position: relative;
    z-index: 1;
    gap: 1rem;
}

.goals-header { margin-bottom: 3.5rem; }

.goals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.goal-card {
    background: var(--bg2);
    border: 0.5px solid var(--border);
    border-radius: 8px;
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.goal-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.goal-card:hover::after { transform: scaleX(1); }

.goal-card:hover {
    background: var(--bg3);
    transform: translateY(-5px);
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.15);
    border-color: rgba(45, 106, 79, 0.35);
}

.goal-card:hover .goal-icon {
    background: rgba(45, 106, 79, 0.3);
    transform: scale(1.1) rotate(5deg);
}

.goal-card h3 {
    font-family: var(--font-body);
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
    transition: color 0.3s;
}

.goal-card:hover h3 { color: var(--accent2); }

.goal-card > p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
}

.goal-values {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.goal-values li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.goal-value-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: rgba(45, 106, 79, 0.13);
    border: 0.5px solid rgba(45, 106, 79, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s;
}

.goal-card:hover .goal-value-icon {
    background: rgba(45, 106, 79, 0.25);
}

.goal-values li > div:last-child {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

.goal-values li strong {
    color: var(--text);
    font-weight: 600;
}

.team-section {
    background: var(--bg);
    padding-top: 4rem;
    padding-bottom: 3rem;
}

.team-header {
    margin-bottom: 0.5rem;
    max-width: 34rem;
}

.team-grid {
    margin-top: 2rem;
    position: relative;
    justify-content: center;
}

.team-grid.row-two {
    max-width: 100%;
    margin: 2rem 0 0;
}

.team-card {
    background: var(--bg2);
    border-radius: 8px;
    border: 0.5px solid var(--border);
    overflow: hidden;
    transition:
        border-color 0.3s,
        transform 0.3s,
        box-shadow 0.3s;
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.team-card:hover,
.team-card:visited,
.team-card:active {
    color: inherit;
    text-decoration: none;
}

.team-card:hover {
    border-color: rgba(45, 106, 79, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(45, 106, 79, 0.16);
}

.team-grid .team-card:nth-child(2) { transition-delay: 0.06s; }

.team-grid .team-card:nth-child(3) { transition-delay: 0.12s; }

.team-grid .team-card:nth-child(4) { transition-delay: 0.18s; }

.team-grid .team-card:nth-child(5) { transition-delay: 0.24s; }

.team-avatar {
    height: 152px;
    background: var(--bg3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-avatar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, var(--avatar-glow, var(--glow)), transparent 70%);
    opacity: 0.85;
    transition: opacity 0.35s;
}

.team-card:hover .team-avatar::before { opacity: 1; }

.team-avatar::after {
    content: "";
    position: absolute;
    left: 30%;
    right: 30%;
    bottom: 0;
    height: 2px;
    background: var(--avatar-line, var(--accent));
    opacity: 0.4;
    transition: opacity 0.35s, left 0.35s, right 0.35s;
}

.team-card:hover .team-avatar::after {
    left: 14%;
    right: 14%;
    opacity: 1;
}

.team-avatar:has(.avatar-initials--g)::after,
.team-avatar:has(.avatar-initials--m)::after {
    --avatar-glow: rgba(31, 77, 56, 0.24);
    --avatar-line: var(--accent2);
}

.team-avatar:has(.avatar-initials--a)::after,
.team-avatar:has(.avatar-initials--y)::after {
    --avatar-glow: rgba(45, 106, 79, 0.24);
    --avatar-line: var(--accent);
}

.team-avatar:has(.avatar-initials--l)::after {
    --avatar-glow: rgba(31, 77, 56, 0.24);
    --avatar-line: var(--accent2);
}

.avatar-initials {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg2);
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: var(--text);
    position: relative;
    z-index: 1;
    transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.avatar-initials--g {
    color: var(--accent2);
    border-color: rgba(31, 77, 56, 0.45);
    text-shadow: 0 0 14px rgba(31, 77, 56, 0.45);
}

.avatar-initials--a {
    color: var(--accent);
    border-color: rgba(45, 106, 79, 0.45);
    text-shadow: 0 0 14px rgba(45, 106, 79, 0.45);
}

.avatar-initials--l {
    color: var(--accent2);
    border-color: rgba(31, 77, 56, 0.45);
    text-shadow: 0 0 14px rgba(31, 77, 56, 0.45);
}

.avatar-initials--y {
    color: var(--accent);
    border-color: rgba(45, 106, 79, 0.45);
    text-shadow: 0 0 14px rgba(45, 106, 79, 0.45);
}

.avatar-initials--m {
    color: var(--accent2);
    border-color: rgba(31, 77, 56, 0.45);
    text-shadow: 0 0 14px rgba(31, 77, 56, 0.45);
}

.team-card:hover .avatar-initials {
    transform: scale(1.08);
    box-shadow: 0 0 0 4px var(--bg2), 0 0 18px -2px var(--avatar-line, var(--glow));
}

.team-info { padding: 1.1rem 1rem 1.3rem; text-align: center; }

.team-info h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.team-info .role {
    display: inline-block;
    margin-top: 0.55rem;
    padding: 0.3rem 0.65rem;
    font-size: 10.5px;
    letter-spacing: 0.02em;
    font-weight: 500;
    color: var(--muted);
    background: var(--bg3);
    border: 0.5px solid var(--border);
    border-radius: 6px;
    transition: color 0.3s, border-color 0.3s;
}

.team-card:hover .team-info .role {
    color: var(--accent2);
    border-color: rgba(45, 106, 79, 0.35);
}

@media (min-width: 768px) {
.goals-grid {
        gap: 1.5rem;
    }

.bridge-node {
        width: 150px;
        padding: 1.5rem 1rem;
    }

.node-emoji {
        font-size: 30px;
    }

.node-letter {
        font-size: 44px;
    }

.node-title-text {
        font-size: 15px;
    }

.bridge-mid {
        height: 170px;
        max-width: 520px;
    }

.team-grid {
        margin-top: 3.5rem;
    }

.team-info {
        text-align: center;
    }

.goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

.goal-card {
        padding: 2.5rem;
    }

.bridge-problem-wrap {
        gap: 1rem;
    }

.bridge-visual {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        margin: 2.5rem 0;
    }

.bridge-node {
        max-width: none;
    }

.bridge-svg {
        height: 170px;
        margin-top: -20px;
    }

.bridge-arch-path {
        stroke-width: 2.5;
    }

.bridge-support-line {
        stroke-width: 1.5;
    }

.bridge-road-line {
        stroke-width: 3;
    }

.bridge-tagline-label {
        margin-top: 1.75rem;
    }

.team-grid.row-two {
        max-width: 60%;
        margin: 3.5rem auto 0;
    }

.team-card {
        border-radius: 8px;
    }

.team-avatar {
        height: 200px;
    }

.avatar-initials {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }

.team-info h3 {
        font-size: 17px;
    }

.team-info p {
        font-size: 13px;
    }

.team-info {
        padding: 1.4rem;
    }

.team-info .role {
        font-size: 12px;
    }
}

@media (min-width: 1024px) {
.goals-grid {
        gap: 1.5rem;
    }

.bridge-node {
        width: 190px;
        padding: 2rem 1.5rem;
    }

.node-emoji {
        font-size: 38px;
    }

.node-letter {
        font-size: 54px;
    }

.node-title-text {
        font-size: 18px;
    }

.bridge-mid {
        height: 290px;
        max-width: 520px;
    }

.team-grid {
        margin-top: 3.5rem;
    }

.goals-grid {
        grid-template-columns: repeat(3, 1fr);
    }

.goal-card {
        padding: 2.5rem;
    }

.bridge-problem-wrap {
        gap: 1rem;
    }

.bridge-visual {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        margin: 2.5rem 0;
    }

.bridge-node {
        max-width: none;
    }

.bridge-svg {
        height: 170px;
        margin-top: -20px;
    }

.bridge-arch-path {
        stroke-width: 2.5;
    }

.bridge-support-line {
        stroke-width: 1.5;
    }

.bridge-road-line {
        stroke-width: 3;
    }

.bridge-tagline-label {
        margin-top: 1.75rem;
    }

.team-grid.row-two {
        max-width: 60%;
        margin: 3.5rem auto 0;
    }

.team-card {
        border-radius: 8px;
    }

.team-avatar {
        height: 200px;
    }

.avatar-initials {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }

.team-info h3 {
        font-size: 17px;
    }

.team-info p {
        font-size: 13px;
    }

.team-info {
        padding: 1.4rem;
    }

.team-info .role {
        font-size: 12px;
    }
}

.about-page { padding-top: 0; }

.about-hero-section,
#about.about-hero-section {
    padding-top: calc(var(--nav-h, 64px) + 1.5rem);
    padding-bottom: 0.5rem !important;
}

@media (min-width: 768px) {
.about-hero-section,
    #about.about-hero-section {
        padding-top: calc(var(--nav-h, 112px) + 1.1rem);
        padding-bottom: 0.75rem !important;
    }
}

.bridge-hero-header {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 1.15rem;
    padding: 0 0.25rem;
}

.bridge-hero-lead {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    margin: 0.6rem auto 0;
    max-width: min(100%, 32rem);
    text-align: center;
}

.bridge-quote-band {
    width: 100%;
    margin: 1rem 0 0;
    padding: 0.7rem 4vw;
    border-top: 0.5px solid var(--border);
}

.bridge-quote--hero {
    border: none;
    margin: 0 auto;
    max-width: 32rem;
    padding: 0;
    font-style: normal;
    text-align: center;
}

.bridge-quote--hero p {
    font-family: var(--font-body);
    font-size: clamp(12.5px, 2vw, 14px);
    font-weight: 500;
    font-style: italic;
    color: var(--muted);
    line-height: 1.4;
}

.bridge-quote--hero cite {
    display: block;
    margin-top: 0.3rem;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    color: var(--accent2);
    opacity: 0.85;
}

.bridge-problem-wrap {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 520px;
    box-sizing: border-box;
}

.bridge-problem-wrap--after-bridge {
    margin: 0.85rem auto 0;
    padding: 0.7rem 1.1rem;
    align-items: center;
    text-align: center;
}

.about-page .bridge-story {
    margin-bottom: 0.25rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-page .bridge-visual {
    margin: 0.75rem auto 0.15rem !important;
}

.about-page .goals-section { padding-top: 1rem !important; margin-top: 0 !important; }

.about-page .goals-header { margin-bottom: 1.5rem; }

@media (min-width: 768px) {
.about-page .goals-section { padding-top: 1.25rem !important; }

.about-page .bridge-visual {
        max-width: 880px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1.25rem;
        margin: 0.6rem auto 0.2rem !important;
    }

.about-page .bridge-node {
        max-width: 160px;
        width: 160px;
        padding: 1.15rem 0.85rem;
    }

.about-page .bridge-mid {
        flex: 1 1 auto;
        max-width: 420px;
        min-width: 0;
    }

.about-page .bridge-svg {
        max-width: 100%;
    }

.about-page .node-letter { font-size: 36px; }

.about-page .node-title-text { font-size: 13.5px; }
}

@media (min-width: 1024px) {
.about-page .bridge-visual {
        max-width: 960px;
        gap: 1.75rem;
    }

.about-page .bridge-node {
        max-width: 180px;
        width: 180px;
        padding: 1.35rem 1rem;
    }

.about-page .bridge-mid { max-width: 480px; }

.about-page .node-letter { font-size: 40px; }

.about-page .node-title-text { font-size: 14.5px; }
}

