/* p4-light-team.css — Phase 4 /en/team light staging (Wick 09:12 item 7). Loaded after p4-light.css and p4-light-v2.css,
   which already give: ground, header rope, consent chevron, cards' engraved frames, rail rope frame, footer P1/P3, space band.
   This file maps the home-only (main.home2) parts onto the Team page. Light only; dark untouched; decoration only. */
/* section dividers: the 1px band rule becomes the arcade (wide on desktop) */
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-sec{position:relative;border-top:0}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-sec::before{content:"";position:absolute;top:-18px;left:50%;transform:translateX(-50%);width:min(520px,92%);height:36px;background:url(../p4/chrome/divider-arcade.svg) center/contain no-repeat;pointer-events:none}
@media (min-width:900px){html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-sec::before{top:-24px;width:min(880px,94%);height:44px;background-image:url(../p4v2/chrome/divider-arcade-wide.svg)}}
/* centred section heads get a centred vein under them */
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-sec>h2{background:url(../p4/chrome/heading-vein.svg) no-repeat 50% 100%/120px 10px;padding-bottom:18px}
/* the page head: an engraved vellum panel with the hatched vignette and the arcade crown (text sits on the clean centre) */
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-head{position:relative;padding:34px clamp(16px,4vw,40px) 30px;margin-top:52px;margin-bottom:48px;background:radial-gradient(ellipse 75% 70% at 50% 50%,#fffaf0 62%,rgba(255,250,240,0) 100%),url(../p4v2/chrome/hatch.svg),linear-gradient(#f6eedb,#efe2c4)}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-head::after{content:"";position:absolute;inset:-4px;border:18px solid transparent;border-image:url(../p4v2/chrome/engraved-frame.svg) 24 round;pointer-events:none}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-head::before{content:"";position:absolute;left:50%;top:-30px;transform:translateX(-50%);width:min(560px,90%);height:30px;background:url(../p4v2/chrome/divider-arcade-wide.svg) center bottom/contain no-repeat;pointer-events:none}
/* margin vein work, densest at each section head */
@media (min-width:1200px){html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-sec::after{content:"";position:absolute;top:8px;left:-64px;width:54px;height:min(570px,100%);background:url(../p4v2/chrome/margin-veins.svg) top left/54px auto no-repeat;pointer-events:none}}
/* the sign-off seal: engraved like the herald */
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .seal{position:relative;background:radial-gradient(ellipse 70% 62% at 50% 50%,#fffaf0 60%,rgba(255,250,240,0) 100%),url(../p4v2/chrome/hatch.svg),linear-gradient(#f6eedb,#efe2c4)}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .seal::after{content:"";position:absolute;inset:-4px;border:18px solid transparent;border-image:url(../p4v2/chrome/engraved-frame.svg) 24 round;pointer-events:none}
/* small tiles (crew tiles) get a woven foot instead of a full frame (they are small; a frame would crowd the faces) */
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-tile{position:relative}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-tile::after{content:"";position:absolute;left:14%;right:14%;bottom:-8px;height:6px;background:url(../p4/chrome/woven-rule.svg) repeat-x 0 0/6px 7px;pointer-events:none}
/* the call-to-action links styled like buttons */
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .cta{position:relative}
/* Conman herald on Team */
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-conman .anim-comic{position:relative}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-card{background-color:rgba(255,250,240,.82)}
/* Wick 09:56 — tighter desktop Team (light only): same crew, less air. Smaller section/card padding, tighter gaps,
   four columns for the guest-crew and mini-card grids on wide screens. Nobody hidden. */
@media (min-width:1100px){
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-sec{padding:30px 0 38px}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-head{margin-bottom:36px}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-rows{gap:22px}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-card{padding:24px 26px}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-card.tm-mini{padding:20px 22px}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-full{gap:12px 30px}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main :is(.tm-three,.tm-four){gap:18px}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-four{grid-template-columns:repeat(4,minmax(0,1fr))}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .gc-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-org{gap:20px}
}
@media (min-width:1100px){
/* the long "In their own words" blocks on wide seat cards run in two balanced columns (same words, same order) */
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-full .voice{columns:2;column-gap:30px}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-full .voice>.label{column-span:all}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-full .voice>*{break-inside:avoid}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .tm-full .voice>blockquote{margin-top:0}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main .grid.tm-four{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
