/* ══════════════════════════════════════════════════════
   NOVUS — Scarf Style Guide
   File: css/scarf-guide.css
   ══════════════════════════════════════════════════════ */

/* ── Hero overrides ── */
/* ── Scarf Guide Hero (standalone — no shop dependency) ── */
.sg-hero {
  position: relative;
  background: linear-gradient(160deg, #1A0533 0%, #2D0A4E 50%, #1A0533 100%);
  padding: 10rem 2rem 7rem;
  text-align: center;
  overflow: hidden;
}

/* Subtle pattern overlay */
.sg-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 60px,
    rgba(255,255,255,0.012) 60px, rgba(255,255,255,0.012) 61px
  );
  pointer-events: none;
}

/* Gold bottom border accent */
.sg-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 1px;
  background: var(--gold);
}

.sg-hero .section-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.sg-hero h1 {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.05;
  margin: 0 auto 1.25rem;
  max-width: 700px;
}

.sg-hero h1 em {
  font-style: italic;
  color: var(--soft-lilac);
}

.sg-hero p {
  position: relative; z-index: 1;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 1.5rem;
}


.sg-hero p { max-width: 520px; margin: 0.75rem auto 1.5rem; }

.sg-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.sg-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Intro ── */
.sg-intro {
  background: var(--warm-white);
  border-bottom: 1px solid rgba(107,33,168,0.08);
}
.sg-intro-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}
.sg-intro-text {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--charcoal);
  line-height: 1.9;
  font-weight: 400;
  margin-bottom: 2rem;
}
.sg-intro-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sg-tag {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(107,33,168,0.15);
  padding: 0.35rem 0.9rem;
}

/* ── Section wrapper ── */
.sg-section { background: var(--warm-white); }
.sg-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

/* ── Shared image styles ── */
.sg-feature-img,
.sg-card-img,
.sg-mini-img {
  position: relative;
  overflow: hidden;
}
.sg-feature-img img,
.sg-card-img img,
.sg-mini-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.sg-feature-img:hover img,
.sg-card-img:hover img,
.sg-mini-img:hover img { transform: scale(1.04); }

/* Style number badge */
.sg-num {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.6);
  background: rgba(45,10,78,0.5);
  padding: 0.25rem 0.6rem;
  backdrop-filter: blur(4px);
}

.sg-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  font-family: var(--font-sans);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--violet);
  color: white;
  padding: 0.2rem 0.6rem;
}
.sg-badge--gold {
  background: var(--gold);
  color: var(--plum);
}

/* Step tag */
.sg-step-tag {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ── FEATURED — style 01 ── */
.sg-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.sg-feature-img {
  aspect-ratio: 4/5;
}
.sg-feature-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--plum);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.sg-feature-text h2 em {
  font-style: italic;
  color: var(--violet);
}
.sg-lead {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Steps */
.sg-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.sg-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.sg-step-n {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  background: rgba(201,169,110,0.1);
  padding: 0.3rem 0.55rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.sg-step p {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* Tip block */
.sg-tip {
  border-left: 2px solid var(--gold);
  padding: 0.75rem 1rem;
  background: rgba(201,169,110,0.06);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}
.sg-tip-label {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

/* ── TWO COL — styles 02–03 ── */
.sg-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.sg-card { display: flex; flex-direction: column; }
.sg-card-img { aspect-ratio: 3/4; }
.sg-card-body {
  padding: 1.8rem 0 0;
  flex: 1;
}
.sg-card-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--plum);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.sg-card-body h3 em { font-style: italic; color: var(--violet); }
.sg-card-body p {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

/* ── DIVIDER ── */
.sg-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.sg-divider::before,
.sg-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(107,33,168,0.1);
}
.sg-divider-text {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── THREE COL — styles 04–06 ── */
.sg-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.sg-mini-card { display: flex; flex-direction: column; }
.sg-mini-img { aspect-ratio: 3/4; }
.sg-mini-body { padding: 1.4rem 0 0; flex: 1; }
.sg-mini-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300;
  color: var(--plum);
  line-height: 1.1;
  margin-bottom: 0.65rem;
}
.sg-mini-body h3 em { font-style: italic; color: var(--violet); }
.sg-mini-body p {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── INTERLUDE — craft section ── */
.sg-interlude {
  background: linear-gradient(135deg, #2D0A4E, #3D1466);
  position: relative;
  overflow: hidden;
}
.sg-interlude::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 50px,
    rgba(255,255,255,0.015) 50px, rgba(255,255,255,0.015) 51px
  );
}
.sg-interlude-inner {
  position: relative; z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
}
.sg-interlude-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.sg-interlude-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.sg-interlude-inner h2 em {
  font-style: italic;
  color: var(--soft-lilac);
}
.sg-interlude-inner p {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}
.sg-interlude-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,169,110,0.3);
  padding-bottom: 0.2rem;
  transition: gap 0.2s, border-color 0.2s;
}
.sg-interlude-cta:hover { gap: 0.8rem; border-color: var(--gold); }

/* ── ASYMMETRIC — styles 07–09 ── */
.sg-asym-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.sg-asym-large .sg-card-img { aspect-ratio: 3/4; }
.sg-asym-small {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.sg-asym-small .sg-mini-img { aspect-ratio: 16/10; }

/* ── SHOP CTA ── */
.sg-shop-cta {
  background: var(--pale-lavender);
  border-top: 1px solid rgba(107,33,168,0.08);
}
.sg-shop-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 7rem 2rem;
  text-align: center;
}
.sg-shop-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--plum);
  line-height: 1.15;
  margin: 1rem 0;
}
.sg-shop-cta-inner h2 em { font-style: italic; color: var(--violet); }
.sg-shop-cta-inner p {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 2.5rem;
}
.sg-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.sg-cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  background: var(--plum);
  color: white;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.3s ease;
}
.sg-cta-primary:hover { background: var(--violet); color: white; }
.sg-cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(107,33,168,0.25);
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.25s;
}
.sg-cta-secondary:hover { border-color: var(--gold); color: var(--gold); }


/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .sg-section-inner { padding: 5rem 2rem; gap: 5rem; }
  .sg-feature { gap: 3.5rem; }
}

@media (max-width: 900px) {
  .sg-feature {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .sg-feature-img { aspect-ratio: 16/9; max-height: 420px; }

  .sg-asym-grid {
    grid-template-columns: 1fr;
  }
  .sg-asym-large .sg-card-img { aspect-ratio: 16/9; max-height: 380px; }
  .sg-asym-small { flex-direction: row; }
  .sg-asym-small .sg-mini-card { flex: 1; }
}

@media (max-width: 768px) {
  .sg-section-inner { padding: 4rem 1.5rem; gap: 4rem; }

  .sg-two-col {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sg-three-col {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .sg-interlude-inner { padding: 4rem 1.5rem; }

  .sg-shop-cta-inner { padding: 5rem 1.5rem; }
}

@media (max-width: 480px) {
  .sg-section-inner { padding: 3rem 1rem; gap: 3rem; }

  .sg-feature-img { aspect-ratio: 4/3; }

  .sg-three-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sg-asym-small { flex-direction: column; }

  .sg-hero-meta { flex-wrap: wrap; justify-content: center; gap: 0.5rem; }

  .sg-intro-inner { padding: 3rem 1rem; }

  .sg-interlude-inner { padding: 3rem 1rem; }

  .sg-cta-btns { flex-direction: column; }
  .sg-cta-primary,
  .sg-cta-secondary { width: 100%; justify-content: center; }
}