/* ============================================================
   AKIMOMO — 纯黑白极简主页
   ============================================================ */

:root {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.58);
  --faint: rgba(255, 255, 255, 0.32);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.32);

  --font-display: 'Bebas Neue', 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-serif: 'Cormorant Garamond', 'Noto Serif SC', 'Songti SC', Georgia, serif;
  --font-body: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: #fff; color: #000; }

/* 噪点颗粒层 */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   导航
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  transition: background 0.45s var(--ease), padding 0.45s var(--ease),
              border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom-color: var(--line);
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.42em;
  font-weight: 400;
}

.site-nav { display: flex; gap: 34px; }

.site-nav a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover { color: var(--fg); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ============================================================
   Hero 轮播
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: #000;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s var(--ease);
  z-index: 1;
}

.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04) brightness(0.86);
  transform: scale(1.0);
}

.hero-slide.is-active img { animation: heroZoom 7s var(--ease) forwards; }

@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1.0); }
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.72) 100%);
}

.hero-caption {
  position: absolute;
  left: var(--gutter);
  bottom: 120px;
  z-index: 3;
  max-width: 720px;
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.5em;
  color: var(--fg);
  padding-left: 14px;
  border-left: 2px solid #fff;
  margin-bottom: 22px;
}

.hero-caption .hero-title,
.hero-caption .hero-sub {
  transition: transform 1s var(--ease), opacity 1s var(--ease);
}

.hero-title {
  font-size: clamp(38px, 6.4vw, 84px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.serif { font-family: var(--font-serif); font-style: italic; }

.hero-sub {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
}

/* 轮播控制 */
.hero-controls {
  position: absolute;
  left: var(--gutter);
  bottom: 46px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-arrow {
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.hero-arrow:hover { background: #fff; color: #000; border-color: #fff; }

.hero-dots { display: flex; gap: 10px; }

.hero-dots button {
  width: 32px; height: 2px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background 0.35s var(--ease);
}

.hero-dots button.is-active { background: #fff; }

/* 滚动提示 */
.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 46px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--faint);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.4em;
}

.scroll-line {
  display: block;
  width: 1px; height: 44px;
  background: rgba(255,255,255,0.32);
  overflow: hidden;
  position: relative;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 1px; height: 50%;
  background: #fff;
  animation: scrollHint 2s var(--ease) infinite;
}

@keyframes scrollHint {
  0%   { top: -50%; }
  100% { top: 100%; }
}

/* ============================================================
   通用 Section
   ============================================================ */
.section {
  padding: clamp(90px, 12vw, 160px) 0;
  border-bottom: 1px solid var(--line);
}

.container {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 26px;
  margin-bottom: clamp(48px, 7vw, 88px);
}

.sec-index {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.32em;
  color: var(--faint);
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
}

.sec-cn {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.5em;
  color: var(--muted);
  margin-left: 20px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.about-figure {
  position: relative;
  overflow: hidden;
}

.about-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
}

.about-figure:hover img { transform: scale(1.05); }

.about-lead {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.5;
  margin-bottom: 26px;
  color: var(--fg);
}

.about-text {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 18px;
  max-width: 560px;
}

.about-text em { color: var(--faint); font-style: normal; }

.about-meta {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.about-meta li {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.about-meta span {
  font-family: var(--font-display);
  letter-spacing: 0.24em;
  font-size: 12px;
  color: var(--faint);
  min-width: 86px;
  padding-top: 3px;
}

/* ============================================================
   WORKS
   ============================================================ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.work-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #000;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transform: scale(1.001);
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease), opacity 0.9s var(--ease);
}

.work-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 22px;
  background: rgba(0, 0, 0, 0);
  transition: background 0.5s var(--ease);
}

.work-no {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: #fff;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.work-name {
  align-self: flex-end;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.work-item:hover img {
  transform: scale(1.07);
  filter: grayscale(0.3) contrast(1.08);
  opacity: 0.72;
}

.work-item:hover .work-overlay { background: rgba(0, 0, 0, 0.32); }
.work-item:hover .work-no,
.work-item:hover .work-name { opacity: 1; transform: translateY(0); }

/* ============================================================
   TOPICS
   ============================================================ */
.topics-list {
  border-top: 1px solid var(--line);
}

.topic-item a {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 26px 6px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease), background 0.4s var(--ease);
}

.topic-date {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  font-size: 14px;
  color: var(--faint);
  white-space: nowrap;
}

.topic-title {
  flex: 1;
  font-size: 17px;
  color: var(--fg);
  transition: color 0.3s var(--ease);
}

.topic-arrow {
  font-size: 20px;
  color: var(--faint);
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}

.topic-item a:hover {
  padding-left: 18px;
  background: rgba(255,255,255,0.03);
}
.topic-item a:hover .topic-arrow { transform: translateX(8px); color: #fff; }

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  font-family: var(--font-display);
  letter-spacing: 0.3em;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s var(--ease), letter-spacing 0.3s var(--ease);
}
.more-link:hover { color: #fff; }

/* ============================================================
   CONTACT
   ============================================================ */
.section-contact { border-bottom: none; }

.contact-body { text-align: center; padding: 20px 0 10px; }

.contact-lead {
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.5;
  margin-bottom: 34px;
}

.contact-mail {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 54px);
  letter-spacing: 0.06em;
  color: var(--fg);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s var(--ease), letter-spacing 0.3s var(--ease);
}

.contact-mail:hover { border-color: #fff; letter-spacing: 0.1em; }

.contact-socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 52px;
}

.contact-socials a {
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.contact-socials a:hover { color: #fff; }

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--faint);
}

.footer-top {
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.footer-top:hover { color: #fff; }

/* ============================================================
   滚动浮现动画
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 860px) {
  .site-nav { gap: 22px; }
  .site-nav a { font-size: 12px; letter-spacing: 0.16em; }

  .about-grid { grid-template-columns: 1fr; }
  .about-figure img { aspect-ratio: 4 / 3; }

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

  .hero-scroll { display: none; }
  .hero-caption { bottom: 100px; }
}

@media (max-width: 560px) {
  .brand-mark { font-size: 20px; letter-spacing: 0.3em; }
  .site-nav { gap: 16px; }
  .site-nav a { letter-spacing: 0.1em; }

  .topic-item a { flex-wrap: wrap; gap: 10px 20px; }
  .topic-title { flex-basis: 100%; order: 3; }
  .topic-arrow { order: 4; }

  .works-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
  .contact-socials { gap: 22px; }
}