/* =========================================
   DEMO / INDEX — landing for demo.lindash.cn
   ========================================= */
:root {
  --bone:   #f0ebe0;
  --bone-2: #e7e0d2;
  --ink:    #0a0a0a;
  --mute:   #6a665d;
  --acid:   #c4ff3e;

  --ff-serif: "Fraunces", "Times New Roman", serif;
  --ff-mono:  "JetBrains Mono", ui-monospace, monospace;
  --edge: 28px;
  --topbar-h: 64px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--ff-serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { min-height: 100vh; cursor: none; overflow-x: hidden; }
@media (max-width: 900px) { body { cursor: auto; } }
a { color: inherit; text-decoration: none; }
::selection { background: var(--acid); color: var(--ink); }

/* grain */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 200;
  opacity: .08; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.7 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
}

/* cursor */
.cursor { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; mix-blend-mode: difference; }
.cursor__ring {
  position: fixed; top: 0; left: 0; width: 36px; height: 36px;
  border: 1px solid #fff; border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease-out), height .25s var(--ease-out), background .25s;
}
.cursor__dot {
  position: fixed; top: 0; left: 0; width: 4px; height: 4px;
  background: #fff; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor.is-hover .cursor__ring { width: 72px; height: 72px; background: var(--acid); border-color: var(--acid); mix-blend-mode: normal; }
@media (max-width: 900px) { .cursor { display: none; } }

/* topbar */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--topbar-h);
  padding: 0 var(--edge);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase;
  mix-blend-mode: difference; color: #fff;
}
.topbar__mark { display: flex; gap: 10px; align-items: center; }
.star { font-size: 14px; transform: translateY(-1px); }
.topbar__center { justify-self: center; font-style: italic; text-transform: none; font-size: 12px; letter-spacing: .02em; }
.topbar__status { justify-self: end; display: flex; gap: 12px; align-items: center; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* hero */
.hero {
  padding: calc(var(--topbar-h) + 80px) var(--edge) 60px;
  position: relative;
}
.hero__meta {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--mute);
  display: flex; justify-content: space-between;
  margin-bottom: 60px;
  max-width: 100%;
}
.hero__meta > div + div { color: var(--ink); }
.hero__title {
  font-family: var(--ff-serif);
  font-variation-settings: "opsz" 144;
  font-weight: 400;
  font-size: clamp(64px, 12vw, 200px);
  line-height: .9;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}
.hero__row { display: block; }
.hero__row--it {
  font-style: italic;
  font-weight: 500;
  padding-left: 6vw;
}
.period { color: #c4ff3e; }
.hero__sub {
  max-width: 540px;
  margin-left: auto;
  font-family: var(--ff-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--mute);
  margin-top: 20px;
}

/* grid */
.grid {
  padding: 80px var(--edge) 120px;
  display: flex; flex-direction: column; gap: 0;
}

.card {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 280px 100px;
  align-items: center;
  gap: 40px;
  padding: 50px 0;
  border-top: 1px solid var(--ink);
  transition: padding .5s var(--ease-out);
  overflow: hidden;
}
.card:last-of-type { border-bottom: 1px solid var(--ink); }

/* bg color-wash on hover */
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--c2);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform .65s var(--ease-out);
  z-index: -1;
}
.card:hover::before { transform: scaleY(1); }

.card__num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--mute);
  transition: color .4s;
}
.card:hover .card__num { color: var(--c3); }

.card__title {
  font-family: var(--ff-serif);
  font-variation-settings: "opsz" 144;
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  transition: color .4s;
}
.card:hover .card__title { color: var(--c1); }
.card__period { color: var(--c3); }
.card__sub {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--mute);
  margin-bottom: 12px;
  transition: color .4s;
}
.card:hover .card__sub { color: rgba(255,255,255,.7); }

.card__meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--mute);
  display: flex; flex-wrap: wrap; gap: 2px 6px;
  transition: color .4s;
}
.card:hover .card__meta { color: rgba(255,255,255,.5); }

.card__swatch {
  display: flex;
  height: 60px;
  border-radius: 0;
  overflow: hidden;
  transition: height .5s var(--ease-out), transform .5s var(--ease-out);
}
.card__swatch span {
  flex: 1; height: 100%;
  transition: flex .5s var(--ease-out);
}
.card:hover .card__swatch { height: 80px; transform: translateY(-4px); }
.card:hover .card__swatch span:nth-child(3) { flex: 2.2; }

.card__cta {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: flex; gap: 14px;
  align-items: center;
  justify-self: end;
  color: var(--ink);
  transition: color .4s;
}
.card:hover .card__cta { color: var(--c3); }
.arrow {
  display: inline-block;
  transition: transform .5s var(--ease-out);
}
.card:hover .arrow { transform: translateX(8px); }

/* footer */
.footer {
  padding: 60px var(--edge) 30px;
  background: var(--ink);
  color: var(--bone);
}
.footer__big {
  display: flex;
  align-items: flex-end;
  gap: 4vw;
  font-family: var(--ff-serif);
  font-variation-settings: "opsz" 144;
  font-weight: 300;
  font-size: clamp(120px, 24vw, 380px);
  line-height: .85;
  letter-spacing: -0.05em;
  margin-bottom: 30px;
}
.footer__big .dash { color: var(--mute); font-weight: 200; }
.caret {
  display: inline-block;
  width: 5px; height: 0.7em;
  background: var(--acid);
  margin-left: 12px;
  align-self: flex-end;
  margin-bottom: .15em;
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.footer__bottom {
  display: flex; justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(240,235,224,.5);
  padding-top: 20px;
  border-top: 1px solid rgba(240,235,224,.12);
  text-transform: uppercase;
}

/* responsive */
@media (max-width: 900px) {
  :root { --edge: 18px; }
  .topbar__center { display: none; }
  .topbar { font-size: 10px; }
  .hero__meta { flex-direction: column; gap: 4px; margin-bottom: 40px; }
  .hero__row--it { padding-left: 5vw; }
  .hero__sub { max-width: 100%; margin: 30px 0 0; }
  .grid { padding: 40px var(--edge) 80px; }
  .card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 36px 0;
  }
  .card__title { font-size: clamp(40px, 12vw, 64px); }
  .card__swatch { height: 36px; }
  .card:hover .card__swatch { height: 44px; }
  .card__cta { justify-self: start; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

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