:root {
  --paper: #f2efe8;
  --ink: #171713;
  --muted: #747268;
  --red: #d6402f;
  --acid: #dce84a;
  --line: rgba(23, 23, 19, .18);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --sans: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.topbar { height: 84px; padding: 0 4.5vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); position: relative; z-index: 4; }
.brand-mark { display: flex; align-items: baseline; gap: 14px; width: max-content; }
.brand-mark span { font-family: var(--serif); font-weight: 800; font-size: 22px; letter-spacing: .08em; }
.brand-mark small { font-size: 9px; letter-spacing: .12em; color: var(--muted); }
.topbar nav { display: flex; gap: 34px; font-size: 12px; }
.topbar nav a { position: relative; }
.topbar nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--ink); transition: right .25s ease; }
.topbar nav a:hover::after { right: 0; }
.index-link { justify-self: end; font-size: 11px; letter-spacing: .12em; }
.index-link span { margin-left: 8px; color: var(--red); }

.hero { min-height: calc(100vh - 84px); display: grid; grid-template-columns: 43% 57%; overflow: hidden; }
.hero-copy { padding: 8vh 4.5vw 4vh; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { margin: 0 0 28px; font-size: 10px; letter-spacing: .18em; font-weight: 650; display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.hero h1 { font-family: var(--serif); font-size: clamp(64px, 7.4vw, 122px); line-height: .96; font-weight: 500; letter-spacing: -.06em; margin: 0; }
.lead { width: min(420px, 100%); margin: 44px 0 30px; font-family: var(--serif); font-size: 17px; line-height: 1.9; color: #45443e; }
.primary-cta { display: flex; align-items: center; justify-content: space-between; width: 170px; padding: 14px 0; border-bottom: 1px solid var(--ink); font-size: 12px; }
.primary-cta span { color: var(--red); font-size: 18px; }
.hero-stats { display: flex; gap: clamp(24px, 4vw, 70px); margin: auto 0 0; padding-top: 40px; }
.hero-stats div { min-width: 64px; }
.hero-stats dt { font-size: 25px; letter-spacing: -.04em; }
.hero-stats dd { margin: 5px 0 0; font-size: 10px; color: var(--muted); }
.hero-collage { position: relative; background: #d7d6cd; }
.hero-image { margin: 0; position: absolute; overflow: hidden; }
.hero-image--main { inset: 5% 23% 0 3%; }
.hero-image--secondary { width: 27%; height: 44%; right: 3%; bottom: 6%; border: 8px solid var(--paper); }
.hero-image--main img { object-position: center 19%; }
.vertical-note { position: absolute; right: 4.5%; top: 6%; writing-mode: vertical-rl; font-size: 9px; line-height: 2.1; letter-spacing: .14em; }
.hero-seal { position: absolute; right: 14%; top: 32%; width: 70px; height: 70px; border-radius: 50%; background: var(--red); color: white; display: grid; place-content: center; text-align: center; font-family: var(--serif); font-size: 24px; line-height: .8; transform: rotate(8deg); }
.hero-seal span { font-family: var(--sans); font-size: 8px; letter-spacing: .2em; }

.ticker { background: var(--ink); color: var(--paper); overflow: hidden; height: 42px; display: flex; align-items: center; font-size: 10px; letter-spacing: .15em; white-space: nowrap; }
.ticker div { min-width: max-content; animation: ticker 22s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

.directory { padding: 110px 4.5vw 120px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 70px; }
.section-heading h2, .spectrum h2, .context h2 { margin: 0; font-family: var(--serif); font-size: clamp(46px, 5.3vw, 82px); line-height: 1.06; font-weight: 500; letter-spacing: -.045em; }
.section-heading > p { justify-self: end; width: min(430px, 100%); color: var(--muted); font-size: 13px; line-height: 1.8; }
.toolbar { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 34px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { border: 1px solid var(--line); border-radius: 30px; background: transparent; color: var(--muted); padding: 9px 15px; font-size: 11px; cursor: pointer; transition: .2s; }
.filter em { font-style: normal; font-size: 8px; margin-left: 5px; opacity: .7; }
.filter:hover, .filter.is-active { color: white; background: var(--ink); border-color: var(--ink); }
.search { width: 235px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding: 8px 2px; }
.search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 11px; }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px 18px; }
.brand-card { min-width: 0; cursor: pointer; }
.brand-visual { aspect-ratio: 4 / 3; background: #ddd; position: relative; overflow: hidden; }
.brand-visual img { transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .4s; }
.brand-card:hover .brand-visual img { transform: scale(1.035); filter: saturate(1.08); }
.brand-number { position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: rgba(242,239,232,.92); display: grid; place-items: center; font-size: 9px; }
.brand-wordmark { position: absolute; inset: auto 12px 12px; background: rgba(242,239,232,.92); backdrop-filter: blur(5px); padding: 15px 17px 13px; }
.brand-wordmark strong { display: block; font-size: clamp(20px, 2.1vw, 34px); letter-spacing: -.04em; line-height: 1; }
.brand-wordmark span { display: block; margin-top: 6px; font-family: var(--serif); font-size: 12px; }
.brand-info { padding: 15px 3px; display: grid; grid-template-columns: 1fr auto; gap: 8px; border-bottom: 1px solid var(--line); }
.brand-info h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 16px; }
.brand-info p { margin: 6px 0 0; color: var(--muted); font-size: 10px; }
.brand-info span { font-size: 18px; transition: transform .25s; }
.brand-card:hover .brand-info span { transform: translate(3px,-3px); color: var(--red); }
.empty-state { padding: 80px 0; text-align: center; color: var(--muted); }

.spectrum { background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 42% 58%; padding: 110px 4.5vw; gap: 8vw; }
.light { color: #c3c1b8; }
.spectrum-intro > p:last-child { max-width: 440px; color: #a8a69e; font-size: 13px; line-height: 1.9; margin-top: 36px; }
.spectrum-list { border-top: 1px solid rgba(255,255,255,.35); }
.spectrum-list article { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.22); padding: 28px 0; transition: padding .25s, color .25s; }
.spectrum-list article:hover { padding-left: 12px; color: var(--acid); }
.spectrum-list b, .spectrum-list span { font-size: 9px; letter-spacing: .12em; font-weight: 500; }
.spectrum-list h3 { margin: 0 0 7px; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.spectrum-list p { margin: 0; font-size: 11px; color: #8d8b84; }

.context { display: grid; grid-template-columns: 46% 54%; min-height: 760px; }
.context-image { min-height: 600px; overflow: hidden; }
.context-copy { padding: 110px 8vw 90px 7vw; }
.context-points { margin-top: 65px; border-top: 1px solid var(--line); }
.context-points article { display: grid; grid-template-columns: 42px 130px 1fr; gap: 14px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.context-points b { font-size: 9px; color: var(--red); }
.context-points h3 { margin: 0; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.context-points p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.note-section { padding: 120px 4.5vw; text-align: center; background: #dfe648; }
.note-section > p { font-size: 10px; letter-spacing: .12em; }
.note-section h2 { margin: 40px auto; font-family: var(--serif); font-size: clamp(42px, 6vw, 88px); font-weight: 500; line-height: 1.1; }
.note-section h2 i { font-weight: 400; }
.back-top { display: inline-block; border-bottom: 1px solid; padding: 10px 0; font-size: 11px; }
footer { background: var(--ink); color: var(--paper); padding: 48px 4.5vw; display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 40px; }
footer strong { display: block; font-family: var(--serif); font-size: 24px; }
footer small { font-size: 8px; letter-spacing: .14em; color: #8d8b84; }
footer p { margin: 0; color: #8d8b84; font-size: 9px; line-height: 1.8; }
footer p a { color: var(--paper); border-bottom: 1px solid #66645d; }
.copyright { text-align: right; letter-spacing: .1em; }

.brand-dialog { width: min(980px, 92vw); max-height: 88vh; padding: 0; border: 0; background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.45); overflow: hidden; }
.brand-dialog[open] { display: grid; grid-template-columns: 47% 53%; }
.brand-dialog::backdrop { background: rgba(12,12,10,.7); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 22px; cursor: pointer; }
.dialog-image { min-height: 620px; }
.dialog-content { padding: 68px 60px; overflow-y: auto; }
.dialog-index { color: var(--red); font-size: 9px; letter-spacing: .15em; }
.dialog-en { margin: 64px 0 5px; font-weight: 700; font-size: 15px; letter-spacing: .08em; }
.dialog-content h2 { margin: 0; font-family: var(--serif); font-size: 62px; font-weight: 500; letter-spacing: -.05em; }
.dialog-tagline { margin: 18px 0 40px; font-family: var(--serif); font-size: 18px; color: var(--muted); }
.dialog-meta { display: flex; gap: 7px; flex-wrap: wrap; }
.dialog-meta span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 20px; font-size: 9px; }
.dialog-description { margin-top: 40px; font-size: 13px; line-height: 2; }
.dialog-note { margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.7; }

@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 660px; }
  .hero-collage { min-height: 720px; }
  .section-heading, .spectrum, .context { grid-template-columns: 1fr; }
  .section-heading > p { justify-self: start; margin-top: 30px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .spectrum { gap: 70px; }
  .context-image { height: 80vh; }
}

@media (max-width: 620px) {
  .topbar { height: 70px; padding: 0 20px; }
  .brand-mark small { display: none; }
  .hero-copy { padding: 70px 20px 32px; min-height: 600px; }
  .hero h1 { font-size: 62px; }
  .lead { font-size: 15px; margin-top: 32px; }
  .hero-collage { min-height: 560px; }
  .hero-image--main { inset: 3% 11% 0 0; }
  .hero-image--secondary { width: 34%; right: 2%; }
  .directory, .spectrum { padding: 80px 20px; }
  .section-heading { margin-bottom: 45px; }
  .section-heading h2, .spectrum h2, .context h2 { font-size: 44px; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filter { flex: 0 0 auto; }
  .search { width: 100%; }
  .brand-grid { grid-template-columns: 1fr; gap: 34px; }
  .brand-visual { aspect-ratio: 5 / 4; }
  .spectrum-list article { grid-template-columns: 34px 1fr; }
  .spectrum-list article > span { display: none; }
  .context-copy { padding: 80px 20px; }
  .context-points article { grid-template-columns: 28px 1fr; }
  .context-points p { grid-column: 2; }
  .note-section { padding: 90px 20px; }
  footer { grid-template-columns: 1fr; }
  .copyright { text-align: left; }
  .brand-dialog[open] { display: block; overflow-y: auto; }
  .dialog-image { min-height: 320px; height: 40vh; }
  .dialog-content { padding: 42px 26px; }
  .dialog-en { margin-top: 30px; }
  .dialog-content h2 { font-size: 48px; }
}

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