/* The 4RE studio front page: a small shared playground for building together. */
.team-page .ambient-orb{opacity:calc(var(--orb-opacity)*.58)}
.team-page .team-hero{padding-top:36px;position:relative;z-index:2}
.team-hero-top{display:flex;align-items:center;justify-content:space-between;gap:24px}
.team-hero-top>.eyebrow{font-size:10px;line-height:1.7;letter-spacing:.14em}
.team-hero-top .availability{font-size:10px;white-space:nowrap}
.team-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;gap:32px;min-height:640px}
.team-hero-copy{position:relative;z-index:3;min-width:0;padding:42px 0 52px}
.team-hero-overline{display:block;margin-bottom:22px;font:10px/1.7 'Courier New',monospace;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.team-hero-copy h1{font-size:clamp(54px,5.7vw,90px);line-height:1.09;font-weight:500;letter-spacing:-.07em;margin:0;max-width:100%}
.team-hero-copy h1>.serif{display:inline-block;background:var(--text-gradient);background-clip:text;-webkit-background-clip:text;color:transparent;letter-spacing:-.065em;font-weight:500}
.team-hero-description{max-width:430px;font-size:15px;line-height:1.9;color:var(--muted);margin:27px 0 0}
.team-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:17px 25px;margin-top:31px}
.team-hero-actions>.text-button{font-size:12px;line-height:1.6;gap:18px;padding:12px 0;border-bottom:1px solid var(--line);border-radius:0;color:var(--ink)}
.team-hero-actions>.text-button:hover,.team-hero-actions>.text-button:focus-visible{color:var(--accent);border-color:var(--accent)}
.robot-stage{position:relative;isolation:isolate;min-width:0;width:100%;height:590px;overflow:visible;align-self:center}
.robot-kicker{position:absolute;left:24px;top:26px;z-index:3;display:flex;flex-wrap:wrap;gap:5px 16px;font:9px/1.7 'Courier New',monospace;letter-spacing:.15em;text-transform:uppercase;color:var(--muted);pointer-events:none}
.team-sculpture{position:absolute;inset:52px -12px 60px;z-index:1;touch-action:none;cursor:grab;outline:0;border:0;background:none}
.team-sculpture canvas{touch-action:none;display:block;width:100%;height:100%;background:none;outline:0}
.team-sculpture:active{cursor:grabbing}
.team-sculpture:focus-visible{outline:1px solid var(--glass-border-hover);outline-offset:8px;border-radius:20px}
.robot-fallback{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:visible;z-index:0;pointer-events:none;opacity:1;visibility:visible}
.robot-fallback svg,.robot-fallback img{display:block;width:100%;height:100%;overflow:visible}
.robot-ready .robot-fallback{opacity:0;visibility:hidden}
.robot-unavailable .robot-fallback{opacity:1;visibility:visible}
.robot-unavailable .team-sculpture{visibility:hidden}
.robot-controls{position:absolute;left:24px;right:0;bottom:28px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:10px;line-height:1.6;color:var(--muted);pointer-events:none}
.robot-control-buttons>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:8px 10px;border:0;border-radius:999px;font:inherit;line-height:1.5;color:var(--muted);background:transparent;pointer-events:auto;cursor:pointer;transition:color .2s,background .2s}
.robot-control-buttons>button:hover,.robot-control-buttons>button:focus-visible{color:var(--ink);background:var(--glass)}
.robot-control-buttons>button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.robot-control-buttons>button:disabled{cursor:default;opacity:.45}
.team-member-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.team-member-rail>a{--member-color:var(--accent);position:relative;display:grid;grid-template-columns:43px minmax(0,1fr) 18px;align-items:center;gap:15px;min-width:0;padding:25px 24px;text-decoration:none;color:var(--ink);background:transparent;transition:background .25s}
.team-member-rail>a+a{border-left:1px solid var(--line)}
.team-member-rail>a:before{content:'';position:absolute;left:24px;right:24px;top:-1px;height:1px;background:var(--member-color);opacity:.45;transition:opacity .2s}
.rail-initials{display:grid;place-items:center;width:43px;height:43px;border:1px solid color-mix(in srgb,var(--member-color) 32%,var(--line));border-radius:50%;font:11px/1 'Courier New',monospace;letter-spacing:.025em;color:var(--accent);background:color-mix(in srgb,var(--member-color) 5%,transparent)}
.rail-person{min-width:0;display:flex;flex-direction:column;gap:5px}
.rail-person strong{font-size:14px;line-height:1.5;font-weight:600;letter-spacing:-.02em;overflow-wrap:anywhere}
.rail-person small{font-size:11px;line-height:1.6;color:var(--muted)}
.team-member-rail>a>span:last-child:not(.rail-person):not(.rail-initials){font-size:18px;line-height:1;color:var(--muted);justify-self:end}
.team-member-rail>a:hover,.team-member-rail>a:focus-visible{background:linear-gradient(125deg,color-mix(in srgb,var(--member-color) 9%,transparent),transparent)}
.team-member-rail>a:hover:before,.team-member-rail>a:focus-visible:before{opacity:1}
.team-member-rail>a:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.direction-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;margin-top:37px;padding-bottom:9px}
.direction-strip>a{position:relative;display:grid;grid-template-columns:25px minmax(0,1fr) 15px;gap:6px 14px;align-items:start;min-width:0;text-decoration:none;color:var(--ink);padding:16px 0;border-bottom:1px solid var(--line);transition:border-color .2s,color .2s}
.direction-number{grid-column:1;grid-row:1/3;font:10px/1.8 'Courier New',monospace;color:var(--accent);letter-spacing:.05em;padding-top:1px}
.direction-strip strong{grid-column:2;grid-row:1;font-size:18px;line-height:1.35;font-weight:550;letter-spacing:-.025em}
.direction-strip small{grid-column:2;grid-row:2;color:var(--muted);font-size:12px;line-height:1.7}
.direction-strip>a>span:last-child:not(.direction-number){grid-column:3;grid-row:1/3;align-self:center;font-size:20px;line-height:1;color:var(--muted)}
.direction-strip>a:hover,.direction-strip>a:focus-visible{color:var(--accent);border-color:var(--accent)}
.direction-strip>a:focus-visible{outline:2px solid var(--accent);outline-offset:6px;border-radius:3px}
.team-page #work{padding-top:115px}
.team-page #work .section-heading{margin-bottom:37px}
.team-page .team-work-card{border-radius:9px 27px 9px 27px;background:color-mix(in srgb,var(--glass) 65%,transparent)}
.team-page .team-work-media{border-bottom-color:var(--line)}
.team-page .team-work-content{padding:29px 31px 31px}
.team-page .team-work-content h3{font-size:31px;letter-spacing:-.045em}
.team-page .team-work-content p{font-size:14px;line-height:1.9}
.home-about-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:10%;align-items:start}
.home-about-copy{min-width:0;padding-top:10px}
.home-about-copy h2{font-size:clamp(42px,4.6vw,68px);line-height:1.12;font-weight:500;letter-spacing:-.06em;margin:20px 0 27px}
.home-about-copy h2 .serif{background:var(--text-gradient);background-clip:text;-webkit-background-clip:text;color:transparent;letter-spacing:-.06em}
.home-about-copy>p{font-size:15px;line-height:1.95;color:var(--muted);margin:18px 0 0;max-width:490px}
.home-about-copy>.section-link{margin-top:27px}
.home-capabilities{display:grid;gap:0;min-width:0}
.home-capabilities article{display:grid;grid-template-columns:29px minmax(0,1fr);gap:10px 18px;padding:29px 0;border-top:1px solid var(--line);min-width:0;scroll-margin-top:130px}
.home-capabilities article:last-child{border-bottom:1px solid var(--line)}
.capability-index{grid-column:1;grid-row:1/4;font:10px/1.7 'Courier New',monospace;letter-spacing:.05em;color:var(--accent);padding-top:5px}
.home-capabilities h3{grid-column:2;font-size:23px;line-height:1.35;letter-spacing:-.035em;font-weight:550;margin:0}
.home-capabilities p{grid-column:2;font-size:14px;line-height:1.9;color:var(--muted);margin:0}
.home-capabilities .skill-line{grid-column:2;display:block;font-size:11px;line-height:1.85;color:var(--soft-text);margin:4px 0 0}
.home-capabilities article:target{border-top-color:var(--accent)}
.home-capabilities article:target h3{color:var(--accent)}
.team-page #team .section-heading{margin-bottom:35px}
.crew-list{border-top:1px solid var(--line)}
.crew-row{--member-color:var(--accent);position:relative;display:grid;grid-template-columns:28px 84px minmax(0,1fr) minmax(140px,.65fr) 125px;align-items:center;column-gap:26px;min-width:0;padding:29px 0;text-decoration:none;color:var(--ink);border-bottom:1px solid var(--line);transition:background .25s}
.crew-row:before{content:'';position:absolute;left:-15px;top:29px;bottom:29px;width:2px;border-radius:2px;background:var(--member-color);opacity:0;transition:opacity .2s}
.crew-index{font:10px/1.7 'Courier New',monospace;letter-spacing:.05em;color:var(--muted)}
.crew-portrait{position:relative;display:grid;place-items:center;width:84px;aspect-ratio:1;border-radius:13px;overflow:hidden;border:1px solid var(--line);background:linear-gradient(135deg,color-mix(in srgb,var(--member-color) 12%,var(--bg)),var(--bg))}
.crew-portrait img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 30%;filter:grayscale(1)}
.crew-portrait>span{font:22px/1 'Courier New',monospace;letter-spacing:-.08em;color:var(--strong-text)}
.crew-name{min-width:0}
.crew-name>small{display:block;margin-top:7px;font-size:11px;line-height:1.6;color:var(--muted)}
.crew-name h3{font-size:clamp(26px,2.5vw,39px);font-weight:500;line-height:1.25;letter-spacing:-.045em;overflow-wrap:anywhere;margin:0}
.crew-role{min-width:0;font-size:13px;line-height:1.8;color:var(--muted);max-width:245px}
.crew-arrow{display:flex;align-items:center;justify-content:flex-end;gap:18px;font-size:11px;line-height:1.6;white-space:nowrap;color:var(--muted)}
.crew-row:hover,.crew-row:focus-visible{background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--member-color) 6%,transparent),transparent)}
.crew-row:hover:before,.crew-row:focus-visible:before{opacity:1}
.crew-row:hover .crew-arrow,.crew-row:focus-visible .crew-arrow{color:var(--accent)}
.crew-row:focus-visible{outline:2px solid var(--accent);outline-offset:6px;border-radius:4px}
.team-page .contact-section{padding-top:35px}
.team-page .contact-section h2{font-size:clamp(46px,6vw,88px);max-width:1030px;line-height:1.1}
.team-page .contact-bottom p{font-size:13px;line-height:1.85}
@media(min-width:1400px){
  .team-hero-grid{min-height:670px;gap:44px}
  .robot-stage{height:625px}
}
@media(min-width:601px) and (max-width:1279px){
  .team-member-rail{grid-template-columns:repeat(2,minmax(0,1fr))}
  .team-member-rail>a:nth-child(odd){border-left:0}
  .team-member-rail>a:nth-child(n+3){border-top:1px solid var(--line)}
}
@media(max-width:1100px){
  .team-hero-grid{gap:20px;min-height:575px}
  .team-hero-copy h1{font-size:clamp(51px,5.7vw,66px)}
  .team-hero-description{font-size:14px;max-width:380px}
  .robot-stage{height:535px}
  .robot-kicker{left:12px;top:24px;font-size:8px}
  .robot-controls{left:12px;bottom:24px;font-size:9px}
  .team-member-rail>a{padding:23px 17px;column-gap:12px;grid-template-columns:38px minmax(0,1fr) 15px}
  .team-member-rail>a:before{left:17px;right:17px}
  .rail-initials{width:38px;height:38px;font-size:10px}
  .rail-person strong{font-size:12px}
  .rail-person small{font-size:10px}
  .direction-strip{gap:25px}
  .direction-strip strong{font-size:17px}
  .direction-strip small{font-size:11px}
  .home-about-grid{gap:7%}
  .home-about-copy h2{font-size:48px}
  .home-about-copy>p{font-size:14px}
  .crew-row{grid-template-columns:23px 72px minmax(0,1fr) minmax(130px,.65fr) 112px;gap:20px}
  .crew-portrait{width:72px;border-radius:11px}
  .crew-name h3{font-size:30px}
  .crew-role{font-size:12px}
  .crew-arrow{font-size:10px;gap:10px}
}
@media(max-width:900px){
  .team-page .team-hero{padding-top:29px}
  .team-hero-grid{grid-template-columns:1fr;gap:0;min-height:0}
  .team-hero-copy{padding:60px 0 0;max-width:690px}
  .team-hero-copy h1{font-size:clamp(60px,8vw,76px)}
  .team-hero-description{max-width:490px;font-size:15px;margin-top:24px}
  .team-hero-actions{margin-top:27px}
  .robot-stage{height:490px;margin-top:3px;max-width:660px;justify-self:center}
  .robot-kicker{left:12px;top:18px}
  .robot-controls{left:12px;right:12px;bottom:22px;font-size:10px}
  .team-member-rail>a{padding:21px 12px;gap:10px;grid-template-columns:34px minmax(0,1fr) 12px}
  .team-member-rail>a:before{left:12px;right:12px}
  .rail-initials{width:34px;height:34px;font-size:9px}
  .rail-person strong{font-size:11px;line-height:1.5}
  .rail-person small{font-size:9px;line-height:1.55}
  .direction-strip{gap:20px;margin-top:25px}
  .direction-strip>a{grid-template-columns:20px minmax(0,1fr) 14px;gap:6px 8px}
  .direction-strip strong{font-size:16px}
  .direction-strip small{font-size:10px}
  .team-page #work{padding-top:90px}
  .home-about-grid{grid-template-columns:1fr;gap:37px}
  .home-about-copy{padding-top:0;max-width:620px}
  .home-about-copy h2{font-size:52px;margin-top:18px;margin-bottom:24px}
  .home-about-copy>p{max-width:570px;font-size:14px}
  .home-capabilities article{grid-template-columns:29px minmax(0,1fr);column-gap:20px;padding:27px 0}
  .home-capabilities p{max-width:610px}
  .home-capabilities .skill-line{font-size:12px}
  .crew-row{grid-template-columns:20px 66px minmax(0,1fr) minmax(100px,.7fr) 92px;gap:18px;padding:26px 0}
  .crew-portrait{width:66px;border-radius:10px}
  .crew-name h3{font-size:27px}
  .crew-role{font-size:12px;line-height:1.75}
  .crew-arrow{font-size:9px}
}
@media(max-width:600px){
  .team-page .team-hero{padding-top:28px}
  .team-hero-top{gap:12px;align-items:flex-start}
  .team-hero-top>.eyebrow{font-size:8px;letter-spacing:.08em;line-height:1.9;max-width:160px}
  .team-hero-top .availability{font-size:7px;line-height:1.5;padding:6px 8px;gap:5px}
  .team-hero-copy{padding:48px 0 0}
  .team-hero-copy h1{font-size:clamp(39px,10.65vw,64px);line-height:1.13;letter-spacing:-.065em}
  .team-hero-copy h1>.serif{letter-spacing:-.065em}
  .team-hero-description{font-size:14px;line-height:1.9;margin-top:23px;max-width:450px}
  .team-hero-actions{gap:13px 23px;margin-top:26px}
  .team-hero-actions .button{font-size:11px;line-height:1.5;padding:14px 20px;gap:25px}
  .team-hero-actions>.text-button{font-size:11px;line-height:1.5;gap:15px;padding:10px 0}
  .robot-stage{height:360px;width:100%;margin:16px 0 0;max-width:none}
  .robot-kicker{left:0;top:15px;font-size:8px;letter-spacing:.1em}
  .robot-controls{left:0;right:0;bottom:19px;gap:15px;font-size:9px}
  .robot-control-buttons>button{padding:8px 7px;gap:6px}
  .team-member-rail{grid-template-columns:1fr;gap:0}
  .team-member-rail>a{grid-template-columns:39px minmax(0,1fr) 18px;gap:15px;padding:19px 3px}
  .team-member-rail>a+a{border-left:0;border-top:1px solid var(--line)}
  .team-member-rail>a:before{left:3px;right:auto;top:24px;bottom:24px;width:1px;height:auto;opacity:0}
  .team-member-rail>a:hover:before,.team-member-rail>a:focus-visible:before{opacity:0}
  .rail-initials{width:39px;height:39px;font-size:11px}
  .rail-person{gap:3px}
  .rail-person strong{font-size:14px;line-height:1.5}
  .rail-person small{font-size:12px;line-height:1.65}
  .team-member-rail>a>span:last-child:not(.rail-person):not(.rail-initials){font-size:19px}
  .direction-strip{grid-template-columns:1fr;gap:0;margin-top:27px;padding-bottom:0}
  .direction-strip>a{grid-template-columns:25px minmax(0,1fr) 20px;gap:4px 15px;padding:20px 2px}
  .direction-number{font-size:10px;line-height:1.8;grid-row:1/3}
  .direction-strip strong{font-size:20px;line-height:1.35}
  .direction-strip small{font-size:12px;line-height:1.75}
  .direction-strip>a>span:last-child:not(.direction-number){font-size:22px}
  .team-page #work{padding-top:75px}
  .team-page #work .section-heading{margin-bottom:28px}
  .team-page .team-work-content{padding:25px 23px 27px}
  .team-page .team-work-content h3{font-size:28px}
  .team-page .team-work-content p{font-size:13px;line-height:1.9}
  .home-about-grid{gap:31px}
  .home-about-copy h2{font-size:clamp(38px,10vw,48px);line-height:1.15;margin:17px 0 22px}
  .home-about-copy>p{font-size:14px;line-height:1.95;margin-top:17px}
  .home-capabilities article{grid-template-columns:25px minmax(0,1fr);column-gap:16px;row-gap:11px;padding:25px 0;scroll-margin-top:110px}
  .capability-index{font-size:10px;line-height:1.7;padding-top:3px}
  .home-capabilities h3{font-size:22px;line-height:1.35}
  .home-capabilities p{font-size:13px;line-height:1.9}
  .home-capabilities .skill-line{font-size:11px;line-height:1.85;margin-top:3px}
  .team-page #team .section-heading{margin-bottom:27px}
  .crew-row{grid-template-columns:20px 59px minmax(0,1fr) 20px;column-gap:13px;row-gap:8px;padding:24px 0;align-items:start}
  .crew-row:before{left:-8px;top:24px;bottom:24px}
  .crew-index{grid-column:1;grid-row:1/3;padding-top:7px;font-size:9px}
  .crew-portrait{grid-column:2;grid-row:1/3;width:59px;border-radius:9px}
  .crew-portrait>span{font-size:19px}
  .crew-name{grid-column:3;grid-row:1;padding-top:2px}
  .crew-name h3{font-size:clamp(23px,6.2vw,31px);line-height:1.2;letter-spacing:-.04em}
  .crew-role{grid-column:3;grid-row:2;font-size:12px;line-height:1.75;max-width:none}
  .crew-arrow{grid-column:4;grid-row:1/3;justify-content:center;align-self:center;font-size:0;line-height:1;gap:0;white-space:normal}
  .crew-arrow:after{content:'↗';font-size:22px;line-height:1}
  .team-page .contact-section{padding-top:22px}
  .team-page .contact-section h2{font-size:clamp(39px,10.5vw,59px);line-height:1.12;margin-top:29px;margin-bottom:26px}
  .team-page .contact-bottom p{font-size:13px;line-height:1.85}
}
@media(max-width:360px){
  .team-hero-top>.eyebrow{font-size:7px;max-width:139px;letter-spacing:.055em}
  .team-hero-top .availability{font-size:6px;gap:4px;padding:6px 7px}
  .team-hero-copy h1{font-size:38px;letter-spacing:-.07em}
  .team-hero-description{font-size:13px;line-height:1.9}
  .team-hero-actions{gap:11px 19px}
  .team-hero-actions .button{font-size:10px;padding:13px 17px;gap:20px}
  .team-hero-actions>.text-button{font-size:10px;gap:12px}
  .robot-stage{height:325px}
  .robot-controls{font-size:8px;gap:10px}
  .crew-row{grid-template-columns:17px 51px minmax(0,1fr) 17px;column-gap:11px}
  .crew-portrait{width:51px;border-radius:8px}
  .crew-name h3{font-size:22px}
  .crew-role{font-size:12px;line-height:1.7}
  .crew-arrow:after{font-size:20px}
}
@media(prefers-reduced-motion:reduce){
  .team-member-rail>a,.team-member-rail>a:before,.crew-row,.crew-row:before,.direction-strip>a,.robot-control-buttons>button{transition:none}
}
@media print{
  .team-page .team-sculpture,.team-page .robot-controls{display:none!important}
}

.robot-control-buttons{display:flex;align-items:center;gap:2px;pointer-events:auto}
.robot-kicker{right:12px;justify-content:space-between;letter-spacing:.08em}
#team-robot-status{color:var(--accent);text-transform:none;letter-spacing:.02em}
#team-robot-status:before{content:'';display:inline-block;width:4px;height:4px;background:currentColor;border-radius:50%;vertical-align:middle;margin-right:7px}
.robot-help{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.robot-controls{gap:8px}
@media(max-width:600px){.team-sculpture{inset:42px -6px 46px}.robot-kicker{right:0}.robot-control-buttons>button{min-height:44px}.robot-controls{bottom:8px}.robot-kicker{gap:5px 8px}}
