/* ============================================
   THE GRAFFER BUNAD — Editorial Overrides
   Base: article-shared.css
   Prefix: grf-
   Accent: Deep crimson #8B2942
   ============================================ */

:root {
  --art-accent: #8B2942;
  --art-accent-dark: #6E1F34;
  --art-accent-glow: rgba(139, 41, 66, 0.4);
  --art-accent-subtle: rgba(139, 41, 66, 0.06);
  --art-link: #2d6a3f;
  --art-link-hover: #8B2942;
  --art-link-underline: #8B2942;
  --art-ornament: #8B2942;
  --art-subtitle-color: #D4899B;
  --art-hero-accent-line: #D4899B;
}


/* ── Hero overrides ── */
.art-hero__media img {
  object-position: center 35%;
  animation: grfHeroKB 30s ease-out forwards;
}

@keyframes grfHeroKB {
  0%   { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.art-hero__overlay {
  background:
    linear-gradient(180deg,
      rgba(10, 22, 40, 0.1) 0%,
      rgba(10, 22, 40, 0) 20%,
      rgba(10, 22, 40, 0.3) 55%,
      rgba(10, 22, 40, 0.85) 80%,
      rgba(10, 22, 40, 1) 100%
    );
}

.art-hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(139, 41, 66, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.art-hero__category {
  background: rgba(139, 41, 66, 0.85);
  color: #fff;
}

/* ── Tighten intro → first section gap ── */
.art-intro + .art-section {
  padding-top: var(--space-md);
}


/* ============================================
   GRF-THEN-NOW — Side-by-side historical comparison
   Square/portrait old photo next to modern photo
   ============================================ */
.grf-then-now {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: end;
  max-width: 860px;
  margin: var(--space-2xl) auto;
}

.grf-then-now__item {
  margin: 0;
  text-align: center;
}

.grf-then-now__img-wrap {
  overflow: hidden;
  border-radius: var(--radius-xl, 12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.grf-then-now__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.grf-then-now__label {
  display: inline-block;
  margin-top: var(--space-md);
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: var(--text-sm, 0.875rem);
  font-style: italic;
  color: var(--art-accent);
  letter-spacing: 0.05em;
}

.grf-then-now figcaption {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-xs, 0.75rem);
  color: var(--color-text-muted, #888);
  font-style: italic;
  margin-top: var(--space-xs);
}


/* ============================================
   GRF-DETAIL — Close-up detail display
   For square craft images (pocket, brooch)
   Centered with subtle dark background accent
   ============================================ */
.grf-detail {
  max-width: 500px;
  margin: var(--space-2xl) auto;
  text-align: center;
}

.grf-detail__img-wrap {
  overflow: hidden;
  border-radius: var(--radius-xl, 12px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

.grf-detail__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.grf-detail figcaption {
  margin-top: var(--space-md);
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-xs, 0.75rem);
  color: var(--color-text-muted, #888);
  font-style: italic;
}


/* ============================================
   GRF-VARIANTS — Two-variant callout
   Styled list showing the two bunad variants
   ============================================ */
.grf-variants {
  max-width: 680px;
  margin: var(--space-xl) auto var(--space-2xl);
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.grf-variants li {
  position: relative;
  padding: var(--space-lg) var(--space-xl) var(--space-lg) calc(var(--space-xl) + 4px);
  background: linear-gradient(135deg, rgba(139, 41, 66, 0.05) 0%, rgba(139, 41, 66, 0.02) 100%);
  border-left: 4px solid var(--art-accent);
  border-radius: 0 var(--radius-lg, 8px) var(--radius-lg, 8px) 0;
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-lg, 1.125rem);
  line-height: 1.7;
  color: var(--color-text-secondary, #4a4a4a);
}


/* ============================================
   GRF-GARMENT — Garment detail descriptions
   Label + description pairs for bunad components
   ============================================ */
.grf-garment {
  max-width: 800px;
  margin: var(--space-lg) auto;
}

.grf-garment__label {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--art-accent);
  margin-bottom: var(--space-xs);
}

.grf-garment__text {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-lg, 1.125rem);
  line-height: 1.9;
  color: var(--color-text-secondary, #4a4a4a);
}

/* Space around inline crosslink card in legacy section */
.grf-inline-cta {
  margin: var(--space-xl) auto;
}


/* ── Responsive — Tablet (768px) ── */
@media (max-width: 768px) {
  .art-hero__media img {
    object-position: center 30%;
  }

  .grf-then-now {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: 400px;
  }

  .grf-detail {
    max-width: 350px;
  }

  .grf-variants li {
    margin-left: var(--space-md);
    margin-right: var(--space-md);
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .art-hero__media img {
    animation: none;
    transform: none;
  }
}
