/* =========================================================
   璃颜 Lí Yán — Global Stylesheet
   Aesthetic: Japanese wabi-sabi minimalism
   Palette: ivory, beige, warm gold, deep charcoal
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Noto+Serif+SC:wght@200;300;400;500&family=Noto+Sans+SC:wght@300;400&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --ivory:    #faf8f4;
  --cream:    #f2ece3;
  --beige:    #e5d9c9;
  --sand:     #d4c4ae;
  --gold:     #b8975a;
  --gold-lt:  #d4b07a;
  --charcoal: #1e1a14;
  --brown:    #3d3025;
  --muted:    #7a6e62;
  --line:     rgba(180,160,130,0.25);

  --ff-display: 'Cormorant Garamond', 'Noto Serif SC', serif;
  --ff-body:    'Noto Sans SC', 'Noto Serif SC', sans-serif;

  --nav-h: 72px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--ivory);
  color: var(--charcoal);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.brand-name {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--charcoal);
}

.brand-name-jp {
  font-size: clamp(0.7rem, 2vw, 0.9rem);
  letter-spacing: 0.3em;
  color: var(--gold);
  font-weight: 300;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}

.nav__logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav__logo .kanji {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  transition: color 0.2s;
}

.nav__logo .pinyin {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav__links a {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--brown);
  font-weight: 400;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav__links a:hover { color: var(--gold); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__links a.active { color: var(--gold); }

/* Mobile menu toggle */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s var(--ease);
}

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem) 2rem;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 99;
}

.nav__mobile a {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--brown);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}

.nav__mobile a:hover { color: var(--gold); }
.nav__mobile.open { display: flex; }

/* ── Gold divider ─────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sand);
}

.divider__mark {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) clamp(1.5rem, 5vw, 4rem) 4rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(212, 176, 122, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(180, 160, 130, 0.08) 0%, transparent 60%),
    var(--ivory);
}

/* Subtle paper texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.hero__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.45em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--charcoal);
  line-height: 1.05;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.4s forwards;
}

.hero__title-pinyin {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 3vw, 1.6rem);
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.25em;
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.55s forwards;
}

.hero__slogan {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--muted);
  letter-spacing: 0.12em;
  max-width: 520px;
  margin: 0 auto 3.5rem;
  font-weight: 300;
  line-height: 2;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.7s forwards;
}

.hero__cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.85s forwards;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 0.9rem 2rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}

.btn-primary:hover {
  background: var(--brown);
  border-color: var(--brown);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(30, 26, 20, 0.18);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--sand);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--ivory);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(184, 151, 90, 0.25);
}

/* ── Sections ─────────────────────────────────────────────── */
.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
}

.section--cream { background: var(--cream); }
.section--beige { background: var(--beige); }

.section__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section__label {
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.8rem;
}

.section__title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section__sub {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  max-width: 480px;
  margin: 0 auto;
  line-height: 2;
}

/* ── Features Strip (homepage) ────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background 0.2s;
}

.feature:last-child { border-right: none; }

.feature:hover { background: var(--cream); }

.feature__icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature__title {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.feature__desc {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.8;
}

/* ── Philosophy / Brand Story ─────────────────────────────── */
.philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.philosophy--reverse { direction: rtl; }
.philosophy--reverse > * { direction: ltr; }

.philosophy__image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--beige);
}

.philosophy__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.philosophy__image:hover img { transform: scale(1.03); }

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

.philosophy__content { padding: 1rem 0; }

.philosophy__label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.2rem;
}

.philosophy__title {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.philosophy__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 2.1;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

/* ── Product Grid ─────────────────────────────────────────── */
.products-intro {
  text-align: center;
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 4rem) 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.product-card {
  background: var(--ivory);
  padding: 0;
  overflow: hidden;
  transition: background 0.2s;
  cursor: default;
}

.product-card:hover { background: var(--cream); }

.product-card__image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card__image img { transform: scale(1.05); }

/* Placeholder gradient for product images */
.product-card__image.placeholder {
  background: linear-gradient(135deg, var(--beige) 0%, var(--sand) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__image.placeholder::after {
  content: attr(data-kanji);
  font-family: var(--ff-display);
  font-size: 3rem;
  color: rgba(184, 151, 90, 0.4);
  letter-spacing: 0.1em;
}

.product-card__body {
  padding: 1.5rem 1.75rem 2rem;
  border-top: 1px solid var(--line);
}

.product-card__origin {
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.product-card__name {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.product-card__name-cn {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.product-card__desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.9;
  letter-spacing: 0.03em;
  margin-bottom: 1.2rem;
}

.product-card__badge {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--sand);
  color: var(--muted);
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

.product-card__platforms {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--brown);
  border: 1px solid var(--line);
  padding: 0.55rem 0.9rem;
  transition: all 0.2s var(--ease);
  background: transparent;
}

.platform-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184, 151, 90, 0.05);
}

.platform-link__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── Platform banner ──────────────────────────────────────── */
.platforms-section {
  background: var(--charcoal);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}

.platforms-section .section__label {
  color: rgba(212, 176, 122, 0.8);
}

.platforms-section .section__title {
  color: var(--ivory);
  margin-bottom: 0.8rem;
}

.platforms-section .section__sub {
  color: rgba(250, 248, 244, 0.55);
  margin-bottom: 3rem;
}

.platforms-list {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid rgba(250, 248, 244, 0.2);
  padding: 0.7rem 1.4rem;
  transition: all 0.25s var(--ease);
}

.platform-pill:hover {
  border-color: var(--gold-lt);
  color: var(--gold-lt);
}

/* ── About page ───────────────────────────────────────────── */
.about-hero {
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 4rem) clamp(1.5rem, 5vw, 4rem) 4rem;
  background:
    linear-gradient(to bottom, rgba(250,248,244,0) 0%, var(--ivory) 100%),
    linear-gradient(135deg, rgba(212,176,122,0.18) 0%, rgba(180,160,130,0.08) 100%),
    var(--ivory);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '璃颜';
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  font-family: var(--ff-display);
  font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 300;
  color: rgba(184, 151, 90, 0.07);
  line-height: 1;
  letter-spacing: 0.1em;
  pointer-events: none;
  user-select: none;
}

.about-hero__content { max-width: 640px; }

.about-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.about-hero__sub {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  line-height: 2.1;
  max-width: 480px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-card {
  background: var(--ivory);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}

.value-card:hover { background: var(--cream); }

.value-card__num {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.6;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1rem;
}

.value-card__title {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.value-card__text {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 2;
  letter-spacing: 0.03em;
}

.timeline {
  max-width: 640px;
  margin: 0 auto;
}

.timeline__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline__item:last-child { border-bottom: none; }

.timeline__year {
  font-family: var(--ff-display);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  padding-top: 0.2rem;
  font-weight: 400;
}

.timeline__content h4 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.timeline__content p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.9;
}

/* ── Contact page ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.contact-info__label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.contact-info__title {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.contact-info__desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 2.1;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s;
}

.contact-item:hover {
  border-color: var(--sand);
  background: var(--cream);
}

.contact-item__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-item__label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.2rem;
}

.contact-item__value {
  font-size: 0.88rem;
  color: var(--charcoal);
  letter-spacing: 0.04em;
}

/* WeChat QR */
.wechat-qr {
  background: var(--cream);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--line);
}

.wechat-qr__box {
  width: 160px;
  height: 160px;
  background: white;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  position: relative;
}

/* QR placeholder pattern */
.wechat-qr__box::before {
  content: '';
  position: absolute;
  inset: 12px;
  background-image:
    repeating-linear-gradient(0deg, var(--beige) 0px, var(--beige) 8px, transparent 8px, transparent 16px),
    repeating-linear-gradient(90deg, var(--beige) 0px, var(--beige) 8px, transparent 8px, transparent 16px);
  opacity: 0.5;
}

.wechat-qr__box::after {
  content: 'WeChat';
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  position: absolute;
  z-index: 1;
}

.wechat-qr__label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--brown);
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  transition: all 0.2s var(--ease);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  padding-left: 1.3rem;
}

.social-link__icon {
  width: 16px;
  text-align: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: rgba(250, 248, 244, 0.5);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem) 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
  align-items: start;
}

.footer__brand .kanji {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.3rem;
}

.footer__brand .tagline {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.3);
}

.footer__nav {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.footer__nav a {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.45);
  transition: color 0.2s;
}

.footer__nav a:hover { color: var(--gold-lt); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(250, 248, 244, 0.25);
}

.footer__origin {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(212, 176, 122, 0.4);
}

/* ── Scroll animations ────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Page hero for inner pages ────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) clamp(1.5rem, 5vw, 4rem) 4rem;
  border-bottom: 1px solid var(--line);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .philosophy { grid-template-columns: 1fr; }
  .philosophy--reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .features { grid-template-columns: 1fr 1fr; }
  .feature { border-right: none; border-bottom: 1px solid var(--line); }
  .feature:nth-child(odd) { border-right: 1px solid var(--line); }
  .feature:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .feature { border-right: none; }
  .feature:nth-child(odd) { border-right: none; }
  .product-grid { grid-template-columns: 1fr; }
}
