/* ============================================================
   CARGO — LINE GUILLOD
   cargo.css — v1.0
   ============================================================
   SOMMAIRE
   01. RESET DIVI
   02. VARIABLES
   03. BASE
   04. GRAIN & CURSEUR
   05. HEADER
   06. MENU OVERLAY
   07. HERO
   08. MARQUEE
   09. CONTROLS
   10. GRILLE PORTFOLIO
   11. VUE INDEX + IMAGE FLOTTANTE
   12. SINGLE OEUVRE
   13. ABOUT
   14. CONTACT
   15. PUBLICATIONS
   16. FOOTER
   17. RESPONSIVE GLOBAL
   ============================================================ */


/* ===== 01. RESET DIVI ===== */
.et_pb_section    { padding: 0 !important; background: transparent !important; }
.et_pb_row        { max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
.et_pb_column     { padding: 0 !important; }
#page-container   { padding-top: 0 !important; }
.et_pb_with_border .et_pb_column { border: none !important; }

/* Header / footer Divi natifs masqués (on injecte les nôtres via WPCode) */
#main-header,
.et-l--header,
header#main-header,
#main-footer,
.et-l--footer,
footer#main-footer { display: none !important; }


/* ===== 02. VARIABLES ===== */
:root {
  --bg:     #e9e5dd;
  --ink:    #0d0d0d;
  --accent: #e03c1a;
  --muted:  #8a847a;
  --line:   rgba(13,13,13,0.14);
}


/* ===== 03. BASE ===== */
html { scroll-behavior: smooth; }
body {
  background: var(--bg) !important;
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* Pages hors home : pas de min-height forcé (footer suit naturellement) */
body:not(.home):not(.home-page) .site,
body:not(.home):not(.home-page) #page { min-height: auto; }

@media (hover: hover) and (pointer: fine) {
  body, body * { cursor: none !important; }
}


/* ===== 04. GRAIN & CURSEUR ===== */
.grain {
  position: fixed; inset: -50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.09;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(6) infinite;
}
@keyframes grainShift {
  0%,100% { transform: translate(0,0); }
  20%     { transform: translate(-2%,1%); }
  40%     { transform: translate(1%,-2%); }
  60%     { transform: translate(-1%,-1%); }
  80%     { transform: translate(2%,2%); }
}

.cursor {
  position: fixed; top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s, background .3s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 38px; height: 38px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .35s cubic-bezier(.2,.8,.2,1),
              height .35s cubic-bezier(.2,.8,.2,1),
              border-color .3s, opacity .3s;
}
body.cursor-hover .cursor      { width: 44px; height: 44px; background: var(--accent); }
body.cursor-hover .cursor-ring { width: 0; height: 0; opacity: 0; }

@media (hover: none) {
  body, body * { cursor: auto !important; }
  .cursor, .cursor-ring { display: none !important; }
}


/* ===== 05. HEADER ===== */
.cargo-header,
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 1.4rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 500;
  mix-blend-mode: difference;
  color: #fff;
  background: transparent !important;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  pointer-events: none;
}
.cargo-header .logo,
.cargo-header .header-right,
.cargo-header .menu-btn,
.site-header  .logo,
.site-header  .menu-btn { pointer-events: auto; }

.cargo-header .logo,
.site-header  .logo {
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.cargo-header .header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Bouton menu (barres animées) */
.menu-btn {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.menu-btn .bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.menu-btn .bars span {
  display: block;
  width: 22px; height: 1px;
  background: currentColor;
  transition: transform .35s ease, opacity .25s;
}
body.menu-open .menu-btn .bars span:first-child { transform: translateY(2px)  rotate(45deg); }
body.menu-open .menu-btn .bars span:last-child  { transform: translateY(-2px) rotate(-45deg); }


/* ===== 06. MENU OVERLAY ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--bg);
  z-index: 400;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s cubic-bezier(.76,0,.24,1);
  pointer-events: none;      /* ← n'intercepte pas les clics quand fermé */
}
body.menu-open .menu-overlay {
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
}

.menu-overlay nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.menu-overlay a {
  color: inherit;
  text-decoration: none;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2.4rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(233,229,221,0.12);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .5s ease, transform .5s ease, color .3s;
}
.menu-overlay a:hover { color: var(--accent); }
.menu-overlay a .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.5;
  letter-spacing: 0;
}
body.menu-open .menu-overlay a                { opacity: 1; transform: translateY(0); }
body.menu-open .menu-overlay a:nth-child(1)   { transition-delay: .15s; }
body.menu-open .menu-overlay a:nth-child(2)   { transition-delay: .22s; }
body.menu-open .menu-overlay a:nth-child(3)   { transition-delay: .29s; }
body.menu-open .menu-overlay a:nth-child(4)   { transition-delay: .36s; }
body.menu-open .menu-overlay a:nth-child(5)   { transition-delay: .43s; }

.menu-footer {
  margin-top: 3rem;
  display: flex;
  gap: 3rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0;
  transition: opacity .5s .5s;
}
body.menu-open .menu-footer { opacity: 0.6; }
body.menu-open              { overflow: hidden; }


/* ===== 07. HERO ===== */
.hero {
  min-height: 100vh;
  padding: 7rem 2rem 3rem !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: var(--bg) !important;
}
.hero .hero-top {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.hero-title {
  position: relative;
  font-family: 'Archivo Black', sans-serif;
  text-transform: uppercase;
  line-height: 0.82;
  letter-spacing: -0.045em;
  margin: 2rem 0;
}
.hero-title .line1 {
  display: block;
  font-size: clamp(4rem, 18vw, 17rem);
  color: var(--ink);
}
.hero-title .line2 {
  display: block;
  font-size: clamp(4rem, 18vw, 17rem);
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  margin-left: 0.12em;
}
.hero-title .script {
  position: absolute;
  top: 42%; right: 4%;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 6.5rem);
  color: var(--accent);
  transform: rotate(-5deg);
  text-transform: lowercase;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero .hero-bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.hero .hero-bottom p {
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 34ch;
  color: var(--ink);
}
.hero .hero-bottom .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.6rem;
}
.hero .hero-bottom a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}
.hero .vertical-tag {
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted);
  white-space: nowrap;
}


/* ===== 08. MARQUEE ===== */
.marquee-section,
.marquee-section .et_pb_row,
.marquee-section .et_pb_column,
.marquee-section .et_pb_code,
.marquee-section .et_pb_code_inner {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
.marquee-section { background: var(--bg) !important; }

.marquee {
  display: block;
  padding: 1.2rem 0 !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Archivo Black', sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: var(--bg);
}
.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: scrollX 28s linear infinite;
}
.marquee-track > span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.marquee-track .dot {
  color: var(--accent);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}
@keyframes scrollX {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ===== 09. CONTROLS (filtres + toggle vue) ===== */
.controls-section,
.controls-section .et_pb_row,
.controls-section .et_pb_column,
.controls-section .et_pb_code,
.controls-section .et_pb_code_inner {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
.controls-section { background: var(--bg) !important; }

.controls {
  padding: 2rem 2rem !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.filters {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.filters button {
  background: none !important;
  border: none !important;
  font: inherit !important;
  color: var(--muted);
  padding: 0 !important;
  transition: color .3s;
  position: relative;
  cursor: pointer;
  text-transform: uppercase;
}
.filters button:hover,
.filters button.active { color: var(--ink); }
.filters button.active::before {
  content: '';
  position: absolute;
  left: -12px; top: 50%;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

.view-toggle {
  display: flex;
  gap: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  border: 1px solid var(--line);
  padding: 3px;
}
.view-toggle button {
  background: none !important;
  border: none !important;
  font: inherit !important;
  color: var(--muted);
  padding: 0.4rem 0.9rem !important;
  transition: background .3s, color .3s;
  cursor: pointer;
  text-transform: uppercase;
}
.view-toggle button.active {
  background: var(--ink) !important;
  color: var(--bg) !important;
}


/* ===== 10. GRILLE PORTFOLIO ===== */
.grid-section,
.grid-section .et_pb_row,
.grid-section .et_pb_column,
.grid-section .et_pb_code,
.grid-section .et_pb_code_inner {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.grid-section { background: var(--bg) !important; }

.grid-view {
  padding: 3rem 2rem !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
}
.grid-view .work {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  aspect-ratio: 4/3 !important;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1),
              transform .8s cubic-bezier(.2,.8,.2,1);
}
.grid-view .work.in { opacity: 1; transform: translateY(0); }

.grid-view .work img {
  position: absolute !important;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  filter: grayscale(25%) contrast(1.02);
  transition: transform 1s cubic-bezier(.2,.8,.2,1), filter .6s;
  display: block !important;
}
.grid-view .work:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1);
}

.grid-view .work .info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  color: #fff;
  transform: translateY(22%);
  opacity: 0;
  transition: all .5s cubic-bezier(.2,.8,.2,1);
  z-index: 2;
}
.grid-view .work:hover .info { transform: translateY(0); opacity: 1; }
.grid-view .work .info h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0 0 0.15rem 0;
  color: #fff;
}
.grid-view .work .info span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.85;
  color: #fff;
}
body[data-view="index"] .grid-view { display: none; }


/* ===== 11. VUE INDEX + IMAGE FLOTTANTE ===== */
.index-view {
  padding: 1rem 2rem 5rem;
  display: none;
}
body[data-view="index"] .index-view { display: block; }

.index-header {
  display: grid;
  grid-template-columns: 60px 1fr 200px 100px;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.index-row {
  display: grid;
  grid-template-columns: 60px 1fr 200px 100px;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  cursor: none;
  transition: padding-left .4s cubic-bezier(.2,.8,.2,1), color .3s;
  position: relative;
  pointer-events: auto;
}
.index-row * { pointer-events: auto; }
.index-row:hover { padding-left: 1.5rem; color: var(--accent); }
.index-row .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.index-row .t {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.2rem, 2.6vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}
.index-row .c,
.index-row .y {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.index-row:hover .c,
.index-row:hover .y { color: var(--accent); }

.float-img {
  position: fixed;
  width: 260px; height: 320px;
  top: 0; left: 0;
  transform: translate(-50%,-50%) scale(0.85);
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 300;
  opacity: 0;
  transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1);
  filter: contrast(1.05);
}
.float-img.visible { opacity: 1; transform: translate(-50%,-50%) scale(1); }


/* ===== 12. SINGLE OEUVRE ===== */
.oeuvre-single {
  padding: 8rem 2rem 6rem;
  max-width: 1400px;
  margin: 0 auto;
}
.oeuvre-back {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 3rem;
  transition: color .3s;
}
.oeuvre-back:hover { color: var(--accent); }

.oeuvre-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2rem;
  margin-bottom: 3rem;
}
.oeuvre-meta-top {
  display: flex;
  gap: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.oeuvre-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2.4rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
}
.oeuvre-body {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 4rem;
  align-items: start;
}
.oeuvre-image img { width: 100%; height: auto; display: block; }

.oeuvre-infos { position: sticky; top: 6rem; }
.oeuvre-infos .info-line {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.oeuvre-infos .info-line .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.4rem;
}
.oeuvre-infos .info-line p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  margin: 0;
  color: var(--ink);
}
.oeuvre-infos .oeuvre-desc {
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.65;
}
.oeuvre-infos .oeuvre-desc p { margin-bottom: 1rem; }


/* ===== 13. ABOUT ===== */
.about {
  padding: 7rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  border-top: 1px solid var(--line);
}
.about .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: block;
  margin-bottom: 1.2rem;
}
.about h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.about h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.about .text p {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.3rem;
  max-width: 58ch;
}
.about .text a.about-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}
.about .text a.about-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}


/* ===== 14. CONTACT ===== */
.contact {
  padding: 7rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  border-top: 1px solid var(--line);
}
.contact .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: block;
  margin-bottom: 1.2rem;
}
.contact h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.contact h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact-form label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 0.6rem 0;
  outline: none;
  transition: border-color .3s;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus { border-bottom-color: var(--accent); }
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form .btn-submit {
  align-self: flex-start;
  background: var(--ink);
  color: var(--bg);
  border: none;
  padding: 0.9rem 1.8rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: none;
  transition: background .3s, color .3s;
}
.contact-form .btn-submit:hover { background: var(--accent); color: var(--bg); }

.form-msg {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  padding: 1rem 1.2rem;
  margin-bottom: 2rem;
  border-left: 3px solid var(--ink);
}
.form-msg--ok  { border-left-color: var(--accent); }
.form-msg--err { border-left-color: #c0392b; }
.form-msg a    { color: var(--ink); }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  overflow: hidden;
}


/* ===== 15. PUBLICATIONS ===== */
.page .entry-header,
.page .entry-title { display: none; }

.pub-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 9rem 24px 4rem;
}
.pub-year {
  margin-bottom: 3rem;
  border-top: 1px solid rgba(13,13,13,.18);
  padding-top: 1.25rem;
}
.pub-year:first-child { border-top: none; padding-top: 0; }
.pub-year-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8a847a;
  margin: 0 0 1.25rem;
}
.pub-items { list-style: none; padding: 0; margin: 0; }
.pub-item  { margin: 0; }
.pub-link {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  column-gap: 1.25rem;
  row-gap: .2rem;
  align-items: baseline;
  padding: .85rem 0;
  color: #0d0d0d;
  text-decoration: none;
  border-bottom: 1px solid rgba(13,13,13,.08);
  transition: color .25s, border-color .25s, padding-left .25s;
}
.pub-link:hover {
  color: #e03c1a;
  border-bottom-color: #e03c1a;
  padding-left: .4rem;
}
.pub-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  letter-spacing: .05em;
  color: #8a847a;
}
.pub-title {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.35;
}
.pub-source {
  grid-column: 2;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .82rem;
  color: #8a847a;
}
.pub-arrow {
  font-size: .95rem;
  color: #8a847a;
  transition: transform .25s, color .25s;
}
.pub-link:hover .pub-arrow {
  color: #e03c1a;
  transform: translate(3px,-3px);
}
.pub-empty {
  font-family: 'JetBrains Mono', monospace;
  font-size: .8rem;
  color: #8a847a;
  padding: 4rem 0;
  text-align: center;
}


/* ===== 16. FOOTER ===== */
.cargo-footer {
  padding: 5rem 2rem 2rem;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  background: var(--bg);
  color: var(--ink);
}
.cargo-footer h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2.2rem, 7vw, 6rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.cargo-footer h2 a {
  color: var(--accent);
  text-decoration: none;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
}
.cargo-footer .col .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: block;
  margin-bottom: 1rem;
}
.cargo-footer .col p { font-size: 0.95rem; margin-bottom: 0.5rem; }
.cargo-footer .col a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, color .3s;
}
.cargo-footer .col a:hover { border-color: var(--accent); color: var(--accent); }
.cargo-footer .copyright {
  grid-column: 1 / -1;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}


/* ===== 17. RESPONSIVE GLOBAL ===== */
@media (max-width: 900px) {
  .hero .hero-bottom          { grid-template-columns: 1fr; gap: 1.2rem; }
  .hero .vertical-tag         { display: none; }
  .grid-view                  { grid-template-columns: repeat(2, 1fr) !important; gap: 1.5rem !important; }
  .cargo-footer               { grid-template-columns: 1fr; padding: 3rem 1rem 1rem; gap: 2rem; }
  .about, .contact            { grid-template-columns: 1fr; gap: 2rem; padding: 4rem 1rem; }
  .oeuvre-single              { padding: 6rem 1rem 4rem; }
  .oeuvre-body                { grid-template-columns: 1fr; gap: 2rem; }
  .oeuvre-infos               { position: static; }
}

@media (max-width: 720px) {
  .cargo-header, .site-header { padding: 1rem; font-size: 0.65rem; }
  .cargo-header .header-right { gap: 1rem; }
  .cargo-header .meta-hide    { display: none; }
  .hero                       { padding: 6rem 1rem 2rem !important; }
  .hero-title .script         { right: 0; top: 46%; }
  .index-view                 { padding: 1rem 1rem 3rem; }
  .index-header, .index-row   { grid-template-columns: 34px 1fr 70px; gap: 0.6rem; }
  .index-row .c               { display: none; }
  .float-img                  { display: none; }
}

@media (max-width: 640px) {
  .pub-list                   { padding: 7rem 20px 3rem; }
  .pub-link                   { grid-template-columns: 3.25rem 1fr; column-gap: .9rem; }
  .pub-title                  { font-size: 1.02rem; }
  .pub-arrow                  { display: none; }
}

@media (max-width: 600px) {
  .grid-view                  { grid-template-columns: 1fr !important; padding: 2rem 1rem !important; gap: 2rem !important; }
  .grid-view .work            { aspect-ratio: 4/3 !important; }
}