@font-face {
  font-family: 'Inter Tight';
  src: url('assets/fonts/InterTight-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MiSans';
  src: url('assets/fonts/MiSans-subset.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F5F4F1;
  --surface: #FFFFFF;
  --ink: #231916;
  --ink-2: #5C5550;
  --ink-3: #8C847E;
  --line: rgba(35, 25, 22, 0.12);
  --line-soft: rgba(35, 25, 22, 0.06);
  --accent: #6B1F33;
  --accent-2: #4E9BE8;
  --accent-3: #F2CE3C;
  --nav-h: 66px;
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter Tight', 'MiSans', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'kern' 1;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px;
}

.logo {
  display: block;
  width: 118px;
  aspect-ratio: 822 / 154;
  background: currentColor;
  -webkit-mask: url('assets/geograv-logo.svg') no-repeat center / contain;
  mask: url('assets/geograv-logo.svg') no-repeat center / contain;
}
.logo--light { width: 136px; color: #FFFFFF; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.sec-head { max-width: 620px; margin-bottom: 44px; }
.sec-title { font-size: clamp(26px, 3.4vw, 40px); margin: 12px 0 16px; }
.sec-desc { color: var(--ink-2); font-size: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn--dark { background: var(--ink); color: #FFF; }
.btn--dark:hover { background: var(--accent); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(245, 244, 241, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.is-stuck { border-bottom-color: var(--line-soft); }
.nav__inner { display: flex; align-items: center; gap: 18px; }
.nav__brand { display: flex; align-items: center; margin-right: auto; }
.nav__links { display: none; gap: 30px; font-size: 15px; }
.nav__links a { color: var(--ink-2); transition: color 0.2s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.lang {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lang:hover { border-color: var(--ink); }
.lang span[data-lang-label] { display: none; }
.lang span.is-on { display: inline; }
.nav__cta { display: none; height: 40px; padding: 0 20px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { padding: 44px 0 72px; }
.hero__inner { display: grid; gap: 40px; align-items: center; }
.hero__title {
  font-size: clamp(44px, 12vw, 92px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 14px 0 10px;
}
.hero__sub { font-size: clamp(17px, 2.4vw, 22px); font-weight: 600; color: var(--accent); }
.hero__desc { margin-top: 20px; color: var(--ink-2); max-width: 42ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__slogan {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__media { margin: 0; border-radius: var(--radius); overflow: hidden; background: #E9E7E3; }
.hero__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* ---------- story ---------- */
.story { padding: 76px 0; border-top: 1px solid var(--line-soft); }
.timeline { display: grid; gap: 26px; }
.timeline li {
  display: grid;
  gap: 6px;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.timeline__year { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--accent); }
.timeline__name { font-weight: 600; font-size: 15px; }
.timeline__note { font-size: 14px; color: var(--ink-3); }

/* ---------- colors ---------- */
.colors { padding: 76px 0; border-top: 1px solid var(--line-soft); }
.swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
.swatch { display: grid; gap: 10px; }
.swatch__chip {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
}
.swatch__zh { font-weight: 600; font-size: 15px; }
.swatch__mood { font-size: 13px; color: var(--ink-3); letter-spacing: 0.04em; }

/* ---------- products ---------- */
.products { padding: 76px 0; border-top: 1px solid var(--line-soft); }
.grid { display: grid; gap: 18px; padding: 0 22px; max-width: 1200px; margin: 0 auto; }
.card { margin: 0; }
.card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  background: #E9E7E3;
  transition: transform 0.6s var(--ease);
}
.card:hover img { transform: scale(1.025); }
.card img { will-change: transform; }
.card figcaption { display: grid; gap: 2px; padding: 14px 2px 0; }
.card__title { font-weight: 600; font-size: 15px; }
.card__meta { font-size: 13px; color: var(--ink-3); }

/* ---------- craft ---------- */
.craft { padding: 76px 0; border-top: 1px solid var(--line-soft); }
.craft__grid { display: grid; gap: 14px; }
.feature {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.feature h3 { font-size: 17px; margin-bottom: 10px; }
.feature p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- buy ---------- */
.buy { padding: 76px 0 88px; border-top: 1px solid var(--line-soft); }
.buy__cards { display: grid; gap: 14px; }
.buy__card {
  display: grid;
  gap: 4px;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.buy__card:hover { border-color: var(--ink); transform: translateY(-2px); }
.buy__card--static:hover { border-color: var(--line-soft); transform: none; }
.buy__label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.buy__name { font-size: 17px; font-weight: 600; }
.buy__go { font-size: 14px; color: var(--accent); margin-top: 6px; }
.buy__card--static .buy__go { color: var(--ink-3); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 62px 0 26px; }
.foot__inner { display: grid; gap: 40px; }
.foot__slogan { margin-top: 18px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.foot__cols { display: grid; gap: 30px; }
.foot__cols h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #FFF; margin-bottom: 14px; font-weight: 600; }
.foot__cols a, .foot__cols span { display: block; font-size: 14.5px; margin-bottom: 9px; }
.foot__cols a { transition: color 0.2s ease; }
.foot__cols a:hover { color: #FFF; }
.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.foot__bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (min-width: 620px) {
  .swatches { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .craft__grid { grid-template-columns: repeat(2, 1fr); }
  .buy__cards { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .foot__cols { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .wrap { padding: 0 40px; }
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .hero { padding: 66px 0 96px; }
  .hero__inner { grid-template-columns: 1fr 0.85fr; gap: 64px; }
  .grid { grid-template-columns: repeat(3, 1fr); padding: 0 40px; gap: 22px; }
  .craft__grid { grid-template-columns: repeat(4, 1fr); }
  .buy__cards { grid-template-columns: repeat(3, 1fr); }
  .story, .colors, .products, .craft, .buy { padding: 104px 0; }
  .sec-head { margin-bottom: 56px; }
  .swatches { gap: 24px; }
  .foot__inner { grid-template-columns: 1fr 1.4fr; gap: 60px; }
}

@media (min-width: 1200px) {
  .grid { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover img { transform: none; }
}
