/*
 * 心屿临港 · 电脑端
 * Loaded after style.css. Everything that overrides shared rules is scoped to
 * html[data-ui="desktop"]; new desktop-only components use their own class names.
 * Intro animations only exist when the page is freshly entered (see desktop.js):
 *   .home:not(.no-intro) ...
 * The base state of every element is the finished, readable state. Keyframes only
 * declare `from`, so removing animations (reduced motion) never hides content.
 */
html[data-ui="desktop"] {
  --page: min(1200px, 100% - 96px);
  --night: #07181c;
  /* Clear daylight: warm white foreground, blue depth, and sunlit coral. */
  --hero-mist: #fcfaf3;
  --hero-ink: #173e53;
  --hero-muted: #385467;
  --hero-coral: #bc4930;
  --hero-line: rgba(37, 96, 126, 0.22);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --glow: 0 40px 90px -40px rgba(15, 42, 48, 0.45);
}
html[data-ui="desktop"] body {
  background: transparent;
}

/* ---------- Ambient background ---------- */
html[data-ui="desktop"] body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38vmax 28vmax at 88% 6%, rgba(228, 87, 46, 0.075), transparent 70%),
    radial-gradient(44vmax 34vmax at 6% 58%, rgba(42, 101, 102, 0.09), transparent 70%),
    radial-gradient(30vmax 24vmax at 70% 96%, rgba(235, 228, 214, 0.9), transparent 70%);
  animation: ambient 36s ease-in-out infinite alternate;
}
@keyframes ambient {
  to {
    transform: translate3d(2.5vmax, -2vmax, 0) scale(1.06);
  }
}

/* ---------- Scroll progress ---------- */
#fx-progress {
  position: fixed;
  z-index: 120;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--lake), var(--sun));
  pointer-events: none;
}
html[data-ui="mobile"] #fx-progress {
  display: none;
}

/* ---------- Header ---------- */
html[data-ui="desktop"] .header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 242, 238, 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
  transition:
    background 0.5s var(--ease-out),
    border-color 0.5s,
    box-shadow 0.5s;
}
html[data-ui="desktop"] .header-inner {
  width: min(1320px, 100% - 64px);
  height: 80px;
  transition: height 0.5s var(--ease-out);
}
/* Only the fixed hero header can shrink without changing document flow.
   A sticky header must keep its height so scroll anchoring cannot toggle it
   repeatedly around the scroll threshold. */
html[data-ui="desktop"] .header-hero.is-stuck .header-inner {
  height: 66px;
}
html[data-ui="desktop"] .header-hero {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
html[data-ui="desktop"] .header-hero.is-stuck {
  background: rgba(244, 242, 238, 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom-color: var(--line);
}
html[data-ui="desktop"] .header-hero.is-stuck.is-light {
  background: rgba(252, 250, 243, 0.94);
  border-bottom-color: var(--hero-line);
}
html[data-ui="desktop"] .brand {
  transition: color 0.4s;
}
html[data-ui="desktop"] .brand-mark {
  transition: transform 0.8s var(--spring);
}
html[data-ui="desktop"] .brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.08);
}
html[data-ui="desktop"] .brand-mark path[stroke] {
  transition: stroke 0.4s;
}
html[data-ui="desktop"] .brand-word strong {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.14em;
  font-weight: 800;
}
html[data-ui="desktop"] .brand-word small {
  font-size: 9px;
  letter-spacing: 0.26em;
  transition: color 0.4s;
}
html[data-ui="desktop"] .desktop-nav {
  position: relative;
  gap: 2px;
}
html[data-ui="desktop"] .desktop-nav a {
  z-index: 1;
  padding: 0 18px;
  font-size: 14.5px;
  font-weight: 500;
  background: transparent;
  transition: color 0.4s;
}
html[data-ui="desktop"] .desktop-nav a:hover {
  background: transparent;
}
html[data-ui="desktop"] .nav-pill {
  position: absolute;
  left: 0;
  top: 50%;
  width: var(--w, 0);
  height: 40px;
  margin-top: -20px;
  border-radius: 999px;
  background: rgba(15, 42, 48, 0.07);
  transform: translateX(var(--x, 0));
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.55s var(--ease-out),
    width 0.55s var(--ease-out),
    opacity 0.3s,
    background 0.4s;
}
html[data-ui="desktop"] .nav-pill.no-tr {
  transition: none;
}
html[data-ui="desktop"] .header-account {
  height: 44px;
  padding: 0 22px;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.5s var(--spring);
}
html[data-ui="desktop"] .header-account:hover {
  transform: translateY(-2px);
  background: var(--sun);
}
html[data-ui="desktop"] .lang-button span {
  transition:
    background 0.3s,
    color 0.3s;
}

/* The home header stays readable over the daylight map. */
html[data-ui="desktop"] .header.is-light .brand,
html[data-ui="desktop"] .header.is-light .brand-word strong {
  color: var(--hero-ink);
}
html[data-ui="desktop"] .header.is-light .brand-word small,
html[data-ui="desktop"] .header.is-light .desktop-nav a,
html[data-ui="desktop"] .header.is-light .lang-button span {
  color: var(--hero-muted);
}
html[data-ui="desktop"] .header.is-light .brand-mark path[stroke] {
  stroke: var(--hero-ink);
}
html[data-ui="desktop"] .header.is-light .desktop-nav a:hover,
html[data-ui="desktop"] .header.is-light .desktop-nav a[aria-current="page"] {
  color: var(--hero-ink);
}
html[data-ui="desktop"] .header.is-light .nav-pill {
  background: rgba(57, 145, 154, 0.12);
}
html[data-ui="desktop"] .header.is-light .lang-button {
  border-color: var(--hero-line);
  background: rgba(255, 255, 255, 0.5);
}
html[data-ui="desktop"] .header.is-light .lang-button span.on {
  background: var(--hero-ink);
  color: #fff;
}
html[data-ui="desktop"] .header.is-light .header-account {
  background: var(--hero-ink);
  color: #fff;
}
html[data-ui="desktop"] .header.is-light .header-account:hover {
  background: #245a65;
}

/* ---------- Page frame ---------- */
html[data-ui="desktop"] .main {
  padding-bottom: 0;
}
html[data-ui="desktop"] .main-home {
  width: 100%;
  padding: 0;
}
html[data-ui="desktop"] .main.page-in:not(.main-home) {
  animation: page-in 0.7s var(--ease-out) backwards;
}
@keyframes page-in {
  from {
    opacity: 0;
  }
}

/* ---------- Reveal on scroll ---------- */
html.fx[data-ui="desktop"] [data-rv]:not(.in) {
  opacity: 0;
  translate: 0 36px;
  filter: blur(5px);
}
html.fx[data-ui="desktop"] [data-rv].in:not(.still) {
  animation: rv-in 1s var(--ease-out) calc(var(--i, 0) * 90ms) backwards;
}
@keyframes rv-in {
  from {
    opacity: 0;
    translate: 0 36px;
    filter: blur(5px);
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}
@keyframes draw {
  from {
    transform: scaleX(0);
  }
}

/* ======================================================================
 * Lake scene
 * ==================================================================== */
.lk-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  --horizon: 66%;
  --sun-x: 64%;
  --sun-d: 168px;
  --isl: 130px;
  background: linear-gradient(
    180deg,
    #06171b 0%,
    #0b2a30 24%,
    #16444a 44%,
    #3b7274 57%,
    #dc9b78 66%
  );
}
.lk-scene[data-compact] {
  --horizon: 62%;
  --sun-x: 62%;
  --sun-d: 116px;
  --isl: 74px;
}
.lk-layer {
  position: absolute;
  pointer-events: none;
}
.lk-sky {
  inset: 0;
  background: radial-gradient(
    62% 52% at var(--sun-x) var(--horizon),
    rgba(255, 164, 112, 0.5),
    transparent 72%
  );
}
.lk-stars {
  left: 0;
  right: 0;
  top: 0;
  height: var(--horizon);
  translate: calc(var(--px, 0) * -4px) calc(var(--py, 0) * -3px);
}
.lk-stars i {
  position: absolute;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: #fff;
  opacity: 0.18;
  animation: twinkle var(--t) ease-in-out var(--d) infinite;
}
@keyframes twinkle {
  50% {
    opacity: 0.9;
  }
}
.lk-halo {
  left: var(--sun-x);
  top: calc(var(--horizon) - var(--sun-d) * 0.36);
  width: 1000px;
  height: 1000px;
  margin: -500px 0 0 -500px;
  background: radial-gradient(
    circle,
    rgba(255, 150, 96, 0.55) 0%,
    rgba(255, 150, 96, 0.2) 30%,
    transparent 62%
  );
  translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -8px);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe {
  50% {
    transform: scale(1.12);
    opacity: 0.78;
  }
}
.lk-sun {
  left: var(--sun-x);
  top: calc(var(--horizon) - var(--sun-d) * 0.36);
  width: var(--sun-d);
  height: var(--sun-d);
  margin: calc(var(--sun-d) / -2) 0 0 calc(var(--sun-d) / -2);
  translate: calc(var(--px, 0) * -12px)
    calc(var(--py, 0) * -8px + var(--sp, 0) * 120px);
}
.lk-sun span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 42% 36%,
    #ffb48a 0%,
    #ff7a4d 38%,
    #e4572e 72%,
    #c93f18 100%
  );
  box-shadow: 0 0 90px 30px rgba(255, 120, 70, 0.5);
  animation: sunrise 3.4s var(--ease-out) 0.2s backwards;
}
@keyframes sunrise {
  from {
    transform: translateY(calc(var(--sun-d) * 1.6));
  }
}
.lk-shore {
  left: 0;
  width: 100%;
  top: calc(var(--horizon) - 30px);
  height: 44px;
  opacity: 0.7;
  translate: calc(var(--px, 0) * -6px) 0;
}
.lk-turbines {
  left: 0;
  right: 0;
  top: calc(var(--horizon) - 4px);
  height: 0;
  translate: calc(var(--px, 0) * -8px) 0;
}
.lk-turbine {
  position: absolute;
  width: calc(34px * var(--k));
  height: calc(68px * var(--k));
  bottom: 0;
  opacity: 0.85;
}
.lk-scene[data-compact] .lk-turbines {
  display: none;
}
.lk-blades {
  transform-origin: 20px 26px;
  animation: spin 11s linear var(--d) infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.lk-island {
  right: -2%;
  width: 44%;
  height: var(--isl);
  top: calc(var(--horizon) - var(--isl) + 4px);
  translate: calc(var(--px, 0) * -18px) 0;
}
.lk-lake {
  left: 0;
  right: 0;
  top: var(--horizon);
  bottom: 0;
  background: linear-gradient(
    180deg,
    #d99a76 0%,
    #8aa59d 3%,
    #3f7a7c 12%,
    #1c5156 38%,
    #0d2e34 100%
  );
}
.lk-glints {
  left: var(--sun-x);
  top: var(--horizon);
  width: 320px;
  height: 30%;
  margin-left: -160px;
  translate: calc(var(--px, 0) * -10px) 0;
}
.lk-glints i {
  position: absolute;
  left: 50%;
  width: var(--w);
  height: 3px;
  margin-left: calc(var(--w) / -2);
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 200, 156, var(--o)),
    transparent
  );
  animation: glint var(--t) ease-in-out var(--d) infinite;
}
@keyframes glint {
  50% {
    transform: scaleX(0.45);
    opacity: 0.35;
  }
}
.lk-boat {
  left: 0;
  top: calc(var(--horizon) + 20px);
  width: 46px;
  height: 43px;
  animation: sail 95s linear -28s infinite;
}
.lk-scene[data-compact] .lk-boat {
  width: 34px;
  height: 32px;
}
.lk-bob {
  transform-origin: 30px 48px;
  animation: bob 4.6s ease-in-out infinite;
}
@keyframes sail {
  from {
    transform: translateX(-80px);
  }
  to {
    transform: translateX(110vw);
  }
}
@keyframes bob {
  50% {
    transform: translateY(2px) rotate(-3deg);
  }
}
.lk-wave {
  left: 0;
  width: 200%;
  animation: flow var(--dur) linear infinite;
}
.lk-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}
.lk-w1 {
  bottom: 150px;
  height: 100px;
  --dur: 46s;
  translate: calc(var(--px, 0) * 14px) 0;
}
.lk-w2 {
  bottom: 68px;
  height: 110px;
  --dur: 31s;
  animation-direction: reverse;
  translate: calc(var(--px, 0) * 24px) 0;
}
.lk-w3 {
  bottom: -2px;
  height: 84px;
  --dur: 26s;
  translate: calc(var(--px, 0) * 34px) 0;
}
.lk-scene[data-compact] .lk-w1 {
  bottom: 96px;
}
.lk-scene[data-compact] .lk-w2 {
  bottom: 42px;
}
.lk-scene[data-compact] .lk-w3 {
  display: none;
}
@keyframes flow {
  to {
    transform: translateX(-50%);
  }
}
.lk-ripples {
  left: 0;
  right: 0;
  top: var(--horizon);
  bottom: 56px;
}
.lk-ripples i {
  position: absolute;
  width: var(--s);
  height: calc(var(--s) * 0.28);
  margin: calc(var(--s) * -0.14) 0 0 calc(var(--s) * -0.5);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 238, 220, 0.7);
  animation: ripple 3.8s ease-out forwards;
}
.lk-ripples i::after {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  border: 1px solid rgba(255, 238, 220, 0.5);
}
@keyframes ripple {
  from {
    transform: scale(0.12);
    opacity: 0.95;
  }
  to {
    transform: scale(1);
    opacity: 0;
  }
}
.lake-scene[data-vis="0"] *,
html.fx-paused .lake-scene * {
  animation-play-state: paused !important;
}
.home.no-intro .lk-sun span {
  animation: none;
}

/* ======================================================================
 * Home hero · the ripple city
 * city.js draws Lingang's real plan on the canvas: Dishui Lake, its ring
 * roads and avenues, Metro Line 16 and the coast. Everything readable is
 * HTML on top of it; the beacons are links the canvas positions each frame.
 * ==================================================================== */
.hx {
  position: relative;
  isolation: isolate;
  height: clamp(720px, 100svh, 980px);
  overflow: hidden;
  color: var(--hero-ink);
  background: var(--hero-mist);
}
.hx-map {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hx-map canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.hx-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #fcfaf3 0%, rgba(252, 250, 243, 0.86) 27%, rgba(252, 250, 243, 0) 52%),
    linear-gradient(180deg, rgba(252, 250, 243, 0.6), transparent 19%),
    linear-gradient(0deg, rgba(252, 250, 243, 0.8), transparent 17%);
}
.hx-inner {
  position: relative;
  z-index: 3;
  width: min(1280px, 100% - 96px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 92px 0 124px;
}
.hx-copy {
  width: min(600px, 47%);
  translate: 0 calc(var(--sp, 0) * -60px);
  opacity: calc(1 - var(--sp, 0) * 1.3);
}
.hx-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--hero-muted);
}
.hx-kicker i {
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: #ff7a4d;
  transform-origin: left;
}
.hx-coord {
  padding-left: 14px;
  border-left: 1px solid var(--hero-line);
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--hero-muted);
}
.hx-title {
  margin: 24px 0 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(64px, min(8.4vw, 13.4vh), 136px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--hero-ink);
}
html[lang="en"] .hx-title {
  font-size: clamp(54px, min(6.6vw, 11vh), 106px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hx-line {
  display: block;
  white-space: nowrap;
}
.hx-u {
  display: inline-block;
}
.hx-seg.hl .hx-u {
  background: linear-gradient(100deg, #e27042 0%, #db603a 46%, #ca4b31 100%);
  background-size: calc(var(--gn, 1) * 100%) 100%;
  background-position: var(--g, 0%) 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hx-seg.ring {
  position: relative;
  display: inline-block;
}
.hx-ring {
  position: absolute;
  left: -0.2em;
  top: -0.1em;
  width: calc(100% + 0.4em);
  height: calc(100% + 0.22em);
  overflow: visible;
  rotate: -7deg;
  pointer-events: none;
}
.hx-ring ellipse {
  fill: none;
  stroke: #e87c52;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
}
.hx-ring .r0 {
  stroke-width: 1.8;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  filter: none;
}
.hx-ring .r1,
.hx-ring .r2 {
  stroke-width: 1.2;
  opacity: 0;
}
.hx-ring.go .r1 {
  animation: ring-out 1.8s var(--ease-out);
}
.hx-ring.go .r2 {
  animation: ring-out 1.8s var(--ease-out) 0.28s;
}
@keyframes ring-out {
  from {
    opacity: 0.9;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.5);
  }
}
@keyframes ring-draw {
  from {
    stroke-dashoffset: 1;
  }
}
.hx-slot {
  margin-top: 26px;
  font-size: clamp(20px, 1.75vw, 26px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--hero-muted);
}
.hx-roll {
  display: inline-grid;
  overflow: hidden;
  margin: 0 0.04em;
  padding: 0 0.08em 0.1em;
}
.hx-roll b {
  grid-area: 1 / 1;
  justify-self: start;
  position: relative;
  font-weight: 700;
  color: var(--hero-coral);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(105%);
  transition:
    transform 0.7s var(--ease-out),
    opacity 0.45s;
}
.hx-roll b.on {
  opacity: 1;
  transform: none;
}
.hx-roll b.out {
  transform: translateY(-105%);
}
.hx-roll b::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.04em;
  height: 2px;
  border-radius: 2px;
  background: #ff7a4d;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out) 0.2s;
}
.hx-roll b.on::after {
  transform: scaleX(1);
}
.hx-roll b.out::after {
  transform: scaleX(0);
  transform-origin: right;
  transition-duration: 0.25s;
  transition-delay: 0s;
}
.hx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hx-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 30px 0 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    translate 0.45s var(--ease-out),
    background 0.3s,
    box-shadow 0.4s,
    border-color 0.3s,
    color 0.3s;
}
.hx-btn[data-live] {
  transition-duration: 0.1s, 0.3s, 0.4s, 0.3s, 0.3s;
}
.hx-btn span,
.hx-btn .icon {
  position: relative;
}
.hx-btn .icon {
  width: 20px;
  height: 20px;
  transition: translate 0.45s var(--ease-out);
}
.hx-btn:hover .icon {
  translate: 5px 0;
}
.hx-btn-sun {
  background: linear-gradient(135deg, #1c7990, #135b77);
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(20, 91, 119, 0.38);
}
.hx-btn-sun::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-120%);
}
.hx-btn-sun:hover::before {
  transform: translateX(120%);
  transition: transform 0.9s var(--ease-out);
}
.hx-btn-sun:hover {
  box-shadow: 0 18px 32px -12px rgba(20, 91, 119, 0.48);
}
.hx-btn-line {
  border: 1px solid var(--hero-line);
  color: var(--hero-ink);
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hx-btn-line:hover {
  background: #fff;
  border-color: #398792;
}
.hx-btn-light {
  background: #f7f3ea;
  color: var(--ink);
}
.hx-btn-light:hover {
  background: #fff;
  box-shadow: 0 24px 50px -16px rgba(255, 255, 255, 0.4);
}
/* Next event, as a ticket stub */
.hx-ticket {
  --notch: 92px;
  position: relative;
  display: grid;
  grid-template-columns: var(--notch) minmax(0, 1fr) auto;
  width: min(540px, 100%);
  min-height: 98px;
  margin-top: 40px;
  border-radius: 22px;
  color: var(--hero-ink);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75));
  box-shadow:
    inset 0 0 0 1px var(--hero-line),
    0 30px 60px -30px rgba(40, 104, 114, 0.16);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-mask:
    radial-gradient(circle 9px at var(--notch) 0, #0000 8.5px, #000 9px),
    radial-gradient(circle 9px at var(--notch) 100%, #0000 8.5px, #000 9px);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle 9px at var(--notch) 0, #0000 8.5px, #000 9px),
    radial-gradient(circle 9px at var(--notch) 100%, #0000 8.5px, #000 9px);
  mask-composite: intersect;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    transform 0.8s var(--ease-out),
    background 0.3s;
}
.hx-ticket[data-live] {
  transition-duration: 0.12s, 0.3s;
}
.hx-ticket:hover {
  background: linear-gradient(120deg, #fff, rgba(255, 255, 255, 0.92));
}
.tk-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.hx-ticket:hover .tk-glare {
  opacity: 1;
}
.tk-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-right: 1.5px dashed var(--hero-line);
}
.tk-date b {
  font: 300 40px/1 var(--num);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: var(--hero-ink);
}
.tk-date small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hero-muted);
}
.tk-date .icon {
  width: 26px;
  height: 26px;
  color: var(--hero-coral);
}
.tk-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: 14px 16px 14px 20px;
}
.tk-top {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--hero-muted);
  white-space: nowrap;
}
.tk-top i {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff7a4d;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 122, 77, 0.7);
  }
  80%,
  100% {
    box-shadow: 0 0 0 10px rgba(255, 122, 77, 0);
  }
}
.tk-body strong {
  overflow: hidden;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--hero-ink);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tk-meta {
  display: flex;
  gap: 16px;
  min-width: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--hero-muted);
}
.tk-meta span {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tk-meta span:first-child:not(:last-child) {
  flex: none;
}
.tk-meta .icon {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
}
.tk-side {
  display: grid;
  grid-template-columns: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 14px;
  padding: 14px 18px 14px 4px;
  text-align: right;
}
.tk-side b {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--hero-ink);
  white-space: nowrap;
}
.tk-side small {
  grid-column: 1;
  font-size: 12px;
  color: var(--hero-muted);
  white-space: nowrap;
}
.tk-go {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #176c86;
  color: #fff;
  transition:
    translate 0.45s var(--ease-out),
    background 0.3s;
}
.tk-go .icon {
  width: 16px;
  height: 16px;
}
.hx-ticket:hover .tk-go {
  translate: 3px 0;
  background: #13556c;
}
.tk-empty .tk-meta span {
  white-space: normal;
}
.tk-empty .tk-go {
  width: 40px;
  height: 40px;
}
@media (max-height: 820px) {
  .hx-inner {
    padding: 84px 0 112px;
  }
  .hx-title {
    margin-top: 18px;
  }
  .hx-slot {
    margin-top: 18px;
  }
  .hx-actions {
    margin-top: 26px;
  }
  .hx-ticket {
    margin-top: 28px;
  }
}

/* Life beacons: positioned by city.js over their spot on the map */
.hx-life {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: calc(1 - var(--sp, 0) * 2.2);
}
.hb {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hero-ink);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 0 0 1px var(--hero-line),
    0 16px 34px -18px rgba(40, 104, 114, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  translate: -50% calc(-100% - 6px);
  transform-origin: 50% 100%;
  opacity: 0;
  scale: 0.6;
  visibility: hidden;
  pointer-events: auto;
  will-change: transform;
  transition:
    opacity 0.5s var(--ease-out),
    scale 0.6s var(--spring),
    visibility 0s 0.5s,
    background 0.35s,
    box-shadow 0.35s;
}
.hb.in {
  opacity: 1;
  scale: 1;
  visibility: visible;
  transition-delay: 0s;
}
.hb.in.on {
  scale: 1.06;
}
.hb-sym {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e1eff5;
  transition: background 0.35s;
}
.hb-sym .icon {
  width: 17px;
  height: 17px;
}
.hb small {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #e1eff5;
  font: 600 12px/1.5 var(--num);
  text-align: center;
}
.hb.on {
  color: #58301d;
  background: linear-gradient(135deg, #ffd09b, #ffa878);
  box-shadow:
    inset 0 0 0 1px rgba(255, 249, 236, 0.8),
    0 12px 26px -12px rgba(171, 80, 40, 0.32);
}
.hb.on .hb-sym,
.hb.on small {
  background: rgba(255, 255, 255, 0.22);
}
.hb:focus-visible {
  outline: 2px solid var(--hero-ink);
  outline-offset: 3px;
}

/* Quiet map attribution, aligned with the hero's outer margin. */
.hx-map-attribution {
  position: absolute;
  z-index: 4;
  right: max(48px, (100% - 1280px) / 2);
  bottom: 100px;
  color: var(--hero-muted);
}

/* Hero intro, only on a fresh visit */
.home:not(.no-intro) .hx-kicker {
  animation: fade-up .8s var(--ease-out) 3.05s backwards;
}
.home:not(.no-intro) .hx-kicker i {
  animation: draw .9s var(--ease-out) 3.1s backwards;
}
.home:not(.no-intro) .hx-u {
  animation: char-in .85s var(--ease-out) calc(3.13s + var(--i) * 32ms) backwards;
}
.home:not(.no-intro) .hx-ring .r0 {
  animation: ring-draw .9s cubic-bezier(0.65, 0, 0.35, 1) 3.6s backwards;
}
.home:not(.no-intro) .hx-slot {
  animation: fade-up .9s var(--ease-out) 3.4s backwards;
}
.home:not(.no-intro) .hx-actions {
  animation: fade-up .9s var(--ease-out) 3.65s backwards;
}
.home:not(.no-intro) .hx-ticket {
  animation: card-in 1s var(--ease-out) 3.8s backwards;
}
.home:not(.no-intro) .hx-map-attribution {
  animation: fade-up .8s var(--ease-out) 3.9s backwards;
}
@keyframes char-in {
  from {
    opacity: 0;
    transform: translateY(0.42em);
    filter: blur(3px);
  }
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: perspective(900px) translateY(36px) rotateX(12deg);
  }
}

/* ======================================================================
 * Home body
 * ==================================================================== */
.home-body {
  position: relative;
  z-index: 6;
  width: var(--page);
  margin: 0 auto;
}

/* Search + categories */
.dp {
  margin-top: -72px;
  padding: 22px 26px 26px;
  border-radius: 36px;
  background: #fff;
  box-shadow:
    0 50px 100px -44px rgba(15, 42, 48, 0.5),
    0 0 0 1px rgba(15, 42, 48, 0.05);
}
.home:not(.no-intro) .dp {
  animation: fade-up .8s var(--ease-out) 4s backwards;
}
html[data-ui="desktop"] .search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 8px 8px 8px 24px;
  border-radius: 24px;
  border: 1.5px solid transparent;
  background: var(--paper);
  box-shadow: none;
  transition:
    background 0.35s,
    border-color 0.35s,
    box-shadow 0.45s var(--ease-out);
}
html[data-ui="desktop"] .search-bar:focus-within {
  background: #fff;
  border-color: var(--ink);
  box-shadow: 0 0 0 7px rgba(228, 87, 46, 0.14);
}
html[data-ui="desktop"] .search-bar > .icon {
  width: 22px;
  height: 22px;
  color: var(--muted);
  transition:
    color 0.3s,
    transform 0.5s var(--spring);
}
html[data-ui="desktop"] .search-bar:focus-within > .icon {
  color: var(--sun);
  transform: scale(1.15) rotate(-8deg);
}
html[data-ui="desktop"] .search-bar input {
  flex: 1;
  height: 48px;
  border: 0;
  background: transparent;
  font-size: 17px;
  color: var(--ink);
}
html[data-ui="desktop"] .search-bar input:focus {
  outline: none;
  box-shadow: none;
}
html[data-ui="desktop"] .search-bar button {
  height: 50px;
  padding: 0 30px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  transition:
    background 0.3s,
    transform 0.5s var(--spring);
}
html[data-ui="desktop"] .search-bar button:hover {
  background: var(--sun);
  transform: translateX(-2px);
}
.dp-cats {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
  margin-top: 22px;
}
.dp-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px 4px 12px;
  border-radius: 24px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.3s;
}
.dp-cat:hover {
  color: var(--ink);
}
.dp-sym {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tint, var(--sun-soft));
  color: var(--ink);
  transition:
    transform 0.6s var(--spring),
    background 0.3s,
    color 0.3s,
    box-shadow 0.5s;
}
.dp-sym .icon {
  width: 26px;
  height: 26px;
}
.dp-cat:hover .dp-sym {
  background: var(--ink);
  color: #fff;
  transform: translateY(-7px) rotate(-8deg) scale(1.07);
  box-shadow: 0 18px 30px -14px rgba(15, 42, 48, 0.6);
}
.dp-cat:nth-child(1) { --tint: #f8e6df; --n: 0; }
.dp-cat:nth-child(2) { --tint: #e3eeeb; --n: 1; }
.dp-cat:nth-child(3) { --tint: #fbeccf; --n: 2; }
.dp-cat:nth-child(4) { --tint: #f6dfd6; --n: 3; }
.dp-cat:nth-child(5) { --tint: #dfeadf; --n: 4; }
.dp-cat:nth-child(6) { --tint: #e6e9f3; --n: 5; }
.dp-cat:nth-child(7) { --tint: #f3e4ee; --n: 6; }
.dp-cat:nth-child(8) { --tint: #ebe4d6; --n: 7; }
.home:not(.no-intro) .dp-cat {
  animation: fade-up .6s var(--ease-out) calc(4.05s + var(--n) * 20ms) backwards;
}

/* Marquee */
.mq {
  overflow: hidden;
  padding: 72px 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.mq-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 70s linear infinite;
}
.mq:hover .mq-track {
  animation-play-state: paused;
}
.mq-track > * {
  flex: none;
  margin-right: 56px;
}
.mq-track span {
  font-family: var(--serif);
  font-size: clamp(64px, 7vw, 104px);
  font-weight: 700;
  line-height: 1.2;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(15, 42, 48, 0.3);
  transition: color 0.4s;
}
.mq-track span:hover {
  color: rgba(15, 42, 48, 0.9);
}
.mq-track i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sun);
}
@keyframes marquee {
  to {
    transform: translateX(-25%);
  }
}

/* Sections */
.hs {
  margin-top: 120px;
}
.hs:first-of-type {
  margin-top: 56px;
}
.sh {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.sh-no {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 600 13px/1 var(--num);
  letter-spacing: 0.22em;
  color: var(--sun);
}
.sh-line {
  display: block;
  width: 72px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
}
html.fx[data-ui="desktop"] .sh:not(.in) .sh-line {
  transform: scaleX(0);
}
html.fx[data-ui="desktop"] .sh.in:not(.still) .sh-line {
  animation: draw 1.2s var(--ease-out) 0.3s backwards;
}
.sh h2 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.sh p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
}
.sh .text-link {
  flex: none;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.sh .text-link:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* Event cards */
.ev-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.ev-grid[data-n="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ev-grid[data-n="1"] {
  grid-template-columns: minmax(0, 1fr);
}
.ev {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(15, 42, 48, 0.04),
    0 26px 54px -32px rgba(15, 42, 48, 0.4);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    transform 0.8s var(--ease-out),
    translate 0.6s var(--ease-out),
    box-shadow 0.6s var(--ease-out);
}
.ev[data-live] {
  transition-duration: 0.12s, 0.6s, 0.6s;
}
.ev:hover {
  translate: 0 -8px;
  box-shadow:
    0 0 0 1px rgba(15, 42, 48, 0.05),
    0 54px 90px -38px rgba(15, 42, 48, 0.55);
}
.ev-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.28), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.ev:hover .ev-glare {
  opacity: 1;
}
.ev-cover {
  position: relative;
  aspect-ratio: 16 / 11;
  margin: 10px 10px 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper-2);
}
.ev-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease-out);
}
.ev:hover .ev-cover img {
  transform: scale(1.07);
}
.ev-date {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 9px 14px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  line-height: 1;
}
.ev-date b {
  font: 600 28px/1 var(--num);
  letter-spacing: -0.02em;
}
.ev-date small {
  font-size: 12px;
  font-weight: 600;
  color: var(--sun);
}
.ev-price {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.ev-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 26px 24px;
}
.ev-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ev-body h3 {
  margin-top: 14px;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.ev-desc {
  display: none;
}
.ev-meta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.ev-meta:first-of-type {
  margin-top: 14px;
}
.ev-meta .icon {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--lake);
}
.ev-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}
.ev-org {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
  color: var(--muted);
}
.ev-org .icon {
  width: 16px;
  height: 16px;
  flex: none;
}
.ev-org span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ev-go {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}
.ev-go .icon {
  box-sizing: content-box;
  width: 16px;
  height: 16px;
  padding: 9px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition:
    background 0.3s,
    transform 0.6s var(--spring);
}
.ev:hover .ev-go .icon {
  background: var(--sun);
  transform: rotate(-45deg);
}

/* Featured (single) event */
.ev-grid[data-n="1"] .ev {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  min-height: 440px;
}
.ev-grid[data-n="1"] .ev-cover {
  aspect-ratio: auto;
  margin: 12px;
  border-radius: 26px;
}
.ev-grid[data-n="1"] .ev-body {
  padding: 44px 48px 40px 28px;
}
.ev-grid[data-n="1"] .ev-body h3 {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.28;
  -webkit-line-clamp: 3;
}
.ev-grid[data-n="1"] .ev-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
.ev-grid[data-n="1"] .ev-meta {
  font-size: 15px;
}

/* Category placeholders (events with no photo) */
.ev-ph,
html[data-ui="desktop"] .event-placeholder {
  --a: #1c4e53;
  --b: #2a6566;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--a), var(--b) 55%, #d98d63 135%);
}
.ev-ph[data-category="music"],
html[data-ui="desktop"] .event-placeholder[data-category="music"] { --a: #2f2a5e; --b: #5b4f93; }
.ev-ph[data-category="sports"],
html[data-ui="desktop"] .event-placeholder[data-category="sports"] { --a: #8c2f14; --b: #d4441c; }
.ev-ph[data-category="food"],
html[data-ui="desktop"] .event-placeholder[data-category="food"] { --a: #8a4a12; --b: #d9822b; }
.ev-ph[data-category="outdoors"],
html[data-ui="desktop"] .event-placeholder[data-category="outdoors"] { --a: #1b4a36; --b: #3b8a63; }
.ev-ph[data-category="arts"],
html[data-ui="desktop"] .event-placeholder[data-category="arts"] { --a: #5a2442; --b: #a8486f; }
.ev-ph[data-category="social"],
html[data-ui="desktop"] .event-placeholder[data-category="social"] { --a: #1f4f6e; --b: #3d86ad; }
.ev-ph::before,
html[data-ui="desktop"] .event-placeholder::before {
  content: "";
  position: absolute;
  left: 18%;
  top: 16%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 36%, #ffc29c, #ff7a4d 55%, #e4572e);
  box-shadow: 0 0 60px 18px rgba(255, 140, 90, 0.4);
  animation: breathe 6s ease-in-out infinite;
}
.ev-ph::after,
html[data-ui="desktop"] .event-placeholder::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12q30-16 60 0t60 0 60 0 60 0V24H0Z' fill='%23fff' fill-opacity='.14'/%3E%3C/svg%3E")
      repeat-x 0 100% / 240px 36px,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12q30-16 60 0t60 0 60 0 60 0V24H0Z' fill='%23fff' fill-opacity='.16'/%3E%3C/svg%3E")
      repeat-x 0 100% / 160px 24px;
  animation: waveshift 9s linear infinite;
}
@keyframes waveshift {
  to {
    background-position: 240px 100%, -160px 100%;
  }
}
.ev-ph span,
html[data-ui="desktop"] .event-placeholder span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
}
.ev-ph .icon,
html[data-ui="desktop"] .event-placeholder .icon {
  width: 38px;
  height: 38px;
}

/* Circle cards */
.cc-grid,
html[data-ui="desktop"] .circle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.cc {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 30px;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(15, 42, 48, 0.04),
    0 24px 50px -34px rgba(15, 42, 48, 0.4);
  transition:
    translate 0.6s var(--ease-out),
    box-shadow 0.6s var(--ease-out);
}
.cc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mxp, 50%) var(--myp, 0%), rgba(228, 87, 46, 0.12), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.cc:hover {
  translate: 0 -8px;
  box-shadow:
    0 0 0 1px rgba(15, 42, 48, 0.05),
    0 50px 80px -38px rgba(15, 42, 48, 0.5);
}
.cc:hover::before {
  opacity: 1;
}
.cc > * {
  position: relative;
}
.cc-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.cc-sym {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-right: 6px;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
  transition: transform 0.7s var(--spring), background 0.3s;
}
.cc:nth-child(3n + 2) .cc-sym { background: var(--sun); }
.cc:nth-child(3n + 3) .cc-sym { background: var(--lake); }
.cc:hover .cc-sym {
  transform: rotate(-10deg) scale(1.08);
}
.cc h3 {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
}
.cc p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.cc .text-link {
  margin-top: auto;
  padding-top: 22px;
  font-weight: 700;
}

/* Tags / state chips */
html[data-ui="desktop"] .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--lake-soft);
  color: var(--lake);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
html[data-ui="desktop"] .tag.following {
  background: var(--sun-soft);
  color: var(--sun-deep);
}
html[data-ui="desktop"] .event-state {
  font-size: 12.5px;
  font-weight: 600;
}
html[data-ui="desktop"] .event-state[data-state="open"]::before {
  animation: pulse-green 2.4s ease-out infinite;
}
@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(42, 150, 102, 0.55);
  }
  80%,
  100% {
    box-shadow: 0 0 0 8px rgba(42, 150, 102, 0);
  }
}

/* Empty states */
html[data-ui="desktop"] .empty-state {
  position: relative;
  padding: 72px 32px 64px;
  border-radius: 34px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(15, 42, 48, 0.04),
    0 30px 60px -40px rgba(15, 42, 48, 0.4);
  text-align: center;
  overflow: hidden;
}
html[data-ui="desktop"] .empty-state.slim {
  padding: 56px 32px 52px;
}
html[data-ui="desktop"] .empty-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 26px;
  background: none;
}
html[data-ui="desktop"] .empty-mark::before,
html[data-ui="desktop"] .empty-mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(42, 101, 102, 0.4);
  animation: ring 4s ease-out infinite;
}
html[data-ui="desktop"] .empty-mark::after {
  animation-delay: 2s;
}
@keyframes ring {
  from {
    transform: scale(0.7);
    opacity: 1;
  }
  to {
    transform: scale(2.4);
    opacity: 0;
  }
}
html[data-ui="desktop"] .empty-mark .brand-mark {
  width: 64px;
  height: 64px;
}
html[data-ui="desktop"] .empty-state h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
}
html[data-ui="desktop"] .empty-state p {
  max-width: 480px;
  margin: 12px auto 0;
  color: var(--muted);
}
html[data-ui="desktop"] .empty-state .button {
  margin-top: 28px;
}
html[data-ui="desktop"] .panel .empty-state {
  padding: 44px 24px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: none;
}
html[data-ui="desktop"] .panel .empty-state .empty-mark {
  transform: scale(0.8);
  margin-bottom: 14px;
}

/* Duo tiles */
.dt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.dt {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 40px;
  border-radius: 38px;
  background: linear-gradient(155deg, #12383d, #0b2429);
  color: #f4f2ee;
  transition: translate 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.dt-alt {
  background: #ebe4d6;
  color: var(--ink);
}
.dt:hover {
  translate: 0 -8px;
  box-shadow: 0 50px 80px -40px rgba(15, 42, 48, 0.6);
}
.dt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mxp, 50%) var(--myp, 50%), rgba(255, 255, 255, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.dt-alt::before {
  background: radial-gradient(420px circle at var(--mxp, 50%) var(--myp, 50%), rgba(228, 87, 46, 0.2), transparent 62%);
}
.dt:hover::before {
  opacity: 1;
}
.dt > * {
  position: relative;
}
.dt-sym {
  position: absolute;
  left: 40px;
  top: 40px;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 26px;
  background: var(--sun);
  color: #fff;
  transition: transform 0.8s var(--spring);
}
.dt-sym .icon {
  width: 32px;
  height: 32px;
}
.dt-alt .dt-sym {
  background: var(--ink);
}
.dt:hover .dt-sym {
  transform: rotate(-9deg) scale(1.08);
}
.dt h3 {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
}
.dt p {
  max-width: 360px;
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.8;
  opacity: 0.8;
}
.dt-go {
  position: absolute;
  right: 36px;
  top: 36px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.9;
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s,
    transform 0.7s var(--spring);
}
.dt:hover .dt-go {
  background: var(--sun);
  border-color: var(--sun);
  color: #fff;
  transform: rotate(-45deg);
}
.dt-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12q30-16 60 0t60 0 60 0 60 0V24H0Z' fill='%23fff' fill-opacity='.07'/%3E%3C/svg%3E")
    repeat-x 0 100% / 240px 30px;
  animation: waveshift2 10s linear infinite;
  pointer-events: none;
}
.dt-alt .dt-waves {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12q30-16 60 0t60 0 60 0 60 0V24H0Z' fill='%230f2a30' fill-opacity='.07'/%3E%3C/svg%3E");
}
@keyframes waveshift2 {
  to {
    background-position: 240px 100%;
  }
}

/* Team strip */
.en {
  position: relative;
  overflow: hidden;
  width: var(--page);
  margin: 140px auto 0;
  padding: 100px 80px;
  border-radius: 48px;
  background: linear-gradient(150deg, #0d2f35, #07181c);
  color: #f4f2ee;
}
.en-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(600px 400px at 20% 30%, rgba(42, 101, 102, 0.6), transparent 70%),
    radial-gradient(520px 380px at 82% 74%, rgba(228, 87, 46, 0.3), transparent 70%);
  animation: aurora 20s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes aurora {
  to {
    transform: translate3d(6%, -5%, 0) scale(1.14) rotate(4deg);
  }
}
.en::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mxp, 70%) var(--myp, 30%), rgba(255, 255, 255, 0.09), transparent 62%);
  pointer-events: none;
}
.en-sun {
  position: absolute;
  right: -90px;
  bottom: -250px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 34%, #ffa27a, #e4572e 58%, #b53816);
  box-shadow: 0 0 120px 40px rgba(228, 87, 46, 0.35);
  transition: translate 2.4s var(--ease-out);
  animation: breathe 8s ease-in-out infinite;
}
html.fx[data-ui="desktop"] .en:not(.in) .en-sun {
  translate: 0 55%;
}
.en-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.en-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #ff9a6c;
}
.en h2 {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 62px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.en p {
  max-width: 460px;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(244, 242, 238, 0.74);
}

/* ---------- Footer ---------- */
html[data-ui="desktop"] .footer {
  position: relative;
  margin-top: 140px;
  overflow: hidden;
  background: #07181c;
  color: rgba(244, 242, 238, 0.7);
}
html[data-ui="desktop"] .footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 34px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath d='M0 0H240V12q-30 16-60 0t-60 0-60 0-60 0Z' fill='%23f4f2ee'/%3E%3C/svg%3E")
    repeat-x 0 0 / 240px 34px;
  animation: waveshift2 14s linear infinite;
}
.footer-mark {
  position: absolute;
  left: 50%;
  bottom: -0.2em;
  translate: -50% 0;
  font-family: var(--serif);
  font-size: clamp(130px, 21vw, 330px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 242, 238, 0.12);
  pointer-events: none;
  user-select: none;
}
html[data-ui="desktop"] .footer-inner {
  position: relative;
  width: min(1320px, 100% - 96px);
  padding: 110px 0 150px;
}
html[data-ui="desktop"] .footer-brand p,
html[data-ui="desktop"] .footer-meta {
  color: rgba(244, 242, 238, 0.62);
}
html[data-ui="desktop"] .footer a {
  position: relative;
  color: rgba(244, 242, 238, 0.8);
}
html[data-ui="desktop"] .footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
html[data-ui="desktop"] .footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
html[data-ui="desktop"] .footer a:hover {
  color: #fff;
}

/* ======================================================================
 * Inner pages
 * ==================================================================== */
html[data-ui="desktop"] .page-heading {
  position: relative;
  padding: 84px 0 36px;
  margin-bottom: 8px;
  border-bottom: 0;
}
html[data-ui="desktop"] .page-heading > * {
  position: relative;
  z-index: 1;
}
html[data-ui="desktop"] .page-heading h1 {
  max-width: 820px;
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 78px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
html[data-ui="desktop"] .page-heading p:not(.kicker) {
  max-width: 600px;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.85;
}
html[data-ui="desktop"] .page-heading::after {
  content: "";
  position: absolute;
  right: 64px;
  top: 78px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #ffb48a, #ff7a4d 50%, #e4572e);
  box-shadow: 0 0 70px 14px rgba(228, 87, 46, 0.28);
  animation: bobcard 9s ease-in-out infinite;
}
html[data-ui="desktop"] .page-heading::before {
  content: "";
  position: absolute;
  right: 64px;
  top: 78px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 1.5px solid rgba(228, 87, 46, 0.45);
  animation: ring 5s ease-out infinite;
}
html[data-ui="desktop"] .kicker {
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.24em;
}
html[data-ui="desktop"] .kicker::before {
  width: 28px;
  height: 1px;
  border-radius: 0;
  background: var(--sun);
  box-shadow: none;
}
html[data-ui="desktop"] .toolbar {
  padding: 22px 24px 16px;
  margin-bottom: 56px;
  border-radius: 32px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(15, 42, 48, 0.04),
    0 30px 60px -40px rgba(15, 42, 48, 0.4);
}
html[data-ui="desktop"] .filter-button,
html[data-ui="desktop"] .tabs > button,
html[data-ui="desktop"] .tabs > a:not(.button) {
  min-height: 44px;
  padding: 8px 20px;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    transform 0.5s var(--spring);
}
html[data-ui="desktop"] .filter-button:hover,
html[data-ui="desktop"] .tabs > button:hover,
html[data-ui="desktop"] .tabs > a:not(.button):hover {
  transform: translateY(-2px);
}
html[data-ui="desktop"] .filter-button:active,
html[data-ui="desktop"] .tabs > button:active {
  transform: scale(0.96);
}
html[data-ui="desktop"] .main > .search-bar {
  margin-bottom: 8px;
  background: #fff;
  box-shadow: 0 26px 50px -36px rgba(15, 42, 48, 0.4);
}
html[data-ui="desktop"] .section-heading h2 {
  font-family: var(--serif);
  font-size: 30px;
}
html[data-ui="desktop"] .back-link {
  margin-top: 36px;
  transition: color 0.3s;
}
html[data-ui="desktop"] .back-link .icon {
  transition: translate 0.5s var(--ease-out);
}
html[data-ui="desktop"] .back-link:hover .icon {
  translate: -5px 0;
}

/* Buttons */
html[data-ui="desktop"] .button {
  position: relative;
  overflow: hidden;
  min-height: 52px;
  padding: 0 28px;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    box-shadow 0.4s,
    transform 0.5s var(--spring);
}
html[data-ui="desktop"] .button:hover {
  transform: translateY(-2px);
}
html[data-ui="desktop"] .button:active {
  transform: scale(0.97);
}
html[data-ui="desktop"] .button.primary {
  background: linear-gradient(135deg, #e85a30, #d4441c);
  box-shadow: 0 16px 34px -14px rgba(228, 87, 46, 0.8);
}
html[data-ui="desktop"] .button.primary:hover {
  box-shadow: 0 22px 44px -14px rgba(228, 87, 46, 0.95);
}
html[data-ui="desktop"] .button.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.32) 50%, transparent 70%);
  transform: translateX(-120%);
}
html[data-ui="desktop"] .button.primary:hover::before {
  transform: translateX(120%);
  transition: transform 0.9s var(--ease-out);
}
html[data-ui="desktop"] .button .icon {
  transition: translate 0.45s var(--ease-out);
}
html[data-ui="desktop"] .button:hover .icon {
  translate: 4px 0;
}
html[data-ui="desktop"] .text-link .icon {
  transition: translate 0.45s var(--ease-out);
}
html[data-ui="desktop"] .text-link:hover .icon {
  translate: 4px 0;
}

/* Event detail */
html[data-ui="desktop"] .detail-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  gap: 64px;
  align-items: start;
}
html[data-ui="desktop"] .detail-image {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 40px;
  box-shadow: 0 50px 90px -46px rgba(15, 42, 48, 0.6);
}
html[data-ui="desktop"] .detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html[data-ui="desktop"] .main.page-in .detail-image img {
  animation: kenburns 2.6s var(--ease-out) backwards;
}
@keyframes kenburns {
  from {
    transform: scale(1.14);
  }
}
html[data-ui="desktop"] .detail-info {
  position: sticky;
  top: 104px;
  align-self: start;
}
html[data-ui="desktop"] .detail-info h1 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
}
html[data-ui="desktop"] .detail-facts li {
  align-items: center;
  gap: 16px;
}
html[data-ui="desktop"] .detail-facts .icon {
  box-sizing: content-box;
  width: 20px;
  height: 20px;
  padding: 12px;
  border-radius: 50%;
  background: var(--lake-soft);
  color: var(--lake);
}
html[data-ui="desktop"] .booking-panel {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 0;
  border-radius: 34px;
  background: linear-gradient(155deg, #12383d, #08202a);
  color: #f4f2ee;
  box-shadow: 0 50px 90px -44px rgba(7, 24, 28, 0.9);
}
html[data-ui="desktop"] .booking-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 36%, #ffa27a, #e4572e 60%);
  opacity: 0.9;
  filter: blur(1px);
  animation: breathe 7s ease-in-out infinite;
  pointer-events: none;
}
html[data-ui="desktop"] .booking-panel > * {
  position: relative;
  z-index: 1;
}
html[data-ui="desktop"] .booking-price {
  font: 300 46px/1.1 var(--num);
  letter-spacing: -0.02em;
}
html[data-ui="desktop"] .booking-price small {
  font-size: 15px;
  color: rgba(244, 242, 238, 0.7);
}
html[data-ui="desktop"] .booking-panel p,
html[data-ui="desktop"] .booking-panel .check-field span {
  color: rgba(244, 242, 238, 0.82);
}
html[data-ui="desktop"] .booking-panel .notice {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f4f2ee;
}
html[data-ui="desktop"] .booking-panel .button.primary {
  width: 100%;
}
html[data-ui="desktop"] .booking-panel .form-error {
  color: #ffb199;
}

/* Circle detail */
html[data-ui="desktop"] .circle-detail h1 {
  font-family: var(--serif);
}

/* Panels and workflow pages */
html[data-ui="desktop"] .panel,
html[data-ui="desktop"] .workflow-card {
  border-radius: 28px;
}
html[data-ui="desktop"] a.workflow-card {
  transition:
    translate 0.6s var(--ease-out),
    box-shadow 0.6s var(--ease-out),
    background 0.3s;
}
html[data-ui="desktop"] a.workflow-card:hover {
  translate: 0 -6px;
  box-shadow: 0 40px 70px -40px rgba(15, 42, 48, 0.55);
}
html[data-ui="desktop"] .field input:not([type="checkbox"]):not([type="file"]),
html[data-ui="desktop"] .field :is(select, .fic-select-trigger),
html[data-ui="desktop"] .field textarea {
  transition:
    border-color 0.3s,
    box-shadow 0.45s var(--ease-out),
    background 0.3s;
}
html[data-ui="desktop"] .field input:focus,
html[data-ui="desktop"] .field :is(select, .fic-select-trigger):focus,
html[data-ui="desktop"] .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 6px rgba(228, 87, 46, 0.14);
}

/* Auth */
html[data-ui="desktop"] .auth-layout {
  max-width: 1180px;
  margin: 56px auto 0;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border-radius: 44px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(15, 42, 48, 0.04),
    0 70px 130px -64px rgba(15, 42, 48, 0.6);
}
html[data-ui="desktop"] .auth-intro {
  position: relative;
  display: flex;
  min-height: 700px;
  padding: 0;
  border-radius: 0;
  background: var(--night);
  color: #f7f3ea;
}
html[data-ui="desktop"] .auth-copy {
  position: relative;
  z-index: 2;
  padding: 56px;
}
html[data-ui="desktop"] .auth-copy .brand-mark {
  width: 56px;
  height: 56px;
}
html[data-ui="desktop"] .auth-intro h1 {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(36px, 3.4vw, 50px);
  line-height: 1.22;
  font-weight: 700;
  color: #fbf7ef;
  text-shadow: 0 2px 30px rgba(4, 18, 22, 0.5);
}
html[data-ui="desktop"] .auth-intro p {
  max-width: 340px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(247, 243, 234, 0.82);
}
html[data-ui="desktop"] .auth-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 72px;
}
html[data-ui="desktop"] .auth-form h2 {
  font-family: var(--serif);
  font-size: 38px;
}

/* Plain text pages */
html[data-ui="desktop"] .plain-page h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.4vw, 64px);
}

/* Toast */
html[data-ui="desktop"] #toast {
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.6s var(--spring);
}

/* ---------- Narrower desktop ---------- */
@media (max-width: 1180px) {
  html[data-ui="desktop"] {
    --page: min(1200px, 100% - 64px);
  }
  .hx-inner {
    width: calc(100% - 64px);
  }
  .hx-copy {
    width: min(560px, 52%);
  }
  .hx-map-attribution {
    right: 32px;
  }
  .dp-cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ev-grid,
  .cc-grid,
  html[data-ui="desktop"] .circle-grid {
    gap: 20px;
  }
  .en {
    padding: 80px 56px;
  }
  html[data-ui="desktop"] .page-heading::after,
  html[data-ui="desktop"] .page-heading::before {
    right: 16px;
    width: 96px;
    height: 96px;
  }
}
@media (max-width: 960px) {
  html[data-ui="desktop"] .desktop-nav a {
    padding: 0 12px;
    font-size: 13.5px;
  }
  .hx {
    height: auto;
    min-height: 100svh;
  }
  .hx-inner {
    height: auto;
    min-height: 100svh;
    align-items: flex-start;
    padding: 128px 0 196px;
  }
  .hx-copy {
    width: 100%;
    max-width: 600px;
  }
  .hx-map::after {
    background: linear-gradient(180deg, rgba(252, 250, 243, 0.94) 0%, rgba(252, 250, 243, 0.72) 48%, rgba(252, 250, 243, 0.24) 100%);
  }
  .hx-life {
    display: none;
  }
  .ev-grid,
  .ev-grid[data-n="3"],
  .cc-grid,
  html[data-ui="desktop"] .circle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ev-grid[data-n="1"] .ev {
    grid-template-columns: minmax(0, 1fr);
  }
  .ev-grid[data-n="1"] .ev-cover {
    aspect-ratio: 16 / 10;
  }
  .ev-grid[data-n="1"] .ev-body {
    padding: 24px 32px 32px;
  }
  .dt-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .en-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  html[data-ui="desktop"] .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-ui="desktop"] .detail-info {
    position: static;
  }
  html[data-ui="desktop"] .auth-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-ui="desktop"] .auth-intro {
    min-height: 420px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hx-copy {
    translate: none;
    opacity: 1;
  }
  .hx-life {
    opacity: 1;
  }
}
