/* ============================================================
   CAPITAL CULTURES · CHANGE OF DATES
   Inherits the Collide paper, paints and brush furniture.
   Own signature: the struck date + the bilingual ruled row.
   ============================================================ */

:root {
  --paper: #EFE6DC;
  --paper-deep: #E6DACB;
  --ink: #111111;
  --ink-body: #4B4441;
  --ink-label: #37322F;
  --ink-soft: #5E5651;
  --band: #141618;
  --band-ink: #EDE6DD;
  --band-dim: #B9B1A8;
  --purple: #8B59B7;
  --purple-text: #6F4A96;
  --yellow: #E9B245;
  --rule: rgba(17, 17, 17, .78);
  --rule-soft: rgba(17, 17, 17, .16);

  --f-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --f-body: 'Space Grotesk', system-ui, sans-serif;
  --f-cond: 'IBM Plex Sans Condensed', 'Arial Narrow', sans-serif;
  --f-type: 'Special Elite', 'Courier New', monospace;

  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 56px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper) url('paper.png') repeat;
  background-size: 512px 512px;
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
:focus-visible { outline: 3px solid var(--purple-text); outline-offset: 3px; border-radius: 2px; }

/* ---------- shared furniture ---------- */
.label { font: 700 13px/1.3 var(--f-cond); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-label); }
.label .sep { display: inline-block; width: 22px; height: 2px; margin: 0 8px .28em;
  background: currentColor; vertical-align: middle; }

.btn-brush {
  display: inline-flex; align-items: center; justify-content: center; gap: 13px;
  min-height: 56px; padding: 18px 34px;
  background: url('brush-btn.png') no-repeat center / 100% 100%;
  color: var(--band-ink); text-decoration: none;
  font: 700 15px/1.1 var(--f-cond); letter-spacing: .06em; text-transform: uppercase;
  transition: transform .18s var(--ease-out);
}
.btn-brush:hover { transform: scale(1.035) rotate(-.6deg); }
.btn-brush:active { transform: scale(.98); }
.arr { width: 20px; height: 13px; flex: 0 0 auto; display: inline-block;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 13"><path d="M1 6.5h16.6M12.4 1.4l5.4 5.1-5.4 5.1" fill="none" stroke="%23EDE6DD" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
  transition: transform .18s var(--ease-out); }
.btn-brush:hover .arr { transform: translateX(4px); }
.arr--ink { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 13"><path d="M1 6.5h16.6M12.4 1.4l5.4 5.1-5.4 5.1" fill="none" stroke="%23211D18" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"/></svg>'); }

.link-under {
  position: relative; display: inline-flex; align-items: center; gap: 11px;
  min-height: 44px; text-decoration: none;
  font: 700 15px/1 var(--f-cond); letter-spacing: .07em; text-transform: uppercase; color: var(--ink);
  transition: gap .18s var(--ease-out);
}
.link-under::after { content: ''; position: absolute; left: -1px; right: 30px; bottom: 6px;
  height: 4px; background: #1A1916; border-radius: 2.5px / 1.8px; transform: rotate(-.35deg); }
.link-under:hover { gap: 16px; }

/* ---------- header ---------- */
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo img { width: clamp(118px, 11vw, 150px); }
.head-right { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.lang { display: flex; gap: 4px; font: 700 14px/1 var(--f-cond); letter-spacing: .08em; }
.lang a, .lang span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px;
  text-decoration: none; color: var(--ink-label); }
.lang [aria-current] { color: var(--ink); position: relative; }
.lang [aria-current]::after { content: ''; position: absolute; left: 9px; right: 9px; bottom: 8px;
  height: 4px; background: var(--ink); border-radius: 2px / 1.5px; transform: rotate(2deg); }
.lang a:hover { color: var(--ink); }
.head-mail { font: 700 14px/1 var(--f-cond); letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-label); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.head-mail:hover { color: var(--ink); }

/* ---------- hero: the struck date ---------- */
.hero { position: relative; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr);
  gap: clamp(24px, 4vw, 64px); align-items: start;
  padding-top: clamp(12px, 2vw, 28px); padding-bottom: clamp(48px, 6vw, 96px); }
.hero .label { margin-bottom: clamp(18px, 2.2vw, 30px); }

.date { font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  line-height: .88; letter-spacing: .004em; color: var(--ink); }
.date .row { display: block; position: relative; width: fit-content; }
.date .mask { display: block; overflow: hidden; padding: .14em 0 .04em; margin-top: -.14em; }
.date .ln { display: block; }

.date .was { font-size: clamp(50px, 7.4vw, 112px); color: var(--ink-soft); }
.date .was .strike { position: absolute; left: -4%; top: 28%; width: 110%; height: 54%;
  background: url('stroke-hero.png') no-repeat center / 100% 100%;
  transform: rotate(-3.5deg); pointer-events: none; }
.date .now { font-size: clamp(64px, 11vw, 160px); margin-top: clamp(10px, 1.4vw, 20px); }
.date .now .bed { position: absolute; z-index: -1; left: -7%; top: -4%; width: 118%; height: 112%;
  background: url('blob-yellow.webp') no-repeat center / 100% 100%; pointer-events: none; }
.date .year { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); flex-wrap: wrap;
  font-size: clamp(64px, 11vw, 160px); }
.slip { display: inline-block; font: 400 clamp(17px, 1.7vw, 23px)/1.2 var(--f-type);
  text-transform: none; letter-spacing: 0; color: var(--ink);
  background: #F6F0E6; padding: 10px 16px 9px; border: 2px dashed var(--ink);
  transform: rotate(-2.5deg); box-shadow: 3px 4px 0 rgba(17,17,17,.9); }

.hero .alt { margin-top: clamp(18px, 2vw, 26px); font: 700 clamp(18px, 1.8vw, 24px)/1.3 var(--f-cond);
  letter-spacing: .02em; color: var(--ink-label); max-width: 34ch; }
.hero .alt s { text-decoration-thickness: 2px; text-decoration-color: var(--purple); }
.ledes { margin-top: clamp(22px, 2.6vw, 34px); display: grid; gap: 14px; max-width: 58ch; }
.ledes p { color: var(--ink-body); font-size: clamp(16px, 1.3vw, 18px); }
.ledes p:first-child { color: var(--ink); }
.ledes p + p { padding-top: 14px; border-top: 2px solid var(--rule-soft); font-size: 16px; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(18px, 2.6vw, 36px);
  margin-top: clamp(26px, 3vw, 40px); }

.hero-art { position: relative; margin-top: clamp(0px, 2vw, 26px); }
.hero-art img { width: 100%; max-width: 560px; margin-left: auto; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 94%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 94%, transparent); mask-composite: intersect; }
.hero-art .stamp { position: absolute; left: -6%; bottom: 6%; width: 38%;
  font: 400 clamp(14px, 1.2vw, 16px)/1.25 var(--f-type); color: var(--ink); background: #F6F0E6;
  border: 2px solid var(--ink); padding: 10px 12px; transform: rotate(4deg);
  box-shadow: 3px 4px 0 rgba(17,17,17,.9); }

/* ---------- the bilingual ruled rows ---------- */
.notice { padding-block: clamp(40px, 6vw, 96px) clamp(56px, 7vw, 112px); }
.notice-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 18px 32px; margin-bottom: clamp(22px, 3vw, 40px); }
.h2 { font: 900 clamp(38px, 5vw, 72px)/.9 var(--f-display); text-transform: uppercase; }
.h2 .fr-line { display: block; margin-top: 10px; font: 700 clamp(18px, 1.8vw, 24px)/1.2 var(--f-cond);
  letter-spacing: .02em; text-transform: none; color: var(--ink-label); }
.h2-stroke { width: clamp(150px, 16vw, 230px); margin-top: 4px; }

.toggle { display: none; border: 2px solid var(--ink); border-radius: 999px; padding: 3px; }
.toggle button { font: 700 14px/1 var(--f-cond); letter-spacing: .08em; min-width: 56px; min-height: 44px;
  border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.rows { border-top: 3px solid var(--ink); }
.r { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4.5fr) minmax(0, 4.5fr);
  gap: clamp(18px, 3vw, 48px); padding-block: clamp(22px, 2.8vw, 38px); }
.r::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--rule); transform-origin: left center; transform: scaleX(var(--sx, 1)); }
.r-key { display: flex; gap: 14px; align-items: baseline; }
.r-no { font: 900 clamp(30px, 3vw, 44px)/.8 var(--f-display); color: var(--ink); min-width: 1.4em; }
.r-key h3 { font: 700 15px/1.3 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; }
.r-key h3 span { display: block; color: var(--ink-soft); }
.cell { color: var(--ink-body); }
.cell .tag { display: block; margin-bottom: 8px; font: 700 12px/1 var(--f-cond); letter-spacing: .14em;
  color: var(--ink-soft); }
.cell p + p { margin-top: 10px; }
.cell b { color: var(--ink); font-weight: 700; }
.cell a { color: var(--purple-text); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cell .slip { font-size: 16px; padding: 5px 10px 4px; margin-top: 10px; box-shadow: 2px 3px 0 rgba(17,17,17,.9); }
.ticks li { position: relative; padding-left: 26px; }
.ticks li + li { margin-top: 6px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .62em; width: 14px; height: 4px;
  background: var(--ink); border-radius: 2px / 1.5px; transform: rotate(-8deg); }

/* ---------- keep-posted band ---------- */
.band { position: relative; background: var(--paper-deep) url('paper.png') repeat; background-size: 512px 512px;
  border-top: 3px solid var(--ink); overflow: hidden; }
.band .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 48px;
  align-items: center; padding-block: clamp(48px, 6vw, 88px); }
.band h2 { font: 900 clamp(40px, 5.6vw, 84px)/.9 var(--f-display); text-transform: uppercase; position: relative; }
.band h2 .hl { position: relative; display: inline-block; }
.band h2 .hl::before { content: ''; position: absolute; z-index: -1; inset: 8% -5% -6% -4%;
  background: url('blob-yellow.webp') no-repeat center / 100% 100%; }
.band h2 { isolation: isolate; }
.band .alt { margin-top: 14px; font: 700 clamp(18px, 1.8vw, 24px)/1.3 var(--f-cond); color: var(--ink-label); }
.band .side p { color: var(--ink-body); margin-bottom: 22px; max-width: 42ch; }
.band .paint-l { position: absolute; left: -46px; bottom: -70px; width: 96px; opacity: .95; transform: rotate(-12deg); }

/* ---------- footer ---------- */
.site-footer { background: var(--band); color: var(--band-ink); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr);
  gap: 28px 48px; padding-block: clamp(40px, 5vw, 64px) 28px; }
.f-logo { width: 150px; }
.f-tag { margin-top: 14px; color: var(--band-dim); font-size: 15px; }
.site-footer h3 { font: 700 13px/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase;
  color: var(--band-dim); margin-bottom: 14px; }
.site-footer p, .site-footer a { font-size: 15px; }
.site-footer a { color: var(--band-ink); text-underline-offset: 3px; }
.site-footer a:hover { color: #FFFFFF; }
.f-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; margin-top: 12px; padding-top: 22px; border-top: 1px solid rgba(237, 230, 221, .18);
  color: var(--band-dim); font-size: 14px; }
.mmix { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--band-dim) !important; font-size: 14px !important; }
.mmix img { height: 36px; width: auto; background: rgba(255, 255, 255, .9); border-radius: 6px; padding: 3px; }
.mmix:hover { color: var(--band-ink) !important; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .r { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .r-key { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .head-mail { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { margin: 8px -8px 0; }
  .hero-art img { max-width: 100%; margin-inline: auto; }
  .hero-art .stamp { left: 4px; bottom: 4%; width: 52%; font-size: 13px; }
  .label .sep { display: none; }
  .label .l2 { display: block; color: var(--ink); }
  .band .wrap, .site-footer .wrap { grid-template-columns: 1fr; }
  .toggle { display: inline-flex; }
  .r { grid-template-columns: 1fr; gap: 12px; }
  [data-show="en"] .cell[lang="fr"], [data-show="fr"] .cell[lang="en"] { display: none; }
  .cell .tag { display: none; }
  .ledes p + p { display: none; }
}

/* ---------- motion gates: final state lives in CSS, JS animates from ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
