/* self-hosted fonts */@font-face{font-family:'Outfit';font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/outfit.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:'Unbounded';font-style:normal;font-weight:200 900;font-display:swap;src:url(/assets/fonts/unbounded.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:'Fredoka';font-style:normal;font-weight:300 700;font-display:swap;src:url(/assets/fonts/fredoka.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:'Bodoni Moda';font-style:italic;font-weight:400 900;font-display:swap;src:url(/assets/fonts/bodoni-moda-italic.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:'Space Mono';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/space-mono-700.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}/* end fonts */
:root {
  color-scheme: dark;
  --background: #130d1c;
  --lavender: #d4b9ee;
  --ink: #f8f3fd;
  font-family: Outfit, system-ui, "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC","Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: radial-gradient(ellipse at 55% 0%, #2a1840, transparent 60%), var(--background);
}
.frame { width: min(92%, 1440px); margin-inline: auto; }
.masthead {
  display: flex;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid #c7a4e633;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 1vw, 13px);
  color: inherit;
  font: 700 clamp(.73rem, 1.25vw, .98rem) Unbounded, system-ui, sans-serif;
  text-decoration: none;
}
.brand span { white-space: nowrap; }
main { flex: 1; display: flex; flex-direction: column; justify-content: center; }
h1 {
  margin: 22px 0 25px;
  font-size: clamp(2.35rem, 5.65vw, 6rem);
  text-align: center;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.055em;
}
h1 em { font-family: "Bodoni Moda", Georgia, serif; color: var(--lavender); }
.worlds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.world {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 330px;
  height: clamp(330px, calc(100svh - 252px), 660px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #c7a4e647;
  background: #291b3a;
  color: inherit;
  text-decoration: none;
}
.world img, .world::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.world img { object-fit: cover; transition: transform .45s ease; }
.world::after {
  content: "";
  background: linear-gradient(180deg, transparent 28%, #10081626 49%, #130b1ce8 82%, #130b1c 100%);
}
.love img { object-position: center 22%; }
.workforce img { object-position: center 25%; }
.universe img { object-position: center 24%; }
.world-content { position: relative; z-index: 1; padding: clamp(17px, 2.25vw, 36px); }
h2 { margin: 0; font-weight: 600; font-size: clamp(1.6rem, 3.15vw, 3.5rem); line-height: 1.04; letter-spacing: -.045em; }
.love h2 { font-family: "Bodoni Moda", Georgia, serif; }
.universe h2 { font-family: "Space Mono", ui-monospace, monospace; font-weight: 700; letter-spacing: -.06em; }
.world p { margin: 9px 0 18px; font-size: 1rem; color: #eee4f5; }
.action {
  display: inline-block;
  padding: 9px 15px;
  border: 1px solid #d4b9ee80;
  border-radius: 4px;
  color: #fbf7ff;
  font-size: .91rem;
  font-weight: 500;
  transition: background-color .2s, color .2s;
}
@media (hover: hover) {
  .world:hover img { transform: scale(1.045); }
  .world:hover .action { background: var(--lavender); color: #1e1230; }
}
.world:focus-visible .action { background: var(--lavender); color: #1e1230; }
a:focus-visible { outline: 3px solid var(--lavender); outline-offset: 4px; }
footer {
  margin-top: 22px;
  min-height: 49px;
  display: flex;
  align-items: center;
  color: #bcafc7;
  font-size: .8rem;
  border-top: 1px solid #c7a4e633;
}

@media (max-width: 720px) {
  .frame { width: 91%; }
  .masthead { min-height: 62px; }
  h1 { margin: 25px 0 21px; }
  .worlds { grid-template-columns: 1fr; gap: 9px; }
  .world { height: auto; min-height: clamp(188px, 33vw, 250px); }
  .world-content { width: min(100%, 24rem); }
  .world img { object-position: right 31%; width: 72%; left: auto; }
  .love img { object-position: right 11%; }
  .workforce img { object-position: right 12%; }
  .world::after { background: linear-gradient(90deg, #180e23 22%, #180e23e0 35%, #180e23b0 64%, #180e2300 100%), linear-gradient(0deg, #180e2373, transparent 80%); }
  .world p { margin: 5px 0 10px; }
  .action { padding: 7px 11px; }
  footer { margin-top: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .world img, .action { transition: none; }
  .world:hover img { transform: none; }
}

.masthead { justify-content: space-between; gap: 10px; }
.brand img { display: block; width: clamp(24px, 5vw, 36px); height: auto; }
.masthead-controls { display: flex; align-items: center; gap: 12px; }
.languages, .social-links { display: flex; gap: 4px; }
.social-links { border-inline-start: 1px solid #c7a4e63d; padding-inline-start: 12px; }
.languages a, .social-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.languages a:is(:hover, [aria-current="page"]), .social-links a:hover {
  border-color: #c7a4e66b;
  background: #c7a4e61a;
}
.languages img {
  display: block;
  width: 21px;
  height: 14px;
  border-radius: 2px;
  filter: grayscale(1) sepia(1) hue-rotate(222deg) saturate(2) brightness(.97);
  box-shadow: 0 0 0 1px #c7a4e65e;
}
.social-links a { color: var(--lavender); }
.social-links svg { display: block; width: 18px; height: 18px; }
.languages a:focus-visible, .social-links a:focus-visible { outline: 2px solid var(--lavender); outline-offset: 2px; }
:lang(zh-Hans) h1, :lang(zh-Hant) h1, :lang(ja) h1, :lang(ko) h1 { letter-spacing: 0; }
:lang(zh-Hans) h1 em, :lang(zh-Hant) h1 em, :lang(ja) h1 em, :lang(ko) h1 em { font: inherit; }
.love img { object-position: 87% 30%; }
.workforce img { object-position: center 21%; filter: hue-rotate(-31deg) saturate(.76); }
.workforce h2 { font-family: Fredoka, "Arial Rounded MT Bold", system-ui, sans-serif; letter-spacing: -.025em; }
footer { justify-content: space-between; gap: 8px 28px; flex-wrap: wrap; padding-block: 12px; }
footer p { margin: 0; }
.copyright span { margin-inline-start: .5em; }

@media (min-width: 721px) and (max-width: 1024px) {
  h1 { margin-block: 2rem; }
  .world { height: clamp(340px, 52svh, 474px); }
  .world-content { padding: 16px; }
  .world p { line-height: 1.35; }
}

@media (max-width: 720px) {
  .masthead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 4px; padding-block: 4px; }
  .masthead-controls { display: contents; }
  .languages { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
  .social-links { grid-column: 2; grid-row: 1; border: 0; padding-inline-start: 0; }
  .languages, .social-links { gap: 0; }
  .languages img { width: 18px; height: 12px; }
  .love img { object-position: right 30%; }
  .workforce img { object-position: center 25%; }
}

@media (max-width: 350px) {
  .social-links a { width: 40px; }
}

/* Category tag on each world card: fashion × culture × technology, plus site language. */
.world .tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 9px;
  border: 1px solid #d4b9ee66;
  border-radius: 999px;
  background: #130b1c99;
  color: var(--lavender);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (max-width: 720px) { .world .tag { margin-bottom: 6px; } }

/* Lead with AI Workforce: one primary call to action + the featured world. */
.world.featured { outline: 2px solid var(--lavender); outline-offset: -2px; }
.featured-badge { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: var(--lavender); color: #1e1230; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
