﻿* {
  box-sizing: border-box;
}

:root {
  --cream: #fff8ef;
  --paper: #fffdf8;
  --rose: #f6b6bd;
  --coral: #e56f62;
  --sky: #8ec8ee;
  --hero-sky: #f6fbff;
  --hero-sky-soft: #d9f3ff;
  --hero-shadow: rgba(24, 51, 70, 0.28);
  --mint: #b8d9b0;
  --honey: #f6c35f;
  --ink: #241b18;
  --soft: #6f5e56;
  --line: rgba(36, 27, 24, 0.14);
  --shadow: 0 24px 70px rgba(72, 38, 25, 0.14);
  --home-flow-bg: linear-gradient(135deg, #fff8ef 0%, #f7fbfb 44%, #edf8ff 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  cursor: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  cursor: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

.fish-cursor,
.custom-cursor {
  position: fixed;
  z-index: 9999;
  display: block;
  width: 34px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg width='34' height='40' viewBox='0 0 34 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 3.5L4.8 32.4C4.82 34.65 7.58 35.74 9.15 34.13L15.45 27.67L19.8 36.01C20.43 37.22 21.92 37.69 23.13 37.06L25.47 35.84C26.68 35.21 27.15 33.72 26.52 32.51L22.27 24.37L30.98 23.83C33.13 23.7 34.02 21 32.36 19.62L8.6 1.05C6.97 -0.23 4.48 1.43 4.5 3.5Z' fill='white'/%3E%3Cpath d='M4.5 3.5L4.8 32.4C4.82 34.65 7.58 35.74 9.15 34.13L15.45 27.67L19.8 36.01C20.43 37.22 21.92 37.69 23.13 37.06L25.47 35.84C26.68 35.21 27.15 33.72 26.52 32.51L22.27 24.37L30.98 23.83C33.13 23.7 34.02 21 32.36 19.62L8.6 1.05C6.97 -0.23 4.48 1.43 4.5 3.5Z' stroke='%23241B18' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M8 7.5L8.22 29.7L15.95 21.76L21.98 33.31L23.2 32.67L17.15 21.08L27.82 20.42L8 7.5Z' fill='%23FFFDF8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 4px 6px rgba(36, 27, 24, 0.24));
  pointer-events: none;
  transform: translate(-3px, -2px);
  transition: filter 180ms ease;
}

.custom-cursor span {
  display: none;
}

.site-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  display: flex;
  width: min(1000px, calc(100% - 72px));
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.88), rgba(236, 248, 255, 0.8)),
    rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 42px rgba(45, 82, 104, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  padding: 4px 10px 4px 6px;
  color: #466372;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: linear-gradient(145deg, rgba(219, 244, 255, 0.95), rgba(255, 248, 236, 0.9));
  color: #23465a;
  box-shadow: 0 8px 22px rgba(63, 111, 136, 0.14);
}

.brand-logo-mark {
  position: relative;
  width: 238px;
  height: 42px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-logo-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  align-self: center;
  justify-self: center;
}

.brand-logo-mark + .brand-text {
  display: none;
}

.brand-mark svg {
  width: 19px;
}

.nav-links {
  gap: 3px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  border-radius: 999px;
  padding: 7px 10px;
  color: #536a78;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: rgba(232, 247, 255, 0.86);
  color: #24495d;
  box-shadow: inset 0 0 0 1px rgba(122, 174, 199, 0.18), 0 8px 18px rgba(45, 82, 104, 0.1);
  transform: translateY(-1px);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 10px;
  color: #536a78;
  font-size: 0.9rem;
  font-weight: 800;
}

.language-switch button {
  min-height: 0;
  border: 0;
  border-radius: 999px;
  padding: 3px 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.language-switch button:hover,
.language-switch button:focus-visible,
.language-switch button[aria-pressed="true"] {
  background: rgba(232, 247, 255, 0.9);
  color: #24495d;
  transform: translateY(-1px);
}

.language-switch span {
  color: rgba(83, 106, 120, 0.42);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  justify-items: start;
  padding: 130px clamp(28px, 6vw, 86px) 56px clamp(56px, 9vw, 148px);
  background: linear-gradient(135deg, #fff8ef 0%, #edf8ff 100%);
  color: white;
}

.hero-video,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-scrim {
  background: linear-gradient(90deg, rgba(28, 52, 68, 0.48) 0%, rgba(54, 88, 108, 0.3) 34%, rgba(255, 255, 255, 0.06) 68%, rgba(255, 255, 255, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  max-width: min(680px, calc(100vw - 56px));
  margin: 0;
  padding: clamp(74px, 11vh, 118px) 0 clamp(130px, 18vh, 210px);
  text-align: left;
}

.hero-content.reveal.visible {
  transform: translateY(calc(clamp(-34px, -3vh, -20px) + 56px));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 10px 24px var(--hero-shadow);
  animation: heroTextFloatUp 780ms 140ms cubic-bezier(0.18, 0.9, 0.2, 1) both;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 100%;
  margin-bottom: 22px;
  font-size: clamp(2.85rem, 6.15vw, 6.45rem);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: 0;
}

.interactive-title {
  --rx: 0deg;
  --ry: 0deg;
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  display: grid;
  justify-items: start;
  gap: clamp(0.14em, 1vw, 0.24em);
  width: 100%;
  max-width: 100%;
  line-height: 1.02;
  perspective: 900px;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 180ms ease;
  color: var(--hero-sky);
  text-shadow:
    0 2px 0 rgba(24, 51, 70, 0.12),
    0 16px 38px var(--hero-shadow);
}

.interactive-title::before {
  content: "";
  position: absolute;
  inset: -8% -12% -10%;
  z-index: -1;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 58% 78% at var(--glow-x) var(--glow-y), rgba(217, 243, 255, 0.34), transparent 58%),
    radial-gradient(ellipse 46% 54% at 82% 26%, rgba(255, 255, 255, 0.18), transparent 64%);
  filter: blur(4px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.interactive-title:hover::before {
  opacity: 1;
}

.vapour-title .title-word {
  color: transparent;
  background:
    linear-gradient(90deg, #f6fbff 0%, #d9f3ff 25%, #ffffff 48%, #aee8ff 70%, #f6fbff 100%);
  background-size: 260% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 12px 30px var(--hero-shadow));
  animation:
    titleRise 900ms cubic-bezier(0.18, 0.9, 0.2, 1) both,
    vapourTextFlow 7.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 90ms), calc(var(--i) * -460ms);
}

.vapour-title .title-word::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: rgba(217, 243, 255, 0.64);
  -webkit-text-fill-color: rgba(217, 243, 255, 0.64);
  filter: blur(10px);
  opacity: 0.52;
  transform: translate3d(0.03em, -0.025em, -18px) scale(1.035);
  animation: vapourMist 5.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * -520ms);
}

.title-line {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.1em;
  overflow: visible;
  white-space: normal;
}

.title-word {
  position: relative;
  display: inline-block;
  transform: translateY(0) translateZ(calc(var(--i) * 8px));
  transform-origin: 30% 80%;
  animation: titleRise 900ms cubic-bezier(0.18, 0.9, 0.2, 1) both;
  animation-delay: calc(var(--i) * 90ms);
  transition:
    color 180ms ease,
    text-shadow 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

.title-word:hover {
  color: #ffffff;
  filter: saturate(1.2);
  text-shadow:
    0 0 22px rgba(217, 243, 255, 0.76),
    0 14px 38px var(--hero-shadow);
  transform: translateY(-0.08em) translateZ(48px) rotate(-1.4deg) scale(1.018);
}

.title-word.amp {
  margin-left: 0;
  color: var(--hero-sky);
}

.hero-content:hover .title-word:not(:hover) {
  text-shadow: 0 10px 34px var(--hero-shadow);
}

.hero-lede {
  margin-bottom: 10px;
  color: rgba(246, 251, 255, 0.96);
  font-size: clamp(1.16rem, 1.95vw, 1.55rem);
  font-weight: 850;
  text-shadow: 0 12px 28px var(--hero-shadow);
  animation: heroTextFloatUp 820ms 520ms cubic-bezier(0.18, 0.9, 0.2, 1) both;
}

.hero-copy {
  max-width: 620px;
  margin-inline: 0;
  margin-bottom: 30px;
  color: rgba(246, 251, 255, 0.92);
  font-size: clamp(1.12rem, 1.72vw, 1.42rem);
  font-weight: 920;
  text-shadow: 0 10px 24px var(--hero-shadow);
  animation: heroTextFloatUp 820ms 640ms cubic-bezier(0.18, 0.9, 0.2, 1) both;
}

.hero-copy span {
  color: rgba(238, 242, 245, 0.96);
  font-weight: 900;
}

.hero-actions,
.hero-stats,
.trust-ribbon,
.filters,
.item-body,
.impact,
.list-title,
.floating-apply,
.payment-note {
  display: flex;
  align-items: center;
}

.hero-actions {
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 1.04rem;
  animation: heroTextFloatUp 820ms 760ms cubic-bezier(0.18, 0.9, 0.2, 1) both;
}

.hero-actions .button.primary {
  background: rgba(246, 251, 255, 0.92);
  color: #25475d;
  box-shadow: 0 18px 42px rgba(24, 51, 70, 0.2);
}

.hero-actions .button.glass {
  border-color: rgba(246, 251, 255, 0.72);
  background: rgba(246, 251, 255, 0.78);
  color: #25475d;
  box-shadow: 0 18px 42px rgba(24, 51, 70, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-actions .button.glass:hover {
  background: rgba(246, 251, 255, 0.92);
}

.button,
.buy-button,
.filters button,
.filters a,
.donation-list button,
.admin-dashboard button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg,
.buy-button svg {
  width: 18px;
}

.primary {
  background: var(--ink);
  color: var(--cream);
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  color: white;
  backdrop-filter: blur(16px);
}

.button:hover,
.buy-button:hover,
.filters button:hover,
.filters a:hover,
.donation-list button:hover,
.admin-dashboard button:hover {
  box-shadow: 0 12px 26px rgba(50, 30, 20, 0.18);
  transform: translateY(-2px);
}

.signature {
  margin: 18px 0 0;
  color: rgba(246, 251, 255, 0.86);
  font-size: 1.06rem;
  font-weight: 700;
  text-shadow: 0 10px 24px var(--hero-shadow);
  animation: heroTextFloatUp 820ms 880ms cubic-bezier(0.18, 0.9, 0.2, 1) both;
}

.hero-stats {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 26px;
  left: clamp(18px, 4vw, 56px);
  z-index: 2;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-stats span {
  border: 1px solid rgba(246, 251, 255, 0.48);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(246, 251, 255, 0.24);
  color: var(--hero-sky);
  box-shadow:
    0 12px 30px rgba(24, 51, 70, 0.16),
    inset 0 1px 1px rgba(255, 255, 255, 0.42);
  font-size: 0.83rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
  animation: heroTextFloatUp 820ms cubic-bezier(0.18, 0.9, 0.2, 1) both;
}

.hero-stats span:nth-child(1) {
  animation-delay: 980ms;
}

.hero-stats span:nth-child(2) {
  animation-delay: 1080ms;
}

.hero-stats span:nth-child(3) {
  animation-delay: 1180ms;
}

.trust-ribbon {
  position: relative;
  z-index: 3;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff6e6;
  color: var(--soft);
  font-weight: 800;
}

.trust-item svg {
  width: 17px;
  color: var(--coral);
}

.section {
  padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 72px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.section-copy h2,
.story-copy h2,
.partner-card h2 {
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: 0;
}

.hosts-title span {
  display: block;
}

.hosts-title span span {
  display: inline;
}

.hosts-typewriter {
  color: var(--coral);
}

.type-cursor {
  display: inline-block !important;
  margin-left: 0.08em;
  color: var(--coral);
  animation: typeBlink 0.9s steps(2, start) infinite;
}

.sparkles-heading {
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: 0;
  overflow: visible;
}

.sparkles-text {
  position: relative;
  display: inline-block;
}

.sparkles-text strong {
  position: relative;
  z-index: 1;
}

.sparkle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: 21px;
  height: 21px;
  pointer-events: none;
  transform: scale(var(--s));
  animation: sparkleText 1.05s ease-in-out var(--d) infinite;
}

.sparkle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffd5a2, #fe8bbb);
  clip-path: polygon(50% 0%, 62% 34%, 100% 50%, 62% 66%, 50% 100%, 38% 66%, 0% 50%, 38% 34%);
}

.sparkles-text:hover .sparkle {
  animation-duration: 0.72s;
}

.section-head p,
.section-copy p,
.story-copy p,
.partner-card p {
  color: var(--soft);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.metrics {
  overflow: hidden;
  padding: 18px 0;
  background: var(--sky);
}

.metrics-marquee {
  position: relative;
  overflow: hidden;
}

.metrics-marquee::before,
.metrics-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(36px, 8vw, 120px);
  pointer-events: none;
}

.metrics-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--sky), rgba(142, 200, 238, 0));
}

.metrics-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--sky), rgba(142, 200, 238, 0));
}

.metrics-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 0 14px;
  animation: metricsScroll 28s linear infinite;
}

.metrics-marquee:hover .metrics-track {
  animation-play-state: paused;
}

.metric-card {
  position: relative;
  width: clamp(280px, 28vw, 480px);
  min-height: 148px;
  overflow: hidden;
  border-radius: 8px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.68);
  color: #143044;
  outline: none;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.metric-card::after {
  content: "Explore impact";
  position: absolute;
  right: 18px;
  bottom: 14px;
  border-radius: 999px;
  padding: 7px 10px;
  background: #143044;
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.metric-card:hover,
.metric-card:focus-visible {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(20, 48, 68, 0.2);
  transform: translateY(-7px) scale(1.025);
}

.metric-card:hover::after,
.metric-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.metric-card strong {
  display: block;
  margin: 3px 0 4px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.9;
}

.metric-card .metric-label {
  color: #365468;
  font-size: 0.92rem;
  font-weight: 800;
}

.metric-card p {
  max-width: 330px;
  margin: 0;
  color: #365468;
  font-size: 0.9rem;
  font-weight: 760;
}

.hosts {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  background: var(--home-flow-bg);
  isolation: isolate;
}

.hosts::before,
.hosts::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hosts::before {
  inset: -18%;
  z-index: 0;
  background:
    repeating-linear-gradient(104deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.88) 7%, transparent 10%, transparent 12%, rgba(255, 255, 255, 0.72) 16%),
    repeating-linear-gradient(104deg, rgba(142, 200, 238, 0.42) 10%, rgba(183, 204, 255, 0.34) 15%, rgba(167, 224, 255, 0.38) 20%, rgba(246, 182, 189, 0.28) 25%, rgba(142, 200, 238, 0.34) 30%);
  background-size: 300% 200%, 220% 160%;
  background-position: 50% 50%, 50% 50%;
  filter: blur(14px) saturate(1.08);
  opacity: 0.48;
  mask-image: radial-gradient(ellipse at 100% 0%, black 8%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 8%, transparent 72%);
  animation: hostsAurora 34s linear infinite;
}

.hosts::after {
  display: none;
}

.hosts-media {
  position: relative;
  z-index: 1;
  width: min(82%, 470px);
  justify-self: center;
}

.hosts-media img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  border: 8px solid white;
  border-radius: 24px;
  box-shadow: var(--shadow);
  transform-origin: 50% 70%;
  transition: transform 420ms cubic-bezier(0.18, 0.9, 0.22, 1), box-shadow 240ms ease;
}

.hosts .section-copy {
  position: relative;
  z-index: 1;
}

.hosts-media:hover img {
  box-shadow: 0 30px 90px rgba(72, 38, 25, 0.2);
  transform: rotate(2.2deg) translateX(6px);
}

.story-intro {
  grid-template-columns: minmax(260px, 0.62fr) minmax(360px, 1fr);
  align-items: center;
  padding-bottom: clamp(70px, 9vw, 120px);
}

.story-intro .hosts-media {
  width: min(82%, 500px);
}

.story-intro .hosts-media img {
  aspect-ratio: 0.74;
  object-position: center;
}

.story-intro-title {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  line-height: 0.98;
}

.story-intro-title > span {
  display: block;
}

.story-intro-title > span + span {
  margin-top: clamp(0.08em, 0.8vw, 0.16em);
}

.story-intro-title .hosts-typewriter,
.story-intro-title .type-cursor {
  display: inline !important;
}

.story-intro-copy {
  display: grid;
  gap: 14px;
  max-width: 900px;
}

.story-intro-copy p {
  margin: 0;
  color: #6c5d55;
  font-size: clamp(1rem, 1.34vw, 1.18rem);
  line-height: 1.7;
}

.story-intro .story-gallery {
  grid-column: 1 / -1;
  width: min(1180px, 100%);
  justify-self: center;
  margin-top: clamp(42px, 6vw, 76px);
}

.home-story-wall-section {
  position: relative;
  overflow: hidden;
  margin-top: -1px;
  padding: clamp(34px, 4vw, 64px) clamp(22px, 5vw, 76px) clamp(80px, 8vw, 124px);
  background: var(--home-flow-bg);
}

.home-story-wall {
  width: min(1440px, calc(100vw - 72px));
  margin: 0 auto;
  column-count: 4;
  column-gap: clamp(24px, 3.2vw, 58px);
}

.home-story-wall.reveal {
  opacity: 1;
}

.home-story-photo {
  display: inline-block;
  appearance: none;
  width: 100%;
  margin: 0 0 clamp(22px, 3vw, 48px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: 0 18px 36px rgba(40, 82, 106, 0.13);
  cursor: none;
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.18, 0.9, 0.22, 1),
    box-shadow 260ms ease;
  break-inside: avoid;
}

.home-story-wall.visible .home-story-photo {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--photo-delay, 0ms);
}

.home-story-wall.visible .home-story-photo:hover,
.home-story-wall.visible .home-story-photo:focus-visible {
  box-shadow: 0 28px 64px rgba(40, 82, 106, 0.22);
  transform: translateY(-7px) scale(1.018);
  transition-delay: 0ms;
}

.home-story-photo:nth-child(1) {
  --photo-delay: 30ms;
}

.home-story-photo:nth-child(2) {
  --photo-delay: 90ms;
}

.home-story-photo:nth-child(3) {
  --photo-delay: 150ms;
}

.home-story-photo:nth-child(4) {
  --photo-delay: 210ms;
}

.home-story-photo:nth-child(5) {
  --photo-delay: 270ms;
}

.home-story-photo:nth-child(6) {
  --photo-delay: 330ms;
}

.home-story-photo:nth-child(7) {
  --photo-delay: 390ms;
}

.home-story-photo:nth-child(8) {
  --photo-delay: 450ms;
}

.home-story-photo:nth-child(9) {
  --photo-delay: 510ms;
}

.home-story-photo:nth-child(10) {
  --photo-delay: 570ms;
}

.home-story-photo:nth-child(11) {
  --photo-delay: 630ms;
}

.home-story-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(1.04) contrast(1.02);
  transition: transform 520ms ease, filter 320ms ease;
}

.home-story-photo:hover img,
.home-story-photo:focus-visible img {
  filter: saturate(1.1) contrast(1.04);
  transform: scale(1.025);
}

.home-story-photo:focus-visible,
.story-lightbox-close:focus-visible {
  outline: 3px solid rgba(26, 139, 209, 0.45);
  outline-offset: 4px;
}

.story-stagger-gallery {
  position: relative;
  width: min(1180px, calc(100vw - 44px));
  margin: 0 auto;
  padding: clamp(18px, 3vw, 36px) 0 78px;
}

.story-stagger-gallery.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.18, 0.9, 0.22, 1);
}

.story-stagger-gallery.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.story-stagger-stage {
  position: relative;
  height: clamp(380px, 46vw, 560px);
  overflow: hidden;
  perspective: 1200px;
  transform: translateY(-38px);
}

.story-stagger-card {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: clamp(260px, 30vw, 430px);
  height: clamp(280px, 33vw, 450px);
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(79, 157, 207, 0.24);
  background: rgba(255, 255, 255, 0.96);
  color: inherit;
  cursor: none;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 18px 34px rgba(40, 82, 106, 0.16);
  transform: translate(-50%, -50%) scale(0.62);
  transition:
    opacity 520ms ease,
    transform 640ms cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.story-stagger-card::after {
  display: none;
}

.story-stagger-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.story-stagger-card[data-position="0"] {
  z-index: 8;
  opacity: 1;
  pointer-events: auto;
  border-color: rgba(22, 139, 209, 0.42);
  box-shadow: 0 28px 46px rgba(31, 85, 116, 0.22);
  transform: translate(-50%, -50%) translateY(-46px) scale(1) rotate(0deg);
}

.story-stagger-card[data-position="-1"] {
  z-index: 6;
  opacity: 0.82;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateX(clamp(-260px, -18vw, -170px)) translateY(-4px) scale(0.84) rotate(-4deg);
}

.story-stagger-card[data-position="1"] {
  z-index: 6;
  opacity: 0.82;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateX(clamp(170px, 18vw, 260px)) translateY(8px) scale(0.84) rotate(4deg);
}

.story-stagger-card[data-position="-2"] {
  z-index: 4;
  opacity: 0.48;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateX(clamp(-460px, -32vw, -280px)) translateY(30px) scale(0.72) rotate(5deg);
}

.story-stagger-card[data-position="2"] {
  z-index: 4;
  opacity: 0.48;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateX(clamp(280px, 32vw, 460px)) translateY(28px) scale(0.72) rotate(-5deg);
}

.story-stagger-card[data-position="-3"] {
  z-index: 2;
  opacity: 0.24;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateX(clamp(-620px, -46vw, -410px)) translateY(2px) scale(0.62) rotate(-2deg);
}

.story-stagger-card[data-position="3"] {
  z-index: 2;
  opacity: 0.24;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateX(clamp(410px, 46vw, 620px)) translateY(0) scale(0.62) rotate(2deg);
}

.story-stagger-card:hover,
.story-stagger-card:focus-visible {
  border-color: rgba(22, 139, 209, 0.58);
  box-shadow: 0 30px 58px rgba(31, 85, 116, 0.24);
}

.story-stagger-card:focus-visible,
.story-stagger-controls button:focus-visible {
  outline: 3px solid rgba(26, 139, 209, 0.45);
  outline-offset: 4px;
}

.story-stagger-controls {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 12;
  display: flex;
  gap: 14px;
  transform: translateX(-50%);
}

.story-stagger-controls button {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(22, 139, 209, 0.3);
  border-radius: 999px;
  background: rgba(205, 236, 255, 0.88);
  color: #168bd1;
  box-shadow: 0 12px 24px rgba(33, 106, 148, 0.14);
  cursor: none;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.story-stagger-controls button:hover,
.story-stagger-controls button:focus-visible {
  background: #168bd1;
  color: #fff;
  box-shadow: 0 16px 30px rgba(33, 106, 148, 0.22);
  transform: translateY(-2px);
}

.story-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(12, 33, 48, 0.62);
  backdrop-filter: blur(12px);
}

.story-lightbox[hidden] {
  display: none;
}

.story-lightbox img {
  display: block;
  max-width: min(92vw, 1180px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.34);
  animation: storyLightboxZoom 220ms ease both;
}

.story-lightbox-close {
  position: absolute;
  top: clamp(16px, 3vw, 34px);
  right: clamp(16px, 3vw, 34px);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #214c63;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  cursor: none;
  box-shadow: 0 16px 38px rgba(10, 40, 58, 0.22);
  transition:
    background 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.story-lightbox-close:hover {
  background: #168bd1;
  color: #fff;
  transform: translateY(-2px);
}

.has-story-lightbox {
  overflow: hidden;
}

@keyframes storyLightboxZoom {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1120px) {
  .home-story-wall {
    width: min(100% - 48px, 980px);
    column-count: 3;
  }
}

@media (max-width: 780px) {
  .home-story-wall {
    width: min(100% - 30px, 720px);
    column-count: 2;
    column-gap: 20px;
  }
}

@media (max-width: 560px) {
  .home-story-wall-section {
    padding-inline: 18px;
  }

  .home-story-wall {
    width: min(100%, 420px);
    column-count: 1;
  }
}

.purpose {
  position: relative;
  overflow: hidden;
  margin-top: -1px;
  background: var(--home-flow-bg);
}

.purpose::before {
  display: none;
}

.purpose::after {
  display: none;
}

.purpose .section-head {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin-inline: auto;
  text-align: center;
  transform: translateY(0);
  transition: transform 420ms cubic-bezier(0.18, 0.9, 0.2, 1);
}

.purpose .section-head .eyebrow,
.purpose .section-head h2 {
  transition:
    transform 420ms cubic-bezier(0.18, 0.9, 0.2, 1),
    opacity 420ms ease,
    text-shadow 420ms ease;
}

.purpose .section-head h2 {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  font-size: clamp(2.5rem, 5.6vw, 5.4rem);
}

.purpose .section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: min(260px, 46%);
  height: 14px;
  border-radius: 999px;
  background: rgba(80, 159, 216, 0.16);
  filter: blur(2px);
  transform: translateX(-50%) rotate(-1deg);
}

.purpose .section-head h2::before {
  content: "✦";
  position: absolute;
  right: clamp(-28px, -3vw, -12px);
  top: -10px;
  color: #4f9fd8;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  text-shadow: 0 10px 24px rgba(80, 159, 216, 0.22);
  transform: rotate(12deg);
}

.purpose-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(34px, 2.5vw, 42px);
  max-width: 1260px;
  margin: 64px auto 0;
}

.purpose-card {
  --tilt: 0deg;
  position: relative;
  display: grid;
  grid-template-rows: 120px 82px 150px auto;
  justify-items: center;
  min-height: 410px;
  border: 2px solid #24495d;
  border-radius: 14px;
  padding: 32px 24px 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 253, 255, 0.86)),
    radial-gradient(circle at 50% 0%, rgba(139, 209, 255, 0.18), transparent 44%);
  box-shadow: 6px 6px 0 rgba(36, 73, 93, 0.88), 0 22px 54px rgba(74, 95, 112, 0.08);
  text-align: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: rotate(var(--tilt));
  transform-origin: 50% 62%;
  transition: transform 300ms cubic-bezier(0.18, 0.9, 0.2, 1), box-shadow 300ms ease, border-color 260ms ease, background 260ms ease;
}

.purpose-card::before {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  z-index: -1;
  border: 2px solid rgba(36, 73, 93, 0.2);
  border-radius: 14px;
  background: rgba(232, 247, 255, 0.36);
  transition: transform 300ms ease, opacity 300ms ease;
}

.purpose-card::after {
  content: "✨";
  position: absolute;
  top: -16px;
  right: -8px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid #24495d;
  border-radius: 999px;
  background: #fffdf8;
  color: #4f9fd8;
  font-size: 1.1rem;
  box-shadow: 3px 3px 0 rgba(36, 73, 93, 0.86);
  opacity: 0;
  transform: rotate(12deg) scale(0.86);
  transition: opacity 240ms ease, transform 300ms cubic-bezier(0.18, 0.9, 0.2, 1);
}

.purpose-card:nth-child(1) {
  --tilt: -1.4deg;
}

.purpose-card:nth-child(2) {
  --tilt: 1deg;
}

.purpose-card:nth-child(3) {
  --tilt: -0.8deg;
}

.purpose-card:nth-child(4) {
  --tilt: 1.5deg;
}

.purpose-card > * {
  position: relative;
  z-index: 1;
}

.purpose:hover .section-head .eyebrow,
.purpose:hover .section-head h2 {
  opacity: 1;
  text-shadow: 0 18px 44px rgba(80, 149, 196, 0.16);
  transform: translateY(-12px);
}

.purpose-card:hover {
  border-color: #174a77;
  box-shadow: 10px 10px 0 rgba(36, 73, 93, 0.88), 0 30px 76px rgba(72, 124, 158, 0.16);
  transform: translate(-5px, -7px) rotate(var(--tilt));
}

.purpose-card:hover::before {
  opacity: 0.78;
  transform: translate(4px, 4px);
}

.purpose-card:hover::after {
  opacity: 1;
  transform: rotate(12deg) scale(1);
}

.purpose-card h3,
.purpose-card p,
.purpose-card span {
  transition:
    transform 320ms cubic-bezier(0.18, 0.9, 0.2, 1),
    opacity 320ms ease;
}

.purpose:hover .purpose-card h3,
.purpose:hover .purpose-card p,
.purpose:hover .purpose-card span {
  opacity: 1;
  transform: translateY(-6px);
}

.purpose-card:hover h3,
.purpose-card:hover p,
.purpose-card:hover span {
  opacity: 1;
  transform: translateY(-10px);
}

.purpose-icon {
  display: grid;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  place-items: center;
  border-radius: 32px;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 300ms cubic-bezier(0.18, 0.9, 0.2, 1), box-shadow 300ms ease;
}

.purpose-card:hover .purpose-icon {
  box-shadow: none;
  transform: translate(-2px, -4px) rotate(-4deg);
}

.purpose-icon img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(47, 131, 197, 0.18));
}

.purpose-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.32;
}

.purpose-card p {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  margin: 18px 0 0;
  color: #735e55;
  font-size: 1.05rem;
  line-height: 1.55;
}

.purpose-card span {
  align-self: start;
  display: inline-flex;
  border: 2px solid rgba(36, 73, 93, 0.18);
  border-radius: 999px;
  padding: 7px 16px;
  background: rgba(232, 247, 255, 0.9);
  color: #2f73a0;
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 3px 3px 0 rgba(80, 159, 216, 0.16);
}

.floating-note {
  position: absolute;
  right: -18px;
  bottom: 34px;
  max-width: 210px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-weight: 900;
  backdrop-filter: blur(14px);
  animation: floaty 4s ease-in-out infinite;
}

.host-pair {
  display: inline-grid;
  grid-template-columns: repeat(2, max-content);
  gap: 18px;
  margin-top: 30px;
}

.dog-profile-card {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.dog-profile-card:hover,
.dog-profile-card.is-open {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: none;
}

.dog-avatar-button,
.dog-name-button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.dog-avatar-button {
  width: 74px;
  height: 74px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #dff4ff);
  box-shadow: 0 10px 24px rgba(56, 117, 160, 0.18);
}

.dog-avatar-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  transition: transform 260ms ease, border-color 260ms ease;
}

.dog-avatar-button:hover img,
.dog-profile-card.is-open .dog-avatar-button img {
  transform: scale(1.06);
  border-color: rgba(132, 206, 249, 0.82);
}

.dog-name-button {
  justify-self: start;
  min-width: 130px;
  border: 1px solid rgba(112, 180, 222, 0.48);
  border-radius: 999px;
  padding: 12px 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(224, 244, 255, 0.82));
  color: #315b72;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 10px 26px rgba(75, 139, 183, 0.12);
  transition: transform 240ms ease, color 240ms ease, border-color 240ms ease;
}

.dog-name-button:hover,
.dog-profile-card.is-open .dog-name-button {
  transform: translateX(4px);
  border-color: rgba(47, 132, 191, 0.66);
  color: #1c6ea5;
}

.dog-profile-popover {
  position: absolute;
  left: 34px;
  bottom: calc(100% + 18px);
  z-index: 30;
  width: min(320px, 80vw);
  border: 1px solid rgba(118, 181, 224, 0.34);
  border-radius: 22px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 70px rgba(47, 95, 128, 0.22);
  color: #3d5a6d;
  backdrop-filter: blur(18px);
  transform-origin: 54px 100%;
  animation: dogPopoverIn 320ms ease both;
}

.dog-profile-popover[hidden] {
  display: none;
}

.dog-profile-popover::after {
  content: "";
  position: absolute;
  left: 52px;
  bottom: -9px;
  width: 18px;
  height: 18px;
  border-right: 1px solid rgba(118, 181, 224, 0.28);
  border-bottom: 1px solid rgba(118, 181, 224, 0.28);
  background: rgba(255, 255, 255, 0.96);
  transform: rotate(45deg);
}

.dog-profile-text {
  display: grid;
  gap: 6px;
  font-size: 0.96rem;
  line-height: 1.46;
}

.dog-profile-line {
  min-height: 1.35em;
}

.dog-profile-line.is-heading,
.dog-profile-line.is-name {
  color: #1f526f;
  font-weight: 950;
}

.dog-profile-line.is-name {
  margin-top: 4px;
  text-align: right;
}

.dog-type-cursor {
  display: inline-block;
  margin-left: 2px;
  color: #2a91cf;
  animation: blink 0.8s steps(2, start) infinite;
}

@keyframes dogPopoverIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes blink {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}

.market {
  position: relative;
  overflow: hidden;
  margin-top: -1px;
  background: var(--home-flow-bg);
}

.market::before {
  display: none;
}

.market::after {
  display: none;
}

.market > * {
  position: relative;
  z-index: 1;
}

.market-tools {
  display: grid;
  grid-template-columns: minmax(250px, 390px) 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}

.market:not(.market-page) .market-tools {
  grid-template-columns: minmax(250px, 390px) auto;
  justify-content: space-between;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: white;
}

.search-box svg {
  width: 18px;
  color: var(--soft);
}

.search-box input {
  width: 100%;
  min-height: 48px;
  border: 0;
  background: transparent;
  outline: 0;
}

.filters {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filters button,
.filters a {
  border: 1px solid var(--line);
  background: white;
  color: var(--soft);
}

.filters button.active,
.filters a.active {
  background: var(--ink);
  color: var(--cream);
}

.view-all-items {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(36, 27, 24, 0.14);
  border-radius: 999px;
  padding: 0 24px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(36, 27, 24, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.view-all-items:hover {
  background: #24495d;
  box-shadow: 0 18px 38px rgba(36, 27, 24, 0.16);
  transform: translateY(-2px);
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.market:not(.market-page) .item-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.market:not(.market-page) .item-card {
  padding: 8px;
}

.market:not(.market-page) .item-image img {
  aspect-ratio: 1 / 0.9;
}

.market:not(.market-page) .item-body {
  align-items: flex-start;
  padding-top: 12px;
}

.market:not(.market-page) .item-body h3 {
  font-size: 0.95rem;
}

.item-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: white;
  box-shadow: 0 12px 34px rgba(50, 30, 20, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.item-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px) rotate(-0.45deg);
}

.item-image {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #f6eadf;
}

.item-image img {
  width: 100%;
  aspect-ratio: 1 / 0.94;
  object-fit: cover;
  transition: transform 500ms ease;
}

.item-card:hover .item-image img {
  transform: scale(1.06);
}

.item-image span {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.item-body {
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px 6px;
}

.item-body h3 {
  margin-bottom: 6px;
  font-size: 1.02rem;
  line-height: 1.15;
}

.item-body p,
.impact {
  margin: 0;
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 720;
}

.item-body p {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.item-body svg,
.impact svg {
  width: 15px;
  color: var(--coral);
}

.item-body strong {
  flex-shrink: 0;
  font-size: 1.15rem;
}

.impact {
  gap: 6px;
  padding: 0 4px 14px;
}

.buy-button {
  width: 100%;
  margin-top: auto;
  background: linear-gradient(135deg, #8bd1ff, #4f9fd8);
  color: #f8fcff;
  box-shadow: 0 14px 30px rgba(55, 142, 199, 0.2);
}

.buy-button:hover {
  background: linear-gradient(135deg, #75c8fb, #2f83c5);
  box-shadow: 0 18px 38px rgba(55, 142, 199, 0.28);
}

.market-page {
  position: relative;
  min-height: 100svh;
  padding-top: clamp(128px, 12vw, 162px);
  background:
    radial-gradient(circle at 14% 4%, rgba(183, 232, 255, 0.6), transparent 34%),
    radial-gradient(circle at 86% 8%, rgba(203, 239, 255, 0.62), transparent 36%),
    linear-gradient(180deg, #fffdf8 0%, #f3fbff 18%, #edf8ff 58%, #fffdf8 100%);
}

.market-page .section-head {
  margin-bottom: 28px;
}

.market-page h1 {
  margin: 0 0 12px;
  color: #24495d;
  font-size: clamp(4.2rem, 11vw, 8.5rem);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: 0;
}

.market-page .market-tools,
.market-page-status,
.market-full-grid,
.pagination {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

.market-page-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: #536a78;
  font-weight: 800;
}

.market-detail {
  min-height: 72px;
  margin: 0;
  padding: 0 4px 12px;
  color: #6f5e56;
  font-size: 0.9rem;
  line-height: 1.45;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.pagination button,
.pagination span {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 850;
}

.pagination button {
  border: 1px solid rgba(36, 27, 24, 0.14);
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.78);
  color: #24495d;
  box-shadow: 0 12px 28px rgba(45, 82, 104, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.pagination button:not(:disabled):hover {
  background: rgba(232, 247, 255, 0.92);
  box-shadow: 0 16px 34px rgba(45, 82, 104, 0.13);
  transform: translateY(-2px);
}

.pagination button:disabled {
  opacity: 0.42;
}

.pagination span {
  min-width: 126px;
  padding: 0 18px;
  background: rgba(255, 253, 248, 0.62);
  color: #536a78;
}

.transparency {
  margin-top: -1px;
  background: var(--home-flow-bg);
}

.transparency .section-head h2 {
  line-height: 1.08;
}

html[lang^="zh"] .transparency .section-head h2 {
  line-height: 1.24;
}

.transparency .section-head > p:last-child {
  line-height: 1.6;
}

html[lang^="zh"] .transparency .section-head > p:last-child {
  line-height: 1.85;
}

.donation-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.donation-total,
.donation-list {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 253, 248, 0.68)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(72, 38, 25, 0.12);
  transition: transform 700ms cubic-bezier(0.18, 0.9, 0.22, 1), box-shadow 280ms ease;
}

.donation-total > *,
.donation-list > * {
  position: relative;
  z-index: 2;
}

.donation-total:hover,
.donation-list:hover {
  box-shadow: 0 30px 88px rgba(72, 38, 25, 0.16);
  transform: translateY(-4px);
}

.donation-total {
  padding: clamp(26px, 4vw, 48px);
}

.donation-total::before,
.donation-total::after,
.donation-list::before,
.donation-list::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background: rgba(36, 27, 24, 0.055);
  transition: transform 900ms cubic-bezier(0.18, 0.9, 0.22, 1), opacity 280ms ease;
}

.donation-total::before {
  width: 210px;
  height: 210px;
  top: 26px;
  right: 28px;
  border-radius: 50%;
}

.donation-total::after {
  width: 226px;
  height: 92px;
  right: 18px;
  bottom: 46px;
  border-radius: 999px;
}

.donation-total:hover::before {
  transform: scaleY(0.54) translateY(-22px);
}

.donation-total:hover::after {
  transform: scaleY(2.05) translateY(-12px);
}

.donation-total span,
.donation-total p {
  color: var(--soft);
  font-weight: 800;
}

.donation-total strong {
  display: block;
  margin: 10px 0;
  font-size: clamp(3.6rem, 7vw, 6.2rem);
  line-height: 0.92;
}

.donation-total small {
  margin-right: 8px;
  color: var(--soft);
  font-size: 0.34em;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.mini-metrics span {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.mini-metrics b {
  display: block;
  color: var(--ink);
  font-size: 1.7rem;
}

.donation-list {
  padding: 18px;
}

.donation-list::before,
.donation-list::after {
  width: 178px;
  height: 178px;
  border-radius: 18px;
}

.donation-list::before {
  display: none;
}

.donation-list::after {
  display: none;
}

.donation-list:hover::before {
  transform: translateY(132px) rotate(90deg) scaleX(1.62);
}

.donation-list:hover::after {
  transform: translateY(-118px) rotate(90deg) scaleX(1.42);
}

.list-title {
  justify-content: space-between;
  padding: 10px 8px 16px;
}

.list-title a,
.report-static-link {
  color: var(--coral);
  font-weight: 900;
}

.report-static-link,
.footer-static-link {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: default;
  font: inherit;
  text-align: inherit;
}

.report-static-link {
  color: var(--coral);
}

.donation-list article,
.admin-main article {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 18px 8px;
}

.donation-list article {
  border-radius: 10px;
  transition: background 180ms ease, transform 180ms ease;
}

.donation-list article:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(4px);
}

.donation-list h3,
.admin-main h3 {
  margin-bottom: 3px;
  font-size: 1rem;
}

.donation-list p,
.admin-main p {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--soft);
  font-weight: 720;
}

.donation-list svg {
  width: 15px;
  color: var(--coral);
}

.donation-list button,
.admin-dashboard button {
  min-height: 36px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.faq-section {
  position: relative;
  overflow: hidden;
  margin-top: -1px;
  background: var(--home-flow-bg);
}

.faq-section::before {
  display: none;
}

.faq-section > * {
  position: relative;
  z-index: 1;
}

.faq-section .section-head h2 {
  color: #24495d;
  line-height: 1.16;
}

.faq-section .section-head > p:last-child {
  max-width: 760px;
  margin-inline: auto;
  color: #5f7482;
  font-weight: 760;
  line-height: 1.7;
}

html[lang^="zh"] .faq-section .section-head > p:last-child {
  line-height: 1.9;
}

.faq-accordion {
  display: grid;
  gap: 16px;
  width: min(880px, calc(100vw - 44px));
  margin: clamp(34px, 4vw, 48px) auto 0;
}

.faq-item {
  display: grid;
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(142, 200, 238, 0.44);
  border-radius: 22px;
  padding: 16px 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(242, 250, 255, 0.72)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(36, 73, 93, 0.1);
  color: #24495d;
  cursor: pointer;
  text-align: left;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.faq-question:hover,
.faq-item.is-open .faq-question {
  border-color: rgba(25, 128, 200, 0.44);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(226, 244, 255, 0.86)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 54px rgba(36, 73, 93, 0.15);
  transform: translateY(-2px);
}

.faq-help,
.faq-chevron,
.faq-message {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #1f79b7;
  background: rgba(222, 244, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(142, 200, 238, 0.5), 0 10px 22px rgba(36, 73, 93, 0.08);
}

.faq-help {
  width: 42px;
  height: 34px;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.faq-question-label {
  flex: 1;
  color: #24495d;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 900;
  letter-spacing: 0;
}

.faq-chevron {
  width: 32px;
  height: 32px;
  color: #24495d;
  font-size: 1.22rem;
  transition: transform 240ms ease, background 220ms ease, color 220ms ease;
}

.faq-item.is-open .faq-chevron {
  color: white;
  background: #1f79b7;
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 300ms ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  min-height: 0;
}

.faq-answer-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin: 14px 0 0 58px;
  border: 1px solid rgba(142, 200, 238, 0.34);
  border-radius: 22px;
  padding: 20px 20px 20px 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 250, 255, 0.82)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 50px rgba(36, 73, 93, 0.11);
}

.faq-answer-text {
  display: grid;
  gap: 10px;
  color: #536a78;
  font-size: clamp(0.98rem, 1.15vw, 1.06rem);
  font-weight: 700;
  line-height: 1.74;
}

html[lang^="zh"] .faq-answer-text {
  line-height: 1.95;
}

.faq-answer-text p,
.faq-answer-text ul {
  margin: 0;
}

.faq-answer-text ul {
  display: grid;
  gap: 6px;
  padding-left: 20px;
}

.faq-answer-text strong {
  color: #24495d;
  font-weight: 950;
}

.faq-message {
  width: 38px;
  height: 38px;
}

.faq-message svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.story {
  background: #f5f0e8;
}

.story-copy {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.story-title {
  display: grid;
  width: min(1180px, calc(100vw - 40px));
  margin-left: 50%;
  justify-items: center;
  text-align: center;
  transform: translateX(-50%);
}

.story-title span {
  display: block;
  white-space: nowrap;
}

.story-title span + span {
  margin-top: clamp(0.12em, 1vw, 0.24em);
}

.story-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  width: min(1320px, calc(100vw - 64px));
  margin: clamp(58px, 6vw, 84px) auto 0;
  padding: 0;
  background: transparent;
}

.story-gallery.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.story-card {
  position: relative;
  min-height: clamp(260px, 23vw, 380px);
  overflow: hidden;
  border: 1px solid rgba(185, 222, 247, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  cursor: none;
  box-shadow: 0 22px 58px rgba(45, 82, 104, 0.13);
  isolation: isolate;
  opacity: 0;
  transform: translateY(22px);
  animation: storyGridIn 560ms cubic-bezier(0.18, 0.9, 0.22, 1) forwards;
  animation-delay: var(--story-delay, 0ms);
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.story-card:nth-child(3n + 1) {
  min-height: clamp(320px, 29vw, 460px);
}

.story-card:nth-child(5n + 2) {
  min-height: clamp(230px, 20vw, 330px);
}

.story-card:nth-child(7n + 4) {
  min-height: clamp(280px, 25vw, 410px);
}

.story-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 42, 64, 0.56) 0%, rgba(13, 42, 64, 0.18) 34%, transparent 68%);
}

.story-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transition: transform 520ms ease, filter 420ms ease;
}

.story-card span {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  max-width: calc(100% - 36px);
  color: #fff;
  font-size: clamp(0.92rem, 1vw, 1.05rem);
  font-weight: 900;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(13, 42, 64, 0.38);
}

.story-card span::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background:
    url("brand-logo-top.png") center / 78% auto no-repeat,
    rgba(255, 255, 255, 0.86);
  vertical-align: middle;
  box-shadow: 0 8px 22px rgba(13, 42, 64, 0.16);
}

.story-card:hover,
.story-card:focus-within {
  border-color: rgba(83, 165, 223, 0.76);
  box-shadow: 0 28px 78px rgba(45, 82, 104, 0.23);
  transform: translateY(-7px) scale(1.018);
}

.story-card:hover img,
.story-card:focus-within img {
  transform: scale(1.055);
  filter: saturate(1.1) contrast(1.04);
}

@keyframes storyGridIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.partner {
  position: relative;
  overflow: hidden;
  background: #b8d9b0;
  isolation: isolate;
}

.partner-video,
.partner-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.partner-video {
  z-index: -2;
  object-fit: cover;
  filter: saturate(1.08) brightness(0.92);
  transform: scale(1.02);
}

.partner-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(184, 217, 176, 0.52), rgba(184, 217, 176, 0.16) 44%, rgba(255, 248, 239, 0.16)),
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.24), transparent 36%);
}

.partner-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 0.42fr);
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 16px;
  padding: clamp(28px, 5vw, 60px);
  background:
    linear-gradient(115deg, rgba(237, 250, 234, 0.5), rgba(237, 250, 234, 0.28) 42%, rgba(255, 255, 255, 0.2)),
    rgba(213, 239, 207, 0.24);
  box-shadow: 0 28px 84px rgba(25, 64, 40, 0.22);
  backdrop-filter: blur(20px) saturate(1.28);
  -webkit-backdrop-filter: blur(20px) saturate(1.28);
}

.partner-name {
  color: var(--ink) !important;
  font-weight: 900;
}

.partner-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.logo-tile {
  display: grid;
  place-items: center;
  height: 58px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 12px 30px rgba(25, 64, 40, 0.12);
}

.logo-tile-dark {
  width: 174px;
  background: rgba(20, 20, 20, 0.78);
}

.logo-tile-light {
  width: 90px;
  background: rgba(255, 255, 255, 0.8);
}

.logo-tile img {
  max-width: 78%;
  max-height: 68%;
  object-fit: contain;
}

.logo-tile-light img {
  max-width: 72%;
  max-height: 76%;
  border-radius: 4px;
}

.partner-facts {
  display: grid;
  gap: 10px;
}

.partner-facts span {
  display: grid;
  gap: 4px;
  border-radius: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.34);
  color: var(--soft);
  font-weight: 800;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.partner-facts b {
  color: var(--ink);
}

.sell {
  background:
    radial-gradient(circle at 85% 15%, rgba(246, 182, 189, 0.45), transparent 28%),
    var(--paper);
}

.sell-page {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  padding-top: clamp(118px, 12vw, 150px);
  background: linear-gradient(135deg, #fffdf8 0%, #eef9ff 100%);
  isolation: isolate;
}

.sell-page::before,
.sell-page::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.sell-page::before {
  inset: -20%;
  z-index: 0;
  background:
    repeating-linear-gradient(102deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.94) 7%, transparent 10%, transparent 12%, rgba(255, 255, 255, 0.74) 16%),
    repeating-linear-gradient(102deg, rgba(142, 200, 238, 0.42) 10%, rgba(180, 205, 255, 0.34) 15%, rgba(160, 224, 255, 0.4) 20%, rgba(246, 182, 189, 0.26) 25%, rgba(142, 200, 238, 0.34) 30%);
  background-size: 300% 200%, 220% 160%;
  background-position: 50% 50%, 50% 50%;
  filter: blur(14px) saturate(1.08);
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at 100% 0%, black 8%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 8%, transparent 72%);
  animation: sellAurora 38s linear infinite;
}

.sell-page::after {
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(246, 195, 95, 0.16), transparent 32%),
    radial-gradient(circle at 82% 10%, rgba(143, 220, 255, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.64), rgba(238, 249, 255, 0.7));
}

.sell-page .section-head {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.sell-page .section-head > p:last-child {
  max-width: 900px;
  margin-inline: auto;
}

.sell-page h1 {
  margin: 0 0 14px;
  font-size: clamp(4.5rem, 12vw, 8.4rem);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: 0;
}

.story-message-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding-top: clamp(108px, 10vw, 132px);
  background: linear-gradient(135deg, #fffdf8 0%, #eef9ff 100%);
  color: var(--ink);
  isolation: isolate;
}

.story-message-page::before,
.story-message-page::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.story-message-page::before {
  inset: -20%;
  z-index: 0;
  background:
    repeating-linear-gradient(102deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.94) 7%, transparent 10%, transparent 12%, rgba(255, 255, 255, 0.72) 16%),
    repeating-linear-gradient(102deg, rgba(142, 200, 238, 0.42) 10%, rgba(180, 205, 255, 0.34) 15%, rgba(160, 224, 255, 0.4) 20%, rgba(246, 182, 189, 0.22) 25%, rgba(142, 200, 238, 0.34) 30%);
  background-size: 300% 200%, 220% 160%;
  background-position: 50% 50%, 50% 50%;
  filter: blur(14px) saturate(1.08);
  opacity: 0.52;
  mask-image: radial-gradient(ellipse at 100% 0%, black 8%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 8%, transparent 72%);
  animation: sellAurora 38s linear infinite;
}

.story-message-page::after {
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(246, 195, 95, 0.14), transparent 32%),
    radial-gradient(circle at 82% 10%, rgba(143, 220, 255, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.58), rgba(238, 249, 255, 0.66));
}

.story-message-hero {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto clamp(22px, 4vw, 52px);
  padding: 0 0 4px;
  text-align: center;
}

.story-message-hero h1 {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 30px);
  margin: 8px 0 16px;
  font-size: clamp(3.3rem, 7.2vw, 6.4rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0;
}

.story-message-name {
  position: relative;
  display: inline-block;
  width: fit-content;
  margin: 0 auto;
  padding: 0 0 12px;
}

.story-message-name svg {
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: min(100%, 360px);
  height: 26px;
  overflow: visible;
  color: #2f91d2;
  transform: translateX(-50%);
  pointer-events: none;
}

.story-message-name path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 330;
  stroke-dashoffset: 330;
  filter: drop-shadow(0 6px 12px rgba(47, 145, 210, 0.18));
  animation: storyUnderlineDraw 1.5s ease-in-out 0.35s forwards;
}

.story-message-hero > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: #536a78;
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  font-weight: 760;
  line-height: 1.55;
}

.story-message-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(30px, 5vw, 76px);
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 clamp(52px, 8vw, 96px);
  align-items: center;
}

.story-message-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(14px, 1.6vw, 22px);
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  align-self: start;
}

.story-message-photo {
  position: relative;
  display: block;
  width: 100%;
  min-height: clamp(220px, 18vw, 280px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 20px 60px rgba(45, 82, 104, 0.16);
  cursor: pointer;
  isolation: isolate;
  transform: translateY(0);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, filter 260ms ease;
}

.story-message-photo-large {
  grid-row: span 2;
  min-height: clamp(420px, 43vw, 560px);
}

.story-message-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 420ms ease, filter 260ms ease;
}

.story-photo-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12, 36, 54, 0.68) 0%, rgba(12, 36, 54, 0.26) 32%, rgba(12, 36, 54, 0) 68%);
  pointer-events: none;
}

.story-photo-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(14px, 2vw, 20px);
  color: #fff;
  text-align: left;
  pointer-events: none;
}

.story-photo-person {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.story-photo-person img {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.story-photo-caption {
  max-width: 90%;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  font-weight: 820;
  line-height: 1.25;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
}

.story-message-photo:hover,
.story-message-photo:focus-visible {
  transform: translateY(-6px) scale(1.018);
  border-color: rgba(112, 194, 243, 0.74);
  box-shadow: 0 28px 76px rgba(45, 82, 104, 0.2);
}

.story-message-photo:hover > img,
.story-message-photo:focus-visible > img {
  transform: scale(1.055);
}

.story-message-photo.is-active {
  border-color: rgba(47, 145, 210, 0.78);
  box-shadow: 0 30px 80px rgba(47, 145, 210, 0.22);
}

.story-message-photo.is-active::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 16px;
  pointer-events: none;
}

.story-message-controls {
  position: absolute;
  left: 50%;
  bottom: 4px;
  z-index: 6;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.story-message-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(36, 73, 93, 0.18);
  border-radius: 50%;
  background: rgba(232, 247, 255, 0.9);
  color: #1876b4;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(45, 82, 104, 0.1);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.story-message-controls button:hover,
.story-message-controls button:focus-visible,
.story-message-controls button:active {
  background: #2f91d2;
  color: #fff;
  transform: translateY(-2px);
}

.story-message-copy {
  min-height: clamp(420px, 50vw, 560px);
  border: 1px solid rgba(83, 106, 120, 0.16);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.66);
  color: #5e6f78;
  box-shadow: 0 26px 80px rgba(45, 82, 104, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.story-message-copy.is-changing {
  animation: messageFloatUp 540ms cubic-bezier(0.18, 0.9, 0.22, 1) both;
}

.story-message-copy p {
  margin: 0 0 1.05em;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  font-weight: 650;
  line-height: 1.8;
}

html[lang^="zh"] .story-message-hero h1 {
  gap: clamp(20px, 2.4vw, 36px);
  line-height: 1.12;
}

html[lang^="zh"] .story-message-copy p {
  line-height: 2;
  letter-spacing: 0.02em;
}

.story-message-copy p:first-child,
.story-message-copy p:nth-last-child(-n + 2) {
  color: #24495d;
  font-weight: 850;
}

@keyframes messageFloatUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes storyUnderlineDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.sell-animated-title {
  position: relative;
  display: inline-grid;
  gap: clamp(10px, 1vw, 14px);
  width: fit-content;
  transform-origin: 50% 70%;
  animation: sellTitleIn 720ms cubic-bezier(0.18, 0.9, 0.2, 1) both;
  transition: transform 220ms ease, filter 220ms ease;
}

.sell-animated-title:hover {
  filter: drop-shadow(0 14px 30px rgba(111, 94, 86, 0.14));
  transform: translateY(-3px) scale(1.015);
}

.sell-animated-title span {
  position: relative;
  z-index: 1;
}

.sell-animated-title svg {
  width: min(100%, 560px);
  height: clamp(18px, 2.2vw, 28px);
  color: rgba(229, 111, 98, 0.78);
  overflow: visible;
}

.sell-animated-title path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: sellUnderlineDraw 1.35s 360ms ease-in-out forwards, sellUnderlineFloat 4.2s 1.8s ease-in-out infinite;
}

.sell-animated-title:hover path {
  animation: sellUnderlineDraw 0.85s ease-in-out forwards, sellUnderlineFloat 2.4s 0.85s ease-in-out infinite;
  stroke-width: 3.4;
}

.seller-form,
.purchase-modal form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.seller-form {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 26px 80px rgba(72, 38, 25, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: white;
  color: var(--ink);
  outline: none;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(229, 111, 98, 0.12);
}

.wide {
  grid-column: 1 / -1;
}

.upload {
  min-height: 110px;
  place-items: center;
  border: 1px dashed rgba(36, 27, 24, 0.28);
  border-radius: 8px;
  background: #fff8ef;
  text-align: center;
}

.upload svg {
  width: 28px;
  color: var(--coral);
}

.upload input {
  border: 0;
  padding: 0;
  background: transparent;
}

.form-success {
  margin: 0;
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(184, 217, 176, 0.52);
  color: #2d5b3f;
  font-weight: 900;
}

.join-page {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  padding-top: clamp(118px, 11vw, 148px);
  background:
    radial-gradient(circle at 12% 0%, rgba(183, 232, 255, 0.7), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(205, 238, 255, 0.72), transparent 36%),
    linear-gradient(135deg, #fbfdff 0%, #eef9ff 52%, #f8fcff 100%);
  color: var(--ink);
  isolation: isolate;
}

.join-aurora {
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(102deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.94) 7%, transparent 10%, transparent 12%, rgba(255, 255, 255, 0.72) 16%),
    repeating-linear-gradient(102deg, rgba(142, 200, 238, 0.48) 10%, rgba(180, 205, 255, 0.34) 15%, rgba(160, 224, 255, 0.46) 20%, rgba(246, 182, 189, 0.24) 25%, rgba(142, 200, 238, 0.38) 30%);
  background-size: 300% 200%, 220% 160%;
  background-position: 50% 50%, 50% 50%;
  filter: blur(14px) saturate(1.08);
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 72%);
  animation: sellAurora 38s linear infinite;
}

.join-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 14%, rgba(142, 200, 238, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.76), rgba(238, 249, 255, 0.72));
}

.join-shell {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.join-head {
  max-width: 820px;
  margin-bottom: clamp(28px, 4vw, 42px);
}

.join-head .eyebrow {
  color: #24495d;
  font-weight: 940;
}

.join-head h1 {
  margin: 0 0 18px;
  font-size: clamp(2.75rem, 5.7vw, 4.75rem);
  font-weight: 930;
  line-height: 1.16;
  letter-spacing: 0;
}

.join-head h1 span {
  display: block;
}

.join-head p {
  color: #4f6574;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 540;
  line-height: 1.75;
}

.join-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.9fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
}

.join-card {
  border: 1px solid rgba(90, 168, 223, 0.36);
  border-radius: 16px;
  padding: clamp(22px, 3vw, 28px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 249, 255, 0.76)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 74px rgba(45, 82, 104, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #4f6574;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.join-card-large {
  border-color: rgba(47, 128, 189, 0.5);
}

.join-card:hover {
  border-color: rgba(47, 128, 189, 0.74);
  box-shadow: 0 34px 90px rgba(47, 128, 189, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transform: translateY(-5px);
}

.join-card h2 {
  margin: 18px 0 12px;
  color: #183346;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.15;
}

.join-card h3 {
  margin: 22px 0 10px;
  color: #1f79b5;
  font-size: 0.95rem;
}

.join-card p {
  color: #4f6574;
  font-weight: 520;
  line-height: 1.7;
}

.join-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.join-card li {
  color: #4f6574;
  line-height: 1.62;
}

.join-card strong {
  color: #183346;
}

.join-badge,
.join-tags span,
.join-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 860;
}

.join-badge {
  min-height: 30px;
  padding: 0 14px;
  background: linear-gradient(135deg, #5aa8df, #2f80bd);
  color: white;
  font-size: 0.78rem;
  box-shadow: 0 12px 28px rgba(47, 128, 189, 0.2);
}

.join-badge-muted {
  background: linear-gradient(135deg, #74bdea, #3f91ca);
}

.join-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.join-tags span {
  min-height: 28px;
  padding: 0 12px;
  background: rgba(232, 247, 255, 0.94);
  color: #24495d;
  font-size: 0.82rem;
  box-shadow: inset 0 0 0 1px rgba(90, 168, 223, 0.12);
}

.join-cta {
  width: 100%;
  min-height: 50px;
  margin-top: 28px;
  background: linear-gradient(135deg, #5aa8df, #2f80bd);
  color: white;
  box-shadow: 0 18px 40px rgba(47, 128, 189, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.join-cta:hover {
  background: linear-gradient(135deg, #6bb8eb, #247db9);
  box-shadow: 0 22px 48px rgba(47, 128, 189, 0.32);
  transform: translateY(-2px);
}

.admin {
  background: #1f1816;
  color: var(--cream);
}

.admin-page {
  min-height: 100svh;
  padding-top: clamp(128px, 12vw, 156px);
}

.admin-page .section-head h1 {
  margin: 0 0 16px;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
}

.admin .section-head p {
  color: rgba(255, 248, 239, 0.72);
}

.admin-dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  max-width: 1120px;
}

.admin-dashboard aside,
.admin-main {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
}

.admin-dashboard aside {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.admin-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--honey);
  color: var(--ink);
}

.admin-dashboard aside span,
.admin-main p,
.admin-topline span {
  color: rgba(255, 248, 239, 0.68);
}

.admin-dashboard button {
  background: rgba(255, 255, 255, 0.12);
  color: var(--cream);
}

.admin-main {
  padding: 18px;
}

.admin-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 16px;
}

.admin-main article {
  grid-template-columns: 120px 1fr auto;
}

.admin-main article.admin-new-order {
  margin: 12px 0;
  border: 1px solid rgba(246, 195, 95, 0.28);
  border-radius: 14px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(246, 195, 95, 0.08)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.admin-main article.admin-new-order > span {
  background: rgba(229, 111, 98, 0.24);
  color: #ffd8cf;
}

.admin-main .admin-order-detail {
  margin-top: 4px;
  color: rgba(255, 248, 239, 0.56);
  font-size: 0.86rem;
}

.admin-main article > span {
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(246, 195, 95, 0.16);
  color: #ffdea2;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 900;
}

.footer {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(560px, 1.1fr);
  gap: clamp(40px, 6vw, 78px);
  align-items: start;
  min-height: 44vh;
  padding: clamp(112px, 9vw, 126px) clamp(20px, 5vw, 72px) 22px;
  background: var(--ink);
  color: var(--cream);
  isolation: isolate;
}

.footer > .footer-brand,
.footer nav,
.footer-bottom {
  position: relative;
  z-index: 3;
}

.footer > .footer-brand {
  max-width: 620px;
}

.footer-aurora,
.footer-grid,
.footer-giant,
.footer-marquee {
  position: absolute;
  pointer-events: none;
}

.footer-aurora {
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 74vw;
  height: 48vh;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 48%, rgba(246, 182, 189, 0.16), transparent 42%),
    radial-gradient(circle at 58% 50%, rgba(142, 200, 238, 0.11), transparent 58%);
  filter: blur(70px);
  transform: translate(-50%, -50%);
  animation: footerBreathe 8s ease-in-out infinite alternate;
}

.footer-grid {
  inset: 0;
  z-index: 1;
  background-size: 58px 58px;
  background-image:
    linear-gradient(to right, rgba(255, 248, 239, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 248, 239, 0.035) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, transparent, black 24%, black 72%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 24%, black 72%, transparent);
}

.footer-giant {
  left: 50%;
  bottom: -3vw;
  z-index: 1;
  color: transparent;
  font-size: clamp(6rem, 15vw, 17rem);
  font-weight: 950;
  line-height: 0.74;
  letter-spacing: -0.05em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 248, 239, 0.055);
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.08), transparent 65%);
  background-clip: text;
  -webkit-background-clip: text;
  transform: translateX(-50%);
}

.footer-marquee {
  top: 42px;
  left: -5%;
  z-index: 4;
  width: 110%;
  overflow: hidden;
  border-top: 1px solid rgba(255, 248, 239, 0.09);
  border-bottom: 1px solid rgba(255, 248, 239, 0.09);
  padding: 12px 0;
  background: rgba(255, 248, 239, 0.035);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  transform: rotate(-2deg);
  backdrop-filter: blur(14px);
}

.footer-marquee div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 28px;
  color: rgba(255, 248, 239, 0.56);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: footerMarquee 38s linear infinite;
}

.footer-marquee b {
  color: rgba(246, 182, 189, 0.72);
}

.footer h2 {
  margin: 0 0 8px;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 0.9;
}

.footer p {
  max-width: 560px;
  color: rgba(255, 248, 239, 0.7);
}

.footer nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-content: start;
  justify-self: stretch;
  margin-top: 4px;
  width: 100%;
  max-width: 980px;
}

.footer nav a {
  border: 1px solid rgba(255, 248, 239, 0.12);
  border-radius: 999px;
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  background: linear-gradient(145deg, rgba(255, 248, 239, 0.05), rgba(255, 248, 239, 0.018));
  box-shadow:
    0 18px 40px -22px rgba(0, 0, 0, 0.7),
    inset 0 1px 1px rgba(255, 248, 239, 0.1);
  color: rgba(255, 248, 239, 0.82);
  backdrop-filter: blur(16px);
  font-weight: 800;
  text-align: center;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.footer nav a:hover {
  border-color: rgba(255, 248, 239, 0.28);
  background: linear-gradient(145deg, rgba(255, 248, 239, 0.1), rgba(255, 248, 239, 0.04));
  color: var(--cream);
  transform: translateY(-3px);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  margin: clamp(34px, 4vw, 58px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
}

.footer-bottom p {
  margin: 0;
}

.footer-made {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  border: 1px solid rgba(255, 248, 239, 0.12);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 248, 239, 0.045);
  color: rgba(255, 248, 239, 0.66);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.footer-made b {
  color: var(--rose);
  animation: footerHeartbeat 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.footer-top {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 248, 239, 0.12);
  border-radius: 50%;
  background: rgba(255, 248, 239, 0.045);
  color: rgba(255, 248, 239, 0.72);
  font-size: 1.15rem;
  font-weight: 900;
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, color 220ms ease, background 220ms ease;
}

.footer-top:hover {
  background: rgba(255, 248, 239, 0.1);
  color: var(--cream);
  transform: translateY(-5px);
}

.footer-simple {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  column-gap: clamp(34px, 5vw, 76px);
  row-gap: 26px;
  align-items: start;
  min-height: auto;
  padding: clamp(46px, 4.8vw, 66px) clamp(28px, 6vw, 72px) 20px;
  background:
    radial-gradient(circle at 12% 0%, rgba(142, 200, 238, 0.24), transparent 34%),
    linear-gradient(180deg, #fffdf8 0%, #edf8ff 100%);
  color: #24495d;
}

.footer-simple .footer-brand,
.footer-simple .footer-menu,
.footer-simple .footer-statement,
.footer-simple .footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-simple .footer-brand {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: min(250px, 100%);
  align-items: center;
  flex-direction: column;
  justify-self: center;
  margin-left: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #24495d;
  font-size: 1.35rem;
  font-weight: 950;
}

.footer-logo-image {
  width: 240px;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.footer-social a {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(83, 106, 120, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #24495d;
  box-shadow: 0 12px 28px rgba(45, 82, 104, 0.1);
}

.footer-social a:hover {
  background: rgba(232, 247, 255, 0.92);
  color: #24495d;
  transform: translateY(-3px);
}

.footer-social svg {
  width: 24px;
  height: 24px;
}

.footer-social img {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  object-fit: cover;
}

.footer-social svg path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-simple .footer-menu {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(118px, 1fr));
  gap: clamp(22px, 4vw, 62px);
  align-items: start;
}

.footer-statement {
  grid-column: 2;
  grid-row: 2;
  width: min(780px, 100%);
  align-self: start;
  margin-top: 0;
  color: #536a78;
}

.footer-statement p {
  margin: 0;
  max-width: 760px;
  color: #536a78;
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  font-weight: 780;
  line-height: 1.65;
}

.footer-simple h3 {
  margin: 0 0 16px;
  color: #24495d;
  font-size: 1rem;
  font-weight: 950;
}

.footer-simple ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-simple a,
.footer-static-link {
  color: #536a78;
  font-weight: 780;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-simple .footer-menu a,
.footer-simple .footer-bottom-links a,
.footer-static-link {
  display: inline-flex;
  min-height: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: #536a78;
  backdrop-filter: none;
}

.footer-simple .footer-menu a:hover,
.footer-simple .footer-bottom-links a:hover {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #24495d;
  transform: translateX(2px);
}

.footer-simple .footer-bottom {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 4px;
  border-top: 1px solid rgba(83, 106, 120, 0.16);
  padding-top: 14px;
}

.footer-simple .footer-bottom p {
  margin: 0;
  color: #607483;
  font-size: 0.92rem;
  font-weight: 760;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-simple .footer-top {
  border-color: rgba(83, 106, 120, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: #24495d;
  box-shadow: 0 14px 32px rgba(45, 82, 104, 0.12);
}

.footer-simple .footer-top:hover {
  background: rgba(232, 247, 255, 0.9);
  color: #24495d;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(23, 16, 14, 0.66);
  backdrop-filter: blur(10px);
}

.modal-backdrop[hidden] {
  display: none !important;
}

.purchase-modal {
  position: relative;
  width: min(760px, 100%);
  max-height: min(820px, calc(100svh - 36px));
  overflow: auto;
  border-radius: 8px;
  padding: clamp(18px, 3vw, 32px);
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-size: 1.7rem;
  line-height: 1;
}

.purchase-summary {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  padding-right: 36px;
}

.purchase-summary img {
  width: 160px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.purchase-summary span,
.purchase-summary p {
  color: var(--soft);
  font-weight: 800;
}

.purchase-summary h2 {
  margin: 4px 0 4px;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1;
}

.purchase-summary strong {
  font-size: 1.7rem;
}

.payment-note {
  grid-column: 1 / -1;
  gap: 8px;
  margin: 0;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff1d1;
  color: #67472c;
  font-weight: 850;
}

.floating-apply {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--coral);
  color: white;
  box-shadow: var(--shadow);
  font-weight: 900;
}

.floating-apply svg {
  width: 18px;
}

.spark-field {
  position: fixed;
  inset: auto 28px 84px auto;
  z-index: 35;
  display: grid;
  gap: 10px;
  color: var(--rose);
  pointer-events: none;
}

.spark-field svg {
  width: 20px;
  animation: sparkle 2.8s ease-in-out infinite;
}

.spark-field svg:nth-child(2) {
  animation-delay: 0.6s;
}

.spark-field svg:nth-child(3) {
  animation-delay: 1.2s;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.28;
    transform: translateY(0) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: translateY(-8px) rotate(12deg);
  }
}

@keyframes sparkleText {
  0% {
    opacity: 0;
    transform: scale(0) rotate(75deg);
  }

  45% {
    opacity: 1;
    transform: scale(var(--s)) rotate(120deg);
  }

  100% {
    opacity: 0;
    transform: scale(0) rotate(150deg);
  }
}

@keyframes typeBlink {
  0%,
  46% {
    opacity: 1;
  }

  47%,
  100% {
    opacity: 0;
  }
}

@keyframes hostsAurora {
  from {
    background-position: 50% 50%, 50% 50%;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  to {
    background-position: 350% 50%, 320% 50%;
    transform: translate3d(-4%, 2%, 0) rotate(2deg);
  }
}

@keyframes sellAurora {
  from {
    background-position: 50% 50%, 50% 50%;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  to {
    background-position: 350% 50%, 320% 50%;
    transform: translate3d(-4%, 2%, 0) rotate(2deg);
  }
}

@keyframes purposeAurora {
  from {
    background-position: 50% 50%, 50% 50%;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  to {
    background-position: 340% 50%, 310% 50%;
    transform: translate3d(-3%, 2%, 0) rotate(1.5deg) scale(1.03);
  }
}

@keyframes sellTitleIn {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sellUnderlineDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes sellUnderlineFloat {
  0%,
  100% {
    d: path("M 0,12 Q 75,2 150,12 Q 225,22 300,12");
  }

  50% {
    d: path("M 0,12 Q 75,22 150,12 Q 225,2 300,12");
  }
}

@keyframes vapourTextFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes vapourMist {
  0%,
  100% {
    opacity: 0.34;
    transform: translate3d(0.02em, -0.02em, -18px) scale(1.02);
  }

  45% {
    opacity: 0.66;
    transform: translate3d(0.12em, -0.08em, -18px) scale(1.07);
  }

  70% {
    opacity: 0.42;
    transform: translate3d(-0.06em, 0.03em, -18px) scale(1.04);
  }
}

@keyframes heroTextFloatUp {
  from {
    opacity: 0;
    transform: translateY(34px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes footerBreathe {
  from {
    opacity: 0.54;
    transform: translate(-50%, -50%) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes footerMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes footerHeartbeat {
  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(246, 182, 189, 0.42));
    transform: scale(1);
  }

  18%,
  44% {
    filter: drop-shadow(0 0 10px rgba(246, 182, 189, 0.76));
    transform: scale(1.22);
  }

  30% {
    transform: scale(1);
  }
}

@keyframes metricsScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

@keyframes titleRise {
  0% {
    opacity: 0;
    transform: translateY(0.34em) translateZ(-40px) rotateX(18deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) translateZ(calc(var(--i) * 8px)) rotateX(0deg);
  }
}

/* Product Detail */
.product-detail {
  min-height: 100svh;
  padding-top: clamp(128px, 12vw, 162px);
  padding-bottom: 60px;
  background:
    radial-gradient(circle at 14% 4%, rgba(183, 232, 255, 0.6), transparent 34%),
    radial-gradient(circle at 86% 8%, rgba(203, 239, 255, 0.62), transparent 36%),
    linear-gradient(180deg, #fffdf8 0%, #f3fbff 18%, #edf8ff 58%, #fffdf8 100%);
}

.product-detail[hidden] {
  display: none !important;
}

.market-page[hidden] {
  display: none !important;
}

.detail-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 36px);
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  border: 1px solid rgba(36, 27, 24, 0.14);
  border-radius: 999px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.78);
  color: #24495d;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(45, 82, 104, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: none;
}

.detail-back:hover {
  background: rgba(232, 247, 255, 0.92);
  box-shadow: 0 12px 28px rgba(45, 82, 104, 0.13);
  transform: translateY(-2px);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f6eadf;
  box-shadow: 0 16px 48px rgba(50, 30, 20, 0.1);
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1 / 0.85;
  object-fit: cover;
  transition: opacity 300ms ease;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding: 4px 0;
}

.gallery-thumbs[hidden] {
  display: none;
}

.gallery-thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid transparent;
  opacity: 0.5;
  transition: opacity 200ms ease, border-color 200ms ease;
  cursor: none;
  flex-shrink: 0;
}

.gallery-thumbs img:hover {
  opacity: 0.8;
}

.gallery-thumbs img.active {
  border-color: var(--sky);
  opacity: 1;
}

.detail-info {
  padding-top: 8px;
}

.detail-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.detail-info h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 950;
  line-height: 1.1;
  color: #24495d;
}

.detail-location {
  margin: 0 0 14px;
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 720;
}

.detail-price {
  display: block;
  margin-bottom: 22px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 950;
  color: var(--ink);
}

.detail-description {
  margin: 0 0 18px;
  color: #6f5e56;
  font-size: 1.05rem;
  line-height: 1.6;
}

.detail-impact {
  margin: 0 0 28px;
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 720;
}

.detail-reserve {
  width: 100%;
  max-width: 320px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #8bd1ff, #4f9fd8);
  color: #f8fcff;
  border: 0;
  border-radius: 999px;
  font-size: 1.08rem;
  font-weight: 850;
  box-shadow: 0 14px 30px rgba(55, 142, 199, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: none;
}

.detail-reserve:hover {
  background: linear-gradient(135deg, #75c8fb, #2f83c5);
  box-shadow: 0 18px 38px rgba(55, 142, 199, 0.28);
  transform: translateY(-3px);
}

.view-detail {
  display: block;
  margin-top: auto;
  padding: 10px 0 4px;
  color: #4f9fd8;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  transition: color 180ms ease;
}

.item-card:hover .view-detail {
  color: #2f83c5;
}

@media (max-width: 1050px) {
  .item-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .market:not(.market-page) .item-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .purpose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100% - 44px, 920px);
  }

  .footer-simple {
    grid-template-columns: 1fr;
  }

  .footer-simple .footer-brand {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .footer-simple .footer-menu {
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-statement {
    grid-column: 1 / -1;
    grid-row: auto;
    max-width: 720px;
    justify-self: center;
    text-align: center;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .donation-panel,
  .hosts,
  .partner-card,
  .story-message-shell,
  .join-grid,
  .admin-dashboard {
    grid-template-columns: 1fr;
  }

  .story-message-gallery {
    min-height: clamp(340px, 58vw, 500px);
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body,
  button,
  a {
    cursor: auto;
  }

  .fish-cursor,
  .custom-cursor {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 10px;
    width: calc(100% - 24px);
    border-radius: 12px;
    align-items: stretch;
    flex-direction: column;
    padding: 8px 10px;
    gap: 2px;
  }

  .brand-logo-mark {
    width: 170px;
    height: 30px;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
  }

  .nav-links a {
    padding: 5px 7px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .language-switch {
    padding: 4px 6px;
    margin-left: auto;
  }

  .language-switch button {
    padding: 3px 6px;
    font-size: 0.76rem;
  }

  .hero {
    min-height: 92svh;
    padding-top: 140px;
  }

  .sell-page {
    padding-top: 140px;
  }

  .market-page {
    padding-top: 130px;
  }

  .product-detail {
    padding-top: 130px;
  }

  .join-aurora {
    opacity: 0.25;
  }

  .join-card {
    background: rgba(255, 255, 255, 0.92);
  }

  .hero-video {
    display: block;
    z-index: 0;
    object-fit: cover;
    object-position: center;
  }

  .hero-scrim {
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(20, 43, 60, 0.16) 0%, rgba(20, 43, 60, 0.18) 36%, rgba(20, 43, 60, 0.38) 100%),
      linear-gradient(90deg, rgba(19, 42, 58, 0.32), rgba(19, 42, 58, 0.08) 58%, rgba(19, 42, 58, 0.18));
  }

  .hero-content {
    padding-top: 110px;
    padding-bottom: 120px;
  }

  .hero-stats {
    justify-content: flex-start;
  }

  .metrics,
  .purpose-grid,
  .market-tools,
  .seller-form,
  .purchase-modal form,
  .footer,
  .footer nav,
  .purchase-summary {
    grid-template-columns: 1fr;
  }

  .detail-back,
  .detail-reserve {
    cursor: auto;
  }

  .gallery-thumbs img {
    width: 60px;
    height: 60px;
    cursor: auto;
  }

  .detail-reserve {
    max-width: 100%;
  }

  .market:not(.market-page) .market-tools {
    grid-template-columns: 1fr;
  }

  .market:not(.market-page) .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .market:not(.market-page) .item-card {
    min-width: 0;
    padding: 7px;
    border-radius: 10px;
  }

  .market:not(.market-page) .item-image img {
    aspect-ratio: 1 / 0.86;
  }

  .market:not(.market-page) .item-image span {
    top: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
    padding: 5px 8px;
    font-size: clamp(0.62rem, 2.7vw, 0.78rem);
  }

  .market:not(.market-page) .item-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    padding: 10px 2px 6px;
  }

  .market:not(.market-page) .item-body h3 {
    font-size: clamp(0.86rem, 3.9vw, 1.02rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .market:not(.market-page) .item-body p,
  .market:not(.market-page) .impact {
    font-size: clamp(0.74rem, 3.1vw, 0.88rem);
    line-height: 1.35;
  }

  .market:not(.market-page) .item-body strong {
    font-size: clamp(0.95rem, 4.3vw, 1.18rem);
    line-height: 1.12;
    white-space: nowrap;
  }

  .market:not(.market-page) .impact {
    padding: 0 2px 10px;
    overflow-wrap: anywhere;
  }

  .market:not(.market-page) .buy-button {
    min-height: 42px;
    padding: 8px 10px;
    font-size: clamp(0.82rem, 3.4vw, 0.96rem);
    line-height: 1.15;
  }

  .partner {
    background: #b8d9b0;
  }

  .partner-video {
    display: block;
    z-index: -2;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.08) brightness(0.9);
    transform: scale(1.04);
  }

  .partner-overlay {
    z-index: -1;
    background:
      linear-gradient(180deg, rgba(184, 217, 176, 0.5), rgba(184, 217, 176, 0.18) 42%, rgba(184, 217, 176, 0.42)),
      radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.24), transparent 38%);
  }

  .story-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 28px, 620px);
    gap: 16px;
  }

  .footer > p {
    grid-column: 1 / -1;
  }

  .footer {
    min-height: auto;
    padding-top: 120px;
  }

  .footer-simple {
    grid-template-columns: 1fr;
    padding: 86px 24px 28px;
  }

  .footer-simple .footer-brand {
    grid-row: auto;
    justify-self: center;
  }

  .footer-simple .footer-menu {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-statement {
    grid-column: 1;
    grid-row: auto;
    margin-top: 6px;
  }

  .join-page {
    padding-top: 160px;
  }

  .join-head h1 {
    font-size: clamp(2.4rem, 12vw, 3.7rem);
    line-height: 1.18;
  }

  .join-card {
    padding: 22px 18px;
  }

  .footer-simple .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-made {
    order: -1;
  }

  .filters {
    justify-content: flex-start;
  }

  .view-all-items {
    justify-self: start;
  }

  .host-pair {
    grid-template-columns: 1fr;
  }

  .floating-note {
    right: 12px;
  }

  .donation-list article,
  .join-tags,
  .admin-main article {
    grid-template-columns: 1fr;
  }

  .purchase-summary {
    padding-right: 36px;
  }

  .purchase-summary img {
    width: 100%;
    aspect-ratio: 1 / 0.75;
  }

  .story-message-page {
    padding-top: 168px;
  }

  .story-message-shell {
    width: min(100% - 28px, 620px);
  }

  .story-message-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .story-message-photo {
    min-height: 260px;
  }

  .story-message-photo-large {
    min-height: 340px;
  }

  .story-message-copy {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .story-gallery {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

