/* =====================================================================
   Espace presse (/presse) — sober layout on top of refine.css tokens.
===================================================================== */

.presse-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.presse-section { padding: 3.5rem 0; }
.presse-section + .presse-section { border-top: 1px solid var(--border-subtle); }
@media (min-width: 640px) { .presse-section { padding: 5rem 0; } }

.presse-head { max-width: 42rem; margin-bottom: 2.5rem; }
.presse-head h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.presse-head p { margin-top: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

/* In-page nav */
.presse-toc { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; }
.presse-toc a {
  font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary);
  padding: 0.4rem 0.8rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); transition: color .15s, border-color .15s;
}
.presse-toc a:hover { color: var(--primary); border-color: var(--primary-100); }

/* Generic card */
.presse-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 1.5rem;
}
@media (min-width: 640px) { .presse-card { padding: 1.75rem; } }
.presse-card h3 { font-size: 1.0625rem; font-weight: 600; color: var(--text-primary); line-height: 1.35; }
.presse-card p { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.6; }
.presse-card--tint { background: var(--primary-50); border-color: var(--primary-100); }

.presse-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .presse-grid--2 { grid-template-columns: repeat(2, 1fr); } .presse-grid--3 { grid-template-columns: repeat(2, 1fr); } .presse-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .presse-grid--3 { grid-template-columns: repeat(3, 1fr); } .presse-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Hero contact block */
.presse-hero { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .presse-hero { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.presse-contact dl { display: grid; gap: 0.875rem; margin-top: 1.25rem; }
.presse-contact dt { font-size: 0.75rem; color: var(--text-muted); }
.presse-contact dd { font-weight: 500; color: var(--text-primary); }
.presse-contact dd a:hover { color: var(--primary); }
.presse-contact .presse-actions { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.625rem; }

/* Boilerplate */
.presse-boiler { position: relative; }
.presse-boiler__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.875rem; }
.presse-boiler__meta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.presse-boiler__text { color: var(--text-secondary); line-height: 1.7; font-size: 0.9375rem; }
.presse-boiler__text p + p { margin-top: 0.75rem; }

.presse-copy {
  display: inline-flex; align-items: center; gap: 0.375rem; flex-shrink: 0;
  font-size: 0.8125rem; font-weight: 500; color: var(--primary);
  padding: 0.375rem 0.75rem; border: 1px solid var(--primary-100); border-radius: var(--r-control);
  background: var(--surface); cursor: pointer; transition: background .15s;
}
.presse-copy:hover { background: var(--primary-50); }
.presse-copy svg { width: 14px; height: 14px; }
.presse-copy[data-copied="true"] { color: #047857; border-color: #A7F3D0; background: #ECFDF5; }

/* Fact sheet */
.presse-facts { display: grid; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
@media (min-width: 768px) { .presse-facts { grid-template-columns: repeat(2, 1fr); } }
.presse-facts > div { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-subtle); display: grid; gap: 0.25rem; }
@media (min-width: 768px) { .presse-facts > div:nth-child(odd) { border-right: 1px solid var(--border-subtle); } }
.presse-facts dt { font-size: 0.75rem; color: var(--text-muted); }
.presse-facts dd { color: var(--text-primary); font-weight: 500; font-size: 0.9375rem; line-height: 1.5; }
.presse-facts dd .mono { font-family: var(--font-mono); font-weight: 400; }

/* Founders */
.presse-person { display: flex; flex-direction: column; gap: 1.25rem; }
.presse-person__id { display: flex; align-items: center; gap: 1rem; }
.presse-person__id img { width: 88px; height: 88px; border-radius: 14px; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.presse-person__role { font-size: 0.8125rem; color: var(--text-muted); }
.presse-person__name { font-size: 1.375rem; font-weight: 600; color: var(--text-primary); line-height: 1.2; }
.presse-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.presse-tags span { font-size: 0.75rem; color: var(--text-secondary); padding: 0.25rem 0.625rem; border-radius: 999px; background: var(--bg-muted); border: 1px solid var(--border-subtle); }
.presse-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; font-weight: 500; }
.presse-links a { color: var(--primary); }
.presse-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.presse-quote { padding-left: 1rem; border-left: 2px solid var(--primary); color: var(--text-primary); font-size: 1rem; line-height: 1.55; }

/* Topics */
.presse-topic__num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--primary); }
.presse-topic h3 { margin-top: 0.5rem; }
.presse-topic p { margin-top: 0.5rem; }
.presse-topic a { display: inline-block; margin-top: 0.75rem; font-size: 0.8125rem; font-weight: 500; color: var(--primary); }

/* Asset cards */
.presse-asset { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.presse-asset__preview {
  aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center;
  background: var(--bg-muted); border-bottom: 1px solid var(--border-subtle); padding: 1.5rem;
}
.presse-asset__preview { overflow: hidden; }
.presse-asset__preview img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.presse-asset__preview--dark { background: #0B1023; }
.presse-asset__preview--brand { background: var(--primary); }
.presse-asset__preview--photo { padding: 0; }
.presse-asset__preview--photo img { object-fit: cover; object-position: top; }
.presse-asset__body { padding: 1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.presse-asset__body h3 { font-size: 0.9375rem; }
.presse-asset__meta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.presse-asset__dl { margin-top: auto; padding-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; font-weight: 500; color: var(--primary); }
.presse-asset__dl svg { width: 14px; height: 14px; }
.presse-asset:hover .presse-asset__dl { text-decoration: underline; text-underline-offset: 3px; }

.presse-kit {
  display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .presse-kit { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Brand rules */
.presse-swatch { display: flex; align-items: center; gap: 0.875rem; }
.presse-swatch__chip { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); flex-shrink: 0; }
.presse-swatch__name { font-weight: 600; color: var(--text-primary); font-size: 0.9375rem; }
.presse-swatch__code { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.presse-rules { display: grid; gap: 0.625rem; margin-top: 1rem; }
.presse-rules li { display: flex; gap: 0.625rem; align-items: flex-start; font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.55; }
.presse-rules svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.presse-rules--do svg { color: #047857; }
.presse-rules--dont svg { color: #B91C1C; }

/* Resources list */
.presse-list { border-top: 1px solid var(--line); }
.presse-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--text-primary);
  font-weight: 500; transition: color .15s;
}
.presse-list a:hover { color: var(--primary); }
.presse-list small { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); font-weight: 400; flex-shrink: 0; }

/* FAQ */
.presse-faq details { border-bottom: 1px solid var(--line); }
.presse-faq details:first-child { border-top: 1px solid var(--line); }
.presse-faq summary {
  list-style: none; cursor: pointer; padding: 1.125rem 0; display: flex; justify-content: space-between; gap: 1rem;
  font-weight: 500; color: var(--text-primary);
}
.presse-faq summary::-webkit-details-marker { display: none; }
.presse-faq summary::after { content: '+'; font-family: var(--font-mono); color: var(--text-muted); }
.presse-faq details[open] summary::after { content: '−'; }
.presse-faq details p { padding-bottom: 1.25rem; color: var(--text-secondary); line-height: 1.65; max-width: 48rem; }
.presse-faq details p a { color: var(--primary); }

/* Final CTA */
.presse-cta { text-align: center; padding: 2.5rem 1.5rem; }
@media (min-width: 640px) { .presse-cta { padding: 3.5rem; } }
.presse-cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.02em; color: var(--text-primary); }
.presse-cta p { margin: 0.875rem auto 1.75rem; max-width: 36rem; color: var(--text-secondary); line-height: 1.65; }
.presse-cta__actions { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .presse-cta__actions { flex-direction: row; } }

.presse-anchor { scroll-margin-top: 6rem; }

/* Nota spotlight */
.presse-nota { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .presse-nota { grid-template-columns: 7fr 5fr; gap: 3rem; } }
.presse-pill {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.75rem; font-weight: 500; color: var(--primary);
  padding: 0.25rem 0.625rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--primary-100);
}
.presse-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.presse-points { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .presse-points { grid-template-columns: repeat(2, 1fr); } }
.presse-points h4 { font-size: 0.9375rem; font-weight: 600; color: var(--text-primary); }
.presse-points p { margin-top: 0.25rem; font-size: 0.875rem; }
.presse-card--tint .presse-list, .presse-card--tint .presse-list a { border-color: var(--primary-100); }
.presse-angles { margin-top: 1rem; }
.presse-angles .presse-card h3 { font-size: 1rem; }
.presse-angles .presse-card p { margin-top: 0.5rem; font-size: 0.875rem; }
.presse-aside-line { margin-top: 1rem; font-size: 0.9375rem; color: var(--text-secondary); }
.presse-aside-line a { color: var(--primary); font-weight: 500; }
