.about-page .nav-links>a[aria-current="page"]{color:var(--teal);font-weight:700}
.about-page .eyebrow{margin-bottom:1rem;letter-spacing:0;font-size:var(--type-caption)}
.about-hero{background:#edf0e8;color:var(--ink)}
.about-hero-inner{max-width:1152px;padding-block:clamp(2rem,4vw,3.5rem)}
.about-hero .eyebrow{color:#566f50}
.about-hero h1{max-width:19ch;margin:0;color:var(--petrol);font:800 var(--type-hero)/1.3 var(--persian);letter-spacing:-.02em;text-wrap:balance}
.about-hero-lead{max-width:58ch;margin:.85rem 0 0;color:#46564a;font-size:var(--type-lead);line-height:1.85}
.about-hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin:1.5rem 0 0;color:#526354;font-size:var(--type-caption);line-height:1.7}
.team-section{padding-block:clamp(2rem,4vw,3.5rem)}
.about-section-heading{max-width:700px;margin-bottom:clamp(2rem,4vw,3.25rem)}
.about-section-heading .eyebrow{color:#607958}
.about-section-heading h2{margin:0;color:var(--petrol);font:700 var(--type-h2)/1.4 var(--persian);letter-spacing:-.01em;text-wrap:balance}
.about-section-heading>p:last-child{max-width:62ch;margin:.85rem 0 0;color:#4f5b52;font-size:var(--type-body);line-height:1.85}
.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.5rem,4vw,3.5rem)}
.team-loading{color:var(--slate)}
.mentor-card{min-width:0;padding:0;background:transparent}
.mentor-card-link{display:block;height:100%;color:inherit;text-decoration:none;border-radius:16px;transition:transform .2s ease,color .2s ease}
.mentor-card-link:hover{transform:translateY(-3px)}
.mentor-card-link:focus-visible,.profile-tool-link:focus-visible{outline:3px solid var(--sage);outline-offset:5px}
.mentor-card-heading{display:flex;align-items:center;gap:1rem;margin-bottom:1.2rem}
.mentor-avatar{display:grid;place-items:center;flex:none;width:72px;height:72px;overflow:hidden;border-radius:50%;background:#e3eae1;color:var(--petrol)}
.mentor-avatar img{width:100%;height:100%;object-fit:cover;object-position:center 18%}
.mentor-avatar-fallback svg{width:30px;height:30px}
.mentor-identity{min-width:0}
.mentor-identity h3{margin:0;color:var(--petrol);font:700 var(--type-h3)/1.35 var(--persian);text-wrap:balance}
.mentor-kicker{margin:.3rem 0 0;color:#607958;font-size:var(--type-caption);font-weight:600;line-height:1.6}
.mentor-bio{display:block;max-width:40ch;margin:0;overflow:visible;color:#46564a;font-size:var(--type-body);line-height:1.85}
.mentor-profile-cta{display:inline-flex;align-items:center;gap:.4rem;margin-top:1rem;color:var(--teal);font-size:var(--type-body);font-weight:700}
.mentor-profile-cta span{transition:transform .2s ease}
.mentor-card-link:hover .mentor-profile-cta span{transform:translateX(-3px)}
.tech-section{padding-block:clamp(4rem,8vw,7rem);background:#eef1e9}
.tech-section .about-section-heading{margin-bottom:clamp(2rem,4vw,3.25rem)}
.tech-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.5rem,4vw,3rem)}
.tech-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:1rem;min-width:0;padding:0;background:transparent}
.tech-card-number{padding-top:.25rem;color:#607958;font:700 var(--type-caption)/1.5 var(--display);font-variant-numeric:tabular-nums}
.tech-card h3{margin:0 0 .55rem;color:var(--petrol);font:700 var(--type-h3)/1.4 var(--persian);text-wrap:balance}
.tech-card p{margin:0;color:#46564a;font-size:var(--type-body);line-height:1.85}
.about-cta-section{padding-block:clamp(4rem,8vw,7rem);text-align:center}
.about-cta-inner{display:flex;flex-direction:column;align-items:center}
.about-cta-inner .eyebrow{color:#607958}
.about-cta-inner h2{max-width:26ch;margin:0 0 1.6rem;color:var(--petrol);font:700 var(--type-h2)/1.4 var(--persian);letter-spacing:-.01em;text-wrap:balance}
.about-cta-button{min-height:52px;padding:14px 22px;border-radius:12px;font-size:var(--type-body);line-height:1.5}
.profile-main{padding-bottom:clamp(4rem,8vw,7rem)}
.profile-hero{background:#edf0e8}
.profile-hero-inner{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(200px,.6fr);align-items:center;gap:clamp(2rem,6vw,5rem);max-width:1050px;padding-block:clamp(4rem,9vw,7rem)}
.profile-copy{max-width:65ch}
.profile-back{display:inline-block;margin-bottom:1.5rem;color:#607958;font-size:var(--type-body-sm);font-weight:700;text-decoration:none}
.profile-back:hover{text-decoration:underline;text-underline-offset:4px}
.profile-copy h1{margin:0;color:var(--petrol);font:800 var(--type-hero)/1.25 var(--persian);letter-spacing:-.02em;text-wrap:balance}
.profile-role{margin:.65rem 0 0;color:#607958;font-size:var(--type-body);font-weight:700;line-height:1.7}
.profile-lead{margin:1.2rem 0 0;color:#46564a;font-size:var(--type-lead);line-height:1.8}
.profile-photo{justify-self:center;width:min(100%,270px);aspect-ratio:4/5;overflow:hidden;border-radius:20px;background:#e3eae1}
.profile-photo img{width:100%;height:100%;object-fit:cover;object-position:center 15%}
.profile-photo-placeholder{display:grid;place-items:center;width:100%;height:100%;color:#879783}
.profile-photo-placeholder svg{width:76px;height:76px}
.profile-details{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,7vw,7rem);max-width:1050px;padding-block:clamp(3.5rem,7vw,6rem)}
.profile-detail h2{margin:0 0 .8rem;color:var(--petrol);font:700 var(--type-h3)/1.4 var(--persian);text-wrap:balance}
.profile-detail p{margin:0;color:#46564a;font-size:var(--type-body);line-height:1.9}
.profile-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1.25rem;max-width:1050px}
.profile-tool-link{color:var(--teal);font-weight:700;text-decoration:none}
.profile-tool-link:hover{text-decoration:underline;text-underline-offset:4px}
/* Quiet matte surfaces for the team and profile pages. */
.mentor-card,.profile-photo{box-shadow:0 1px 2px rgba(20,35,29,.045),0 5px 14px rgba(20,35,29,.055),inset 0 1px 0 rgba(255,255,255,.55);background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E")}
.mentor-card-link{transition:transform 120ms cubic-bezier(.2,0,0,1),color 160ms ease,box-shadow 160ms ease}
.mentor-card-link:hover{transform:translateY(-2px)}
.about-cta-button:active,.profile-actions .button:active{transform:translateY(1px);box-shadow:inset 0 2px 4px rgba(20,35,29,.14)}
html[lang="en"] .about-hero h1,html[lang="en"] .about-section-heading h2,html[lang="en"] .mentor-identity h3,html[lang="en"] .tech-card h3,html[lang="en"] .about-cta-inner h2,html[lang="en"] .profile-copy h1,html[lang="en"] .profile-detail h2{font-family:var(--display);letter-spacing:-.025em}
@media(max-width:900px){.team-grid,.tech-cards{grid-template-columns:1fr 1fr;row-gap:2.5rem}.mentor-card:last-child,.tech-card:last-child{grid-column:1/-1}}
@media(max-width:620px){.about-hero-inner{padding-block:2rem 2.25rem}.about-hero h1{max-width:16ch}.team-grid,.tech-cards{grid-template-columns:1fr;gap:2rem}.mentor-card:last-child,.tech-card:last-child{grid-column:auto}.mentor-card{padding-bottom:1.6rem;border-bottom:1px solid var(--border)}.mentor-card:last-child{padding-bottom:0;border-bottom:0}.mentor-avatar{width:64px;height:64px}.tech-card{gap:.85rem}.about-cta-inner h2{max-width:20ch}.profile-hero-inner{grid-template-columns:1fr;gap:2rem}.profile-photo{grid-row:1;width:min(48vw,190px);justify-self:start;aspect-ratio:1;border-radius:50%}.profile-details{grid-template-columns:1fr;gap:2rem}.profile-actions{align-items:stretch;flex-direction:column}.profile-actions .button{align-self:flex-start}}
@media(prefers-reduced-motion:reduce){.mentor-card-link,.mentor-profile-cta span{transition:none}}

/* Homepage hero and team share one calm, continuous introduction section. */
.home-intro{background:#edf0e8;color:var(--ink)}
.home-intro .hero{background:transparent}
.home-team{padding-block:clamp(2rem,4vw,3.25rem);border-top:1px solid rgba(39,56,47,.14)}
.home-team .about-section-heading{margin-bottom:clamp(1.4rem,3vw,2rem)}
.home-team .mentor-card{padding:clamp(1rem,2vw,1.4rem);border:1px solid rgba(39,56,47,.13);border-radius:16px;background:rgba(255,255,255,.78)}
.home-team .mentor-card-link{height:100%}
.home-team .mentor-bio{display:block;max-width:none;overflow:visible;-webkit-line-clamp:unset}
.home-team .mentor-card-link:focus-visible{outline-offset:3px}
@media(max-width:620px){.home-team{padding-block:2rem}.home-team .team-grid{gap:1rem}.home-team .mentor-card{padding:1rem}.home-team .mentor-card-heading{gap:.8rem;margin-bottom:.8rem}.home-team .mentor-avatar{width:68px;height:68px}}
/* Final tactile treatment for the late homepage team-card overrides. */
.home-team .mentor-card,.mentor-card,.profile-photo{background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");box-shadow:0 1px 2px rgba(20,35,29,.045),0 5px 14px rgba(20,35,29,.055),inset 0 1px 0 rgba(255,255,255,.55)}
.mentor-card-link{transition:transform 120ms cubic-bezier(.2,0,0,1),color 160ms ease,box-shadow 160ms ease}
.mentor-card-link:hover{transform:translateY(-2px)}
.about-cta-button:active,.profile-actions .button:active{transform:translateY(1px);box-shadow:inset 0 2px 4px rgba(20,35,29,.14)}
@media(prefers-reduced-motion:reduce){.mentor-card-link,.about-cta-button,.profile-actions .button{transition:none}.mentor-card-link:hover,.about-cta-button:active,.profile-actions .button:active{transform:none}}

/* Mechanical surface hierarchy for team and profile pages. */
.home-team .mentor-card,.mentor-card,.profile-photo{border:1px solid rgba(0,0,0,.1);background-color:#fbfbf9;background-image:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,0) 35%);box-shadow:0 1px 1px rgba(0,0,0,.08),0 4px 8px rgba(0,0,0,.12),0 12px 24px -4px rgba(0,0,0,.08),inset 0 1px 0 rgba(255,255,255,.6),inset 0 -1px 0 rgba(0,0,0,.15)}
.mentor-card-link,.about-cta-button,.profile-actions .button{border:1px solid rgba(0,0,0,.2);border-bottom:3px solid rgba(0,0,0,.4);box-shadow:0 2px 4px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.35);transition:transform 80ms cubic-bezier(.4,0,1,1),box-shadow 80ms cubic-bezier(.4,0,1,1),background-color 100ms ease,border-color 100ms ease}
.mentor-card-link:hover,.about-cta-button:hover,.profile-actions .button:hover{transform:translateY(-1px);box-shadow:0 3px 5px rgba(0,0,0,.18),0 7px 12px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.35)}
.mentor-card-link:active,.about-cta-button:active,.profile-actions .button:active{transform:translateY(2px);border-bottom-width:1px;box-shadow:inset 0 2px 4px rgba(0,0,0,.25)}
.about-page,.profile-page{background-color:#f4f4f2}
@media(prefers-reduced-motion:reduce){.mentor-card-link,.about-cta-button,.profile-actions .button{transition:none}}

/* Warm linen surfaces and petrol controls on team/profile pages. */
.about-page,.profile-page{background-color:#FAF7EE;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E")}
.home-team .mentor-card,.mentor-card,.profile-photo{background-color:#FFFDF7;background-image:linear-gradient(145deg,rgba(255,255,255,.54),rgba(255,255,255,.08) 60%);border-color:rgba(7,58,59,.2)}
.mentor-card-link{border:1px solid rgba(7,58,59,.18);border-bottom:2px solid rgba(7,58,59,.45);background:#FFFDF7;color:inherit;box-shadow:0 1px 1px rgba(0,0,0,.08),0 4px 8px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.6);transition:transform 100ms cubic-bezier(.2,0,0,1),box-shadow 100ms cubic-bezier(.2,0,0,1)}
.mentor-card-link:hover{transform:translateY(-2px);box-shadow:0 2px 3px rgba(0,0,0,.12),0 6px 12px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.65)}
.mentor-card-link:active{transform:translateY(1px);box-shadow:inset 0 2px 4px rgba(0,0,0,.22)}
.about-cta-button,.profile-actions .button{border-color:rgba(0,0,0,.18);border-bottom:2px solid #073A3B;background-color:#0B5C64;color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.25);transition:transform 100ms cubic-bezier(.2,0,0,1),box-shadow 100ms cubic-bezier(.2,0,0,1),background-color 100ms ease}
.about-cta-button:hover,.profile-actions .button:hover{transform:translateY(-2px);background-color:#084c53;box-shadow:0 4px 8px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.25)}
.about-cta-button:active,.profile-actions .button:active{transform:translateY(1px);border-bottom-width:1px;box-shadow:inset 0 2px 4px rgba(0,0,0,.24)}
@media(prefers-reduced-motion:reduce){.mentor-card-link,.about-cta-button,.profile-actions .button{transition:none}}

/* Keep team-card content inside its surface at every grid width. */
.team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.mentor-card{width:100%;min-width:0;padding:clamp(1rem,2vw,1.4rem);box-sizing:border-box}
.mentor-card-link{display:flex;width:100%;min-width:0;min-height:100%;height:auto;box-sizing:border-box;flex-direction:column;align-items:stretch;overflow-wrap:anywhere}
.mentor-card-heading{min-width:0;flex-wrap:wrap}
.mentor-identity{flex:1 1 0;min-width:0;overflow-wrap:anywhere}
.mentor-identity h3,.mentor-kicker,.mentor-bio,.mentor-profile-cta{max-width:100%;min-width:0;overflow-wrap:anywhere;word-break:normal}
.mentor-profile-cta{margin-top:auto;padding-top:1rem}
@media(max-width:620px){.mentor-card{padding:1rem 1rem 1.6rem}.mentor-card:last-child{padding-bottom:0}.mentor-card-link{min-height:0}.mentor-card-heading{flex-wrap:nowrap}.mentor-identity{flex:1 1 auto}}

/* The visible link is the card surface on the About page; inset its contents. */
.about-page .team-section .mentor-card{padding:0;border:0;background:transparent;box-shadow:none}
.about-page .team-section .mentor-card-link{padding:clamp(1.25rem,2.5vw,2rem)}
@media(max-width:620px){.about-page .team-section .mentor-card-link{padding:1.25rem}}
