/* ============================================
   EASTDRESSY — Design System
   An English-language magazine for Chinese
   traditional fashion & silk culture
   ============================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand colors */
  --cinnabar: #A02020;       /* 朱砂 - primary accent */
  --cinnabar-dark: #7A1818;
  --cinnabar-light: #C83C3C;
  --jade: #2D6A4F;           /* 玉色 - secondary */
  --jade-light: #40916C;
  --gold: #B08D57;           /* 鎏金 - tertiary accent */
  --gold-light: #D4AF6A;

  /* Neutrals - warm ivory/ink palette */
  --ink: #1A1715;            /* near-black with warmth */
  --ink-soft: #2C2622;
  --stone: #5A544E;
  --stone-light: #8A8378;
  --line: #E5DFD5;
  --line-strong: #D4CCBE;
  --cream: #FAF7F0;          /* page background */
  --paper: #FFFDF7;          /* card/panel background */
  --ivory: #F5F0E6;          /* section background */

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Radius */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 23, 21, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 23, 21, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 23, 21, 0.12);

  /* Container */
  --max-w: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ---------- Utility ---------- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cinnabar);
  margin-bottom: var(--space-sm);
}

.eyebrow.light { color: var(--gold-light); }

.section-head { margin-bottom: var(--space-xl); }
.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.section-head.center { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 600;
}

.section-lede {
  font-size: 1.125rem;
  color: var(--stone);
  max-width: 56ch;
  margin: var(--space-md) auto 0;
}

.link-arrow {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cinnabar);
  border-bottom: 1px solid var(--cinnabar);
  padding-bottom: 2px;
  white-space: nowrap;
}
.link-arrow:hover { color: var(--cinnabar-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cinnabar);
  color: #fff;
}
.btn-primary:hover { background: var(--cinnabar-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding: 0.875rem 0.25rem;
  border-radius: 0;
}
.btn-ghost:hover { border-bottom-color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

/* ---------- Tags ---------- */
.tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  color: #fff;
}
.tag-red { background: var(--cinnabar); }
.tag-gold { background: var(--gold); }
.tag-jade { background: var(--jade); }
.tag-ink { background: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 247, 240, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--cinnabar);
  color: #fff;
  font-size: 1.125rem;
  font-family: var(--font-display);
  border-radius: var(--r-sm);
}

.logo-text { letter-spacing: 0.02em; }

.main-nav {
  display: flex;
  gap: 0;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-link:hover { color: var(--cinnabar); }
.nav-link.is-active { color: var(--cinnabar); }
.nav-link.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 1rem; right: 1rem;
  height: 2px;
  background: var(--cinnabar);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 23, 21, 0.75) 0%,
    rgba(26, 23, 21, 0.45) 50%,
    rgba(160, 32, 32, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-3xl) 0 var(--space-2xl);
  max-width: 760px;
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-md);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: #fff;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 500;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-lg);
  max-width: 52ch;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: #fff;
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* ---------- Categories ---------- */
.categories {
  padding: var(--space-3xl) 0;
  background: var(--cream);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.cat-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cat-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.cat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cat-card:hover .cat-image img { transform: scale(1.05); }

.cat-body {
  padding: var(--space-md) var(--space-md) var(--space-lg);
}

.cat-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cinnabar);
  display: block;
  margin-bottom: 0.75rem;
}

.cat-body h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.cat-body p {
  font-size: 0.95rem;
  color: var(--stone);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.cat-link {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: all 0.2s;
}
.cat-card:hover .cat-link {
  color: var(--cinnabar);
  border-color: var(--cinnabar);
}

/* ---------- Featured Articles ---------- */
.featured {
  padding: var(--space-3xl) 0;
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-lg);
}

.feature-card--large {
  grid-column: span 2;
  grid-row: span 2;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.feature-image {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--r-md);
  position: relative;
}
.feature-card--large .feature-image { aspect-ratio: 4/3; }

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.feature-card:hover .feature-image img { transform: scale(1.04); }

.feature-image .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
}

.feature-body { padding-right: 0.25rem; }

.feature-meta {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--stone-light);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.feature-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.feature-card--large .feature-body h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.feature-body h3 a { color: var(--ink); }
.feature-body h3 a:hover { color: var(--cinnabar); }

.feature-body p {
  font-size: 0.95rem;
  color: var(--stone);
  line-height: 1.65;
}
.feature-card:not(.feature-card--large) .feature-body p { display: none; }

/* ---------- Highlight Section ---------- */
.highlight {
  padding: var(--space-3xl) 0;
  background: var(--cream);
}

.highlight-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: var(--space-2xl);
  align-items: center;
}

.highlight-image img {
  width: 100%;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}

.highlight-body .section-title { margin-bottom: var(--space-md); }

.highlight-lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  font-weight: 400;
}

.highlight-body p {
  color: var(--stone);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

/* ---------- Weave Grid ---------- */
.textiles {
  padding: var(--space-3xl) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.weave-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

.weave-card {
  background: var(--paper);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: background 0.2s;
}
.weave-card:hover { background: var(--cream); }

.weave-char {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--cinnabar);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.weave-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.weave-card p {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.6;
}

.center-cta { text-align: center; }

/* ---------- Newsletter ---------- */
.newsletter {
  padding: var(--space-2xl) 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.newsletter-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: #fff;
  margin-bottom: var(--space-sm);
  max-width: 18ch;
}

.newsletter-text p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  max-width: 40ch;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 420px;
  margin-left: auto;
}

.newsletter-form input {
  padding: 1rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-sm);
  color: #fff;
  transition: all 0.2s;
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-form .btn-primary {
  width: fit-content;
  background: var(--gold);
  color: var(--ink);
}
.newsletter-form .btn-primary:hover { background: var(--gold-light); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-soft);
  color: rgba(255,255,255,0.6);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo { color: #fff; margin-bottom: var(--space-sm); }
.footer-brand .logo-mark { background: var(--cinnabar); }

.footer-tagline {
  font-size: 0.95rem;
  max-width: 32ch;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.footer-domain {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col h5 {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-md);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-family: var(--font-ui);
  color: rgba(255,255,255,0.4);
}

/* ============================================
   PAGE HEADER (sub-pages)
   ============================================ */
.page-header {
  padding: calc(72px + var(--space-2xl)) 0 var(--space-xl);
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(160,32,32,0.3), transparent 60%),
              radial-gradient(ellipse at bottom left, rgba(176,141,87,0.15), transparent 60%);
}

.page-header .container { position: relative; z-index: 1; }

.page-header .eyebrow { color: var(--gold-light); }

.page-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff;
  margin-bottom: var(--space-md);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.page-lede {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 56ch;
  line-height: 1.7;
}

/* Page nav (sub-section tabs) */
.page-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-xl);
  overflow-x: auto;
  scrollbar-width: none;
}
.page-nav::-webkit-scrollbar { display: none; }

.page-nav a {
  padding: 1rem 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}
.page-nav a:hover { color: var(--cinnabar); }
.page-nav a.is-active {
  color: var(--cinnabar);
  border-bottom-color: var(--cinnabar);
}

/* ============================================
   CONTENT SECTIONS (sub-pages)
   ============================================ */
.page-section {
  padding: var(--space-2xl) 0;
}
.page-section + .page-section {
  border-top: 1px solid var(--line);
}
.page-section.alt {
  background: var(--ivory);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.content-grid.reverse .content-image { order: 2; }

.content-image img {
  width: 100%;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.content-text .eyebrow { margin-bottom: 0.75rem; }

.content-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.content-text p {
  color: var(--stone);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.content-text p strong { color: var(--ink); font-weight: 600; }

.content-text ul {
  list-style: none;
  margin: var(--space-md) 0;
}
.content-text li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--stone);
  line-height: 1.6;
}
.content-text li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cinnabar);
}

/* Stat cards */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
.stat-card {
  text-align: center;
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cinnabar);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Full-width intro */
.intro-block {
  max-width: 720px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}
.intro-block p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ============================================
   DYNASTY / TYPE CARDS
   ============================================ */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.type-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.type-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.type-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.type-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.type-card:hover .type-card-image img { transform: scale(1.06); }

.type-card-body {
  padding: var(--space-md);
}

.type-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.type-card-body .dynasty-sub {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.type-card-body p {
  font-size: 0.93rem;
  color: var(--stone);
  line-height: 1.6;
}

/* ============================================
   SILK TYPES GRID
   ============================================ */
.silk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.silk-card {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-md);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.silk-card:hover { box-shadow: var(--shadow-md); }

.silk-card-img {
  min-height: 100%;
  overflow: hidden;
}
.silk-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.silk-card-body { padding: var(--space-md) var(--space-md) var(--space-md) 0; }

.silk-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.silk-card-body .silk-sub {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--jade);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.silk-card-body p {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.6;
}

/* ============================================
   FABRIC TYPES (绫罗绸缎)
   ============================================ */
.fabric-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  overflow: hidden;
}

.fabric-cell {
  background: var(--paper);
  padding: var(--space-md);
  text-align: center;
  transition: background 0.2s;
}
.fabric-cell:hover { background: var(--cream); }

.fabric-cell + .fabric-cell { border-left: 1px solid var(--line-strong); }

.fabric-char {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--cinnabar);
  margin-bottom: 0.25rem;
  line-height: 1;
  font-weight: 500;
}

.fabric-cell h4 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.fabric-cell p {
  font-size: 0.78rem;
  color: var(--stone);
  line-height: 1.5;
}

/* ============================================
   ARTICLES / NEWS
   ============================================ */
.article-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.article-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.article-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.article-card:hover .article-image img { transform: scale(1.05); }

.article-image .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.article-body {
  padding: var(--space-md);
}

.article-meta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--stone-light);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.article-body h3 a { color: var(--ink); }
.article-body h3 a:hover { color: var(--cinnabar); }

.article-excerpt {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.6;
}

/* Article detail (long form) */
.article-single {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-2xl) 0;
}

.article-single .tag { margin-bottom: var(--space-sm); }

.article-single h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.article-single .byline {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--stone-light);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--line);
}

.article-single p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.article-single h2 {
  font-size: 1.75rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}
.article-single h3 {
  font-size: 1.375rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.article-single blockquote {
  border-left: 3px solid var(--cinnabar);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
  font-style: italic;
  color: var(--stone);
  font-size: 1.125rem;
}

.article-feat-image {
  margin: var(--space-lg) -2rem;
  width: calc(100% + 4rem);
}
.article-feat-image img {
  width: 100%;
  border-radius: var(--r-md);
}
.article-feat-image figcaption {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--stone-light);
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  padding: calc(72px + var(--space-2xl)) 0 var(--space-2xl);
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 80%, rgba(160,32,32,0.35), transparent 60%);
}
.about-hero .container { position: relative; z-index: 1; max-width: 760px; text-align: center; margin: 0 auto; }
.about-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #fff;
  margin-bottom: var(--space-md);
}
.about-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 56ch;
  margin: 0 auto;
}

.about-section {
  padding: var(--space-2xl) 0;
}
.about-section.alt { background: var(--ivory); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.pillar {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.pillar-icon {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--cinnabar);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.pillar h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.6;
}

.editorial-list {
  list-style: none;
  margin-top: var(--space-md);
}
.editorial-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: var(--space-md);
}
.editorial-list li:last-child { border-bottom: none; }

.editorial-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cinnabar);
  min-width: 2rem;
}

.editorial-text h4 {
  font-size: 1.0625rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
}
.editorial-text p {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--large { grid-column: span 2; grid-row: auto; }
  .weave-grid { grid-template-columns: repeat(2, 1fr); }
  .fabric-grid { grid-template-columns: repeat(3, 1fr); }
  .fabric-cell + .fabric-cell { border-left: none; }
  .fabric-cell { border-bottom: 1px solid var(--line-strong); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .silk-grid { grid-template-columns: 1fr; }
  .article-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .newsletter-inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .newsletter-form { margin-left: 0; max-width: 100%; }
  .pillars { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .content-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .content-grid.reverse .content-image { order: 0; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: var(--space-sm) 0;
  }
  .main-nav.is-open .nav-link { padding: 0.75rem 2rem; }

  .hero { min-height: 80vh; }
  .hero-content { padding: calc(72px + var(--space-xl)) 0 var(--space-xl); }

  .categories, .featured, .highlight, .textiles { padding: var(--space-xl) 0; }

  .category-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }

  .weave-grid { grid-template-columns: 1fr; }
  .fabric-grid { grid-template-columns: repeat(2, 1fr); }

  .cards-3 { grid-template-columns: 1fr; }
  .article-list { grid-template-columns: 1fr; }
  .silk-card { grid-template-columns: 1fr; }
  .silk-card-body { padding: 0 var(--space-md) var(--space-md); }

  .stat-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .footer-brand { grid-column: span 2; }

  .about-grid { grid-template-columns: 1fr; }

  .section-head.split { flex-direction: column; align-items: flex-start; }

  .hero-scroll { display: none; }
}
