/* The Imagine team — editorial profiles, without invented portraits. */
.team-page main [id] { scroll-margin-top: 110px; }
.team-page main > section { padding-block: clamp(60px, 7vw, 100px); }
.team-page .team-hero { padding-top: clamp(56px, 7vw, 92px); padding-bottom: 74px; }
.team-hero-grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.team-hero-grid > * { min-width: 0; }
.team-hero h1 { font-size: clamp(2.9rem, 4.55vw, 4.75rem); font-weight: 600; line-height: 1.075; letter-spacing: -.055em; color: #203d36; margin: 0 0 26px; }
.team-hero h1 span { color: #006f63; }
.team-hero-intro { color: #52685f; font-size: 1.07rem; line-height: 1.85; max-width: 48ch; margin: 0; }
.team-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 27px; margin-top: 28px; }
.team-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #006f63; font-size: .85rem; font-weight: 550; }
.team-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.team-perspectives { background: #e8f1ea; border: 1px solid #cddfd2; padding: 30px 35px; border-radius: 17px; }
.team-perspectives-label { color: #355b49; font-size: .86rem; line-height: 1.5; font-weight: 550; margin: 0 0 25px; display: flex; align-items: center; gap: 9px; }
.team-perspectives-label > span { color: #9b681c; font-size: 1.5rem; }
.team-perspectives ul { padding: 0; margin: 0; list-style: none; }
.team-perspectives li { display: flex; gap: 18px; align-items: baseline; border-top: 1px solid #c9dccf; padding: 18px 0; font-size: 1.04rem; color: #264a3b; letter-spacing: -.015em; }
.team-perspectives li > span { flex: none; color: #55715f; font-family: var(--mono); font-size: .68rem; letter-spacing: 0; }
.team-perspectives-note { font-family: var(--mono); color: #52685f; font-size: .65rem; line-height: 1.8; margin: 22px 0 0; }
.team-page .team-profiles { border-top: 1px solid #d3dfd7; background: #fff; }
.team-section-head { max-width: 710px; margin-bottom: 40px; }
.team-section-head h2 { font-size: clamp(2rem, 3.2vw, 3.2rem); font-weight: 550; line-height: 1.13; letter-spacing: -.045em; margin: 0 0 22px; color: #203d36; }
.team-section-head > p:last-child { font-size: .98rem; line-height: 1.85; color: #52685f; margin: 0; }
.team-page #team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.team-page .founder { padding: clamp(27px, 3.4vw, 42px); border: 1px solid #d5e1d8; border-radius: 13px; background: #f8faf7; }
.team-page .founder.spark { background: #eef4ef; border-color: #c3d9ca; }
.team-page .founder .avatar { width: 60px; height: 60px; background: #e0ece3; border: 1px solid #c0d8c8; border-radius: 14px; color: #2d6050; font-family: var(--mono); font-size: 1rem; font-weight: 500; margin-bottom: 23px; }
.team-page .founder.spark .avatar { background: #ede6d7; border-color: #ded0b6; color: #85601d; }
.team-page .f-name { color: #203d36; font-size: 1.5rem; line-height: 1.3; font-weight: 550; letter-spacing: -.03em; margin-bottom: 8px; }
.team-page .founder .f-role { color: #006f63; font-size: .82rem; line-height: 1.7; font-family: var(--sans); font-weight: 550; margin-bottom: 15px; }
.team-page .f-built { color: #78602e; font-family: var(--mono); font-size: .69rem; line-height: 1.7; margin: 0 0 20px; }
.team-page .founder > p { color: #52685f; font-size: .87rem; line-height: 1.85; margin: 0; }
.team-page .f-list { padding: 21px 0 0; margin: 25px 0 0; list-style: none; border-top: 1px solid #d6e1d9; display: grid; gap: 12px; }
.team-page .f-list li { color: #486353; font-family: var(--sans); font-size: .8rem; line-height: 1.7; padding-left: 18px; }
.team-page .f-list li::before { content: ""; top: .68em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #719e82; }
.team-page .team-foot { font-size: .76rem; line-height: 1.8; color: #52685f; margin: 25px 0 0; max-width: 100ch; }
.team-product-partner { display: grid; grid-template-columns: .38fr 1fr; gap: 30px; align-items: center; margin-top: 38px; padding: 28px 32px; background: #f4f0e7; border: 1px solid #e4dccb; border-radius: 12px; }
.team-product-partner .eyebrow { color: #78602e; font-size: .65rem; margin-bottom: 9px; }
.team-product-partner h3 { font-size: 1.2rem; font-weight: 550; letter-spacing: -.025em; color: #453f31; margin: 0; }
.team-product-partner > p { font-size: .84rem; line-height: 1.8; color: #625b49; margin: 0; }
.team-page .team-experience { background: #edf3ee; border-block: 1px solid #d1dfd5; }
.team-experience-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 6vw, 82px); }
.team-experience .team-section-head { margin-bottom: 0; }
.team-experience-panel { padding: 30px; border: 1px solid #cbded0; background: #f8fbf8; border-radius: 12px; }
.team-experience-label { font-family: var(--mono); font-size: .68rem; line-height: 1.9; color: #4f6858; margin: 0 0 22px; }
.team-page .cred-wall { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.team-page .cred-wall span { color: #2d5542; background: #edf4ee; border: 1px solid #d1e0d5; padding: 9px 13px; font-family: var(--sans); font-size: .82rem; line-height: 1.4; border-radius: 6px; }
.team-page .cred-foot { color: #52685f; font-size: .73rem; line-height: 1.8; margin: 23px 0 0; }
.team-technology-details { background: #fff; border: 1px solid #d3dfd7; border-radius: 12px; overflow: hidden; }
.team-technology-details > summary { cursor: pointer; padding: 24px 58px 24px 27px; list-style: none; position: relative; font-size: .94rem; line-height: 1.5; font-weight: 550; color: #294e3d; }
.team-technology-details > summary::-webkit-details-marker { display: none; }
.team-technology-details > summary::after { content: "+"; position: absolute; right: 27px; top: 20px; color: #006f63; font-size: 1.5rem; font-weight: 400; }
.team-technology-details[open] > summary::after { content: "−"; }
.team-technology-details .stack { margin: 0 27px; grid-template-columns: 1fr; gap: 0; border: 0; border-block: 1px solid #d3dfd7; border-radius: 0; background: transparent; }
.team-technology-details .stack-row { display: grid; padding: 22px 0; gap: 20px; border-bottom: 1px solid #d3dfd7; grid-template-columns: .35fr 1fr; }
.team-technology-details .stack-row:last-child { border-bottom: 0; }
.team-technology-details .s-cat { display: block; color: #315743; font-size: .82rem; }
.team-technology-details .s-phase { display: block; margin-top: 7px; color: #526b5b; }
.team-technology-details .s-items { margin: 0; color: #52685f; font-size: .85rem; line-height: 1.8; }
.team-technology-details .stack-foot { padding: 0 27px 24px; margin: 22px 0 0; color: #52685f; font-size: .76rem; line-height: 1.7; }
.team-page a:focus-visible,.team-technology-details > summary:focus-visible { outline: 3px solid #007f73; outline-offset: 5px; }
.team-technology-details > summary:focus-visible { outline-offset: -5px; }
@media (max-width: 900px) {
  .team-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .team-hero h1 { font-size: clamp(3rem, 6.5vw, 4.3rem); }
  .team-hero-intro { max-width: 62ch; }
  .team-perspectives { max-width: 600px; width: 100%; }
  .team-experience-grid { grid-template-columns: 1fr; gap: 35px; }
  .team-page .f-name { font-size: 1.35rem; }
  .team-product-partner { grid-template-columns: .6fr 1fr; }
}
@media (max-width: 640px) {
  .team-page main > section { padding-block: 56px; }
  .team-page .team-hero { padding-top: 44px; padding-bottom: 45px; }
  .team-hero h1 { font-size: clamp(2.65rem, 8.8vw, 3.6rem); }
  .team-hero-intro { font-size: .98rem; }
  .team-hero-actions { gap: 10px 20px; }
  .team-perspectives { padding: 25px; }
  .team-perspectives li { font-size: .94rem; padding-block: 15px; }
  .team-perspectives-label { font-size: .79rem; }
  .team-section-head h2 { font-size: clamp(1.9rem, 7vw, 2.5rem); }
  .team-section-head > p:last-child { font-size: .91rem; }
  .team-page #team-grid { grid-template-columns: 1fr; gap: 20px; }
  .team-page .founder { padding: 27px; }
  .team-page .founder .avatar { width: 52px; height: 52px; font-size: .9rem; }
  .team-page .f-name { font-size: 1.45rem; }
  .team-product-partner { grid-template-columns: 1fr; gap: 16px; padding: 25px; }
  .team-experience-panel { padding: 25px; }
  .team-page .cred-wall span { font-size: .76rem; }
  .team-technology-details > summary { padding-left: 22px; }
  .team-technology-details .stack { margin-inline: 22px; }
  .team-technology-details .stack-row { grid-template-columns: 1fr; gap: 12px; }
  .team-technology-details .s-items { font-size: .8rem; }
  .team-technology-details .stack-foot { padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) { .team-page *, .team-page *::before, .team-page *::after { scroll-behavior: auto; animation: none; transition: none; } }
