/* The explorer carries its own typography and palette across both homepages. */
.te {
  --te-shade:7 20 56; --te-ink:#102f30; --te-deep:#102d30; --te-paper:#fffaf0; --te-accent:#fbd184; --te-pale:#eee3be; --te-mark:#b77a24;
  --te-font:"Avenir Next",Avenir,"Segoe UI",system-ui,sans-serif;
  --te-display:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --te-side:clamp(1.15rem,5vw,5.5rem); --te-focus: #ffe6a7; --te-crop:62% 52%;
  position:relative; isolation:isolate; display:flex; flex-direction:column; justify-content:flex-end;
  width:100%; max-width:none; min-height:clamp(35rem,75svh,49rem); margin:0; padding:0; overflow:clip;
  color:var(--te-paper); background:var(--te-deep); font:500 1rem/1.5 var(--te-font); text-align:left;
}
.te:is(.te-prod,.te-prod .te) { margin-top:var(--header-height,70px); }
.te:is(.te-dev,.te-dev .te) { margin-top:0; }
.te[data-world=trades] { --te-shade:45 19 15; --te-accent:#ffbc78; --te-pale:#f0dbc7; --te-mark:#ae572d; --te-crop:62% 54%; --te-deep:#352b28; }
.te[data-world=studio] { --te-shade:39 15 40; --te-accent:#a9f1e2; --te-pale:#d2e6de; --te-mark:#22766d; --te-crop:68% 51%; --te-deep:#102f36; }
.te[data-world=waste] { --te-shade:9 31 20; --te-accent:#d9ef9e; --te-pale:#dce6c7; --te-mark:#617832; --te-crop:67% 54%; --te-deep:#213b2c; }
.te *, .te *::before,.te *::after,.te-room *, .te-room *::before,.te-room *::after { box-sizing:border-box; }
.te [hidden],.te-room [hidden] { display:none!important; }
.te .te-poster { position:absolute; z-index:-3; inset:0; display:block; width:100%; height:100%; max-width:none; border:0; border-radius:0; object-fit:cover; object-position:var(--te-crop); }
.te::before,.te::after { content:""; position:absolute; inset:0; pointer-events:none; }
.te::before { z-index:-2; background:linear-gradient(90deg,rgb(var(--te-shade)/.85) 0%,rgb(var(--te-shade)/.65) 29%,rgb(var(--te-shade)/.15) 61%,transparent 89%); }
.te::after { z-index:-1; background:linear-gradient(0deg,rgb(var(--te-shade)/.88) 0%,rgb(var(--te-shade)/.30) 21%,transparent 49%),linear-gradient(180deg,#0d242124,transparent 20%); }
.te .te-shell { display:flex; align-items:flex-end; position:relative; flex:1; width:min(100%,100rem); margin-inline:auto; padding:clamp(3rem,7.5vh,6.4rem) var(--te-side) clamp(2rem,5vh,3.75rem); }
.te .te-copy { min-width:0; max-width:44rem; }
.te .te-kicker { display:flex; align-items:center; gap:.65rem; margin:0 0 1rem; color:var(--te-accent); font:720 .79rem/1.35 var(--te-font); text-transform:uppercase; letter-spacing:.13em; }
.te .te-kicker::before { content:""; width:2.2rem; height:2px; background:currentColor; border-radius:1px; }
.te .te-copy h1 { margin:0; max-width:13.5ch; color:#fffdf4; font:500 clamp(3.75rem,7.3vw,7.6rem)/.93 var(--te-display); text-wrap:balance; text-transform:none; letter-spacing:-.065em; text-shadow:0 2px 16px #071b182d; }
.te .te-copy h1 em,.te .te-copy h1 i { color:var(--te-accent); font-weight:400; }
.te .te-deck { max-width:43ch; margin:1.12rem 0 1.45rem; color:#f1f3e9; font:500 clamp(1.02rem,1.45vw,1.25rem)/1.49 var(--te-font); text-wrap:pretty; }
.te :is(.te-cta,.te-direct),.te-room .te-link { display:inline-flex; align-items:center; justify-content:center; gap:.55rem; min-height:46px; max-width:100%; padding:.74rem 1.05rem; border:1px solid transparent; border-radius:.47rem; font:690 .96rem/1.27 var(--te-font); letter-spacing:0; text-transform:none; text-decoration:none; cursor:pointer; }
.te .te-actions,.te-room .te-picks { display:flex; flex-wrap:wrap; align-items:center; gap:.42rem; }
.te .te-actions .te-direct { margin:0; }
.te .te-cta { color:#162e2b; background:var(--te-accent); box-shadow:0 2px 6px #081b1740; }
.te .te-direct { margin-left:.38rem; color:var(--te-paper); background:#10272bab; border-color:#d6e4d380; }
.te .te-cta:hover,.te-room .te-link:hover { filter:brightness(1.07); }
.te .te-direct:hover { background:#1b3f3ae8; border-color:#e7efdf; }
.te :is(a,button):focus-visible { outline:3px solid var(--te-focus); outline-offset:3px; }
.te .te-worlds {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.6rem; width:min(100%,100rem); margin:0 auto; padding:0 var(--te-side) clamp(1.1rem,3.5vh,2.65rem);
  position:relative; border:0; background:none; box-shadow:none; color:var(--te-paper);
}
.te .te-shell:has(>.te-worlds) { flex-direction:column; justify-content:flex-end; align-items:stretch; padding-bottom:clamp(1.1rem,3.5vh,2.65rem); }
.te .te-shell>.te-worlds { width:100%; margin-top:clamp(1.7rem,4vh,3rem); padding:0; }
.te .te-world {
  --tab-accent:#fbd184; min-width:0; min-height:75px; position:relative; display:grid; grid-template-columns:clamp(2.8rem,4.5vw,4.5rem) minmax(0,1fr); grid-template-rows:auto auto;
  align-content:center; align-items:center; column-gap:.72rem; row-gap:.14rem; padding:.56rem .65rem; border:1px solid #d4e3cd55; border-radius:.62rem;
  background:#102720e8; box-shadow:none; color:#fbf9ed; text-align:left; text-decoration:none; font-family:var(--te-font); cursor:pointer;
}
.te .te-world:nth-child(2) { --tab-accent:#ffbc78; }.te .te-world:nth-child(3) { --tab-accent:#a9f1e2; }.te .te-world:nth-child(4) { --tab-accent:#d9ef9e; }
.te .te-world img { grid-column:1; grid-row:1/span 2; align-self:stretch; width:100%; height:100%; min-height:2.95rem; max-height:3.6rem; object-fit:cover; border-radius:.3rem; border:0; background:var(--te-deep); }
.te .te-name { grid-column:2; align-self:end; color:inherit; font:700 clamp(.93rem,1.28vw,1.1rem)/1.2 var(--te-font); letter-spacing:-.02em; text-transform:none; }
.te .te-caption { grid-column:2; align-self:start; color:#d6e0d1; font:550 .81rem/1.2 var(--te-font); letter-spacing:0; text-transform:none; }
.te .te-world:hover { border-color:var(--tab-accent); background:#244238ed; }
.te .te-world[aria-pressed=true] { color:#17312b; border-color:var(--tab-accent); background:#f6f4e7; box-shadow:inset 0 -3px var(--tab-accent),0 3px 8px #06171029; }
.te .te-world[aria-pressed=true] .te-caption { color:#42594a; }
.te .te-world[aria-pressed=true] img { box-shadow:0 0 0 1px #162d272b; }
.te-room {
  position:fixed; inset:0; width:min(67rem,calc(100% - 2.5rem)); max-width:none; max-height:min(89dvh,54rem); margin:auto; padding:0; overflow:auto; overscroll-behavior:contain;
  border:1px solid #e8e4cc; border-radius:.95rem; box-shadow:0 25px 100px #061b17aa; background:var(--te-paper,#fffaf0); color:var(--te-ink,#102f30); font:500 1rem/1.45 var(--te-font,system-ui,sans-serif); text-align:left;
}
.te-room:not([open]) { display:none; }
.te-room::backdrop { background:#0a211acd; backdrop-filter:blur(5px); }
.te-room .te-room-layout { display:grid; grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr); min-height:27rem; }
.te-room .te-room-picture { position:relative; margin:0; border:0; overflow:hidden; min-height:100%; background:var(--te-deep); }
.te-room .te-room-picture img { position:absolute; inset:0; width:100%; height:100%; max-width:none; border:0; border-radius:0; object-fit:cover; object-position:var(--te-crop); }
.te-room .te-room-content { min-width:0; padding:clamp(1rem,2.45vw,2.15rem); color:var(--te-ink); }
.te-room .te-room-top { position:static; inset:auto; width:100%; height:auto; min-height:0; display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:0; margin:0 0 .6rem; border:0; box-shadow:none; background:none; color:#38554b; backdrop-filter:none; }
.te-room .te-room-top>span { display:flex; align-items:center; gap:.55rem; font:710 .76rem/1.2 var(--te-font); text-transform:uppercase; letter-spacing:.12em; }
.te-room .te-room-top>span::before { content:""; height:2px; width:1.5rem; background:var(--te-mark); }
.te-room .te-room-top button { min-width:44px; min-height:44px; display:inline-flex; align-items:center; justify-content:center; gap:.3rem; border:1px solid #b5c1ae; border-radius:.45rem; padding:.45rem .65rem; background:transparent; color:var(--te-ink); font:650 .87rem/1 var(--te-font); cursor:pointer; }
.te-room .te-room-content h2 { color:var(--te-ink); font:500 clamp(2rem,3.8vw,3.3rem)/1.02 var(--te-display); letter-spacing:-.052em; text-transform:none; text-wrap:balance; margin:0; }
.te-room .te-room-intro { max-width:54ch; margin:.64rem 0 1.05rem; font:500 1rem/1.45 var(--te-font); color:#40554d; }
.te-room .te-options { display:flex; flex-wrap:wrap; gap:.4rem; min-width:0; border:0; margin:0; padding:0; }
.te-room .te-options legend { margin:0 0 .4rem; padding:0; color:var(--te-ink); font:650 .9rem/1.3 var(--te-font); }
.te-room .te-choice { min-height:43px; padding:.54rem .72rem; border:1px solid #a9b9aa; border-radius:.4rem; background:#fffdf4; color:var(--te-ink); font:650 .9rem/1.24 var(--te-font); text-align:left; cursor:pointer; }
.te-room .te-choice:hover,.te-room .te-room-top button:hover { background:#eceee1; }
.te-room .te-choice:is([aria-pressed=true],[aria-checked=true],[aria-selected=true]) { background:var(--te-ink); border-color:var(--te-ink); color:#fffdf0; box-shadow:inset 0 -3px var(--te-accent); }
.te-room .te-result { margin:1rem 0 0; padding:.85rem 1rem; border-block:1px solid #ccd0b9; border-left:3px solid var(--te-mark); border-radius:0 .45rem .45rem 0; background:color-mix(in srgb,var(--te-pale) 49%,#fffdfa); }
.te-room .te-result h3 { color:var(--te-ink); font:680 1.14rem/1.23 var(--te-font); letter-spacing:-.025em; text-transform:none; margin:0 0 .28rem; }
.te-room .te-result p,.te-room .te-result li { font:500 .94rem/1.43 var(--te-font); color:#314940; }
.te-room .te-result p { margin:0; }.te-room .te-result ul { padding-left:1.12em; margin:.48rem 0 0; }.te-room .te-result li+li { margin-top:.15rem; }
.te-room .te-result li::marker { color:var(--te-mark); }
.te-room .te-link { margin-top:.85rem; background:var(--te-ink); color:#fffdf4; }
.te-room :is(a,button):focus-visible { outline-color:#a15b25; }
@media(max-width:900px) {
  .te { --te-side:clamp(1.2rem,3.4vw,2rem); }.te .te-worlds { gap:.42rem; }
  .te .te-world { padding:.42rem; column-gap:.42rem; }.te .te-name { font-size:.94rem; }.te .te-caption { font-size:.78rem; }
}
@media(max-width:680px) {
  .te { min-height:0; --te-side:1.15rem; }
  .te::before { background:linear-gradient(90deg,rgb(var(--te-shade)/.90) 0%,rgb(var(--te-shade)/.61) 44%,rgb(var(--te-shade)/.20) 94%); }
  .te::after { background:linear-gradient(0deg,rgb(var(--te-shade)/.97) 0%,rgb(var(--te-shade)/.69) 20%,transparent 66%); }
  .te .te-shell { padding-top:clamp(2rem,5.5vh,3.2rem); padding-bottom:1.3rem; }
  .te .te-kicker { margin:0 0 .7rem; font-size:.75rem; }.te .te-kicker::before { width:1.45rem; }
  .te .te-copy h1 { max-width:13ch; font-size:clamp(3.12rem,11.5vw,4.65rem); line-height:.97; }
  .te .te-deck { margin:.8rem 0 .95rem; max-width:36ch; font-size:1rem; }
  .te .te-worlds { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.42rem; }
  .te .te-world { min-height:3.8rem; grid-template-columns:2.5rem minmax(0,1fr); padding:.34rem .4rem; }
  .te .te-world img { min-height:2.35rem; max-height:2.7rem; }.te .te-shell>.te-worlds { margin-top:1.1rem; }
  .te-room { width:min(37rem,calc(100% - 1.1rem)); max-height:94dvh; border-radius:.72rem; }
  .te-room .te-room-layout { display:flex; flex-direction:column; min-height:0; }
  .te-room .te-room-picture { height:clamp(5.5rem,18vh,9.5rem); min-height:0; }.te-room .te-room-picture img { object-position:50% 55%; }
  .te-room .te-room-content { padding:.85rem 1.1rem 1.1rem; }.te-room .te-room-top { margin-bottom:.28rem; }
  .te-room .te-room-content h2 { font-size:clamp(1.87rem,7.6vw,2.5rem); }.te-room .te-room-intro { margin:.45rem 0 .75rem; }
}
@media(max-width:385px) {
  .te { --te-side:.9rem; }.te .te-shell { padding-top:1.65rem; }
  .te .te-copy h1 { font-size:clamp(2.84rem,12vw,3rem); }.te :is(.te-cta,.te-direct) { font-size:.88rem; padding:.68rem .72rem; }
  .te .te-direct { margin-left:.17rem; }.te .te-world { grid-template-columns:2.1rem minmax(0,1fr); column-gap:.35rem; }
  .te .te-name { font-size:.85rem; }.te .te-caption { font-size:.75rem; }
  .te-room .te-room-content { padding-inline:.8rem; }.te-room .te-room-picture { height:4.6rem; }
}
@media(orientation:landscape) and (max-height:550px) {
  .te { min-height:0; --te-side:clamp(1rem,3.5vw,2.5rem); }
  .te .te-shell { padding-top:1.3rem; padding-bottom:1rem; }.te .te-kicker { margin-bottom:.35rem; }
  .te .te-copy h1 { font-size:clamp(2.55rem,6vw,3.7rem); }.te .te-deck { margin:.47rem 0 .67rem; font-size:.94rem; }
  .te .te-worlds { grid-template-columns:repeat(4,minmax(0,1fr)); padding-bottom:.7rem; }.te .te-world { min-height:3rem; grid-template-columns:1.85rem minmax(0,1fr); }
  .te .te-world img { min-height:2rem; max-height:2.2rem; }.te .te-caption { font-size:.73rem; }
  .te-room { width:min(62rem,calc(100% - 1rem)); max-height:95dvh; }
  .te-room .te-room-layout { display:grid; grid-template-columns:minmax(5.5rem,.39fr) minmax(0,1fr); min-height:0; }
  .te-room .te-room-picture { min-height:100%; height:auto; }.te-room .te-room-content { padding:.65rem 1rem 1rem; }
}
@media(max-width:680px),(orientation:landscape) and (max-height:550px) {
  .te-room .te-room-top { position:sticky; top:0; z-index:2; background:var(--te-paper); padding-block:.15rem; box-shadow:0 4px 0 var(--te-paper); }
}
@media(prefers-reduced-motion:no-preference) {
  .te :is(.te-world,.te-cta,.te-direct),.te-room :is(.te-choice,.te-link) { transition:background-color .16s,border-color .16s,box-shadow .16s; }
  .te-room[open] .te-room-layout { animation:te-appear .2s ease-out both; }
  @keyframes te-appear { from { opacity:0; transform:translateY(.3rem); } }
}
