/* ============================================================
   LE JOURNAL — homepage design (concept A)
   Black & white editorial, with gold accents.
   ============================================================ */

:root {
  --paper: #F7F5EF;
  --white: #FFFFFF;
  --ink: #111111;
  --ink-2: #3A3A3A;
  --ink-3: #555555;
  --rule: #DDDAD2;
  --gold: #B8893B;       /* rules, numerals, large text only */
  --gold-text: #8A6420;  /* gold for small text (AA on paper) */
  --gold-light: #D9AE5F; /* gold on black */
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }

:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.005em;
}

.h-section { font-size: clamp(34px, 4vw, 48px); }

.section {
  padding: clamp(40px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--ink);
}

/* ---------- Masthead ---------- */
.topline {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 13px; color: var(--ink-2);
}
.topline { justify-content: flex-end; }
.lang-switch { display: inline-flex; gap: 0; }
.lang-switch a { font: inherit; font-size: 12px; letter-spacing: 0.14em; padding: 4px 10px; background: transparent; color: var(--ink-3); border: 1px solid var(--rule); cursor: pointer; text-decoration: none; }
.lang-switch a + a { border-left: 0; }
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.lang-switch a:hover:not([aria-current="true"]) { color: var(--ink); }
.topline a { font-weight: 600; color: var(--gold-text); text-decoration: none; }
.topline a:hover { color: var(--ink); }

.masthead {
  text-align: center;
  padding: clamp(20px, 3vw, 32px) 0 clamp(16px, 2vw, 24px);
  border-bottom: 3px double var(--ink);
}
.masthead a {
  font-family: var(--serif);
  font-size: clamp(44px, 8vw, 104px);
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
}

.mainnav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(18px, 3vw, 36px);
  border-bottom: 1px solid var(--ink);
}
.mainnav a {
  display: inline-block;
  padding: 14px 0;
  font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: 1.02; }
.lede { margin: 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--ink-2); max-width: 580px; }
.hero figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hero img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 80%;
  border: 1px solid var(--ink);
}
.hero figcaption {
  font-size: 13px; color: var(--ink-3);
  border-top: 2px solid var(--gold); padding-top: 8px;
}

/* ---------- Newsletter form ---------- */
.subscribe { display: flex; flex-direction: column; gap: 10px; max-width: 540px; }
.subscribe-row { display: flex; flex-wrap: wrap; border: 1px solid var(--ink); background: var(--white); }
.subscribe input[type="email"] {
  flex: 1 1 220px; min-width: 0;
  border: 0; background: transparent; color: var(--ink);
  padding: 16px 18px; font: inherit; font-size: 16px;
}
.subscribe input[type="email"]:focus { outline: none; }
.subscribe-row:focus-within { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.subscribe button {
  flex: 0 0 auto; min-height: 52px;
  border: 0; background: var(--ink); color: var(--paper);
  padding: 14px 24px; font: inherit; font-weight: 600; cursor: pointer;
}
.subscribe button:hover { background: #2A2A2A; }
.subscribe-note { margin: 0; font-size: 14px; color: var(--ink-3); }
.subscribe-success { display: none; margin: 0; font-weight: 600; }
.subscribe.is-success .subscribe-row,
.subscribe.is-success .subscribe-note { display: none; }
.subscribe.is-success .subscribe-success { display: block; }
.hidden-field { display: none; }

.subscribe--dark .subscribe-row { border-color: var(--paper); background: transparent; }
.subscribe--dark input[type="email"] { color: var(--paper); }
.subscribe--dark input[type="email"]::placeholder { color: #A3A3A3; }
.subscribe--dark button { background: var(--gold-light); color: var(--ink); font-weight: 700; }
.subscribe--dark button:hover { background: #E6C27E; }
.subscribe--dark .subscribe-note { color: #BDBDBD; }
.subscribe--dark .subscribe-success { color: var(--gold-light); }

/* ---------- Press strip ---------- */
.press-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink);
}
.press-strip .label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.press-strip span:not(.label) { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); }

/* ---------- Une + latest ---------- */
.une { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 56px); }
.une-main { flex: 2 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.une-main img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1); }
.une-main h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; }
.une-main h2 a { text-decoration: none; }
.une-main .meta { margin: 0; font-size: 14px; color: var(--ink-3); }
.latest { flex: 1 1 300px; min-width: 0; border-top: 1px solid var(--ink); padding-top: 14px; }
.latest h3 { margin: 0 0 6px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }
.latest ol { list-style: none; margin: 0; padding: 0; }
.latest li + li { border-top: 1px solid var(--rule); }
.latest a { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; text-decoration: none; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.latest .title { font-family: var(--serif); font-size: 24px; line-height: 1.15; }

/* ---------- Rubriques ---------- */
.center { text-align: center; }
.pillars {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px; border-top: 1px solid var(--ink);
}
.pillar { padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.pillar + .pillar { border-left: 1px solid var(--rule); }
.pillar .num { margin: 0; font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--gold); }
.pillar h3 { margin: 0; font-size: 20px; }
.pillar p { margin: 0; color: var(--ink-2); line-height: 1.55; }

/* ---------- Press cards ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 28px; }
.section-head a { font-weight: 600; font-size: 15px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--ink);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--ink); color: var(--ink); }
.card .tag { letter-spacing: 0.12em; }
.card .title { font-family: var(--serif); font-size: 26px; line-height: 1.15; }

/* ---------- Stage ---------- */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 56px); align-items: center;
}
.split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.topics { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.topics li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 18px; }
.muted { margin: 0; font-size: 15px; color: var(--ink-3); }
.btn-outline {
  align-self: flex-start;
  display: inline-block; border: 1px solid var(--ink);
  padding: 14px 22px; font-weight: 600; text-decoration: none;
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Story ---------- */
.story p.body { margin: 0; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--gold); }
.timeline li { padding: 0 0 28px 24px; display: flex; flex-direction: column; gap: 4px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .when { font-size: 13px; font-weight: 600; color: var(--gold-text); }
.timeline .what { font-family: var(--serif); font-size: 26px; line-height: 1.15; }

/* ---------- Newsletter band ---------- */
.letter {
  background: var(--ink); color: var(--paper);
  margin: clamp(40px, 6vw, 72px) 0;
  padding: clamp(32px, 5vw, 72px);
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.letter .kicker { color: var(--gold-light); }
.letter h2 { font-size: clamp(34px, 4.4vw, 64px); max-width: 820px; }
.letter .subscribe { width: 100%; align-items: center; }
.letter .subscribe-row { width: 100%; }

/* ---------- Footer ---------- */
.footer { padding-bottom: 40px; }
.footer-inner {
  border-top: 3px double var(--ink); padding-top: 28px;
  display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 28px; font-size: 15px;
}
.footer .brand { font-family: var(--serif); font-size: 28px; }
.footer h2 { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.footer p { margin: 0; color: var(--ink-2); }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-bottom { margin-top: 28px; font-size: 13px; color: var(--ink-3); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero, .split { grid-template-columns: minmax(0, 1fr); }
  .hero figure { max-width: 480px; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--rule); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .subscribe button { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
