/* ==========================================================================
   Vscarberry — elegant Parisian culture-magazine styles
   Mobile-first, one stylesheet, no framework. High-contrast Didone headlines
   (Playfair Display) + clean sans body; ivory paper, oxblood + brass accents;
   drop cap, gold diamond ornaments and a pull-quote (no retro colour-bars).
   Built per ui-ux-pro-max: AA contrast, focus rings, reduced-motion, 8px rhythm.
   ========================================================================== */

/* ----- 1. Reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }

/* ----- 2. Tokens -------------------------------------------------------- */
:root {
  --paper:     #f5f2eb;   /* ivory page            */
  --paper-2:   #ede8dc;   /* panels / wells        */
  --ink:       #1c1a22;   /* primary text (cool)   */
  --ink-soft:  #46434c;   /* secondary text        */
  --muted:     #6b655c;   /* captions / labels (AA on paper) */
  --line:      #dcd5c6;   /* hairlines             */
  --wine:      #8a2b33;   /* primary accent (oxblood) — AA on paper */
  --wine-dark: #6e2229;
  --wine-tint: #f1e6e4;
  --gold:      #b0894a;   /* brass — DECORATIVE ONLY (rules, diamonds) */
  --gold-soft: #c8ac76;
  --footer-bg: #1c1a22;
  --footer-fg: #e8e3d7;
  --footer-mut:#9c9589;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 700px;       /* reading column */
  --maxw-wide: 960px;
  --radius: 4px;       /* crisper than siblings */
  --shadow: 0 1px 2px rgba(28,26,34,.05), 0 10px 30px rgba(28,26,34,.07);
}

/* ----- 3. Base ---------------------------------------------------------- */
html { scroll-behavior: smooth; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem; line-height: 1.7;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.wrap--wide { max-width: var(--maxw-wide); }

a { color: var(--wine); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--wine-dark); }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 2px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px;
  text-decoration: none; transition: top .15s ease;
}
.skip-link:focus { top: 8px; color: #fff; }

/* leftover hook from shared markup — render as a slim brass rule, not colour-bars */
.colour-bars { height: 2px; width: 100%; background: var(--gold); opacity: .8; }

/* ----- 4. Masthead (centred, classical) --------------------------------- */
.site-header {
  background: var(--paper);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header__inner {
  max-width: var(--maxw-wide); margin-inline: auto;
  padding: 16px 22px; display: flex; flex-direction: column;
  align-items: center; gap: 5px; text-align: center;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.7rem; letter-spacing: .005em; color: var(--ink); line-height: 1;
}
.brand__tag {
  font-family: var(--font-body); font-size: .62rem; font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase; color: var(--muted);
}

/* ----- 5. Advertising slots --------------------------------------------- */
.ad-slot { margin: 30px auto; display: flex; flex-direction: column; align-items: center; }
.ad-label {
  font-family: var(--font-body); font-size: .62rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px;
}
.ad-box {
  width: 100%; max-width: 728px; min-height: 96px; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ad-box img { width: 100%; height: auto; }
.ad-widget { width: 100%; max-width: 728px; min-height: 250px; }
.ad-slot--widget:has(> .ad-widget:empty) { display: none; }

/* ----- 6. Article ------------------------------------------------------- */
.article { padding-top: 10px; }
.kicker {
  font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--wine);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.kicker::before { content: "\2756"; color: var(--gold); font-size: .72rem; letter-spacing: 0; }

.headline {
  font-family: var(--font-display); font-weight: 900; line-height: 1.07;
  letter-spacing: -.005em; font-size: clamp(2.1rem, 6vw, 3.4rem);
  color: var(--ink); margin-bottom: 16px;
}
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-family: var(--font-body); font-size: .84rem; color: var(--muted);
  padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.byline__author { color: var(--ink-soft); font-weight: 600; }
.byline__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }

.hero-figure { margin: 0 0 10px; }
.hero-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper-2); }
figure { margin: 30px 0; }
figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper-2); }
figcaption {
  font-family: var(--font-body); font-size: .8rem; color: var(--muted);
  margin-top: 9px; text-align: center; font-style: italic;
}

.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-soft); }
.prose > p { margin-bottom: 1.15em; }
.prose .lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink); }
.prose .lead::first-letter {
  font-family: var(--font-display); font-weight: 900; color: var(--wine);
  float: left; font-size: 3.4em; line-height: .78; padding: .04em .1em 0 0;
}
.prose h2 {
  font-family: var(--font-display); font-weight: 700; line-height: 1.16;
  font-size: clamp(1.5rem, 4.4vw, 2rem); color: var(--ink); margin: 1.85em 0 .5em;
}
.prose h2::before { content: ""; display: block; width: 48px; height: 2px; background: var(--gold); margin-bottom: .55em; }
.prose h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin: 1.4em 0 .35em; color: var(--ink); }
.prose a { font-weight: 600; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 1.15em 1.2em; padding: 0; }
.prose li { margin-bottom: .45em; }

/* pull-quote — Didone italic between brass rules */
.pullquote {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 3.6vw, 1.95rem); line-height: 1.32; color: var(--wine);
  text-align: center; max-width: 30ch; margin: 1.7em auto;
  padding: .55em 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
}

/* gold diamond ornament divider */
.ornament { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 2.6em 0; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 64px; max-width: 22vw; background: var(--gold); opacity: .65; }
.ornament span { font-size: .8rem; letter-spacing: .3em; }
.divider { border: 0; height: 1px; background: var(--line); max-width: 120px; margin: 2.2em auto; }

/* ----- 7. Offer creatives (poll banner + native cards) ------------------ */
.offer-banner {
  width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.offer-banner:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(28,26,34,.16); }
.offer-banner__media img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; display: block; background: var(--paper-2); }
.offer-banner__body { padding: 18px; }
.offer-banner__q { font-family: var(--font-display); font-weight: 800; line-height: 1.15; font-size: 1.3rem; color: var(--ink); margin-bottom: 14px; }
.offer-poll { display: flex; gap: 12px; justify-content: center; margin-bottom: 14px; }
.offer-poll__btn { flex: 1 1 0; max-width: 150px; padding: 12px 8px; border-radius: 6px; font-weight: 800; font-size: 1.1rem; text-decoration: none; border: 2px solid; display: block; }
.offer-poll__btn--yes { background: #cfe9ac; border-color: #5a9e3f; color: #2f5d1f; }
.offer-poll__btn--no  { background: #f6c2c2; border-color: #c0504d; color: #7a2622; }
.offer-banner__msg { font-size: .92rem; color: var(--ink-soft); background: var(--paper-2); border-radius: 6px; padding: 12px 14px; margin-bottom: 14px; }
.offer-banner__headline { display: block; font-family: var(--font-body); font-weight: 800; font-size: 1.05rem; line-height: 1.32; color: var(--ink); text-decoration: none; }
.offer-banner__headline:hover { text-decoration: underline; }
[hidden] { display: none; }

.offer-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.offer-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(28,26,34,.16); }
.offer-card--solo { width: 100%; max-width: 460px; margin-inline: auto; }
.offer-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--paper-2); }
.offer-card__body { padding: 15px 16px 16px; }
.offer-card__headline { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.28; color: var(--ink); margin: 0; }
.offer-card__cta { display: inline-block; margin-top: 10px; font-family: var(--font-body); font-weight: 700; font-size: .9rem; color: var(--wine); }
.offer-card__src { display: block; margin-top: 8px; font-family: var(--font-body); font-size: .72rem; letter-spacing: .04em; color: var(--muted); }
.offer-grid { display: grid; grid-template-columns: 1fr; gap: 16px; width: 100%; max-width: 760px; margin-inline: auto; }
@media (min-width: 600px) { .offer-grid { grid-template-columns: 1fr 1fr; } }

/* ----- 8. Footer -------------------------------------------------------- */
.site-footer { background: var(--footer-bg); color: var(--footer-fg); margin-top: 52px; border-top: 3px solid var(--gold); }
.site-footer a { color: var(--footer-fg); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; padding: 46px 0 28px; }
.footer-col h3 { font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; }
.footer-col p, .footer-col address { font-size: .92rem; font-style: normal; line-height: 1.65; color: var(--footer-fg); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.footer-brand .brand__name { color: #fff; font-size: 1.35rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0 36px; font-size: .82rem; color: var(--footer-mut); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; }
.footer-bottom a { color: var(--footer-mut); }
.btn-link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--footer-mut); text-decoration: underline; font-size: inherit; }
.btn-link:hover { color: #fff; }

/* ----- 9. Legal pages --------------------------------------------------- */
.legal { padding: 38px 0 8px; }
.legal h1 { font-family: var(--font-display); font-weight: 900; letter-spacing: -.005em; font-size: clamp(1.9rem, 5.4vw, 2.7rem); line-height: 1.1; margin-bottom: 8px; }
.legal .updated { font-family: var(--font-body); font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.legal__body { font-size: 1.02rem; line-height: 1.72; color: var(--ink-soft); }
.legal__body h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: 1.6em 0 .4em; color: var(--ink); scroll-margin-top: 90px; }
.legal__body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; margin: 1.2em 0 .3em; color: var(--ink); }
.legal__body p, .legal__body li { margin-bottom: .8em; }
.legal__body ul, .legal__body ol { margin: 0 0 1em 1.3em; }
.legal__body a { font-weight: 600; }
.legal__intro { background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; margin-bottom: 10px; font-size: .95rem; color: var(--ink-soft); }
.placeholder { background: #fbe7c8; border-bottom: 1px dashed var(--gold); padding: 0 3px; border-radius: 2px; font-size: .92em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .9rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.legal th { background: var(--paper-2); font-weight: 700; color: var(--ink); }
.backlink { display: inline-block; margin: 22px 0 4px; font-family: var(--font-body); font-weight: 700; }

/* ----- 10. Cookie banner + modal --------------------------------------- */
.cc-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; background: #fff; border-top: 3px solid var(--gold); box-shadow: 0 -8px 30px rgba(28,26,34,.16); }
.cc-banner__inner { max-width: var(--maxw-wide); margin-inline: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 14px; }
.cc-banner__text strong { font-family: var(--font-display); font-size: 1.1rem; display: block; margin-bottom: 4px; color: var(--ink); }
.cc-banner__text p { font-size: .9rem; color: var(--ink-soft); }
.cc-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-btn { font-family: var(--font-body); font-weight: 600; font-size: .9rem; padding: 10px 16px; border-radius: 5px; cursor: pointer; border: 1.5px solid var(--wine); flex: 1 1 auto; min-width: 130px; transition: background .15s ease, color .15s ease; }
.cc-btn--solid { background: var(--wine); color: #fff; }
.cc-btn--solid:hover { background: var(--wine-dark); border-color: var(--wine-dark); }
.cc-btn--ghost { background: transparent; color: var(--wine); }
.cc-btn--ghost:hover { background: var(--wine-tint); }
.cc-modal { position: fixed; inset: 0; z-index: 130; display: flex; align-items: center; justify-content: center; padding: 18px; }
.cc-modal[hidden] { display: none; }
.cc-modal__backdrop { position: absolute; inset: 0; background: rgba(20,18,15,.55); }
.cc-modal__panel { position: relative; background: var(--paper); border-radius: 8px; max-width: 540px; width: 100%; max-height: 88vh; overflow: auto; padding: 26px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.cc-modal__panel h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin-bottom: 8px; }
.cc-modal__panel > p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 16px; }
.cc-cats { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.cc-cat { border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px; background: #fff; }
.cc-cat__head { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.cc-cat__head input { width: 18px; height: 18px; accent-color: var(--wine); flex: none; }
.cc-cat__name { font-family: var(--font-body); font-weight: 700; font-size: .98rem; }
.cc-cat__desc { font-size: .85rem; color: var(--muted); margin: 8px 0 0; }
.cc-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; }
html.cc-lock { overflow: hidden; }

/* ----- 11. Motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ----- 12. Responsive --------------------------------------------------- */
@media (min-width: 480px) { .cc-banner__actions .cc-btn { flex: 0 1 auto; } }
@media (min-width: 768px) {
  body { font-size: 1.0625rem; }
  .cc-banner__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cc-banner__text { flex: 1; }
  .cc-banner__actions { flex: none; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
}

/* ----- 13. Print -------------------------------------------------------- */
@media print { .ad-slot, .cc-banner, .cc-modal, .site-footer .footer-bottom { display: none; } body { background: #fff; color: #000; } }
