/* ── Mercheagle global styles — editorial light-mode ── */
:root {
  --bg:           #ffffff;
  --tint:         #fafaf8;
  --tint-warm:    #f7f5f2;
  --accent:       #b84411;  /* passes WCAG AA 4.5:1 contrast on white for 11-14px eyebrow/mono text */
  --accent-hover: #e85d26;  /* brighter on hover where contrast less critical */
  --accent-soft:  #fff3ec;
  --ink:          #0f0f0f;
  --body:         #6b6b6b;
  --rule:         #ebebeb;
  --placeholder:  #f0ede8;
  --placeholder-2:#e8e4dd;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --max:          1440px;
}

/* ── Accessibility ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Inter', -apple-system, sans-serif; font-weight: 400; line-height: 1.6; color: var(--body); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Typography classes ── */
.display { font-family: 'Fraunces', Georgia, serif; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 0.98; }
.eyebrow { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.label   { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--body); }
.mono    { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.04em; color: var(--body); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 52px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(235,235,235,0.7);
  display: flex; align-items: center;
  padding: 0 40px;
}
.nav-inner {
  width: 100%; max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
}
.logo { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); flex-shrink: 0; }
.logo .accent { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 12px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); transition: color 200ms var(--ease); }
.nav-links a:hover { color: var(--accent); }
.nav-search { flex: 1; max-width: 280px; margin-left: auto; position: relative; }
.nav-search input {
  width: 100%; padding: 7px 14px 7px 12px;
  border: 1px solid var(--rule); border-radius: 100px;
  font-size: 12px; background: var(--tint); color: var(--ink);
  font-family: inherit; outline: none;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.nav-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,93,38,0.08); background: #fff; }
.nav-search input::placeholder { color: var(--body); }
.ghost-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1px solid var(--ink); border-radius: 100px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  transition: all 220ms var(--ease); flex-shrink: 0;
}
.ghost-pill:hover { background: var(--ink); color: #fff; }

/* ── Breadcrumbs ── */
.breadcrumbs {
  max-width: var(--max); margin: 0 auto;
  padding: 72px 40px 0;
  font-size: 12px; color: var(--body);
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin-right: 4px; color: var(--rule); }
.breadcrumbs a { color: var(--body); transition: color 180ms; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { color: var(--ink); font-weight: 500; }

/* ── HERO ── */
.hero {
  position: relative;
  padding: 140px 40px 80px;
  background: linear-gradient(160deg, #fff9f6 0%, #ffffff 60%);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px;
  align-items: center; min-height: 640px;
}
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.hero-eyebrow .dot { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.hero h1 { font-size: clamp(64px, 8vw, 120px); margin-bottom: 20px; }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.hero-accent-line { font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; font-size: 22px; color: var(--accent); margin-bottom: 16px; letter-spacing: -0.01em; }
.hero-sub { font-size: 17px; line-height: 1.7; color: var(--body); max-width: 480px; margin-bottom: 32px; font-weight: 300; }

/* Hero search bar */
.hero-search {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1.5px solid var(--rule); border-radius: 100px;
  padding: 12px 20px; max-width: 480px; margin-bottom: 28px;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.hero-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232,93,38,0.08); }
.hero-search svg { color: var(--body); flex-shrink: 0; }
.hero-search input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 15px; color: var(--ink); background: transparent; }
.hero-search input::placeholder { color: var(--body); font-weight: 300; }
.hero-search button {
  background: var(--accent); color: #fff; border: none;
  padding: 7px 18px; border-radius: 100px; font-size: 13px; font-weight: 500;
  font-family: inherit; cursor: pointer; flex-shrink: 0;
  transition: background 200ms var(--ease);
}
.hero-search button:hover { background: #c84d1e; }

.hero-ctas { display: flex; gap: 14px; align-items: center; }
.cta-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border: 1px solid var(--ink); border-radius: 100px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: var(--ink);
  transition: all 220ms var(--ease);
}
.cta-pill:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.cta-pill .arrow { transition: transform 220ms var(--ease); }
.cta-pill:hover .arrow { transform: translateX(4px); }
.cta-text { font-size: 13px; color: var(--body); font-weight: 400; padding-left: 18px; border-left: 1px solid var(--rule); margin-left: 6px; }
.cta-text a { color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 1px; }

/* Hero visual */
.hero-visual { position: relative; height: 560px; display: flex; align-items: center; justify-content: center; }
.halo {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(232,93,38,0.08) 0%, rgba(255,249,246,0.4) 40%, transparent 70%);
  filter: blur(20px); z-index: 0;
}
/* Hero mosaic: 6 real shirt mockups arranged in an asymmetric grid */
.hero-mosaic {
  position: relative; z-index: 1;
  width: 520px; max-width: 100%;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px;
  gap: 10px; transform: rotate(-1.5deg);
  filter: drop-shadow(0 24px 48px rgba(15,15,15,0.10));
}
.hero-tile {
  position: relative; overflow: hidden; border-radius: 12px;
  background: var(--placeholder);
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
  will-change: transform;
}
.hero-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 700ms var(--ease); }
.hero-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,15,15,0.18); z-index: 3; }
.hero-tile:hover img { transform: scale(1.1); }
.hero-tile-0 { grid-row: span 2; }
.hero-tile-3 { grid-row: span 2; }
.hero-mosaic--empty { height: 400px; background: var(--placeholder); border-radius: 12px; }
.floating-note {
  position: absolute; z-index: 2; background: #fff; border: 1px solid var(--rule);
  padding: 10px 14px; border-radius: 6px;
  box-shadow: 0 8px 24px rgba(15,15,15,0.06);
  font-size: 11px; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.floating-note.one { top: 60px; right: -20px; transform: rotate(3deg); }
.floating-note.two { bottom: 80px; left: -40px; transform: rotate(-4deg); }
.floating-note .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }

/* ── STATS ── */
.stats { padding: 72px 40px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: var(--rule); }
.stat-num { font-family: 'Fraunces', serif; font-weight: 700; font-size: 60px; letter-spacing: -0.04em; color: var(--ink); line-height: 1; margin-bottom: 10px; }
.stat-num sup { font-size: 18px; font-weight: 500; color: var(--accent); letter-spacing: 0; vertical-align: super; margin-left: 4px; }
.stat-label { font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--body); }

/* ── SECTION COMMON ── */
.section { padding: 100px 40px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; gap: 40px; }
.section-head-left { max-width: 640px; }
.section-head h2 { font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.035em; color: var(--ink); line-height: 1.02; margin-top: 14px; }
.section-head h2 em { font-weight: 400; font-style: italic; color: var(--accent); }
.section-head p { font-size: 15px; color: var(--body); max-width: 320px; line-height: 1.7; font-weight: 300; }

/* ── PILLAR GRID ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.pillar {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; border-radius: 12px; overflow: hidden;
  background: var(--ink); /* fallback */
  text-decoration: none; cursor: pointer;
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
  opacity: 0; transform: translateY(12px);
  isolation: isolate;
  aspect-ratio: 1/1;
}
.pillar.in { opacity: 1; transform: translateY(0); }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(15,15,15,0.22); }
.pillar-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 0; transition: transform 800ms var(--ease);
  filter: grayscale(0.3);
}
.pillar:hover .pillar-bg { transform: scale(1.08); filter: grayscale(0); }
.pillar-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,15,15,0.10) 0%, rgba(15,15,15,0.45) 55%, rgba(15,15,15,0.88) 100%);
  transition: background 340ms var(--ease);
}
.pillar:hover .pillar-scrim { background: linear-gradient(180deg, rgba(15,15,15,0.08) 0%, rgba(15,15,15,0.50) 55%, rgba(15,15,15,0.92) 100%); }
.pillar-body { position: relative; z-index: 2; color: #fff; display: flex; flex-direction: column; gap: 6px; }
.pillar-name { font-family: 'Fraunces', serif; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: #fff; line-height: 1.15; }
.pillar-sub { display: none; } /* hidden on uniform grid; title + count is enough */
.pillar-meta { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.pillar-count { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.85); letter-spacing: 0.08em; text-transform: uppercase; }
.pillar-count--accent { color: #ff9a6b; }
.pillar-dot { width: 3px; height: 3px; background: rgba(255,255,255,0.5); border-radius: 50%; }
.pillar-arrow {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  opacity: 0; transform: translate(-4px, 4px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
  color: #fff;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  padding: 8px; border-radius: 50%;
}
.pillar:hover .pillar-arrow { opacity: 1; transform: translate(0, 0); }

/* All tiles uniform square — no span variants. .featured keeps styling hooks
   (Most Popular badge) but not grid spans. */

/* ── Predictive search dropdown ── */
.autocomplete-wrap { position: relative; }
.autocomplete-panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--rule); border-radius: 12px;
  box-shadow: 0 20px 48px rgba(15,15,15,0.14);
  max-height: 480px; overflow-y: auto; z-index: 120;
  padding: 6px; display: flex; flex-direction: column; gap: 2px;
}
.ac-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: 8px; text-decoration: none;
  transition: background 140ms var(--ease);
}
.ac-item:hover, .ac-item:focus { background: var(--tint-warm); }
.ac-thumb {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 6px; overflow: hidden; background: var(--placeholder);
}
.ac-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-text { flex: 1; min-width: 0; }
.ac-title { font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-cat { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--body); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.08em; }
.ac-empty { padding: 14px; font-size: 13px; color: var(--body); }
.ac-all {
  display: block; padding: 10px 12px; margin-top: 4px;
  border-top: 1px solid var(--rule);
  font-size: 12px; color: var(--accent); text-decoration: none; font-weight: 500;
}
.ac-all:hover { background: var(--tint-warm); }

/* ── FEATURED STRIP ── */
.featured-section { background: var(--tint-warm); padding: 100px 40px; }
.featured-section .section-inner { max-width: var(--max); margin: 0 auto; }
.featured-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shirt-card { cursor: pointer; text-decoration: none; display: block; }
.shirt-card-image {
  position: relative;
  aspect-ratio: 1/1; background: var(--placeholder); border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15,15,15,0.06);
  transition: box-shadow 300ms var(--ease), transform 300ms var(--ease);
  overflow: hidden;
}
.shirt-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); display: block; will-change: transform; }
.shirt-card:hover .shirt-card-image { box-shadow: 0 20px 48px rgba(15,15,15,0.15); transform: translateY(-4px); }
.shirt-card:hover .shirt-card-image img { transform: scale(1.12); }
@media (hover: none) {
  /* On touch, tap-to-focus gives a subtle zoom for ecommerce feel */
  .shirt-card:active .shirt-card-image img { transform: scale(1.08); }
}
/* overlay hub tag on image bottom-left */
.shirt-card-tag {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border-radius: 100px; padding: 4px 10px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--body); pointer-events: none;
  opacity: 0; transform: translateY(4px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.shirt-card:hover .shirt-card-tag { opacity: 1; transform: translateY(0); }
/* subtle index number overlay top-right */
.shirt-card-index {
  position: absolute; top: 10px; right: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: rgba(255,255,255,0.7); pointer-events: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.shirt-card-meta { padding: 12px 2px 0; }
.shirt-card-title { font-size: 13px; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shirt-card-cat { font-size: 10px; color: var(--body); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; opacity: 0.7; }

/* ── EDITORIAL PROMISE ── */
.promise { padding: 120px 40px; background: #fff; }
.promise-inner { max-width: var(--max); margin: 0 auto; }
.promise-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; margin-bottom: 80px; align-items: start; }
.promise-top h2 { font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(40px, 5vw, 68px); letter-spacing: -0.035em; line-height: 1; color: var(--ink); margin-top: 14px; }
.promise-top h2 em { font-weight: 400; font-style: italic; color: var(--accent); }
.promise-top .body { padding-top: 16px; }
.promise-top .body p { font-size: 16px; line-height: 1.8; color: var(--body); font-weight: 300; margin-bottom: 18px; }
.promise-top .body p.lead { font-size: 18px; color: var(--ink); font-weight: 400; }
.promise-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.promise-item { padding: 32px 24px 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; }
.promise-item:last-child { border-right: none; }
.promise-item .num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--accent); letter-spacing: 0.12em; }
.promise-item .title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); line-height: 1.2; }
.promise-item .desc { font-size: 13px; color: var(--body); line-height: 1.7; font-weight: 300; }

/* ── CTA STRIP ── */
.cta-strip { padding: 120px 40px; text-align: center; background: #fff; border-top: 1px solid var(--rule); }
.cta-strip h2 { font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(44px, 6vw, 84px); letter-spacing: -0.04em; line-height: 1; color: var(--ink); margin-bottom: 24px; }
.cta-strip h2 em { font-weight: 400; font-style: italic; color: var(--accent); }
.cta-strip p { font-size: 16px; color: var(--body); max-width: 480px; margin: 0 auto 36px; line-height: 1.7; font-weight: 300; }
.cta-strip .cta-pill { padding: 16px 32px; font-size: 14px; }

/* ── FOOTER ── */
footer { padding: 80px 40px 48px; border-top: 1px solid var(--rule); background: #fff; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 2fr; gap: 80px; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; }
.foot-brand .logo { font-size: 22px; }
.foot-brand p { font-size: 13px; color: var(--body); max-width: 280px; line-height: 1.7; font-weight: 300; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-col h3 { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.foot-col a { display: block; font-size: 13px; color: var(--body); margin-bottom: 10px; font-weight: 300; transition: color 180ms; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { max-width: var(--max); margin: 56px auto 0; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--body); letter-spacing: 0.08em; font-family: 'JetBrains Mono', monospace; }

/* ── ARTICLE / CONTENT PAGES ── */
article.page { max-width: 760px; margin: 0 auto; padding: 80px 24px; padding-top: 120px; }
article.page h1 { font-family: 'Fraunces', serif; font-weight: 800; font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.04em; color: var(--ink); line-height: 1; margin-bottom: 28px; }
article.page h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.intro-content { line-height: 1.78; }
.intro-content p { margin: 1em 0; color: var(--body); font-size: 16px; font-weight: 300; line-height: 1.8; }
.intro-content p:first-child { font-size: 18px; color: #3a3a3a; font-weight: 400; }
.intro-content h2 { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--ink); margin: 2.4em 0 0.6em; border-bottom: none; }
.intro-content h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.1rem; color: var(--ink); margin: 1.6em 0 0.4em; }
.intro-content ul, .intro-content ol { padding-left: 1.4em; margin: 0.8em 0; }
.intro-content li { margin: 0.35em 0; color: var(--body); font-size: 15px; font-weight: 300; }
.intro-content strong { font-weight: 600; color: var(--ink); }
.intro-content em { font-style: italic; color: var(--accent); }
.intro-content a { color: var(--accent); border-bottom: 1px solid rgba(232,93,38,0.3); transition: border-color 180ms; }
.intro-content a:hover { border-color: var(--accent); }

/* ── Editorial rail (shared: hub + pillar pages) ── */
.rail-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--body); }
.rail-nav { display: flex; flex-direction: column; gap: 2px; }
.rail-link { font-size: 13px; color: var(--body); text-decoration: none; padding: 6px 10px; border-radius: 4px; border-left: 2px solid transparent; transition: all 160ms; font-weight: 400; }
.rail-link:hover, .rail-link.active { color: var(--ink); border-left-color: var(--accent); background: var(--tint-warm); }
.rail-meta { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; border-top: 1px solid var(--rule); }
.rail-meta-item { display: flex; flex-direction: column; gap: 2px; }
.rail-meta-label { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--body); opacity: 0.6; }
.rail-meta-val { font-size: 13px; color: var(--ink); font-weight: 400; line-height: 1.4; }
.rail-meta-link { color: var(--accent); text-decoration: none; }
.rail-meta-link:hover { text-decoration: underline; }

/* ── FAQ accordion ── */
.faq-section { margin-top: 3.5em; padding-top: 2.5em; border-top: 1px solid var(--rule); }
.faq-section h2 { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 1.2em; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item:first-of-type { border-top: 1px solid var(--rule); }
.faq-q { list-style: none; cursor: pointer; padding: 18px 0; font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; user-select: none; }
.faq-q::marker { content: ''; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-family: 'JetBrains Mono', monospace; font-size: 16px; color: var(--accent); flex-shrink: 0; transition: transform 200ms; }
details[open] > .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 20px; color: var(--body); font-size: 15px; line-height: 1.75; font-weight: 300; margin: 0; }

/* ── Collection tag cloud ── */
.hub-more { margin-top: 3.5em; padding-top: 2.5em; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 28px; }
.hub-more-group { display: flex; flex-direction: column; gap: 12px; }
.hub-more-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--body); }
.hub-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-tag { font-size: 13px; color: var(--ink); text-decoration: none; padding: 6px 14px; border: 1px solid var(--rule); border-radius: 100px; transition: all 160ms; font-weight: 400; }
.hub-tag:hover { border-color: var(--accent); color: var(--accent); background: var(--tint-warm); }

/* ── Design index + pagination (hub + pillar pages) ── */
.hub-index-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.hub-index-head-left .eyebrow { display: block; margin-bottom: 10px; }
.hub-index-head h2 { font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; margin: 0; }
.hub-index-head h2 em { font-weight: 400; font-style: italic; color: var(--accent); }
.hub-index-page-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--body); white-space: nowrap; }
.hub-index-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hub-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 60px; flex-wrap: wrap; }
.hub-page-btn { font-size: 13px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 10px 20px; border: 1px solid var(--rule); border-radius: 100px; transition: all 160ms; }
.hub-page-btn:hover { border-color: var(--accent); color: var(--accent); }
.hub-page-btn.disabled { color: var(--body); opacity: 0.3; cursor: default; pointer-events: none; }
.hub-page-nums { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.hub-page-num { font-size: 13px; font-weight: 400; color: var(--body); text-decoration: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid transparent; transition: all 160ms; }
.hub-page-num:hover { border-color: var(--rule); color: var(--ink); }
.hub-page-num.active { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }
@media (max-width: 1100px) { .hub-index-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .hub-index-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hub-index-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ── Amazon CTA button ── */
.amazon-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 24px; background: var(--accent); border-radius: 6px;
  color: #fff; font-weight: 600; font-size: 15px; margin: 2.5em 0;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}
.amazon-cta:hover { background: #c84d1e; transform: translateY(-2px); }
.amazon-cta-arrow { font-size: 1.2rem; }

/* ── Design grid (hub / pillar pages) ── */
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 2em; }
.design-card { text-decoration: none; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--rule); transition: all 260ms var(--ease); background: #fff; }
.design-card:hover { box-shadow: 0 16px 40px rgba(15,15,15,0.08); transform: translateY(-3px); }
.design-card-img { aspect-ratio: 1; overflow: hidden; background: var(--placeholder); }
.design-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease); }
.design-card:hover .design-card-img img { transform: scale(1.04); }
.design-card-info { padding: 12px 14px; }
.design-card-title { font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { height: auto; min-height: 360px; }
  .hero-mosaic { width: 100%; max-width: 520px; margin: 0 auto; }
  .hero-sub { max-width: 100%; }
  .hero-search { max-width: 100%; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-top { grid-template-columns: 1fr; gap: 40px; }
  .promise-items { grid-template-columns: repeat(2, 1fr); }
  .promise-item { border-bottom: 1px solid var(--rule); }
  .promise-item:nth-child(2n) { border-right: none; }
  .stats-inner { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-search { max-width: 220px; }
  .floating-note.one { top: 20px; right: 8px; }
  .floating-note.two { bottom: 20px; left: 8px; }
}
@media (max-width: 720px) {
  .nav-inner { gap: 10px; flex-wrap: nowrap; }
  .ghost-pill { display: none; }
  .nav-search { flex: 1; max-width: none; min-width: 0; margin-left: auto; }
  .nav-search input { font-size: 13px; padding: 7px 12px; }
  .stats-inner { grid-template-columns: 1fr; row-gap: 32px; }
  .stat + .stat::before { display: none; }
  .hero-mosaic { grid-auto-rows: 110px; }
  .hero-tile-0, .hero-tile-3 { grid-row: span 2; }
}
@media (max-width: 640px) {
  .hero { padding: 92px 20px 56px; }
  .nav { padding: 0 14px; }
  .logo { font-size: 18px; }
  .stats { padding: 48px 20px; }
  .section { padding: 60px 20px; }
  .featured-section { padding: 60px 20px; }
  .promise { padding: 60px 20px; }
  .cta-strip { padding: 60px 20px; }
  footer { padding: 60px 20px 40px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .design-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .cta-text { border-left: none; padding-left: 0; margin-left: 0; }
  .floating-note { font-size: 10px; padding: 8px 10px; }
  .floating-note .mono { font-size: 9px !important; }
}
@media (max-width: 420px) {
  .nav-links { display: none; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px) !important; }
  .autocomplete-panel { left: -14px; right: -14px; }
}
