/* ═══════════════════════════════════════════════════════════
   VELOURS — Ghost Theme CSS
   Palette: peau / fauve / cendre / nuit / ink
   Type: Playfair Display / DM Sans / DM Mono
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --ink:    #1C1612;
  --peau:   #F2EBE0;
  --fauve:  #B8732A;
  --cendre: #8C7B6E;
  --nuit:   #2B211A;
  --papier: #E8DDD0;
  --rule:   1px solid #D4C8BB;
  --max:    1180px;
  --pad:    3rem;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--peau);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── HEADER ──────────────────────────────────────────────── */
.site-header {
  padding: 0 var(--pad);
  border-bottom: var(--rule);
  max-width: 100%;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0 0.7rem;
  max-width: var(--max);
  margin: 0 auto;
}

.dateline {
  font-family: 'DM Mono', monospace;
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  color: var(--cendre);
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  gap: 1.8rem;
}

.header-nav a,
.nav li a {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cendre);
  text-decoration: none;
  transition: color 0.2s;
  list-style: none;
}

.header-nav a:hover { color: var(--fauve); }

/* Ghost outputs nav as <ul> */
.header-nav ul { display: flex; gap: 1.8rem; list-style: none; }

/* MASTHEAD */
.masthead-block {
  text-align: center;
  padding: 2rem 0 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.masthead-link {
  text-decoration: none;
  display: inline-block;
}

.masthead-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.35em;
  color: var(--ink);
  line-height: 1;
  text-transform: uppercase;
}

.masthead-rule {
  display: block;
  height: 2px;
  background: var(--fauve);
  margin: 0.6rem auto 0;
  width: 0;
  animation: ruleIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes ruleIn { to { width: 72%; } }

.masthead-tagline {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--cendre);
  text-transform: uppercase;
  margin-top: 0.8rem;
}

/* TAG NAV */
.tag-nav {
  border-top: var(--rule);
  padding: 0.7rem 0;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
}

.tag-nav-link {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.tag-nav-link:hover,
.tag-nav-link.active { color: var(--fauve); }

/* ── MAIN LAYOUT ─────────────────────────────────────────── */
#main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── EYEBROW ─────────────────────────────────────────────── */
.eyebrow, a.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.59rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fauve);
  margin-bottom: 0.9rem;
  display: block;
  text-decoration: none;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: var(--rule);
  padding: 3rem 0;
}

.hero-text {
  padding-right: 3.5rem;
  border-right: var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.hero-title a { text-decoration: none; }
.hero-title a:hover { color: var(--fauve); }

.hero-excerpt {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--cendre);
  margin-bottom: 1.5rem;
  max-width: 46ch;
}

.hero-visual {
  padding-left: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: 340px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.pull-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  line-height: 1.5;
  color: var(--ink);
  border-left: 3px solid var(--fauve);
  padding-left: 1.8rem;
  margin-bottom: 1.2rem;
}

.pull-attribution {
  font-family: 'DM Mono', monospace;
  font-size: 0.59rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cendre);
  padding-left: 1.8rem;
}

/* ── THREE COLUMNS ───────────────────────────────────────── */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: var(--rule);
  padding: 2.5rem 0;
}

.col-article {
  padding: 0 2rem;
  border-right: var(--rule);
}

.col-article:first-child { padding-left: 0; }
.col-article:last-child { padding-right: 0; border-right: none; }

.col-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.7rem;
  color: var(--ink);
}

.col-title a { text-decoration: none; transition: color 0.2s; }
.col-title a:hover { color: var(--fauve); }

.col-excerpt {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--cendre);
  margin-bottom: 1rem;
}

/* ── READ LINK ───────────────────────────────────────────── */
.read-link {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--fauve);
  padding-bottom: 1px;
  transition: color 0.2s;
  display: inline-block;
}

.read-link:hover { color: var(--fauve); }

/* ── SPOTIFY / NUIT SECTION ──────────────────────────────── */
.section-nuit {
  background: var(--nuit);
  margin: 0 calc(-1 * var(--pad));
  padding: 3rem var(--pad);
}

.section-nuit-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.57rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fauve);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.spotify-placeholder {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: rgba(242,235,224,0.35);
  letter-spacing: 0.08em;
  padding: 2rem 0;
}

.spotify-embed-container iframe {
  border-radius: 0 !important;
  width: 100%;
}

/* ── VERTICALES / REVUE DE PRESSE ────────────────────────── */
.verticales {
  padding: 2.5rem 0;
  border-bottom: var(--rule);
}

.vert-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  border-bottom: var(--rule);
  padding-bottom: 0.7rem;
}

.vert-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.vert-more {
  font-family: 'DM Mono', monospace;
  font-size: 0.57rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cendre);
  text-decoration: none;
  transition: color 0.2s;
}

.vert-more:hover { color: var(--fauve); }

.vert-list { display: flex; flex-direction: column; }

.vert-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.9rem 0;
  border-bottom: var(--rule);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.vert-item:last-child { border-bottom: none; }
.vert-item:hover .vert-item-title { color: var(--fauve); }

.vert-item-source {
  font-family: 'DM Mono', monospace;
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cendre);
}

.vert-item-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: color 0.2s;
}

.vert-item-date {
  font-family: 'DM Mono', monospace;
  font-size: 0.54rem;
  color: var(--cendre);
  white-space: nowrap;
}

/* ── LATEST GRID ─────────────────────────────────────────── */
.latest-grid {
  padding: 2.5rem 0;
  border-bottom: var(--rule);
}

.latest-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.latest-item {
  padding: 1.2rem 1.5rem 1.2rem 0;
  border-bottom: var(--rule);
  border-right: var(--rule);
}

.latest-item:nth-child(2n) { padding-right: 0; border-right: none; padding-left: 1.5rem; }
.latest-item:nth-last-child(-n+2) { border-bottom: none; }

.latest-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.latest-title a { text-decoration: none; transition: color 0.2s; }
.latest-title a:hover { color: var(--fauve); }

.latest-meta {
  font-family: 'DM Mono', monospace;
  font-size: 0.57rem;
  letter-spacing: 0.08em;
  color: var(--cendre);
}

/* ── SINGLE POST ─────────────────────────────────────────── */
.post-single, .page-single {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.post-header {
  margin-bottom: 2.5rem;
  border-bottom: var(--rule);
  padding-bottom: 2rem;
}

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--ink);
}

.post-excerpt {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--cendre);
  font-style: italic;
  margin-bottom: 1.2rem;
  font-family: 'Playfair Display', serif;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--cendre);
  text-transform: uppercase;
  flex-wrap: wrap;
}

.post-feature-image {
  margin: 0 calc(-1 * var(--pad)) 2.5rem;
}

.post-feature-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.post-feature-image figcaption {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  color: var(--cendre);
  padding: 0.5rem var(--pad);
  letter-spacing: 0.08em;
}

/* ── GHOST KOENIG CARD WIDTH CLASSES ─────────────────────── */
.kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin: 1.5rem calc(50% - 42.5vw);
}

.kg-width-full {
  position: relative;
  width: 100vw;
  margin: 1.5rem calc(50% - 50vw);
}

.kg-width-wide img,
.kg-width-full img {
  width: 100%;
  height: auto;
}

/* ── GHOST CONTENT STYLES ────────────────────────────────── */
.gh-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
}

.gh-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.8rem;
}

.gh-content p {
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 1.4rem;
  color: #2A2018;
}

.gh-content a {
  color: var(--fauve);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gh-content blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  border-left: 3px solid var(--fauve);
  padding-left: 1.8rem;
  margin: 2rem 0;
  color: var(--ink);
}

.gh-content hr {
  border: none;
  border-top: var(--rule);
  margin: 2.5rem 0;
}

.gh-content ul, .gh-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}

.gh-content li {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.4rem;
}

.gh-content figure { margin: 2rem 0; }
.gh-content figure img { width: 100%; }
.gh-content figcaption {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  color: var(--cendre);
  margin-top: 0.5rem;
  letter-spacing: 0.08em;
}

/* ── POST FOOTER ─────────────────────────────────────────── */
.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: var(--rule);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.post-tags { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.post-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--cendre);
  text-decoration: none;
  border: 1px solid var(--papier);
  padding: 0.2rem 0.6rem;
  transition: border-color 0.2s, color 0.2s;
}

.post-tag:hover { border-color: var(--fauve); color: var(--fauve); }

.post-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.share-label { color: var(--cendre); }
.share-link { color: var(--ink); text-decoration: none; transition: color 0.2s; }
.share-link:hover { color: var(--fauve); }

/* ── TAG PAGE ────────────────────────────────────────────── */
.tag-page { padding: 3rem 0; }

.tag-header {
  text-align: center;
  border-bottom: var(--rule);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.tag-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.tag-description {
  font-size: 0.9rem;
  color: var(--cendre);
  max-width: 50ch;
  margin: 0.8rem auto 0;
  line-height: 1.7;
}

/* ── PAGINATION ──────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pagination a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
.pagination a:hover { color: var(--fauve); }
.pagination .page-number { color: var(--cendre); }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  border-top: var(--rule);
  padding: 2rem var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a,
.footer-links ul,
.footer-links li { list-style: none; }

.footer-links a {
  font-family: 'DM Mono', monospace;
  font-size: 0.57rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cendre);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--fauve); }

.footer-links ul { display: flex; gap: 2rem; }

.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 0.54rem;
  color: var(--cendre);
  letter-spacing: 0.08em;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  :root { --pad: 1.5rem; }

  .hero { grid-template-columns: 1fr; }
  .hero-text {
    padding-right: 0;
    border-right: none;
    border-bottom: var(--rule);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }
  .hero-visual { padding-left: 0; }

  .three-col { grid-template-columns: 1fr; }
  .col-article {
    border-right: none;
    border-bottom: var(--rule);
    padding: 1.5rem 0;
  }
  .col-article:last-child { border-bottom: none; }

  .latest-list { grid-template-columns: 1fr; }
  .latest-item { border-right: none; padding-left: 0 !important; }
  .latest-item:nth-last-child(-n+2) { border-bottom: var(--rule); }
  .latest-item:last-child { border-bottom: none; }

  .section-nuit { margin: 0 calc(-1 * var(--pad)); padding: 2rem var(--pad); }

  .vert-item { grid-template-columns: 60px 1fr auto; gap: 1rem; }

  .post-feature-image { margin: 0 0 2rem; }
  .post-feature-image img { height: 280px; }

  .site-footer { flex-direction: column; text-align: center; }
  .footer-links, .footer-links ul { justify-content: center; flex-wrap: wrap; }

  .tag-nav { gap: 1.5rem; }

  .social-verticale { grid-template-columns: 1fr; }
  .social-card-full { border-right: none; }
}

@media (max-width: 540px) {
  .masthead-title { letter-spacing: 0.2em; }
  .vert-item { grid-template-columns: 1fr; gap: 0.3rem; }
  .vert-item-source, .vert-item-date { display: inline; }
  .post-single, .page-single { padding: 2rem 0 3rem; }
  .header-top { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .masthead-rule { animation: none; width: 72%; }
}

/* ── REVUE DE PRESSE & SOCIAL VERTICALES ─────────────────── */
.social-verticale {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding: 2rem 0;
}

.social-card-full {
  padding: 1.5rem;
  border-right: var(--rule);
  border-bottom: var(--rule);
}

.social-card-full:nth-child(2n) { border-right: none; }

.social-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0.8rem 0;
  border-left: 3px solid var(--fauve);
  padding-left: 1rem;
}

.social-comment {
  font-size: 0.85rem;
  color: var(--cendre);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.social-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── TAG NAV (Ghost <ul> output) ─────────────────────────── */
.tag-nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
}

.tag-nav ul li { list-style: none; }

.tag-nav ul li a {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.tag-nav ul li a:hover { color: var(--fauve); }

/* ── ZONES CLIQUABLES ÉLARGIES ───────────────────────────── */
.hero-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.hero-link:hover .hero-title { color: var(--fauve); }
.hero-link:hover .hero-excerpt { color: var(--ink); }

.col-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.col-link:hover .col-title { color: var(--fauve); }

.latest-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.latest-link:hover .latest-title { color: var(--fauve); }
