/* =====================================================
   YAHALOM STUDIO — ARTICLE / FACETTE PAGES CSS
   ===================================================== */

/* ARTICLE HERO */
.art-hero {
  min-height: 72vh;
  padding-top: 160px;
  padding-bottom: 80px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.art-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 60% 30%, rgba(201,161,91,.07), transparent 65%),
    radial-gradient(ellipse 40% 50% at 5% 80%, rgba(201,161,91,.04), transparent 55%);
}
.art-hero .wrap { max-width: 900px; }

.art-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.art-meta .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid rgba(201,161,91,.35);
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--or-clair);
  font-weight: 500;
  background: rgba(201,161,91,.06);
}
.art-read {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(247,245,239,.4);
}
[data-theme="light"] .art-read { color: rgba(13,13,16,.45); }

.art-hero h1 {
  font-size: clamp(52px, 8vw, 130px);
}
.art-hero h1 em {
  font-style: italic;
  color: var(--or-clair);
}
.art-hero .lead {
  margin-top: 28px;
  max-width: 58ch;
}

/* ARTICLE BODY */
.art-body {
  padding-top: 80px;
  padding-bottom: 60px;
  padding-inline: var(--pad-x);
  position: relative;
  z-index: 5;
}
.art-wrap {
  max-width: 740px;
}

.art-lead {
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.55;
  color: var(--blanc-diamant);
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(201,161,91,.14);
}
[data-theme="light"] .art-lead { color: rgba(13,13,16,.88); }

.art-body h2 {
  font-size: clamp(26px, 3vw, 44px);
  margin-top: 64px;
  margin-bottom: 24px;
  color: var(--blanc-diamant);
}
.art-body h2 em {
  font-style: italic;
  color: var(--or-clair);
}
[data-theme="light"] .art-body h2 { color: rgba(13,13,16,.92); }

.art-body p {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.85;
  color: rgba(247,245,239,.72);
  margin-bottom: 20px;
  max-width: 68ch;
}
[data-theme="light"] .art-body p { color: rgba(13,13,16,.68); }

.art-body p + p { margin-top: 4px; }

/* PULL QUOTE */
.art-quote {
  margin: 56px 0;
  padding: 36px 40px;
  border-left: 2px solid var(--or);
  background: rgba(201,161,91,.04);
  position: relative;
}
.art-quote::before {
  content: "\201C";
  position: absolute;
  top: -8px;
  left: 28px;
  font-family: var(--serif);
  font-size: 72px;
  line-height: 1;
  color: var(--or);
  opacity: .35;
}
.art-quote p {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 24px) !important;
  line-height: 1.5 !important;
  color: var(--blanc-diamant) !important;
  font-style: italic;
  max-width: 58ch !important;
  margin: 0 !important;
}
[data-theme="light"] .art-quote { background: rgba(122,94,40,.05); }
[data-theme="light"] .art-quote p { color: rgba(13,13,16,.88) !important; }

/* ORNAMENTAL RULE in body */
.art-body .rule {
  margin: 64px 0;
}

/* RELATED FACETTES */
.art-related {
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 1px solid rgba(201,161,91,.1);
}
.art-related h2 {
  font-size: clamp(32px, 4vw, 64px);
}
.art-related h2 em {
  font-style: italic;
  color: var(--or-clair);
}
.art-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.art-related-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 44px 40px;
  border: 1px solid rgba(201,161,91,.1);
  background: rgba(255,255,255,.02);
  transition: background .3s ease, border-color .3s ease, transform .35s cubic-bezier(.2,.7,.2,1);
  position: relative;
  overflow: hidden;
}
.art-related-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,161,91,.05), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
}
.art-related-card:hover {
  background: rgba(201,161,91,.04);
  border-color: rgba(201,161,91,.28);
  transform: translateY(-3px);
}
.art-related-card:hover::before { opacity: 1; }

.facet-num {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--or);
  font-weight: 500;
}
.art-related-card h3 {
  font-size: clamp(20px, 1.8vw, 28px);
  color: var(--blanc-diamant);
  line-height: 1.15;
  transition: color .25s ease;
}
.art-related-card:hover h3 { color: var(--or-clair); }
[data-theme="light"] .art-related-card h3 { color: rgba(13,13,16,.9); }
[data-theme="light"] .art-related-card:hover h3 { color: var(--or); }

.facet-cta {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--or);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  transition: gap .3s ease;
}
.art-related-card:hover .facet-cta { gap: 18px; }
.facet-cta .arrow {
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width .3s ease;
  display: inline-block;
}
.facet-cta .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  transform-origin: right center;
}
.art-related-card:hover .facet-cta .arrow { width: 26px; }

[data-theme="light"] .art-related-card { background: rgba(0,0,0,.02); border-color: rgba(122,94,40,.12); }
[data-theme="light"] .art-related-card:hover { background: rgba(122,94,40,.04); border-color: rgba(122,94,40,.28); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .art-wrap { max-width: 100%; }
  .art-quote { padding: 28px 28px; }
}
@media (max-width: 640px) {
  .art-hero { min-height: 60vh; padding-top: 130px; padding-bottom: 60px; }
  .art-related-grid { grid-template-columns: 1fr; }
  .art-related-card { padding: 32px 28px; }
  .art-quote { margin: 40px 0; }
}
