@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0a0a;
  --fg: #f2efe8;
  --muted: #9b9a95;
  --line: #2b2b2b;
  --red: #ee2b23;
  --max: 1440px;
  --pad: clamp(22px, 4vw, 64px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--fg);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "PingFang HK", "Hiragino Sans CNS", "Noto Sans CJK TC", "Microsoft JhengHei", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
  line-height: 1.45;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: 10px 14px;
}
.skip:focus { top: 16px; }

.nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad);
  color: #fff;
  transition: background .35s ease, border-color .35s ease;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, .78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand,
.nav-links > a {
  mix-blend-mode: difference;
}
.nav.is-scrolled .brand,
.nav.is-scrolled .nav-links > a {
  mix-blend-mode: normal;
}

.brand {
  font-size: 14px;
  letter-spacing: .18em;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 2.3vw, 34px);
  align-items: center;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.nav-links > a { opacity: .72; transition: opacity .2s; }
.nav-links > a:hover,
.nav-links > a:focus-visible { opacity: 1; }
.lang-switch {
  display: inline-flex;
  align-items: stretch;
  isolation: isolate;
  mix-blend-mode: normal;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(10, 10, 10, .42);
}
.lang-switch a {
  padding: 7px 11px;
  opacity: .7;
  font-weight: 700;
  letter-spacing: .14em;
  transition: opacity .2s, background .2s, color .2s;
}
.lang-switch a:hover,
.lang-switch a:focus-visible { opacity: 1; }
.lang-switch a[aria-current="page"] {
  opacity: 1;
  background: #fff;
  color: #111;
}
.nav.is-scrolled .lang-switch {
  border-color: var(--line);
  background: transparent;
}
.nav.is-scrolled .lang-switch a[aria-current="page"] {
  background: var(--red);
  color: #fff;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111;
}

.hero-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #111 url("/assets/lucifa-hero-tiny.jpg") 52% 42% / cover no-repeat;
}
.hero-stage img,
.hero-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 42%;
  transform: scale(1.045);
  animation: heroIn 1.55s cubic-bezier(.2, .8, .2, 1) both;
}
.hero-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .9s ease;
}
.hero.has-video .hero-video { opacity: 1; }

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .82) 0%, rgba(5, 5, 5, .36) 40%, rgba(5, 5, 5, .06) 70%),
    linear-gradient(0deg, rgba(5, 5, 5, .78) 0%, transparent 44%);
}
.grain {
  position: absolute;
  inset: 0;
  opacity: .045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 150px var(--pad) clamp(58px, 8vh, 100px);
  width: min(1120px, 92vw);
}
.hero-copy > * {
  animation: copyIn .9s cubic-bezier(.2, .7, .2, 1) forwards;
}
.hero-copy .eyebrow { animation-delay: .12s; }
.hero-copy h1 { animation-delay: .22s; }
.hero-copy .hero-cn { animation-delay: .34s; }
.hero-copy .hero-actions { animation-delay: .44s; }

.eyebrow,
.section-index,
.strike-copy > span,
.resistance-copy > span {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #d9d6ce;
}
.eyebrow { margin: 0 0 28px; }

.hero h1 {
  font-size: clamp(46px, 7.4vw, 156px);
  line-height: .86;
  letter-spacing: -.055em;
  margin: 0;
  font-weight: 900;
  max-width: min(1180px, 92vw);
  font-variation-settings: "wght" 900;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}
.hero-cn {
  font-size: clamp(15px, 1.25vw, 21px);
  margin: 28px 0 0;
  color: #eee9df;
  letter-spacing: .03em;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, .48);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 750;
  transition: .2s;
}
.button-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.button-primary:hover { background: #fff; border-color: #fff; color: #111; }
.button-ghost:hover { background: #fff; color: #111; }

.vertical-mark {
  position: absolute;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  writing-mode: vertical-rl;
  font-family: "Songti TC", "Songti SC", "Noto Serif CJK TC", "Source Han Serif TC", "Noto Serif CJK SC", serif;
  font-size: clamp(48px, 7vw, 108px);
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .15);
}
.scroll-mark {
  position: absolute;
  right: var(--pad);
  bottom: 30px;
  z-index: 4;
  font-size: 9px;
  letter-spacing: .22em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.scroll-mark span {
  display: block;
  width: 34px;
  height: 1px;
  background: #fff;
  transform-origin: left center;
  animation: scrollPulse 2.2s ease-in-out infinite;
}

#manifesto,
#work,
#field-notes,
#lucifa,
#focus,
#resistance {
  scroll-margin-top: 76px;
}

.section-pad {
  padding: clamp(88px, 11vw, 170px) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.section-index {
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-bottom: clamp(48px, 8vw, 110px);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(150px, .75fr) 2.5fr;
  gap: clamp(30px, 6vw, 100px);
}
.kicker {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--red);
  font-weight: 800;
  margin: 8px 0;
}
.manifesto h2,
.work-intro h2,
.identity h2 {
  font-size: clamp(40px, 6.1vw, 96px);
  line-height: .95;
  letter-spacing: -.055em;
  margin: 0;
  font-weight: 900;
}
.manifesto .lede {
  font-size: clamp(18px, 2vw, 29px);
  max-width: 760px;
  color: #b9b7b0;
  margin: 34px 0 0;
}
.mega-quote {
  margin: clamp(90px, 12vw, 180px) 0 0;
  padding: 0;
  border: 0;
  font-size: clamp(54px, 9.4vw, 152px);
  line-height: .88;
  letter-spacing: -.065em;
  font-weight: 900;
}
.mega-quote span { color: var(--red); }

.image-strike,
.resistance {
  min-height: min(82vw, 920px);
  position: relative;
  background: #151515;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.strike-stage,
.resistance-media {
  position: absolute;
  inset: 0;
}
.strike-stage img,
.resistance-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}
.image-strike--focus img { object-position: 38% 50%; }
.resistance-media img { object-position: 50% 42%; }

.strike-copy {
  padding: var(--pad);
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: min(620px, 80vw);
  background: rgba(10, 10, 10, .86);
  backdrop-filter: blur(8px);
}
.strike-copy h2,
.resistance-copy h2 {
  font-size: clamp(42px, 5vw, 80px);
  letter-spacing: -.05em;
  line-height: .95;
  margin: 16px 0 20px;
}
.strike-copy p,
.resistance-copy p {
  font-size: clamp(16px, 1.4vw, 22px);
  color: #c1bfb7;
  max-width: 500px;
}

.work-intro {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: clamp(34px, 6vw, 100px);
  align-items: end;
}
.work-intro p {
  font-size: clamp(18px, 1.8vw, 27px);
  color: #aaa7a0;
  margin: 0 0 6px;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(70px, 9vw, 140px);
  border-top: 1px solid var(--line);
}
.work-card {
  padding: 28px 30px 38px 0;
  border-bottom: 1px solid var(--line);
  min-height: 330px;
  display: flex;
  flex-direction: column;
}
.work-card + .work-card {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.card-no {
  color: var(--red);
  font-size: 11px;
  letter-spacing: .12em;
}
.work-card h3 {
  font-size: clamp(26px, 2.5vw, 42px);
  letter-spacing: -.04em;
  margin: 42px 0 15px;
}
.work-card p {
  color: #aaa7a0;
  font-size: 16px;
  max-width: 390px;
}
.work-card a,
.text-link {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  margin-top: auto;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.resistance { min-height: 86svh; }
.resistance-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .14) 68%),
    linear-gradient(0deg, rgba(0, 0, 0, .65), transparent 58%);
}
.resistance-copy {
  position: relative;
  z-index: 2;
  padding: var(--pad);
  max-width: 760px;
}

.notes-list { border-top: 1px solid var(--line); }
.note {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
  padding: clamp(35px, 5vw, 70px) 0;
  gap: 32px;
}
.note-tag {
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--red);
  font-weight: 800;
}
.note p {
  font-size: clamp(26px, 4.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -.045em;
  margin: 0;
  font-weight: 720;
}

.identity { padding-bottom: clamp(80px, 10vw, 140px); }
.identity-grid {
  display: grid;
  grid-template-columns: 1.4fr .85fr;
  gap: clamp(50px, 8vw, 120px);
}
.identity h2 span { color: var(--red); }
.identity-body { align-self: end; }
.identity-body p {
  font-size: clamp(17px, 1.55vw, 23px);
  color: #aaa7a0;
}
.text-link {
  display: inline-block;
  margin-top: 26px;
  color: #fff;
}

.identity-portrait {
  margin: clamp(56px, 7vw, 96px) 0 0;
  position: relative;
  overflow: hidden;
  min-height: min(62vw, 640px);
  background: #111 url("/assets/lucifa-portrait-tiny.jpg") 28% 30% / cover no-repeat;
}
.identity-portrait img {
  width: 100%;
  height: min(62vw, 640px);
  object-fit: cover;
  object-position: 28% 30%;
}

.stills {
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
}
.stills-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}
.stills-track img {
  width: 100%;
  height: min(22vw, 240px);
  object-fit: cover;
  filter: saturate(.94) contrast(1.03);
}
.stills figcaption {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 42px var(--pad) 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 30px;
}
.footer-brand {
  font-size: clamp(30px, 5.5vw, 86px);
  font-weight: 900;
  letter-spacing: -.05em;
}
.footer-brand span { color: var(--red); }
.footer > p {
  font-size: 11px;
  letter-spacing: .18em;
  color: #8d8b85;
  margin: 0;
}
.footer-links {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  align-items: center;
}
.soon {
  opacity: .45;
  cursor: default;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

html[lang="zh-Hant"] .hero h1,
html[lang="zh-Hant"] .manifesto h2,
html[lang="zh-Hant"] .work-intro h2,
html[lang="zh-Hant"] .identity h2,
html[lang="zh-Hant"] .mega-quote,
html[lang="zh-Hant"] .note p {
  letter-spacing: -.028em;
  line-height: 1.02;
}

@keyframes heroIn {
  from { opacity: .2; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.045); }
}
@keyframes copyIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleX(.55); opacity: .4; }
  50% { transform: scaleX(1); opacity: 1; }
}

@media (max-width: 840px) {
  .nav-links > a { display: none; }
  .lang-switch a {
    min-height: 44px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
  }
  .hero { min-height: 100svh; }
  .hero-stage img,
  .hero-stage video { object-position: 48% 32%; }
  .hero-shade {
    background: linear-gradient(0deg, rgba(5, 5, 5, .9), rgba(5, 5, 5, .12) 62%);
  }
  .hero-copy { padding-top: 118px; width: min(100%, calc(100% - 8px)); }
  .hero h1 { font-size: clamp(42px, 12.4vw, 72px); }
  .vertical-mark { display: none; }
  .scroll-mark { display: none; }
  .manifesto-grid,
  .work-intro,
  .identity-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card + .work-card { border-left: 0; padding-left: 0; }
  .work-card { min-height: 250px; }
  .note { grid-template-columns: 1fr; gap: 14px; }
  .strike-copy {
    width: 100%;
    margin: 0;
    background: linear-gradient(0deg, rgba(5, 5, 5, .95), rgba(5, 5, 5, .3));
    padding-top: 100px;
  }
  .image-strike--focus img { object-position: 32% 50%; }
  .resistance-copy {
    width: 100%;
    background: linear-gradient(0deg, rgba(5, 5, 5, .94), rgba(5, 5, 5, .18));
  }
  .resistance-shade {
    background: linear-gradient(0deg, rgba(5, 5, 5, .82), rgba(5, 5, 5, .12) 58%);
  }
  .identity-portrait img { height: 72vw; }
  .stills-track { grid-template-columns: 1fr 1fr; }
  .stills-track img { height: 42vw; }
  .stills-track .stills-lead {
    grid-column: 1 / -1;
    height: 56vw;
  }
  .footer { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; }
  .footer > p { order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-stage img,
  .hero-stage video,
  .hero-copy > *,
  .scroll-mark span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
