/* Reset & Tokens */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic UI", sans-serif; color: #0f0f10; background: #ffffff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:root {
  --maxw: 1200px;         /* 主版心宽度 */
  --pad-x: 24px;          /* 页面左右内边距 */
  --brand: #0F1115;       /* 品牌深色 */
  --muted: #6B6F76;       /* 次要文字 */
  --line: #E8EAED;        /* 分割线 */
  --accent: #111317;      /* 强调背景(深)*/
  --bg-alt: #F7F8FA;      /* 浅灰背景 */
}

.container { width: min(100%, var(--maxw)); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.9); backdrop-filter: saturate(150%) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: "Bebas Neue", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans JP", Helvetica, Arial, sans-serif; font-weight: 800; letter-spacing: 0.18em; font-size: 18px; }
.menu { display: flex; gap: 28px; align-items: center; }
.menu a { font-size: 14px; color: #222; opacity: 0.9; }
.menu a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { background: var(--accent); color: #fff; padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.hero-title { font-family: "Bebas Neue", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans JP", Helvetica, Arial, sans-serif; font-size: clamp(32px, 5vw, 56px); line-height: 1.05; letter-spacing: 0.14em; font-weight: 900; }
.hero-sub { margin-top: 12px; font-size: clamp(14px, 2.2vw, 18px); color: #D5D8DE; }
.hero-badges { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.badge { font-size: 12px; padding: 6px 10px; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; color: #E6E9EE; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 10px; font-weight: 600; border: 1px solid transparent; }
.btn-primary { background: #ffffff; color: #0C0E12; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }
.hero-meta { border-left: 1px solid rgba(255,255,255,0.16); padding-left: 24px; }
.hero-meta p { margin: 6px 0; font-size: 14px; color: #DDE1E7; }

/* Works */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-title { font-size: 22px; letter-spacing: 0.12em; font-weight: 800; }
.section-desc { font-size: 14px; color: var(--muted); }

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.work-media { aspect-ratio: 16/9; background: linear-gradient(180deg, #ECEFF3, #E5E8EC); display: grid; place-items: center; position: relative; }
.work-media::after { content: "IMAGE"; font-size: 12px; color: #7E8590; letter-spacing: 0.12em; }
.work-body { padding: 14px; display: grid; gap: 4px; }
.work-title { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; }
.work-meta { font-size: 12px; color: var(--muted); }

/* 如果你改成 <img class="work-media" src=...> 则： */
.work-media img, img.work-media { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Info Strip */
.info-strip { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 18px 0; font-size: 14px; color: #32363C; }
.info-item { display: grid; gap: 6px; }
.info-item small { color: var(--muted); font-size: 12px; }

/* Footer */
.site-footer { padding: 36px 0 56px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.foot-brand { font-family: "Bebas Neue", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans JP"; font-weight: 800; letter-spacing: 0.18em; font-size: 16px; }
.foot-meta { font-size: 14px; color: #474C54; line-height: 1.8; }
.foot-nav { display: grid; gap: 8px; justify-content: start; align-content: start; }
.foot-nav a { font-size: 14px; color: #1a1d21; }
.copyright { margin-top: 24px; font-size: 12px; color: var(--muted); }



/* Dropdown Menu for Members (透明背景，宽度与父项相同 + 动画) */
.dropdown {
  position: relative;
}
.dropdown > a {
  cursor: pointer;
  position: relative;
  z-index: 101; /* 保证按钮在最上层 */
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 下拉箭头：默认向下 ▾ */
.dropdown > a::after {
  content: "▾";
  font-size: 12px;
  transition: transform 0.35s ease;
}

/* 初始状态：隐藏并透明 */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;                  /* 定位到 MEMBERS 中心 */
  transform: translateX(-50%) translateY(-8px); /* 往左移半宽 & 上移一点做动画 */
  min-width: 220px;           /* 👈 最小宽度（比按钮宽，保证名字一行显示） */
  display: flex;
  flex-direction: column;
  background: transparent;
  z-index: 100;



  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
  /* 👇 推下去避免和白色导航重叠 */
  margin-top: 24px;
}

/* 菜单项样式 */
.dropdown-menu a {
  padding: 10px 14px;
  font-size: 14px;
  text-align: center;
  color: #fff;          /* 默认白色文字，适配黑色 Hero */
  transition: color 0.2s;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8); 
}

.dropdown-menu a:hover {
  color: #ddd;
}

/* 鼠标悬停时：显示并触发动画 */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown:hover > a::after {
  transform: rotate(180deg);
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown.open .dropdown-link::after {
  transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-meta { border-left: none; border-top: 1px solid rgba(255,255,255,0.16); padding-left: 0; padding-top: 16px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .menu { gap: 16px; }
  .works-grid { grid-template-columns: 1fr; }
}

/* --- 可选：如果你有自带品牌字体（本地 .woff2），可这样接入 ---
@font-face {
  font-family: 'GordenBrand';
  src: url('../fonts/GordenBrand.woff2') format('woff2');
  font-display: swap;
  font-weight: 400 900;
  font-style: normal;
}
.brand, .hero-title, .foot-brand { font-family: 'GordenBrand', 'Bebas Neue', 'Noto Sans JP', sans-serif; }
*/
