/* Team arrival and identity extend the established mineral / graphite world. */
.tm-orbit-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin:0 0 30px;border:1px solid var(--th-rule);border-radius:16px;overflow:hidden;background:var(--th-surface);isolation:isolate}
.tm-orbit-copy{padding:clamp(26px,4.2vw,58px);display:flex;flex-direction:column;justify-content:center;min-width:0}
.tm-orbit-copy h1{font:650 clamp(38px,4.7vw,66px)/1.04 var(--th-display);letter-spacing:-.035em;margin:0 0 24px;overflow-wrap:anywhere;text-wrap:balance}
.tm-orbit-copy>p{color:var(--th-muted);font-size:15px;line-height:1.7;margin:0 0 24px;max-width:44ch}
.tm-hero-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.tm-hero-actions>a,.tm-text-action,.tm-team-membership>a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--th-accent);font-size:13px;text-underline-offset:4px}
.tm-hero-actions>a:hover,.tm-text-action:hover,.tm-team-membership>a:hover{text-decoration:underline}
.tm-page .tm-text-action{border:0;background:transparent;padding:8px 0;cursor:pointer;color:var(--th-accent);text-align:left}
.tm-page .tm-orbit-copy>.tm-hero-note{font-size:12px;margin:18px 0 0;line-height:1.6}
.tm-orbit-visual{position:relative;min-width:0;background:#09110f;display:flex;align-items:center;padding:14px 4px 48px}
.tm-orbit-visual [data-team-blackhole]{border-radius:0;min-height:360px;aspect-ratio:1.2;background:#09110f}
.tm-orbit-caption{position:absolute;bottom:24px;left:20px;right:20px;text-align:center;color:#b9cebf;font-size:12px;line-height:1.5;pointer-events:none}
.tm-page .tm-motion-toggle,.th-team-invites .tm-motion-toggle{position:absolute;z-index:2;top:14px;right:14px;display:flex;gap:6px;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid #43564a;border-radius:8px;background:#14221acc;color:#d6e8db;cursor:pointer;font:500 11px/1.5 var(--th-body,var(--sans))}
.tm-motion-toggle:hover{background:#243d2e}
.tm-motion-toggle:focus-visible{outline:2px solid #b6f2cf;outline-offset:4px}
.tm-motion-toggle>svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round}
.tm-hero-actions>a>svg,.tm-text-action>svg,.tm-team-membership svg,.tm-back svg,.tm-share-panel svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}
.tm-team-icon{display:grid;place-items:center;flex:none;width:72px;height:72px;border-radius:16px;background:var(--th-surface-2);border:1px solid var(--th-rule);color:var(--th-accent);font:650 26px var(--th-display);overflow:hidden}
.tm-team-icon img{width:100%;height:100%;object-fit:contain;display:block}
.tm-public-hero .tm-team-icon{width:88px;height:88px;margin-bottom:24px;font-size:32px}
.tm-leader-identity{display:flex;align-items:center;gap:18px;margin-bottom:9px}
.tm-leader-identity h2{margin:0}
.tm-leader-identity .tm-team-icon{width:52px;height:52px;font-size:20px;border-radius:12px}
.tm-leader-identity a:hover{text-decoration:underline;text-underline-offset:5px}
.tm-team-name>strong{display:flex;align-items:center;gap:12px}
.tm-row-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;background:var(--th-surface-2);color:var(--th-accent);border-radius:9px;overflow:hidden}
.tm-row-icon img{width:100%;height:100%;object-fit:contain}
.tm-row-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.3}
.tm-back{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;font-size:12px;color:var(--th-muted)}
.tm-back>a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--th-accent)}
.tm-back>a>svg{transform:rotate(180deg)}
.tm-team-membership{display:flex;flex-direction:column;align-items:start;gap:8px;margin-bottom:10px}
.tm-team-membership>span{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--th-accent)}
.tm-public-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0;padding:8px 0 32px;border-bottom:1px solid var(--th-rule)}
.tm-public-stats>div{border-right:1px solid var(--th-rule);padding-right:16px;min-width:0}
.tm-public-stats>div:last-child{border:0}
.tm-public-stats dt{color:var(--th-muted);font-size:12px;line-height:1.5;margin-bottom:12px}
.tm-public-stats dd{margin:0;font:500 clamp(24px,2.8vw,36px)/1.1 var(--th-display);font-variant-numeric:tabular-nums;letter-spacing:-.025em}
.tm-team-insights{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;padding:34px 0 22px}
.tm-team-insights>div{min-width:0}
.tm-team-insights h2{font:650 24px/1.25 var(--th-display);letter-spacing:-.02em;margin:0 0 10px}
.tm-team-insights>div>p:first-of-type{font-size:13px;line-height:1.6;color:var(--th-muted);margin:0 0 22px}
.tm-share-panel{margin-top:18px;max-width:480px}
.tm-share-panel>summary{display:inline-flex;align-items:center;gap:10px;list-style:none;min-height:44px;padding:10px 16px;font-size:13px;font-weight:600;cursor:pointer;border:1px solid var(--th-rule-strong);border-radius:8px;background:var(--th-surface);color:var(--th-text)}
.tm-share-panel>summary::-webkit-details-marker{display:none}
.tm-share-panel[open]>summary>svg:last-child{transform:rotate(90deg)}
.tm-share-panel>summary:focus-visible{outline:2px solid var(--th-accent);outline-offset:4px}
.tm-share-body{padding-top:20px}
.tm-share-body h2{font:650 22px/1.3 var(--th-display);margin:0 0 10px}
.tm-share-body>p{font-size:13px;line-height:1.6;color:var(--th-muted);margin:0 0 16px}
.tm-share-body>img{width:100%;height:auto;display:block;border-radius:10px;margin-bottom:14px;aspect-ratio:1200/630;background:var(--th-surface-2)}
.tm-share-copy{display:flex;gap:8px;margin-bottom:8px}
.tm-page .tm-share-copy>input{width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid var(--th-rule-strong);border-radius:8px;background:var(--th-surface);color:var(--th-text);font-size:12px}
.tm-page .tm-share-copy>button{flex:none;border:0;min-height:44px;padding:10px 12px;border-radius:8px;background:var(--th-accent);color:var(--th-accent-ink);font-size:12px;font-weight:600}
.tm-share-body small{color:var(--th-muted);font-size:12px;line-height:1.6;display:block}
.tm-share-body .tm-share-status{color:var(--th-accent);margin:8px 0;font-size:12px}
.th-team-invites .ti-team-badge{overflow:hidden;flex:none}
.ti-team-badge>img{width:100%;height:100%;object-fit:contain}
.ti-team-monogram{font:650 21px/1 var(--th-display);color:var(--th-accent)}
.ti-logo-editor{display:flex;gap:16px;padding:22px 0;margin-top:12px;border-top:1px solid var(--th-rule);border-bottom:1px solid var(--th-rule)}
.ti-logo-preview{display:grid;place-items:center;flex:none;width:64px;height:64px;background:var(--th-surface-2);border:1px solid var(--th-rule);border-radius:12px;overflow:hidden}
.ti-logo-preview>img{width:100%;height:100%;object-fit:contain}
.ti-logo-editor strong{color:var(--th-text);font-size:13px;font-weight:650}
.ti-logo-editor p,.ti-team-share p{font-size:12px;line-height:1.6;color:var(--th-muted);margin:6px 0 8px}
.ti-logo-editor small{display:block;color:var(--th-muted);font-size:11px;margin-top:6px}
.th-team-invites .ti-upload-label{position:relative;min-height:44px;cursor:pointer;margin-right:16px}
.ti-upload-label>input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.ti-upload-label:focus-within{outline:2px solid var(--th-accent);outline-offset:3px;border-radius:4px}
.ti-team-share{margin-top:22px}
.ti-team-share>summary{display:flex;align-items:center;gap:8px;cursor:pointer;color:var(--th-accent);font-size:12px;min-height:44px;list-style:none}
.ti-team-share>summary::-webkit-details-marker{display:none}
.ti-team-share>summary svg{width:17px;height:17px}
.ti-team-share>summary:focus-visible{outline:2px solid var(--th-accent);outline-offset:3px;border-radius:4px}
.ti-team-share-preview{width:100%;height:auto;display:block;aspect-ratio:1200/630;border-radius:10px;background:var(--th-surface-2);margin:12px 0}
.th-team-invites.ti-invite-uplift{padding:24px 0 16px;min-height:0}
.ti-invite-uplift .ti-page-brand{display:none}
.ti-invite-uplift .ti-invite-card{max-width:1100px;margin:0 auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-radius:16px}
.ti-invite-uplift .ti-invite-art{background:#09110f;padding:16px 12px 38px;min-height:590px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}
.ti-invite-uplift [data-team-blackhole]{min-height:340px;border-radius:0;aspect-ratio:1.18}
.ti-invite-uplift .ti-orbit-caption{padding:0 26px;margin-top:auto;position:relative;z-index:1;width:auto}
.ti-invite-uplift .ti-orbit-caption>span{font:650 clamp(26px,2.8vw,38px)/1.12 var(--th-display);letter-spacing:-.03em;color:#edf4ec;max-width:none}
.ti-invite-uplift .ti-orbit-caption>p{color:#b9cebf;font-size:13px;line-height:1.6;max-width:36ch;margin:14px 0 0}
.ti-invite-uplift .ti-invite-content{padding:40px clamp(24px,4vw,48px);display:flex;flex-direction:column;justify-content:center;min-width:0}
.ti-invite-uplift .ti-invite-content>h1{font-size:clamp(30px,3.5vw,46px);letter-spacing:-.03em;overflow-wrap:anywhere;margin-bottom:20px}
.ti-invite-uplift .ti-invite-content>p:not(.ti-join-help){font-size:14px;line-height:1.7}
.ti-arrival-icon{display:grid;place-items:center;width:72px;height:72px;flex:none;margin-bottom:22px;border:1px solid var(--th-rule);border-radius:16px;overflow:hidden;background:var(--th-surface-2)}
.ti-arrival-icon img{width:100%;height:100%;object-fit:contain}
.ti-arrival-icon .ti-team-monogram{font-size:27px}
.ti-invite-uplift .ti-invite-label{display:none}
.ti-invite-uplift .ti-join-help{font-size:12px!important;line-height:1.6}
.ti-invite-uplift .ti-page-footer{font-size:12px;margin-top:24px;color:var(--th-muted)}
@media(max-width:1000px){.tm-orbit-copy{padding:30px}.tm-orbit-copy h1{font-size:48px}.tm-hero-actions{align-items:start;flex-direction:column;gap:4px}.tm-orbit-visual [data-team-blackhole]{min-height:330px}.tm-team-insights{gap:32px}}
@media(max-width:700px){.tm-orbit-hero{grid-template-columns:minmax(0,1fr);margin-bottom:24px}.tm-orbit-copy{padding:28px}.tm-orbit-copy h1{font-size:44px;margin-bottom:18px}.tm-orbit-copy>p{font-size:14px;max-width:48ch}.tm-orbit-visual{padding:10px 8px 40px}.tm-orbit-visual [data-team-blackhole]{min-height:280px;max-height:330px;aspect-ratio:1.5}.tm-orbit-caption{bottom:17px;font-size:11px}.tm-hero-actions{flex-direction:row;align-items:center;gap:10px 18px}.tm-team-insights{grid-template-columns:minmax(0,1fr);gap:34px}.tm-public-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px}.tm-public-stats>div:nth-child(2){border:0}.tm-public-stats dd{font-size:28px}.tm-public-hero .tm-team-icon{width:72px;height:72px;margin-bottom:20px}.tm-share-panel{max-width:none}.tm-leader-identity{gap:12px}.tm-leader-identity .tm-team-icon{width:40px;height:40px;font-size:16px;border-radius:9px}.tm-team-name>strong{gap:8px}.tm-row-icon{width:27px;height:27px;border-radius:7px}.tm-row-icon>svg{width:20px;height:20px}.ti-invite-uplift .ti-invite-card{grid-template-columns:minmax(0,1fr);max-width:520px}.ti-invite-uplift .ti-invite-art{min-height:0;height:auto;padding:0 8px 28px}.ti-invite-uplift [data-team-blackhole]{min-height:240px;aspect-ratio:1.6;max-height:280px}.ti-invite-uplift .ti-orbit-caption{padding:0 20px;width:auto}.ti-invite-uplift .ti-orbit-caption>span{font-size:27px;max-width:none;display:block}.ti-invite-uplift .ti-orbit-caption>p{display:block;font-size:12px;max-width:none;margin:10px 0 0}.ti-invite-uplift .ti-invite-content{padding:28px}.ti-invite-uplift .ti-invite-content>h1{font-size:36px}.ti-arrival-icon{width:60px;height:60px;margin-bottom:20px}.ti-invite-uplift .ti-invite-content>.ti-privacy-note{margin-top:24px}.tm-back>span{font-size:11px}}
@media(max-width:380px){.tm-orbit-copy{padding:22px}.tm-orbit-copy h1{font-size:38px}.tm-hero-actions{flex-direction:column;align-items:start}.tm-share-copy{flex-direction:column}.tm-share-copy>button{width:100%}.tm-team-name>strong{display:block}.tm-row-icon{display:none}.tm-back>span{display:none}.ti-invite-uplift .ti-invite-content{padding:24px 20px}.ti-invite-uplift .ti-invite-content>h1{font-size:31px}.ti-logo-editor{gap:12px}.ti-logo-preview{width:48px;height:48px}.ti-logo-editor .ti-team-monogram{font-size:18px}}
@media(prefers-reduced-motion:reduce){.tm-motion-toggle{display:none!important}}

/* Arrival on a phone leads with the team and the action, then the scene. */
@media(max-width:700px){
  .tm-orbit-copy{padding:22px 20px}
  .tm-orbit-copy h1{font-size:36px;margin-bottom:16px}
  .tm-orbit-copy>p{margin-bottom:18px;font-size:15px;line-height:1.65}
  .tm-introduction .tm-orbit-copy{padding-top:72px}
  .tm-introduction .tm-orbit-copy h2{font-size:32px;margin-bottom:16px}
  .tm-page .tm-orbit-copy>.tm-hero-note{font-size:13px;margin-top:14px}
  .tm-orbit-visual{padding:6px 8px 38px}
  .tm-orbit-visual [data-team-blackhole]{min-height:180px;max-height:220px;aspect-ratio:1.7}
  .tm-orbit-caption{font-size:12px}
  .tm-public-hero .tm-team-icon{width:56px;height:56px;margin-bottom:16px;font-size:22px;border-radius:12px}
  .tm-public-stats{gap:20px 16px;padding-bottom:24px}
  .tm-public-stats dt{margin-bottom:8px}
  .tm-team-insights{gap:28px;padding-top:28px}
  .tm-team-insights h2{font-size:22px}
  .tm-team-insights>div>p:first-of-type{font-size:14px;margin-bottom:18px}
  .tm-share-body{padding-top:16px}
  .tm-share-body>p{font-size:14px}
  .tm-page .tm-share-copy>input{font-size:16px}
  .tm-page .tm-share-copy>button{font-size:13px}
  .ti-invite-uplift .ti-invite-content{grid-row:1;padding:24px 20px}
  .ti-invite-uplift .ti-invite-content>h1{font-size:32px;line-height:1.15;margin-bottom:16px}
  .ti-arrival-icon{width:52px;height:52px;margin-bottom:16px;border-radius:12px}
  .ti-invite-uplift .ti-invite-art{grid-row:2;padding:8px 8px 22px}
  .ti-invite-uplift [data-team-blackhole]{min-height:160px;max-height:200px;aspect-ratio:1.7}
  .ti-invite-uplift .ti-orbit-caption{padding-inline:12px}
  .ti-invite-uplift .ti-orbit-caption>span{font-size:24px}
  .ti-invite-uplift .ti-orbit-caption>p{font-size:13px}
  .ti-logo-editor{gap:12px;padding:18px 0}
  .ti-logo-editor>div:last-child{min-width:0}
  .ti-logo-preview{width:52px;height:52px}
  .ti-logo-editor p,.ti-team-share p{font-size:13px}
  .ti-logo-editor small{font-size:12px}
}
