@charset "UTF-8";
/* =========================================================
   星海载酒 · 深空摄影
   A quiet night-sky portfolio
   ========================================================= */

:root {
  --bg: #05070c;
  --bg-deep: #020408;
  --bg-soft: #080c14;
  --ink: #e8edf6;
  --ink-2: rgba(232, 237, 246, 0.72);
  --ink-3: rgba(232, 237, 246, 0.47);
  --ink-4: rgba(232, 237, 246, 0.27);
  --line: rgba(232, 237, 246, 0.12);
  --line-soft: rgba(232, 237, 246, 0.07);
  --gold: #c6b08a;
  --moon: #a9bdd9;

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", "宋体", Georgia, "Times New Roman", serif;
  --sans: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "微软雅黑", system-ui, -apple-system, "Segoe UI", sans-serif;
  --latin: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1340px;
  --pad: clamp(20px, 5vw, 68px);
  --head-h: 74px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(130% 75% at 50% -12%, #0c1424 0%, #070a12 42%, var(--bg) 72%, #03050a 100%) fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; }

p { text-wrap: pretty; }

a { color: inherit; }

::selection { background: rgba(198, 176, 138, 0.24); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #04060b; }
::-webkit-scrollbar-thumb { background: rgba(232, 237, 246, 0.13); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: rgba(232, 237, 246, 0.22); }

/* ---------- fixed sky layers ---------- */

#sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.sky-haze {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 22% 18%, rgba(52, 78, 128, 0.18), transparent 70%),
    radial-gradient(48% 34% at 78% 66%, rgba(86, 78, 128, 0.12), transparent 72%),
    radial-gradient(90% 60% at 50% 110%, rgba(10, 16, 30, 0.9), transparent 60%);
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  mix-blend-mode: screen;
}

/* ---------- shell ---------- */

.page {
  position: relative;
  z-index: 2;
  animation: page-in 1.1s var(--ease) both;
}

@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- header ---------- */

.site-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.6s var(--ease), border-color 0.6s var(--ease),
    padding 0.6s var(--ease), backdrop-filter 0.6s var(--ease);
}

.site-head.is-scrolled {
  padding-top: 15px;
  padding-bottom: 15px;
  background: rgba(4, 6, 11, 0.7);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 13px;
  text-decoration: none;
  color: var(--ink);
}

.brand__zh {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  line-height: 1;
}

.brand__en {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.42em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

.nav a {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--ink-2);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.5s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
  opacity: 0.7;
}

.nav a:hover,
.nav a.is-active { color: var(--ink); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  z-index: 70;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 15px;
  height: 1px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform 0.45s var(--ease), opacity 0.3s;
}

.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { bottom: 17px; }

body.menu-open .nav-toggle span:nth-child(1) { top: 20px; transform: translateX(-50%) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { bottom: 21px; transform: translateX(-50%) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0 var(--pad);
  background: rgba(3, 5, 9, 0.96);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

body.menu-open .mobile-menu { opacity: 1; visibility: visible; }

.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(30px, 9vw, 46px);
  letter-spacing: 0.16em;
  color: var(--ink-2);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu a.is-active { color: var(--ink); }

.mobile-menu__foot {
  margin-top: 48px;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--head-h) + 8vh) var(--pad) 130px;
  overflow: hidden;
}

.hero__inner { position: relative; z-index: 3; max-width: 980px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 34px;
  font-size: 10px;
  letter-spacing: 0.46em;
  text-indent: 0.46em;
  text-transform: uppercase;
  color: var(--gold);
}

.kicker::before,
.kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 176, 138, 0.6));
}

.kicker::after { background: linear-gradient(90deg, rgba(198, 176, 138, 0.6), transparent); }

.hero h1 {
  margin: 0 0 30px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.3rem, 10.6vw, 8.4rem);
  line-height: 1.08;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  background: linear-gradient(175deg, #ffffff 4%, #dfe7f3 42%, #a7b6cc 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 30px 90px rgba(140, 170, 220, 0.14);
  animation: title-in 2.2s var(--ease-soft) 0.15s both;
}

@keyframes title-in {
  from { opacity: 0; transform: translateY(26px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.hero__sub {
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--ink-2);
  animation: fade-up 1.8s var(--ease) 0.7s both;
}

.hero__note {
  margin: 26px auto 0;
  max-width: 30em;
  font-size: 13px;
  line-height: 2.1;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  animation: fade-up 1.8s var(--ease) 0.95s both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.hero__foot {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 26px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 8.5px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--ink-3);
}

.hero__scroll i {
  display: block;
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, transparent, var(--ink-3));
  position: relative;
  overflow: hidden;
}

.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ink), transparent);
  animation: scroll-line 2.8s var(--ease) infinite;
}

@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

.horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  height: clamp(150px, 27vh, 330px);
  pointer-events: none;
  opacity: 1;
}

.horizon svg { display: block; width: 100%; height: 100%; overflow: visible; }

.hero__glow {
  position: absolute;
  left: 50%;
  bottom: -4%;
  width: 130%;
  height: 54%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(44% 56% at 50% 100%, rgba(118, 146, 194, 0.24), rgba(74, 100, 148, 0.07) 56%, transparent 78%),
    linear-gradient(180deg, transparent 30%, rgba(52, 72, 108, 0.16) 100%);
  filter: blur(1px);
}

.hero__foot span {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.85);
  color: var(--ink-3);
}

/* ---------- sections ---------- */

.section {
  position: relative;
  padding: clamp(80px, 12vh, 148px) 0;
}

.sec-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 20px;
  margin-bottom: clamp(36px, 6vh, 68px);
  border-bottom: 1px solid var(--line);
}

.sec-no {
  margin: 0;
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.sec-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 38px);
  letter-spacing: 0.12em;
  text-indent: 0.12em;
}

.sec-en {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- prologue ---------- */

.prologue__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}

.prose p {
  margin: 0 0 1.5em;
  max-width: 60ch;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 2.2;
  letter-spacing: 0.02em;
  color: rgba(232, 237, 246, 0.78);
}

.prose p:last-child { margin-bottom: 0; }

.prose .lead {
  max-width: 24em;
  margin-bottom: 1.2em;
  font-family: var(--serif);
  font-size: clamp(22px, 2.9vw, 38px);
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.signature {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.signature__zh {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.12em;
}

.signature__en {
  margin: 0;
  font-size: 9.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.signature__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-bottom: 18px;
  box-shadow: 0 0 18px rgba(198, 176, 138, 0.7);
}

/* ---------- featured ---------- */

.featured {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(18px, 3.4vw, 52px);
  row-gap: clamp(44px, 6vw, 80px);
  align-items: start;
}

.feature { grid-column: span 6; }

.feature:nth-child(1) { grid-column: 1 / 8; }
.feature:nth-child(2) { grid-column: 9 / 13; margin-top: clamp(30px, 8vw, 120px); }
.feature:nth-child(3) { grid-column: 2 / 7; }
.feature:nth-child(4) { grid-column: 8 / 13; margin-top: clamp(40px, 10vw, 150px); }

.feature__link {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.feature__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--ar, 1.5);
  overflow: hidden;
  background: #070a11;
  background-image: var(--lqip, none);
  background-size: cover;
  background-position: center;
}

.feature__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 1.4s var(--ease), transform 2.4s var(--ease-soft), filter 1.4s var(--ease);
  will-change: transform, opacity;
}

.feature__img.is-loaded { opacity: 1; transform: none; }

.feature__link:hover .feature__img { transform: scale(1.022); filter: brightness(1.05); }

.feature__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 62%, rgba(3, 5, 10, 0.55));
  opacity: 0;
  transition: opacity 0.9s var(--ease);
  pointer-events: none;
}

.feature__link:hover .feature__frame::after { opacity: 1; }

.feature__cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  margin-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.feature__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 21px);
  letter-spacing: 0.08em;
  color: var(--ink);
}

.feature__name {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  white-space: nowrap;
}

.feature__note {
  display: block;
  margin: 10px 0 0;
  max-width: 34ch;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

.sec-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(44px, 7vw, 84px);
}

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  background: rgba(255, 255, 255, 0.008);
  transition: border-color 0.6s var(--ease), background 0.6s var(--ease), gap 0.6s var(--ease), color 0.6s;
  cursor: pointer;
  font-family: var(--sans);
}

.btn i {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  transition: width 0.6s var(--ease);
}

.btn:hover {
  border-color: rgba(232, 237, 246, 0.3);
  background: rgba(255, 255, 255, 0.035);
  gap: 20px;
}

.btn:hover i { width: 26px; }

/* ---------- dark nebula band ---------- */

.band {
  position: relative;
  padding: clamp(70px, 11vh, 128px) 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 38%, rgba(255, 255, 255, 0.012));
  overflow: hidden;
}

.band__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.band__title {
  margin: 12px 0 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.band__text {
  margin: 0 0 4px;
  max-width: 42ch;
  font-size: 14.5px;
  line-height: 2.15;
  color: var(--ink-2);
}

.band__stats {
  display: flex;
  gap: 44px;
  margin: 34px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.band__stat b {
  display: block;
  font-family: var(--latin);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.band__stat span {
  display: block;
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--ink-3);
}

.band__images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 24px);
}

.band__item {
  cursor: pointer;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  text-align: left;
  font-family: inherit;
}

.band__item:nth-child(1) { grid-column: 1 / 3; }

.band__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--ar, 1.5);
  overflow: hidden;
  background: #070a11;
  background-image: var(--lqip, none);
  background-size: cover;
  background-position: center;
}

.band__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s var(--ease), transform 2.4s var(--ease-soft);
}

.band__img.is-loaded { opacity: 1; }

.band__item:hover .band__img { transform: scale(1.03); }

.band__cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 11px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

/* ---------- notice ---------- */

.notice {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.notice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--moon);
}

.notice h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 2.4vw, 28px);
  letter-spacing: 0.14em;
}

.notice p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.notice p strong { color: var(--ink); font-weight: 400; }

.notice .btn { margin-top: 26px; }

/* ---------- footer ---------- */

.site-foot {
  position: relative;
  padding: clamp(56px, 8vh, 96px) 0 34px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, transparent, rgba(2, 4, 8, 0.6));
}

.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(30px, 6vw, 90px);
  padding-bottom: clamp(38px, 6vh, 64px);
}

.foot__mark {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: 0.28em;
  text-indent: 0.28em;
}

.foot__quote {
  margin: 0;
  max-width: 30em;
  font-size: 13px;
  line-height: 2.1;
  letter-spacing: 0.09em;
  color: var(--ink-3);
}

.foot__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.foot__nav a {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.4s;
}

.foot__nav a:hover { color: var(--ink); }

.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

.foot__bottom p { margin: 0; }

.foot__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}

.foot__contact a {
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
}

.foot__contact a:hover { color: var(--ink); border-color: var(--ink-3); }

/* ---------- gallery page ---------- */

.page-head {
  padding: calc(var(--head-h) + 12vh) 0 clamp(30px, 5vh, 54px);
}

.page-head__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.page-head h1 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.1;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  background: linear-gradient(175deg, #ffffff, #b9c6da 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 8px;
}

.page-head__lead {
  margin: 0;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.chip-lock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}

.chip-lock svg { width: 11px; height: 11px; opacity: 0.8; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: clamp(30px, 5vh, 50px);
}

.filter {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease);
}

.filter sup {
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0;
  color: var(--ink-4);
  transition: color 0.45s;
}

.filter:hover { color: var(--ink-2); border-color: var(--line-soft); }

.filter.is-active {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.filter.is-active sup { color: var(--gold); }

.grid {
  column-count: 3;
  column-gap: clamp(16px, 2.6vw, 34px);
}

.card {
  break-inside: avoid;
  margin: 0 0 clamp(26px, 4vw, 48px);
  animation: card-in 0.9s var(--ease) both;
}

.card.is-out { animation: card-out 0.35s var(--ease) both; pointer-events: none; }

@keyframes card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes card-out {
  to { opacity: 0; transform: translateY(6px); }
}

.card[hidden] { display: none; }

.card__frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: var(--ar, 1.5);
  overflow: hidden;
  background-color: #070a11;
  background-image: var(--lqip, none);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.3s var(--ease), transform 2.2s var(--ease-soft), filter 1s var(--ease);
  will-change: transform, opacity;
}

.card__img.is-loaded { opacity: 1; transform: none; }

.card__frame:hover .card__img { transform: scale(1.028); filter: brightness(1.06); }

.card__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(3, 5, 10, 0) 55%, rgba(3, 5, 10, 0.62));
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  pointer-events: none;
}

.card__frame:hover .card__veil { opacity: 1; }

.card__view {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 3;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}

.card__frame:hover .card__view { opacity: 1; transform: none; }

.card__cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}

.card__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16.5px;
  letter-spacing: 0.07em;
  color: var(--ink-2);
  transition: color 0.5s var(--ease);
}

.card__frame:hover ~ .card__cap .card__title,
.card:hover .card__title { color: var(--ink); }

.card__sub {
  margin: 4px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-4);
}

.card__type {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-4);
  white-space: nowrap;
}

.grid-empty {
  padding: 80px 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}

/* ---------- lightbox ---------- */

.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.lb.is-open { opacity: 1; visibility: visible; }

.lb__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 50% 34%, rgba(8, 12, 22, 0.94), rgba(2, 3, 7, 0.988));
  backdrop-filter: blur(26px) saturate(0.85);
  -webkit-backdrop-filter: blur(26px) saturate(0.85);
}

.lb__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(18px, 4vw, 46px);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
}

.lb__count { font-family: var(--latin); font-size: 11px; letter-spacing: 0.22em; color: var(--ink-2); }

.lb__lock { display: inline-flex; align-items: center; gap: 8px; }

.lb__lock svg { width: 10px; height: 10px; }

.lb__close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: color 0.4s, border-color 0.4s, background 0.4s;
}

.lb__close:hover { color: var(--ink); border-color: rgba(232, 237, 246, 0.28); background: rgba(255, 255, 255, 0.04); }

.lb__close em {
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--ink-4);
}

.lb__stage {
  position: absolute;
  inset: 74px 0 138px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(16px, 5vw, 90px);
}

.lb__media {
  position: relative;
  background-color: rgba(6, 9, 15, 0.6);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: scale(0.992);
  transition: opacity 0.65s var(--ease), transform 1.4s var(--ease-soft);
  box-shadow: 0 50px 140px -50px rgba(0, 0, 0, 0.95);
}

.lb__media.is-in { opacity: 1; transform: none; }

.lb__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.lb__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 46px) 30px;
  pointer-events: none;
}

.lb__text { max-width: min(560px, 62vw); }

.lb__id {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 25px);
  letter-spacing: 0.08em;
}

.lb__name {
  margin: 0 0 8px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.lb__name:empty { display: none; }

.lb__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.lb__sign {
  margin: 0;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--ink-4);
  white-space: nowrap;
}

.lb__nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(5, 8, 14, 0.4);
  color: var(--ink-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.4s, border-color 0.4s, background 0.4s, transform 0.5s var(--ease);
}

.lb__nav:hover { color: var(--ink); border-color: rgba(232, 237, 246, 0.3); background: rgba(255, 255, 255, 0.05); }

.lb__nav--prev { left: clamp(12px, 2vw, 32px); }
.lb__nav--next { right: clamp(12px, 2vw, 32px); }
.lb__nav--prev:hover { transform: translateX(-2px); }
.lb__nav--next:hover { transform: translateX(2px); }

.lb__nav svg { width: 15px; height: 15px; }

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 200;
  transform: translate(-50%, 16px);
  padding: 11px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 11, 18, 0.92);
  backdrop-filter: blur(12px);
  color: var(--ink-2);
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- about ---------- */

.about-head {
  padding: calc(var(--head-h) + 9vh) 0 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: start;
}

.portrait-wrap {
  position: relative;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-image: url("../img/portrait.jpg");
  background-size: cover;
  background-position: center 30%;
  filter: saturate(0.8) contrast(1.03) brightness(0.98);
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 12, 0) 40%, rgba(5, 7, 12, 0.55));
}

.portrait-cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 2px 0;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}

.about-title {
  margin: 16px 0 26px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.1;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  background: linear-gradient(175deg, #fff, #b9c6da 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-quote {
  margin: 0 0 30px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.about-quote footer {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--ink-3);
}

.about-body p {
  margin: 0 0 1.2em;
  max-width: 54ch;
  font-size: 15px;
  line-height: 2.15;
  color: var(--ink-2);
}

.about-body p:last-child { margin-bottom: 0; }

.about-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 60px) clamp(28px, 6vw, 90px);
  margin-top: clamp(46px, 8vh, 90px);
  padding-top: clamp(38px, 6vh, 60px);
  border-top: 1px solid var(--line-soft);
}

.about-block h3 {
  margin: 12px 0 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 1.8vw, 23px);
  letter-spacing: 0.1em;
}

.about-block p {
  margin: 0 0 1em;
  font-size: 14.5px;
  line-height: 2.15;
  color: var(--ink-2);
}

.about-block p:last-child { margin-bottom: 0; }

.about-block b { font-weight: 400; color: var(--ink); }

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

.about-quote-end {
  margin: clamp(60px, 10vh, 100px) auto 0;
  max-width: 640px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 2.2;
  letter-spacing: 0.14em;
  color: var(--ink-2);
}

.about-quote-end span {
  display: block;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.34em;
  color: var(--ink-4);
}

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease-soft);
  transition-delay: var(--d, 0s);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .grid { column-count: 2; }
  .prologue__grid { grid-template-columns: minmax(0, 1fr) 240px; }
  .band__grid { grid-template-columns: 1fr; }
  .band__images { max-width: 720px; }
}

@media (max-width: 880px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .featured { row-gap: 44px; }
  .feature:nth-child(1) { grid-column: 1 / 13; }
  .feature:nth-child(2) { grid-column: 1 / 8; margin-top: 0; }
  .feature:nth-child(3) { grid-column: 5 / 13; margin-top: 0; }
  .feature:nth-child(4) { grid-column: 1 / 9; margin-top: 0; }
  .prologue__grid { grid-template-columns: 1fr; gap: 34px; }
  .signature { max-width: 300px; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait-wrap { max-width: 320px; }
  .about-sections { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; }
  .foot__nav { flex-direction: row; flex-wrap: wrap; gap: 18px; }
}

@media (max-width: 620px) {
  :root { --head-h: 66px; }
  .grid { column-count: 1; }
  .hero { padding-top: calc(var(--head-h) + 6vh); }
  .hero__foot { font-size: 8.5px; letter-spacing: 0.22em; }
  .hero__scroll { display: none; }
  .feature,
  .feature:nth-child(1),
  .feature:nth-child(2),
  .feature:nth-child(3),
  .feature:nth-child(4) { grid-column: 1 / 13; margin-top: 0; }
  .feature:nth-child(even) { width: 92%; margin-left: auto; }
  .feature:nth-child(odd) { width: 92%; }
  .band__images { grid-template-columns: 1fr; }
  .band__item:nth-child(1) { grid-column: auto; }
  .lb__stage { inset: 64px 0 132px; }
  .lb__nav { width: 42px; height: 42px; margin-top: -21px; }
  .lb__nav--prev { left: 8px; }
  .lb__nav--next { right: 8px; }
  .lb__text { max-width: 74vw; }
  .lb__sign { display: none; }
  .about-quote { padding-left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .grain { display: none; }
}

/* ---------- protection ---------- */

a:focus-visible,
button:focus-visible {
  outline: 1px solid rgba(169, 189, 217, 0.8);
  outline-offset: 4px;
}

@media print {
  #sky,
  .sky-haze,
  .grain,
  .site-head,
  .mobile-menu,
  .lb,
  .toast,
  .card__img,
  .feature__img,
  .band__img,
  .lb__media,
  .portrait {
    display: none !important;
  }
  .card__frame,
  .feature__frame,
  .band__frame {
    background-image: none !important;
    background-color: #e8e8e8 !important;
  }
}

[data-protect],
[data-protect] * {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.art {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
