@font-face {
  font-family: "Space Grotesk";
  src: url("../unshared0/fonts/space-grotesk-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body[data-home-layout="explore"] {
  --home-sky-height: 100svh;
  --home-header-fade-height: 38px;
  --home-explore-entry-offset: var(--home-sky-fade-height, 32px);
  --home-explore-top: calc(var(--site-header-size) + var(--home-header-fade-height) - 14px);
  --home-explore-lead-in: calc(var(--home-explore-top) + var(--home-explore-entry-offset));
  --home-explore-heading-inset: 16px;
  --home-explore-clearance: calc(var(--home-explore-top) + 16px);
  --home-explore-footer-height: calc(52px + env(safe-area-inset-bottom, 0px));
  --home-explore-chrome-color: var(--bg);
}
:root[data-home-mode="auto"] body[data-home-layout="explore"] {
  --home-explore-chrome-color: color-mix(in srgb, var(--home-sky-horizon) var(--home-explore-sky-share), black);
}
body[data-home-layout="explore"] .hero { height: 100svh; min-height: 0; }
body[data-home-layout="explore"] .hero-message { display: none; }
body[data-home-layout="explore"] .home-brand-header::after { height: var(--home-header-fade-height); }
body[data-home-layout="explore"] .home-brand-header .brand-star-slot {
  left: calc(100% + 10px);
  opacity: 1;
  transform: none;
}
body[data-home-layout="explore"] .home-brand-header .touch-brand-star {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
}
body[data-home-layout="explore"] .home-brand-header .touch-brand-star .star-spectrum { opacity: 1; }
body[data-home-layout="explore"] .home-brand-header .header-actions { width: 76px; gap: 12px; }
/* Preserve the confirmed menu's blurred, left-aligned wordmark. */
body[data-home-layout="explore"].menu-open .home-brand-header .brand-wordmark-text { opacity: 1; }
body[data-home-layout="explore"].menu-open .home-brand-header :is(.brand-star-slot, .touch-brand-star) { visibility: hidden; }

.home-explore-cue {
  position: absolute;
  left: 50%;
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  opacity: .6;
  transform: translateX(-50%);
  cursor: pointer;
  touch-action: manipulation;
  transition: opacity 280ms ease, transform 280ms ease;
}
.home-explore-cue svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; animation: home-cue-float 1.8s ease-in-out infinite; }
:root:is([data-home-motion="reduced"], [data-home-motion="off"]) .home-explore-cue svg { animation: none; }
.home-explore-cue:hover, .home-explore-cue:focus-visible { opacity: 1; }
.home-explore-cue:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.home-explore-cue.is-scrolled { opacity: 0; transform: translate(-50%, -6px); pointer-events: none; }
.home-explore-cue.is-scrolled svg, body.menu-open .home-explore-cue svg { animation-play-state: paused; }
body.menu-open .home-explore-cue { visibility: hidden; }
@keyframes home-cue-float {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}

.home-explore {
  min-height: calc(100dvh + var(--home-explore-entry-offset, 0px));
  /* Keep the heading and project list together when Explore reaches its scroll target. */
  padding: var(--home-explore-lead-in) var(--site-inset-right)
    max(calc(var(--home-explore-footer-height) + 20px), clamp(80px, 12svh, 160px)) var(--site-inset-left);
  scroll-margin-top: calc(-1 * var(--home-explore-entry-offset, 0px));
}
.home-explore-header {
  position: sticky;
  top: var(--home-explore-top);
  z-index: 20;
  padding: var(--home-explore-heading-inset) 0 12px;
}
.home-explore-content {
  display: flow-root;
}
.home-explore-content[data-header-overlap] {
  --home-explore-fade-end: calc(var(--home-explore-clip-top) + 24px);
  --home-explore-mask: linear-gradient(to bottom, transparent var(--home-explore-clip-top), #000 var(--home-explore-fade-end))
    calc(-1 * var(--site-inset-left)) 0 / calc(100% + var(--site-inset-left) + var(--site-inset-right)) calc(100% + 28px) no-repeat no-clip;
  clip-path: inset(var(--home-explore-clip-top) calc(-1 * var(--site-inset-right)) -28px calc(-1 * var(--site-inset-left)));
  -webkit-mask: var(--home-explore-mask);
  mask: var(--home-explore-mask);
}
.home-explore-footer {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  height: var(--home-explore-footer-height);
  min-height: 0;
  pointer-events: none;
  opacity: 0;
}
body:not(.menu-open) .home-explore-footer.is-visible { opacity: var(--home-explore-footer-opacity, 0); }
.home-explore-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--home-explore-chrome-color);
  -webkit-mask-image: linear-gradient(transparent, #000);
  mask-image: linear-gradient(transparent, #000);
  transition: background-color 360ms ease-out;
}
.home-explore-title {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
  scroll-margin-top: var(--home-explore-clearance);
}
.home-explore-title-row { display: flex; align-items: center; gap: clamp(10px, 2vw, 28px); min-width: 0; margin-bottom: 28px; }
.home-search {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  width: 44px;
  min-width: 44px;
  max-width: 100%;
  height: 44px;
  margin: 0;
  border-radius: 8px;
  font-size: 16px;
  color: var(--text);
  transition: width 300ms cubic-bezier(.2,.7,.2,1), box-shadow 140ms ease;
}
.home-search.is-open {
  width: clamp(132px, calc(var(--query-width, 0px) + 88px), 390px);
  box-shadow: inset 0 0 0 1px var(--theme-border);
}
.home-search.is-open.is-confirming { box-shadow: inset 0 0 0 1.02px #e04c54; }
.home-search-surface {
  --project-fade-inline-base: 18px;
  --project-spread-inline: min(14px, var(--site-inset-left), var(--site-inset-right));
  --project-spread-block: 8px;
}
.home-search.home-search-surface::before { opacity: 0; transition: opacity 250ms ease, background-color 360ms ease; }
.home-search.is-open.home-search-surface::before { opacity: 1; }
.home-search input, .home-search-measure { font: inherit; letter-spacing: inherit; }
.home-search input {
  width: 0;
  min-width: 0;
  height: 100%;
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  visibility: hidden;
  color: inherit;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0;
}
.home-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.home-search.is-open input { visibility: visible; padding-inline-start: 8px; }
.home-search:focus-within:not(.is-confirming).is-open { box-shadow: inset 0 0 0 1px var(--secondary); }
.home-search-measure { position: fixed; right: 100%; width: max-content; visibility: hidden; pointer-events: none; white-space: pre; }
.home-search button {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.home-search .home-search-clear { width: 0; overflow: hidden; visibility: hidden; }
.home-search.is-open .home-search-clear { width: 36px; visibility: visible; }
.home-search button:focus-visible { outline: 1px solid currentColor; outline-offset: -4px; border-radius: 6px; }
.home-search svg { fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; }
.home-search-toggle svg { width: clamp(23px, 2.6vw, 35px); height: auto; }
.home-search-clear svg { width: 17px; height: auto; }
.home-search-hint {
  position: absolute;
  inset: 100% 0 auto auto;
  width: max-content;
  max-width: 100%;
  margin: 3px 0 0;
  color: var(--theme-copy);
  font-size: 11px;
  pointer-events: none;
}
.home-search-results {
  position: relative;
  isolation: isolate;
  width: min(100%, 720px);
  margin-block: 12px 26px;
  padding: 8px 12px;
}
.home-search-group + .home-search-group { margin-top: 14px; }
.home-search-group h3, .home-search-empty { margin: 0 0 4px; color: var(--theme-copy); font-size: 12px; font-weight: 500; }
.home-search-group ul { list-style: none; padding: 0; margin: 0; }
.home-search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 0;
  color: var(--text);
  text-decoration: none;
}
.home-search-result:is(:hover, :focus-visible) .home-search-copy > span { text-decoration: underline; text-underline-offset: 3px; }
.home-search-tag { flex: none; padding: 3px 5px; border: 1px solid var(--theme-border); border-radius: 2px; color: var(--theme-copy); font-size: 10px; }
.home-search-copy { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.home-search-copy small { color: var(--theme-copy); }
.home-search-copy mark { color: var(--text); background: var(--theme-hover); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .home-search { transition-duration: 120ms; }
}
:root:is([data-home-motion="reduced"], [data-home-motion="off"]) .home-search { transition-duration: 160ms; }
.home-category-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 32px; }
.home-explore [data-zh] { transition: opacity 180ms ease, transform 180ms ease; }
.menu-overlay:is(.language-leaving, .language-enter-ready) ~ .home-content-surface .home-explore [data-zh] { opacity: 0; transform: translateY(-4px); }
.home-category-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: max-content;
  min-height: 44px;
  padding: 8px 0 12px;
  background: transparent;
  text-align: left;
  color: var(--secondary);
  cursor: pointer;
  touch-action: manipulation;
  transition: color 180ms ease;
}
.home-category-toggle::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 200ms ease; }
.home-category-name {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}
.home-category-toggle.is-active { color: var(--text); }
.home-category-toggle.is-active::after { transform: scaleX(1); }
.home-category-panels { position: relative; display: grid; align-items: start; }
.home-category-panels > .home-category-panel { grid-area: 1 / 1; min-width: 0; }
.home-category-panels > .home-category-panel.is-open { z-index: 1; }
.home-category-panel, .home-project-summary {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: grid-template-rows 360ms cubic-bezier(.16,1,.3,1), opacity 240ms ease, transform 360ms ease, visibility 0s 360ms;
}
:root:is([data-home-motion="reduced"], [data-home-motion="off"]) :is(.home-category-panel, .home-project-summary) {
  transform: none;
  transition-duration: 160ms, 140ms, 160ms, 0s;
  transition-delay: 0s, 0s, 0s, 160ms;
}
:root:is([data-home-motion="reduced"], [data-home-motion="off"]) :is(.home-category-panel, .home-project-summary).is-open { transition-delay: 0s; }
.home-category-panel {
  --project-spread-block: 28px;
  scroll-margin-top: calc(var(--home-explore-clearance) + 120px);
}
.home-category-panel.is-open, .home-project-summary.is-open { grid-template-rows: 1fr; opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.home-category-panel[data-panel-motion] { transition: none; }
.home-category-panel:is([data-panel-motion="entering"], [data-panel-motion="leaving"]) { grid-template-rows: 1fr; transform: none; }
.home-category-panels > .home-category-panel[data-panel-motion="leaving"] { position: absolute; inset: 0 0 auto; grid-area: auto; }
.home-category-panel-inner { min-height: 0; overflow: hidden; }
.home-project-list {
  width: min(100%, calc(70vw - var(--site-inset-left)));
  margin-top: 36px;
  margin-bottom: var(--project-spread-block);
  position: relative;
  isolation: isolate;
}
.home-search-surface::before {
  --project-fade-inline: calc(var(--project-fade-inline-base, 64px) + var(--project-spread-inline));
  --project-fade-block: calc(38px + var(--project-spread-block));
  --project-fade-inline-outer: calc(var(--project-fade-inline) * .20);
  --project-fade-inline-inner: calc(var(--project-fade-inline) * .80);
  --project-fade-block-outer: calc(var(--project-fade-block) * .20);
  --project-fade-block-inner: calc(var(--project-fade-block) * .80);
  --project-edge-fade:
    linear-gradient(to right,
      transparent, #0001 var(--project-fade-inline-outer), #000e var(--project-fade-inline-inner),
      #000 var(--project-fade-inline), #000 calc(100% - var(--project-fade-inline)),
      #000e calc(100% - var(--project-fade-inline-inner)), #0001 calc(100% - var(--project-fade-inline-outer)), transparent),
    linear-gradient(to bottom,
      transparent, #0001 var(--project-fade-block-outer), #000e var(--project-fade-block-inner),
      #000 var(--project-fade-block), #000 calc(100% - var(--project-fade-block)),
      #000e calc(100% - var(--project-fade-block-inner)), #0001 calc(100% - var(--project-fade-block-outer)), transparent);
  content: "";
  position: absolute;
  inset: calc(-1 * var(--project-spread-block)) calc(-1 * var(--project-spread-inline));
  z-index: -1;
  pointer-events: none;
  background: var(--home-project-surface, var(--surface));
  transition: background-color 360ms ease-out;
  -webkit-mask-image: var(--project-edge-fade);
  -webkit-mask-composite: source-in;
  mask-image: var(--project-edge-fade);
  mask-composite: intersect;
}
.home-project-row {
  --project-number-width: 40px;
  --project-heading-gap: 16px;
  padding: 32px 12px;
}
.home-media-entry {
  display: grid;
  grid-template-columns: var(--project-number-width) minmax(0, 1fr) 44px;
  align-items: center;
  gap: var(--project-heading-gap);
  color: var(--text);
  text-decoration: none;
}
.home-media-title { font-size: clamp(18px, 1.65vw, 24px); font-weight: 500; }
.home-media-entry svg { justify-self: center; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.home-media-entry:not([data-published]) [data-media-release-open],
.home-media-entry[data-published] [data-media-release-lock] { display: none; }
.home-media-heading { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 10px; }
.home-media-subtitle { color: var(--secondary); font-size: clamp(11px, 1vw, 13px); }
.home-project-heading { position: relative; display: grid; grid-template-columns: var(--project-number-width) minmax(0, 1fr) auto 44px; align-items: center; gap: var(--project-heading-gap); }
.home-project-number { color: var(--secondary); font-size: clamp(17px, 1.5vw, 22px); }
.home-project-heading h3 { margin: 0; color: var(--text); font-size: clamp(18px, 1.65vw, 24px); font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.home-project-heading:has(.home-project-toggle[aria-expanded="true"]) h3 { font-size: clamp(23px, 2.3vw, 32px); }
.home-project-toggle { grid-area: 1 / 4; display: grid; width: 44px; min-height: 44px; place-items: center; padding: 0; border: 0; background: none; color: var(--theme-control); cursor: pointer; touch-action: manipulation; }
.home-project-toggle::before { content: ""; position: absolute; inset: 0; }
.home-project-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 240ms ease; }
.home-project-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.home-project-summary { margin-inline-start: calc(var(--project-number-width) + var(--project-heading-gap)); }
.home-project-summary p { margin: 8px 0 0; overflow: hidden; color: var(--theme-copy); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.home-project-heading .home-project-link { grid-area: 1 / 3; position: relative; z-index: 1; display: inline-flex; justify-self: end; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 999px; color: var(--theme-control); font-size: 13px; white-space: nowrap; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 240ms ease, transform 240ms ease, visibility 0s 240ms, color 180ms ease, background-color 180ms ease; }
.home-project-heading .home-project-link.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.home-explore .home-project-heading h3 { transition: font-size 360ms cubic-bezier(.16,1,.3,1), opacity 180ms ease, transform 180ms ease; }
.home-project-link:hover { color: var(--text); background-color: var(--theme-hover); }
.home-project-link:focus-visible, .home-project-toggle:focus-visible { outline: 2px solid var(--secondary); outline-offset: 5px; }
.home-media-nav-item { display: flex; align-items: center; flex-wrap: wrap; }
.home-media-switch {
  display: block;
  width: 0;
  min-width: 0;
  overflow: hidden;
  margin-left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: width 280ms cubic-bezier(.16,1,.3,1), margin-left 280ms cubic-bezier(.16,1,.3,1), transform 280ms ease, opacity 180ms ease, visibility 0s 280ms;
}
.home-media-switch-inner { display: flex; width: max-content; align-items: center; gap: 12px; white-space: nowrap; }
.home-media-switch.is-open { width: var(--media-switch-width, 72px); margin-left: 14px; opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.home-media-switch button { position: relative; min-height: 44px; padding: 8px 0 12px; background: none; color: var(--secondary); font-size: 12px; cursor: pointer; touch-action: manipulation; transition: color 180ms ease; }
.home-media-switch button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; opacity: 0; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease, opacity 180ms ease; }
.home-media-switch button[aria-pressed="true"] { color: var(--text); }
.home-media-switch button[aria-pressed="true"]::after { opacity: 1; transform: scaleX(1); }
.home-media-switch button:focus-visible { outline: 2px solid var(--secondary); outline-offset: 4px; }
.home-category-toggle:focus-visible { outline: 2px solid var(--secondary); outline-offset: 5px; }
@media (max-width: 650px) {
  body[data-home-layout="explore"] { --home-header-fade-height: 30px; }
  body[data-home-layout="explore"] .home-brand-header .header-actions { width: 73px; gap: 9px; }
  .home-category-nav { column-gap: 24px; }
  .home-category-name { font-size: 14px; }
  .home-project-list { width: 100%; }
  .home-project-row { --project-number-width: 24px; --project-heading-gap: 8px; padding-block: 28px; }
  .home-explore-title { letter-spacing: -.04em; }
}
@media (prefers-reduced-motion: reduce) {
  .home-explore-footer::before { transition: none; }
  .home-explore-cue { transition: none; }
  .home-explore-cue svg { animation: none; }
  body[data-home-layout="explore"] .home-brand-header :is(.brand-star-slot, .touch-brand-star),
  .home-category-toggle, .home-category-toggle::after, .home-media-switch, .home-media-switch button, .home-media-switch button::after { transition: none; }
  .home-explore [data-zh] { transition: none; }
  .home-category-panel, .home-project-summary, .home-project-link { transition: none; }
  .home-explore .home-project-heading h3, .home-project-heading .home-project-link, .home-project-toggle svg { transition: none; }
}

.home-media-actions{display:flex;align-items:center;gap:10px;justify-self:end}
.home-media-actions svg{flex:none}
.home-media-release-info{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;cursor:pointer;color:inherit;opacity:.68;transition:opacity 160ms ease,background-color 160ms ease}
.home-media-release-info:hover,.home-media-release-info:focus-visible,.home-media-release-info[aria-expanded="true"]{opacity:1;background-color:color-mix(in srgb,var(--text) 10%,transparent);outline:none}
.home-media-release-note{display:grid;grid-template-rows:0fr;opacity:0;margin:0 12px 0 calc(var(--project-number-width,40px) + var(--project-heading-gap,16px) + 12px);padding:0 0 0 18px;border-left:1px solid color-mix(in srgb,var(--text) 22%,transparent);font-size:14px;line-height:1.65;color:color-mix(in srgb,var(--text) 66%,var(--bg));transition:grid-template-rows 300ms cubic-bezier(.2,.7,.2,1),opacity 220ms ease,margin-block 300ms cubic-bezier(.2,.7,.2,1)}
.home-media-release-note-inner{min-height:0;overflow:hidden}
.home-media-release-note[data-open]{grid-template-rows:1fr;opacity:1;margin:-18px 12px 26px calc(var(--project-number-width,40px) + var(--project-heading-gap,16px) + 12px);padding-top:2px;padding-bottom:2px}
.home-media-release-note p{margin:0 0 8px}
.home-media-release-note p:last-child{margin:0}
@media(max-width:640px){.home-media-release-note{font-size:13px;margin-left:52px}.home-media-release-note[data-open]{margin:-14px 12px 22px 52px}}
/* Home wordmark image and the temporary star-only preview. */
.brand-wordmark-image { display: block; width: auto; height: 1em; }
:root[data-theme="light"] .home-brand-header .brand-wordmark-image { filter: invert(1); }
.home-brand-header .home-egg-trigger { visibility: hidden; }
.brand-wordmark-spiral{height:1.55em;width:1.55em;margin-left:.55em;flex:none;transform-origin:50% 50%;will-change:transform}
@media(max-width:650px){.brand-wordmark-spiral{height:1.45em;width:1.45em;margin-left:.45em}}
@media(prefers-reduced-motion:reduce){.brand-wordmark-spiral{will-change:auto}}
