@font-face {
  font-family: "League Gothic";
  src: url("/fonts/league-gothic-latin.woff2") format("woff2");
  font-weight: 400;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Chiron Hei HK";
  src: url("/fonts/chiron-hei-hk-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #100f0d;
  --ink-soft: #2b2a27;
  --bone: #f7f2e9;
  --bone-deep: #ece5d8;
  --stone: #6b665f;
  --stone-dark: #a39d93;
  --rule: #d8d1c4;
  --signal: #e5641a;
  --signal-deep: #c9530f;
  --display: "League Gothic", "Arial Narrow", "Noto Sans SC", "PingFang SC", "Noto Sans Devanagari", sans-serif;
  --text: "Chiron Hei HK", "Helvetica Neue", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans Devanagari", "Nirmala UI", system-ui, sans-serif;
  --pad: clamp(20px, 3vw, 56px);
  --section: clamp(72px, 9vw, 148px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 50;
  background: var(--bone); color: var(--ink); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: clamp(14px, 1.9vw, 28px) var(--pad) 0;
  color: var(--bone);
}
.mark { display: inline-flex; flex-direction: column; text-decoration: none; justify-self: start; line-height: 1; }
.mark-name { font-family: var(--text); font-weight: 700; font-size: clamp(18px, 2.25vw, 32px); letter-spacing: 0.02em; }
.mark-legal { font-size: clamp(8px, 0.66vw, 10px); font-weight: 700; letter-spacing: 0.04em; margin-top: 0.45em; }
.nav-links { display: flex; gap: clamp(20px, 2.8vw, 44px); }
.nav-links a { text-decoration: none; font-size: clamp(13px, 1.1vw, 16px); opacity: 0.92; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav-end { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); justify-self: end; }

.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; color: inherit; font: inherit; font-size: clamp(13px, 1.1vw, 16px);
  cursor: pointer; padding: 6px 2px;
}
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 148px;
  background: var(--bone); color: var(--ink); padding: 6px; border: 1px solid var(--ink);
}
.lang-menu button {
  display: block; width: 100%; text-align: left; background: none; border: 0; font: inherit;
  padding: 9px 12px; cursor: pointer; color: inherit;
}
.lang-menu button:hover, .lang-menu button[aria-selected="true"] { background: var(--ink); color: var(--bone); }

.nav-cta {
  text-decoration: none; border: 1px solid currentColor; padding: 0.62em 1.15em;
  font-size: clamp(13px, 1.1vw, 16px); line-height: 1.2; white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--bone); color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(560px, min(74svh, 46vw));
  height: 41.6vw;
  max-height: 92svh;
  background: var(--ink); color: var(--bone);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(96px, 13.2vw, 190px) var(--pad) clamp(18px, 2.2vw, 34px);
}
.hero-photo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 9, 8, 0.28);
}
.hero-title {
  font-family: var(--display); font-weight: 400; font-stretch: 75%;
  font-size: clamp(76px, 12.6vw, 214px);
  line-height: 0.84; letter-spacing: 0.005em; text-transform: uppercase;
  color: var(--bone); white-space: nowrap;
}
.hero-sub {
  margin-top: clamp(14px, 1.6vw, 26px);
  font-size: clamp(15px, 1.55vw, 23px); line-height: 1.35; max-width: 34em;
}
.cta {
  display: inline-flex; align-items: center; gap: 0.3em;
  margin-top: clamp(16px, 2vw, 30px);
  background: var(--signal); color: #fff; text-decoration: none;
  font-size: clamp(19px, 1.35vw, 21px); font-weight: 600;
  padding: 0.82em 1.3em; border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.cta:hover { background: var(--signal-deep); }
.cta:active { transform: translateY(1px); }

.tags { display: flex; gap: clamp(14px, 1.9vw, 30px); align-items: stretch; }
.tags li { position: relative; }
.tags li + li::before {
  content: ""; position: absolute; left: calc(clamp(14px, 1.9vw, 30px) / -2); top: 10%; bottom: 10%;
  width: 1px; background: rgba(247, 242, 233, 0.35);
}
.tag {
  display: flex; flex-direction: column; justify-content: center;
  width: clamp(176px, 16.2vw, 260px); min-height: clamp(84px, 7.4vw, 116px);
  padding: 0.75em 1em 0.75em 2.1em;
  background: var(--bone); color: var(--ink); text-decoration: none;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 84%, 0 16%);
  position: relative; line-height: 1.2;
  transform-origin: 0 50%;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tag::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='10.6,3.5 97,3.5 97,96.5 10.6,96.5 3,82.5 3,17.5' fill='none' stroke='%232b2a27' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.tag::before {
  content: ""; position: absolute; left: 0.85em; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
  border-radius: 50%; background: var(--ink);
}
.tag:hover { transform: rotate(-2deg); }
.tag-no { font-size: clamp(10px, 0.82vw, 13px); letter-spacing: 0.04em; }
.tag strong { font-size: clamp(16px, 1.45vw, 22px); font-weight: 600; margin: 0.1em 0; }
.tag-spec { font-size: clamp(10px, 0.82vw, 13px); color: var(--ink-soft); }

/* ---------- process ---------- */
.process {
  display: grid; grid-template-columns: minmax(240px, 1.15fr) 4fr; gap: clamp(24px, 3vw, 48px);
  padding: clamp(40px, 4.4vw, 64px) var(--pad) clamp(56px, 6vw, 96px);
  align-items: start;
}
.display-m {
  font-family: var(--display); font-weight: 400; font-stretch: 75%; text-transform: none;
  font-size: clamp(48px, 5.3vw, 84px); line-height: 0.92; letter-spacing: 0.003em;
}
.process .display-m { white-space: nowrap; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.steps li { padding: 0 clamp(14px, 1.6vw, 26px); border-left: 1px solid var(--rule); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.step-no { display: block; font-size: 0.9em; color: var(--ink-soft); }
.steps h3 { font-size: clamp(18px, 1.55vw, 24px); font-weight: 600; margin: 0.15em 0 0.4em; }
.steps p { color: var(--ink-soft); max-width: 22em; }

/* ---------- collection ---------- */
.display-l {
  font-family: var(--display); font-weight: 400; font-stretch: 75%;
  font-size: clamp(60px, 9vw, 150px); line-height: 0.86;
}
.display-xl {
  font-family: var(--display); font-weight: 400; font-stretch: 75%;
  font-size: clamp(72px, 13vw, 220px); line-height: 0.84;
}
.lede { font-size: clamp(17px, 1.45vw, 22px); line-height: 1.45; max-width: 32em; }

.collection {
  background: var(--ink); color: var(--bone);
  padding: var(--section) var(--pad);
}
.collection-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: end;
  padding-bottom: clamp(48px, 6vw, 96px);
}
.collection-head .lede { color: #cfc8bb; }
.look {
  display: grid; grid-template-columns: minmax(200px, 1fr) 3fr; gap: clamp(24px, 3vw, 48px);
  border-top: 1px solid #35322d; padding: clamp(28px, 3.2vw, 48px) 0;
}
.look-head { display: flex; flex-direction: column; gap: 0.4em; }
.look .display-m { font-size: clamp(56px, 6.4vw, 104px); }
.pieces { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.piece-no { display: block; font-family: var(--display); font-size: clamp(30px, 2.6vw, 42px); line-height: 1; color: var(--stone-dark); margin-bottom: 0.35em; }
.pieces h4 { font-size: clamp(17px, 1.35vw, 21px); font-weight: 600; margin-bottom: 0.4em; }
.pieces p { color: #cfc8bb; }

/* ---------- partners ---------- */
.partners { padding: var(--section) var(--pad); }
.who {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: clamp(40px, 5vw, 80px); border-top: 1px solid var(--ink);
}
.who li { padding: clamp(28px, 2.2vw, 32px) clamp(16px, 1.8vw, 28px) 0 0; }
.who li + li { padding-left: clamp(16px, 1.8vw, 28px); border-left: 1px solid var(--rule); }
.who h3 { font-size: clamp(19px, 1.6vw, 25px); font-weight: 600; margin-bottom: 0.5em; }
.who p { color: var(--ink-soft); }

/* ---------- company ---------- */
.company {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 96px);
  padding: 0 var(--pad) var(--section); align-items: end;
}
.company .lede { margin-top: 0.8em; color: var(--ink-soft); }
.facts { border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--stone); }
.facts dd a { text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- contact ---------- */
.contact {
  background: var(--ink); color: var(--bone);
  padding: var(--section) var(--pad);
}
.contact .lede { margin-top: 1em; color: #cfc8bb; }
.cta-lg { font-size: clamp(18px, 2vw, 30px); margin-top: clamp(28px, 3vw, 48px); }

.foot {
  display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between;
  background: var(--ink); color: var(--stone-dark); border-top: 1px solid #2b2925;
  padding: 26px var(--pad); font-size: 0.88em;
}
.foot .mark-name { font-size: 18px; color: var(--bone); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--bone); }

/* ---------- reveal ---------- */
.js-hero .hero-title, .js-hero .hero-sub, .js-hero .cta, .js-hero .tag {
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.js-hero .hero-sub { animation-delay: 0.08s; }
.js-hero .cta { animation-delay: 0.16s; }
.js-hero .tags li:nth-child(1) .tag { animation-delay: 0.26s; }
.js-hero .tags li:nth-child(2) .tag { animation-delay: 0.34s; }
.js-hero .tags li:nth-child(3) .tag { animation-delay: 0.42s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-hero .hero-title, .js-hero .hero-sub, .js-hero .cta, .js-hero .tag { animation: none; }
  .tag:hover { transform: none; }
}

/* ---------- non-latin scripts ---------- */
html[lang="zh"] .hero-title, html[lang="hi"] .hero-title { font-family: var(--text); font-weight: 800; font-size: clamp(54px, 9.6vw, 168px); line-height: 0.98; letter-spacing: 0; }
html[lang="zh"] .display-m, html[lang="hi"] .display-m,
html[lang="zh"] .display-l, html[lang="hi"] .display-l,
html[lang="zh"] .display-xl, html[lang="hi"] .display-xl { font-family: var(--text); font-weight: 800; line-height: 1.05; letter-spacing: 0; }
html[lang="zh"] .display-l, html[lang="hi"] .display-l { font-size: clamp(44px, 6.4vw, 108px); }
html[lang="zh"] .display-xl, html[lang="hi"] .display-xl { font-size: clamp(48px, 8.4vw, 140px); }
html[lang="zh"] .display-m, html[lang="hi"] .display-m { font-size: clamp(36px, 4vw, 64px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .who { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .who li:nth-child(3) { padding-left: 0; border-left: 0; }
  .pieces { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { height: auto; min-height: 100svh; max-height: none; justify-content: flex-end; gap: 40px; padding-top: 120px; }
  .hero-photo { object-position: 72% 50%; }
  .hero-shade { background: rgba(10, 9, 8, 0.45); }
  .hero-title { white-space: normal; font-size: clamp(84px, 27vw, 150px); }
  .tags { flex-direction: column; gap: 10px; }
  .tags li + li::before { display: none; }
  .tag { width: min(100%, 300px); min-height: 0; padding-top: 0.7em; padding-bottom: 0.7em; }
  .process, .collection-head, .look, .company { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 24px; }
  .steps li, .steps li:first-child { border-left: 0; border-top: 1px solid var(--rule); padding: 24px 0 0; }
  .pieces { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr; }
  .who li, .who li + li { padding: 28px 0 0; border-left: 0; }
  .who li + li { border-top: 1px solid var(--rule); }
  .cta { flex-wrap: wrap; }
  html[lang="zh"] .hero-title, html[lang="hi"] .hero-title { font-size: clamp(48px, 15vw, 96px); }
}
