/*
Theme Name: NeoVictis
Theme URI: https://neovictis.fr/
Author: NeoVictis
Description: Thème éditorial sombre et littéraire pour présenter les œuvres, les univers, les illustrations et le journal d’auteur de NeoVictis.
Version: 1.10.1
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: neovictis
*/

@font-face {
  font-family: "Cormorant Garamond Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Source Serif 4 Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("assets/fonts/source-serif-4-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Source Serif 4 Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url("assets/fonts/source-serif-4-latin-italic.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Source Serif 4 Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("assets/fonts/source-serif-4-greek.woff2") format("woff2-variations");
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

:root {
  --nv-ink: #1a1714;
  --nv-ink-soft: #51483f;
  --nv-night: #111311;
  --nv-night-raised: #1a1c19;
  --nv-paper: #eee5d5;
  --nv-paper-light: #f8f2e7;
  --nv-paper-deep: #e5d8c3;
  --nv-teal: #3e6361;
  --nv-teal-dark: #244d4e;
  --nv-gold: #b08b4f;
  --nv-gold-soft: #c8aa73;
  --nv-burgundy: #6c2c31;
  --nv-line: rgba(69, 52, 39, .24);
  --nv-line-dark: rgba(224, 195, 146, .22);
  --nv-focus: #d3a954;
  --nv-display: "Cormorant Garamond Variable", "Iowan Old Style", Garamond, Georgia, serif;
  --nv-serif: "Source Serif 4 Variable", "Iowan Old Style", Georgia, serif;
  --nv-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nv-shell: min(1400px, calc(100% - clamp(2rem, 7vw, 7rem)));
  --nv-reading: 72ch;
  --nv-radius: 2px;
  --nv-shadow: 0 24px 64px rgba(37, 29, 22, .12);
}

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

html {
  scroll-behavior: smooth;
  background: #10120f;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--nv-ink);
  background: var(--nv-paper);
  font-family: var(--nv-serif);
  font-size: 1.075rem;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select { font-family: var(--nv-serif); }

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

h1,
h2,
h3,
h4 {
  color: inherit;
  font-family: var(--nv-display);
  font-weight: 500;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a {
  color: var(--nv-teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

a:hover { color: var(--nv-burgundy); }

:focus-visible {
  outline: 3px solid var(--nv-focus);
  outline-offset: 4px;
}

::selection { color: var(--nv-night); background: #d9bd83; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 12px;
  left: 12px;
  z-index: 9999;
  width: auto;
  height: auto;
  clip: auto;
  padding: .65rem 1rem;
  color: #fff;
  background: var(--nv-teal-dark);
}

.nv-shell { width: var(--nv-shell); margin-inline: auto; }
.nv-reading-column { width: min(var(--nv-reading), calc(100% - 2rem)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--nv-paper-light);
  background: rgba(17, 19, 17, .985);
  border-bottom: 1px solid rgba(200, 170, 115, .34);
}

.admin-bar .site-header { top: 32px; }

.site-header__inner {
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
}

.site-branding { min-width: 0; }
.site-branding a { display: inline-flex; align-items: center; text-decoration: none; }
.site-branding img,
.custom-logo-link .custom-logo { width: min(300px, 100%); max-height: 76px; object-fit: contain; object-position: left center; }

.site-navigation { justify-self: end; min-width: 0; }

.primary-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.15rem, 2vw, 2.15rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: .75rem 0;
  color: #e9dfcf;
  font-family: var(--nv-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: .38rem;
  height: 2px;
  background: var(--nv-teal);
  transition: left .22s ease, right .22s ease, background-color .22s ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a { color: #fff; }

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after { left: 0; right: 0; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(200, 170, 115, .5);
  border-radius: var(--nv-radius);
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.menu-toggle__icon { display: grid; gap: 5px; width: 22px; margin: auto; }
.menu-toggle__icon span { display: block; width: 22px; height: 1px; background: currentColor; }

/* Hero */
.nv-hero {
  position: relative;
  overflow: hidden;
  background: var(--nv-paper-light);
  border-bottom: 1px solid var(--nv-line);
}

.nv-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(248, 242, 231, .99) 0%,
    rgba(248, 242, 231, .97) 30%,
    rgba(248, 242, 231, .84) 40%,
    rgba(248, 242, 231, .56) 48%,
    rgba(248, 242, 231, .24) 57%,
    rgba(248, 242, 231, .06) 68%,
    rgba(248, 242, 231, .02) 100%
  );
}

.nv-hero__inner {
  position: relative;
  z-index: 2;
  min-height: clamp(560px, 65vh, 660px);
}

.nv-hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(56vw, 760px);
  min-height: inherit;
  padding: clamp(4rem, 7vw, 6.75rem) 0;
}

.nv-eyebrow,
.nv-kicker {
  margin: 0 0 .82rem;
  color: var(--nv-teal-dark);
  font-family: var(--nv-sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.nv-hero h1 {
  max-width: 780px;
  margin: 0 0 1.05rem;
  font-size: clamp(4rem, 5.3vw, 5.65rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .92;
}

.nv-hero__intro {
  max-width: 600px;
  margin: 0;
  font-size: clamp(1.2rem, 1.35vw, 1.42rem);
  line-height: 1.56;
}

.nv-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.nv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 54px;
  padding: .8rem 1.45rem;
  border: 1px solid var(--nv-gold);
  border-radius: var(--nv-radius);
  color: var(--nv-ink);
  background: rgba(248, 242, 231, .74);
  font-size: 1.02rem;
  font-weight: 550;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.nv-button > span { color: var(--nv-gold); font-size: .78rem; }
.nv-button--primary { border-color: var(--nv-teal-dark); color: #fff; background: var(--nv-teal-dark); }
.nv-button--secondary { background: rgba(248, 242, 231, .88); }
.nv-button:hover { border-color: var(--nv-burgundy); color: #fff; background: var(--nv-burgundy); transform: translateY(-2px); }
.nv-button:hover > span { color: #f2dcae; }

.nv-hero__visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: var(--nv-paper-light);
}

.nv-hero__picture { display: block; width: 100%; height: 100%; }

.nv-hero__art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: saturate(.88) contrast(1.02);
}

/* Editorial ledger */
.nv-ledger-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 24%, rgba(64, 97, 91, .07), transparent 28%),
    radial-gradient(circle at 12% 86%, rgba(136, 92, 57, .055), transparent 34%),
    linear-gradient(112deg, #eee4d3 0%, #e9ddca 48%, #e3d6c1 100%);
  border-bottom: 1px solid var(--nv-line);
}

.nv-ledger-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 250, 240, .14) 50%, transparent 100%);
}

.nv-ledger {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 220px;
}

.nv-ledger__item { padding: 2.05rem clamp(2rem, 4vw, 3.4rem) 2.3rem 0; }
.nv-ledger__item + .nv-ledger__item { padding-right: 0; padding-left: clamp(2rem, 4vw, 3.4rem); border-left: 1px solid var(--nv-line); }
.nv-ledger h2 { margin: .16rem 0 .3rem; font-size: clamp(2rem, 2.4vw, 2.65rem); font-weight: 500; line-height: 1.06; }
.nv-ledger h2 a { color: inherit; text-decoration: none; }
.nv-ledger h2 a:hover { color: var(--nv-burgundy); }
.nv-ledger p { max-width: 620px; margin: .35rem 0 0; }

.nv-meta {
  color: var(--nv-teal-dark);
  font-family: var(--nv-sans);
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nv-text-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 42px;
  margin-top: .65rem;
  color: var(--nv-teal-dark);
  font-family: var(--nv-sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.nv-text-link span { font-size: 1.1rem; transition: transform .2s ease; }
.nv-text-link:hover span { transform: translateX(4px); }

.nv-date-badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: .8rem;
  padding: .35rem .78rem;
  border: 1px solid var(--nv-gold);
  color: #6b4b18;
  font-family: var(--nv-sans);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* Shared sections */
.nv-section { padding: clamp(5.5rem, 9vw, 8.5rem) 0; }
.nv-section--night {
  color: #eee4d5;
  background:
    radial-gradient(ellipse at 78% 0%, rgba(50, 83, 79, .2), transparent 43%),
    radial-gradient(ellipse at 14% 96%, rgba(121, 77, 48, .1), transparent 38%),
    linear-gradient(132deg, #10130f 0%, #151713 52%, #10120f 100%);
}
.nv-section--paper { background: var(--nv-paper-light); }
.nv-section--gallery {
  color: #f2e8d8;
  background: #282720 url("assets/images/illustrations-section-background.webp") center / cover no-repeat;
  border-top: 1px solid var(--nv-line);
}
.nv-section--gallery .nv-kicker,
.nv-section--gallery .nv-text-link { color: #dec58f; }
.nv-section--gallery .nv-section__intro > p,
.nv-section--gallery .nv-figure p { color: #e1d5c4; }
.nv-section--gallery .nv-section__head,
.nv-section--gallery .nv-figure figcaption { text-shadow: 0 2px 14px rgba(8, 9, 7, .9); }

.nv-section__head {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.nv-section__head h2 { margin: 0; font-size: clamp(3.2rem, 5vw, 5.4rem); font-weight: 500; letter-spacing: -.025em; line-height: .92; }
.nv-section__intro { max-width: 650px; }
.nv-section__intro > p { margin: 0; color: var(--nv-ink-soft); font-size: 1.05rem; }
.nv-section--night .nv-section__intro > p { color: #c1b5a5; }
.nv-section--night .nv-kicker { color: var(--nv-gold-soft); }
.nv-section--night .nv-text-link { color: #d8c393; }

/* Work cards */
.nv-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }

.nv-work-card {
  position: relative;
  min-height: clamp(350px, 34vw, 470px);
  padding: 2rem;
  overflow: hidden;
  border: 1px solid rgba(200, 170, 115, .36);
  color: #f0e5d3;
  background:
    radial-gradient(circle at 75% 20%, rgba(62, 99, 97, .16), transparent 35%),
    linear-gradient(145deg, #171a18, #24211d);
  text-decoration: none;
  isolation: isolate;
}

.nv-work-card::after { content: ""; position: absolute; z-index: 2; inset: 16px; border: 1px solid rgba(200, 170, 115, .18); pointer-events: none; }
.nv-work-card__media { position: absolute; z-index: -2; inset: 0; }
.nv-work-card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) sepia(.08); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.nv-work-card__veil { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(15,17,15,.12), rgba(15,17,15,.92) 76%); }
.nv-work-card:not(.has-media) .nv-work-card__veil { background: transparent; }
.nv-work-card__index { position: relative; z-index: 3; color: var(--nv-gold-soft); font-family: var(--nv-sans); font-size: .72rem; font-weight: 700; letter-spacing: .2em; }
.nv-work-card__body { position: absolute; z-index: 3; right: 2rem; bottom: 2rem; left: 2rem; }
.nv-work-card h3 { margin: 0; color: inherit; font-size: clamp(2.6rem, 4.1vw, 4.6rem); font-weight: 500; line-height: .92; }
.nv-work-card__body > span { display: block; margin-top: .7rem; color: #c8bdae; font-family: var(--nv-sans); font-size: .7rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.nv-work-card:hover { color: #fff; border-color: rgba(218, 180, 111, .72); }
.nv-work-card:hover .nv-work-card__media img { transform: scale(1.035); }

/* Universes */
.nv-universe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--nv-line); }

.nv-universe-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.5rem;
  min-height: 230px;
  padding: 2rem 2.3rem 2.2rem 0;
  color: var(--nv-ink);
  border-bottom: 1px solid var(--nv-line);
  text-decoration: none;
}

.nv-universe-card:nth-child(even) { padding-right: 0; padding-left: 2.3rem; border-left: 1px solid var(--nv-line); }
.nv-universe-card__index { padding-top: .55rem; color: var(--nv-teal-dark); font-family: var(--nv-sans); font-size: .68rem; font-weight: 750; letter-spacing: .18em; }
.nv-universe-card h3,
.nv-universe-card h2 { margin: 0 0 .5rem; font-size: clamp(2.2rem, 3vw, 3.25rem); font-weight: 500; line-height: .96; }
.nv-universe-card h2 a { color: inherit; text-decoration: none; }
.nv-universe-card p { margin: 0; color: var(--nv-ink-soft); }
.nv-universe-card__arrow { align-self: end; color: var(--nv-gold); font-size: 1.5rem; line-height: 1; text-decoration: none; transition: transform .2s ease; }
.nv-universe-card:hover { color: var(--nv-burgundy); }
.nv-universe-card:hover .nv-universe-card__arrow { transform: translate(4px, -4px); }

/* Gallery */
.nv-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.nv-figure { min-width: 0; }
.nv-figure__media { display: grid; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid rgba(83, 63, 46, .2); background: linear-gradient(145deg, #d8cab4, #a99b86); text-decoration: none; }
.nv-figure__media img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.04) saturate(.84); transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .3s ease; }
.nv-figure:hover .nv-figure__media img { transform: scale(1.025); filter: sepia(0) saturate(.94); }
.nv-figure figcaption { padding-top: .95rem; }
.nv-figure h3,
.nv-figure h2 { margin: 0; font-size: clamp(1.7rem, 2vw, 2.15rem); font-weight: 500; line-height: 1; }
.nv-figure h3 a,
.nv-figure h2 a { color: inherit; text-decoration: none; }
.nv-figure h3 a:hover,
.nv-figure h2 a:hover { color: var(--nv-burgundy); }
.nv-figure p { margin: .35rem 0 0; color: var(--nv-ink-soft); font-size: .9rem; }
.nv-empty-art { display: grid; place-items: center; width: 100%; height: 100%; min-height: 180px; color: rgba(61, 49, 39, .56); font-family: var(--nv-display); font-size: 4rem; }

/* Author band */
.nv-author-band {
  color: #e9dfcf;
  background:
    radial-gradient(ellipse at 76% 12%, rgba(57, 94, 88, .19), transparent 39%),
    radial-gradient(ellipse at 10% 110%, rgba(137, 92, 55, .11), transparent 35%),
    linear-gradient(120deg, #11130f, #191a16 58%, #11120f);
  border-top: 1px solid var(--nv-line-dark);
}
.nv-author-band__inner { min-height: 330px; display: grid; grid-template-columns: .55fr 1fr 1.2fr auto; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: 4rem; }
.nv-author-band .nv-kicker { margin: 0; color: var(--nv-gold-soft); }
.nv-author-band h2 { margin: 0; font-size: clamp(3rem, 4.5vw, 5rem); font-weight: 500; line-height: .9; }
.nv-author-band p { max-width: 520px; margin: 0; color: #c5b8a8; }
.nv-button--ghost { border-color: rgba(200,170,115,.6); color: #f4ebde; background: transparent; white-space: nowrap; }

/* Page and archive heroes */
.nv-page-hero { position: relative; overflow: hidden; background: var(--nv-paper-light); border-bottom: 1px solid var(--nv-line); }
.nv-page-hero::after { content: ""; position: absolute; inset: 0 0 0 50%; pointer-events: none; background: radial-gradient(circle at 70% 25%, rgba(62,99,97,.13), transparent 48%); }
.nv-page-hero__inner { position: relative; z-index: 1; min-height: 390px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 5rem; }
.nv-page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(4.2rem, 8vw, 7.5rem); font-weight: 500; letter-spacing: -.035em; line-height: .84; }
.nv-page-hero p:not(.nv-kicker) { max-width: 680px; margin: 1.3rem 0 0; font-size: 1.16rem; }
.nv-page-hero--night { color: #ede3d4; background: var(--nv-night); border-bottom-color: var(--nv-line-dark); }
.nv-page-hero--night .nv-kicker { color: var(--nv-gold-soft); }
.nv-page-hero--night p:not(.nv-kicker) { color: #c3b6a6; }
.nv-page-hero--gallery { background: #e9decc; }
.nv-page-hero--author { background: linear-gradient(115deg, var(--nv-paper-light), #e7dac4); }

.nv-archive-section { padding-block: clamp(4.5rem, 8vw, 8rem); }
.nv-archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.nv-archive-card { display: grid; grid-template-columns: minmax(180px, .78fr) minmax(0, 1.22fr); min-height: 390px; border: 1px solid var(--nv-line); background: rgba(248,242,231,.58); }
.nv-archive-card__media { display: grid; min-height: 100%; overflow: hidden; background: #d8cab4; text-decoration: none; }
.nv-archive-card__media img { width: 100%; height: 100%; object-fit: cover; }
.nv-archive-card__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.5rem); }
.nv-archive-card h2 { margin: 0; font-size: clamp(2.3rem, 3.4vw, 3.8rem); font-weight: 500; line-height: .94; }
.nv-archive-card h2 a { color: inherit; text-decoration: none; }
.nv-archive-card p { color: var(--nv-ink-soft); }
.nv-universe-grid--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nv-universe-card--article { color: var(--nv-ink); }
.nv-universe-card--article .nv-universe-card__arrow { align-self: end; min-width: 44px; min-height: 44px; display: grid; place-items: center; }
.nv-gallery--archive { row-gap: clamp(3rem, 5vw, 5rem); }

.navigation.pagination { margin-top: 4rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.nav-links .page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: .5rem; border: 1px solid var(--nv-line); color: var(--nv-ink); text-decoration: none; }
.nav-links .current,
.nav-links a:hover { color: #fff; background: var(--nv-teal-dark); border-color: var(--nv-teal-dark); }

/* Journal */
.nv-journal-masthead { position: relative; overflow: hidden; padding: clamp(5rem, 9vw, 8.5rem) 0 clamp(3.75rem, 7vw, 6.5rem); border-bottom: 1px solid var(--nv-line); background: linear-gradient(110deg, #f8f2e7 0%, #f3eadb 65%, #e9ddc9 100%); }
.nv-journal-masthead::after { content: "✦"; position: absolute; top: 50%; right: 7vw; transform: translateY(-53%); color: rgba(176,139,79,.12); font-family: var(--nv-display); font-size: clamp(10rem, 22vw, 24rem); line-height: 1; }
.nv-journal-masthead__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .65fr); gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.nv-journal-masthead h1 { margin: .5rem 0 1.25rem; font-size: clamp(5rem, 10vw, 8.5rem); font-weight: 500; letter-spacing: -.045em; line-height: .75; }
.nv-journal-masthead__intro { max-width: 650px; margin: 0; color: var(--nv-ink-soft); font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.65; }
.nv-journal-masthead__note { padding-left: 1.6rem; border-left: 1px solid var(--nv-gold); color: var(--nv-ink-soft); }
.nv-journal-masthead__note p { margin: 0; font-size: 1.05rem; font-style: italic; line-height: 1.65; }
.nv-journal-masthead__note span { display: block; margin-top: .8rem; color: var(--nv-teal-dark); font-family: var(--nv-sans); font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.nv-journal-tabs { border-bottom: 1px solid var(--nv-line); background: #efe5d5; }
.nv-journal-tabs__inner { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); min-height: 62px; align-items: center; overflow-x: auto; scrollbar-width: thin; }
.nv-journal-tabs a { color: var(--nv-ink-soft); font-family: var(--nv-sans); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.nv-journal-tabs a:hover, .nv-journal-tabs .is-current { color: var(--nv-teal-dark); }
.nv-journal-main { padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(6rem, 10vw, 10rem); background: var(--nv-paper-light); }
.nv-journal-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .68fr); gap: clamp(4rem, 8vw, 8rem); align-items: start; }
.nv-journal-feature { padding-bottom: clamp(3.5rem, 6vw, 5.5rem); border-bottom: 1px solid var(--nv-line); }
.nv-journal-feature__number { margin: 0 0 2.5rem; color: var(--nv-gold); font-family: var(--nv-display); font-size: 2rem; }
.nv-journal-feature h2 { max-width: 780px; margin: .7rem 0 1.25rem; font-size: clamp(3.3rem, 5.8vw, 5.4rem); font-weight: 500; letter-spacing: -.035em; line-height: .9; }
.nv-journal-feature h2 a, .nv-journal-entry h2 a { color: inherit; text-decoration: none; }
.nv-journal-feature h2 a:hover, .nv-journal-entry h2 a:hover { color: var(--nv-burgundy); }
.nv-journal-feature__lead { max-width: 700px; color: var(--nv-ink-soft); font-size: 1.18rem; line-height: 1.7; }
.nv-journal-feature__lead p, .nv-journal-entry__excerpt p { margin: 0; }
.nv-journal-read { display: inline-flex; gap: .8rem; align-items: center; min-height: 44px; margin-top: .45rem; color: var(--nv-teal-dark); font-family: var(--nv-sans); font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.nv-journal-read span { color: var(--nv-gold); font-size: 1.15rem; transition: transform .2s ease; }
.nv-journal-read:hover span { transform: translateX(4px); }
.nv-journal-entry { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.2rem); padding: clamp(2.8rem, 5vw, 4.2rem) 0; border-bottom: 1px solid var(--nv-line); }
.nv-journal-entry__date { color: var(--nv-teal-dark); font-family: var(--nv-sans); font-size: .68rem; font-weight: 750; letter-spacing: .12em; line-height: 1.7; text-transform: uppercase; }
.nv-journal-entry h2 { margin: 0 0 .75rem; font-size: clamp(2rem, 3.1vw, 2.8rem); font-weight: 500; line-height: 1; }
.nv-journal-entry__excerpt { max-width: 680px; color: var(--nv-ink-soft); line-height: 1.65; }
.nv-journal-sidebar { position: sticky; top: 112px; }
.nv-journal-desk { padding: 2.2rem; color: #eee4d5; background: linear-gradient(145deg, #151815, #1d1f1b); border: 1px solid rgba(200,170,115,.24); box-shadow: 0 24px 60px rgba(37,29,22,.12); }
.nv-journal-desk .nv-kicker { color: var(--nv-gold-soft); }
.nv-journal-desk h2 { margin: .55rem 0 1.2rem; color: #f4eadc; font-size: 2.5rem; font-weight: 500; line-height: .95; }
.nv-journal-desk p { margin: 0; color: #c8bdad; line-height: 1.65; }
.nv-journal-desk__work, .nv-journal-archives { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--nv-line-dark); }
.nv-journal-desk__work span, .nv-journal-archives > span { display: block; color: var(--nv-gold-soft); font-family: var(--nv-sans); font-size: .63rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.nv-journal-desk__work strong { display: block; margin-top: .45rem; color: #f0e6d8; font-family: var(--nv-display); font-size: 1.5rem; font-weight: 500; }
.nv-journal-archives ul { margin: 1rem 0 0; padding: 0; list-style: none; }
.nv-journal-archives li { padding: .72rem 0; border-top: 1px solid rgba(224,195,146,.13); color: #8f877b; font-size: .86rem; }
.nv-journal-archives a { color: #d9cdbc; text-decoration: none; }
.nv-journal-signoff { display: grid; grid-template-columns: .35fr 1fr; gap: 2rem; padding-top: 3rem; color: var(--nv-ink-soft); }
.nv-journal-signoff > div { color: var(--nv-gold); font-family: var(--nv-display); font-size: 3.8rem; line-height: .8; }
.nv-journal-signoff p { max-width: 620px; margin: 0; font-style: italic; line-height: 1.75; }

/* Journal — lecture d'une chronique */
.nv-journal-article { background: var(--nv-paper-light); }
.nv-journal-article__crumb { display: flex; gap: .7rem; align-items: center; padding-top: clamp(2rem, 4vw, 3.2rem); color: var(--nv-ink-soft); font-family: var(--nv-sans); font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nv-journal-article__crumb a { color: var(--nv-teal-dark); text-decoration: none; }
.nv-journal-article__crumb > span:first-of-type { color: var(--nv-gold); }
.nv-journal-article__header { max-width: 1180px; padding-top: clamp(3.5rem, 7vw, 7rem); text-align: left; }
.nv-journal-article__header h1 { max-width: 1020px; margin-inline: 0; }
.nv-journal-article__header .nv-article__lead { max-width: 760px; margin-right: 0; margin-left: 0; }
.nv-journal-article__content { padding-top: clamp(3.5rem, 6vw, 5rem); }
.nv-journal-article__content > p:first-of-type::first-letter { float: left; margin: .08em .12em -.05em 0; color: var(--nv-teal-dark); font-family: var(--nv-display); font-size: 4.8em; line-height: .72; }
.nv-journal-article__end { display: flex; gap: 1rem; align-items: center; padding-bottom: 3rem; border-bottom: 1px solid var(--nv-line); }
.nv-journal-article__end span { color: var(--nv-gold); font-size: 2rem; }
.nv-journal-article__end a { color: var(--nv-teal-dark); font-family: var(--nv-sans); font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }

/* Œuvres — bibliothèque */
.nv-works-masthead { color: #eee4d5; background: radial-gradient(circle at 78% 20%, rgba(62,99,97,.2), transparent 28%), linear-gradient(125deg, #0f1210, #181a16 70%, #111310); border-bottom: 1px solid var(--nv-line-dark); }
.nv-works-masthead__inner { min-height: 500px; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(5rem, 9vw, 8rem); }
.nv-works-masthead .nv-kicker { color: var(--nv-gold-soft); }
.nv-works-masthead h1 { margin: .35rem 0 clamp(2.5rem, 5vw, 4.5rem); font-size: clamp(5.6rem, 11vw, 10rem); font-weight: 500; letter-spacing: -.05em; line-height: .72; }
.nv-works-masthead__foot { display: grid; grid-template-columns: minmax(0, 1.1fr) auto; gap: 3rem; align-items: end; padding-top: 1.8rem; border-top: 1px solid var(--nv-line-dark); }
.nv-works-masthead__foot p { max-width: 720px; margin: 0; color: #c7bcad; font-size: 1.12rem; line-height: 1.65; }
.nv-works-masthead__foot span { color: var(--nv-gold-soft); font-family: var(--nv-sans); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nv-works-library { padding: clamp(5rem, 9vw, 8.5rem) 0; color: #e9dfd0; background: #111310; }
.nv-work-volumes { display: grid; gap: clamp(2rem, 4vw, 3.6rem); }
.nv-work-volume { display: grid; grid-template-columns: minmax(220px, .58fr) minmax(0, 1.42fr); min-height: 460px; overflow: hidden; border: 1px solid rgba(200,170,115,.26); background: linear-gradient(120deg, #181a17, #141613); box-shadow: 0 28px 70px rgba(0,0,0,.17); }
.nv-work-volume__media { min-height: 100%; overflow: hidden; border-right: 1px solid rgba(200,170,115,.2); background: #20221d; text-decoration: none; }
.nv-work-volume__media img { width: 100%; height: 100%; object-fit: cover; }
.nv-work-volume__placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 460px; color: rgba(200,170,115,.45); background: radial-gradient(circle at 50% 38%, rgba(62,99,97,.2), transparent 34%), linear-gradient(155deg, #24251f, #151714); font-family: var(--nv-display); font-size: 5rem; }
.nv-work-volume__body { align-self: center; max-width: 760px; padding: clamp(2.2rem, 5vw, 4.7rem); }
.nv-work-volume__index { margin-bottom: clamp(3rem, 6vw, 5.5rem); color: var(--nv-gold-soft); font-family: var(--nv-sans); font-size: .7rem; font-weight: 750; letter-spacing: .2em; }
.nv-work-volume .nv-kicker { color: #8fb0ad; }
.nv-work-volume h2 { max-width: 720px; margin: .55rem 0 1rem; color: #f0e6d7; font-size: clamp(3rem, 5vw, 5.4rem); font-weight: 500; letter-spacing: -.03em; line-height: .88; }
.nv-work-volume h2 a { color: inherit; text-decoration: none; }
.nv-work-volume h2 a:hover { color: #fff; }
.nv-work-volume__excerpt { max-width: 640px; color: #bfb4a5; font-size: 1.04rem; line-height: 1.7; }
.nv-work-volume__excerpt p { margin: 0; }
.nv-work-volume__link { display: inline-flex; gap: .8rem; align-items: center; min-height: 44px; margin-top: 1.6rem; color: #e1d7c8; font-family: var(--nv-sans); font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.nv-work-volume__link span { color: var(--nv-gold-soft); font-size: 1.1rem; transition: transform .2s ease; }
.nv-work-volume__link:hover span { transform: translateX(4px); }
.nv-works-library__principle { display: grid; grid-template-columns: auto minmax(0, 680px); gap: 2rem; justify-content: end; align-items: start; margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: 2rem; border-top: 1px solid var(--nv-line-dark); color: #aaa092; }
.nv-works-library__principle span { color: var(--nv-gold-soft); font-size: 2.5rem; line-height: .8; }
.nv-works-library__principle p { margin: 0; font-style: italic; line-height: 1.7; }
.nv-works-library__empty { color: #bfb4a5; }
.nv-works-library .nav-links .page-numbers { color: #d7ccbd; border-color: var(--nv-line-dark); }

/* Œuvre — portail et univers associé */
.nv-work-detail { background: var(--nv-paper-light); }
.nv-work-hero { color: #eee4d5; background: radial-gradient(circle at 24% 40%, rgba(176,139,79,.1), transparent 25%), linear-gradient(125deg, #101310, #191b17); border-bottom: 1px solid var(--nv-line-dark); }
.nv-work-hero__inner { min-height: 690px; display: grid; grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr); gap: clamp(3.5rem, 8vw, 8rem); align-items: center; padding-block: clamp(4rem, 7vw, 7rem); }
.nv-work-hero__media { justify-self: center; width: min(100%, 385px); aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid rgba(200,170,115,.28); background: #23241f; box-shadow: 0 36px 80px rgba(0,0,0,.32); }
.nv-work-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.nv-work-hero__media .nv-empty-art { height: 100%; color: rgba(200,170,115,.45); background: radial-gradient(circle, rgba(62,99,97,.18), transparent 44%); }
.nv-work-hero .nv-kicker { color: var(--nv-gold-soft); }
.nv-work-hero h1 { max-width: 840px; margin: .35rem 0 0; font-size: clamp(4.8rem, 8vw, 8rem); font-weight: 500; letter-spacing: -.045em; line-height: .8; }
.nv-work-hero__lead { max-width: 700px; margin: 1.8rem 0 0; color: #c8bdad; font-size: 1.18rem; line-height: 1.7; }
.nv-work-hero__rule { width: min(250px, 45%); margin-top: 2.3rem; border-top: 1px solid rgba(200,170,115,.38); }
.nv-work-hero__promise { max-width: 520px; margin: 1.2rem 0 0; color: #988f83; font-size: .92rem; font-style: italic; line-height: 1.6; }
.nv-work-jump { border-bottom: 1px solid var(--nv-line); background: #e9decd; }
.nv-work-jump > div { min-height: 64px; display: flex; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.nv-work-jump a { display: inline-flex; gap: .7rem; align-items: center; min-height: 44px; color: var(--nv-teal-dark); font-family: var(--nv-sans); font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.nv-work-jump a span { color: var(--nv-gold); }
.nv-work-overview { scroll-margin-top: 96px; padding: clamp(5rem, 8vw, 8rem) 0 0; background: var(--nv-paper-light); }
.nv-work-overview > .nv-reading-column > .nv-kicker { margin-bottom: 1.5rem; }
.nv-work-overview .entry-content { padding-bottom: clamp(5rem, 8vw, 8rem); font-size: 1.09rem; }
.nv-work-universe { scroll-margin-top: 96px; padding: clamp(5rem, 9vw, 8.5rem) 0; border-top: 1px solid var(--nv-line); background: #e8dcc9; }
.nv-work-universe__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .62fr); gap: clamp(3rem, 7vw, 7rem); align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.nv-work-universe__head h2 { margin: .45rem 0 0; font-size: clamp(4rem, 7vw, 6.6rem); font-weight: 500; letter-spacing: -.035em; line-height: .83; }
.nv-work-universe__intro p { margin: 0; color: var(--nv-ink-soft); line-height: 1.7; }
.nv-work-universe__intro span { display: block; margin-top: 1rem; color: var(--nv-teal-dark); font-family: var(--nv-sans); font-size: .68rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.nv-work-universe__list { border-top: 1px solid var(--nv-line); }
.nv-work-universe__item { display: grid; grid-template-columns: 70px minmax(0, 1fr) 52px; gap: clamp(1.4rem, 4vw, 3rem); align-items: center; padding: clamp(2rem, 4vw, 3.2rem) 0; color: var(--nv-ink); border-bottom: 1px solid var(--nv-line); text-decoration: none; transition: background .2s ease, padding .2s ease; }
.nv-work-universe__item:hover { padding-inline: 1.2rem; color: var(--nv-ink); background: rgba(248,242,231,.56); }
.nv-work-universe__index { color: var(--nv-teal-dark); font-family: var(--nv-sans); font-size: .68rem; font-weight: 750; letter-spacing: .16em; }
.nv-work-universe__item h3 { margin: 0 0 .45rem; font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 500; line-height: .95; }
.nv-work-universe__item p { max-width: 760px; margin: 0; color: var(--nv-ink-soft); line-height: 1.6; }
.nv-work-universe__arrow { width: 44px; height: 44px; display: grid; place-items: center; justify-self: end; color: var(--nv-gold); border: 1px solid rgba(176,139,79,.5); font-size: 1.15rem; transition: transform .2s ease; }
.nv-work-universe__item:hover .nv-work-universe__arrow { transform: translate(3px,-3px); }

/* Long-form content */
.site-main--standard { width: min(980px, calc(100% - 2rem)); min-height: 58vh; margin-inline: auto; padding: clamp(4rem, 7vw, 7rem) 0; }
.page-header h1,
.entry-header h1 { margin: 0 0 1.5rem; font-size: clamp(3.5rem, 7vw, 6rem); font-weight: 500; letter-spacing: -.025em; line-height: .9; }

.nv-article__header { max-width: 1040px; padding-top: clamp(4.5rem, 8vw, 8rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); text-align: center; }
.nv-article__header .nv-kicker { margin-bottom: 1.1rem; }
.nv-article__header h1 { max-width: 980px; margin: 0 auto 1.2rem; font-size: clamp(3.8rem, 7vw, 7rem); font-weight: 500; letter-spacing: -.035em; line-height: .86; }
.nv-article__header .nv-meta { margin: 0; }
.nv-article__lead { max-width: 720px; margin: 1.8rem auto 0; color: var(--nv-ink-soft); font-size: 1.2rem; line-height: 1.65; }
.nv-article__hero { max-width: 1260px; margin-bottom: clamp(3.5rem, 6vw, 6rem); }
.nv-article__hero img { width: 100%; max-height: 760px; object-fit: cover; }

.entry-content { padding-bottom: clamp(5rem, 8vw, 8rem); font-size: 1.075rem; }
.entry-content > :first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.45em; }
.entry-content h2 { margin: 2em 0 .65em; font-size: clamp(2.4rem, 4vw, 3.5rem); font-weight: 500; line-height: 1; }
.entry-content h3 { margin: 1.8em 0 .55em; font-size: clamp(1.8rem, 3vw, 2.45rem); font-weight: 550; line-height: 1.05; }
.entry-content blockquote { margin: 2.4rem -1.5rem; padding: 1.2rem 1.5rem 1.2rem 2rem; border-left: 2px solid var(--nv-gold); color: var(--nv-ink-soft); font-size: 1.18rem; font-style: italic; }
.entry-content img { margin-block: 2.2rem; }
.entry-content figcaption { margin-top: -.9rem; color: var(--nv-ink-soft); font-family: var(--nv-sans); font-size: .74rem; line-height: 1.5; }
.entry-content > .alignwide { position: relative; left: 50%; width: min(1160px, calc(100vw - 3rem)); max-width: none; transform: translateX(-50%); }
.entry-content > .alignfull { position: relative; left: 50%; width: 100vw; max-width: none; transform: translateX(-50%); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th,
.entry-content td { padding: .75rem; border: 1px solid var(--nv-line); text-align: left; }

.nv-post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; padding-block: 2rem 5rem; border-top: 1px solid var(--nv-line); }
.nv-post-nav > div:last-child { text-align: right; }
.nv-post-nav a { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; color: var(--nv-ink); font-family: var(--nv-display); font-size: 1.35rem; text-decoration: none; }

/* Work / universe / illustration detail */
.nv-detail-hero { background: var(--nv-night); color: #ede3d4; border-bottom: 1px solid var(--nv-line-dark); }
.nv-detail-hero__inner { min-height: 650px; display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; padding-block: clamp(4rem, 7vw, 7rem); }
.nv-detail-hero__media { justify-self: center; width: min(100%, 420px); aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid var(--nv-line-dark); background: #24231f; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.nv-detail-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.nv-detail-hero .nv-kicker { color: var(--nv-gold-soft); }
.nv-detail-hero h1 { margin: 0; font-size: clamp(4.3rem, 7vw, 7rem); font-weight: 500; letter-spacing: -.035em; line-height: .86; }
.nv-detail-hero__lead { max-width: 680px; margin: 1.5rem 0 0; color: #c9bdad; font-size: 1.18rem; }
.nv-detail > .entry-content { padding-top: clamp(4.5rem, 7vw, 7rem); }

.nv-breadcrumb { padding-block: 1.1rem; font-family: var(--nv-sans); font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.nv-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .45rem .7rem; margin: 0; padding: 0; list-style: none; }
.nv-breadcrumb li { display: inline-flex; align-items: center; gap: .7rem; color: var(--nv-ink-soft); }
.nv-breadcrumb li + li::before { content: "·"; color: var(--nv-gold); }
.nv-breadcrumb a { min-height: 32px; display: inline-flex; align-items: center; color: var(--nv-teal-dark); text-decoration: none; }
.nv-breadcrumb a:hover { color: var(--nv-burgundy); }
.nv-work-universe { border-top: 1px solid var(--nv-line); }
.nv-empty-state { max-width: 760px; padding: 2rem; border: 1px solid var(--nv-line); background: rgba(248,242,231,.58); }
.nv-empty-state p { margin: 0; }
.nv-empty-state .nv-kicker { margin-bottom: .55rem; }
.nv-back-to-work { padding-bottom: clamp(4rem, 7vw, 7rem); border-top: 1px solid var(--nv-line); }
.nv-back-to-work .nv-text-link { margin-top: 1.5rem; }

.nv-art-detail { padding-top: clamp(4.5rem, 8vw, 8rem); }
.nv-art-detail__header { max-width: 1000px; padding-bottom: 3rem; }
.nv-art-detail__header h1 { margin: 0; font-size: clamp(4rem, 7vw, 7rem); font-weight: 500; line-height: .86; }
.nv-art-detail__header p:not(.nv-kicker) { max-width: 680px; }
.nv-art-detail__image { display: grid; place-items: center; max-width: 1260px; padding: clamp(1rem, 3vw, 2.5rem); background: #daceba; box-shadow: var(--nv-shadow); }
.nv-art-detail__image img { max-height: 85vh; width: auto; }
.nv-art-detail > .entry-content { padding-top: clamp(3rem, 5vw, 5rem); }

.nv-author-page > .entry-content { padding-top: clamp(4.5rem, 7vw, 7rem); }

/* Generic listing */
.post-list article { padding: 2.5rem 0; border-top: 1px solid var(--nv-line); }
.post-list h2 { margin: .3rem 0; font-size: 2.4rem; font-weight: 500; line-height: 1; }
.post-list h2 a { color: var(--nv-ink); text-decoration: none; }

/* Footer */
.site-footer { color: #c7baaa; background: #0d0f0e; border-top: 1px solid rgba(200, 170, 115, .3); }
.site-footer__inner { min-height: 180px; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding-block: 2.5rem; }
.site-footer__brand { color: #f0e7d8; font-family: var(--nv-display); font-size: 2rem; font-weight: 550; letter-spacing: .04em; }
.site-footer p { margin: .15rem 0 0; font-size: .78rem; }
.footer-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.footer-menu a { display: inline-flex; align-items: center; min-height: 44px; color: #c7baaa; font-family: var(--nv-sans); font-size: .68rem; font-weight: 650; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.footer-menu a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1120px) {
  :root { --nv-shell: min(100% - 3rem, 1040px); }
  .site-header__inner { min-height: 88px; grid-template-columns: 1fr auto; gap: 2rem; }
  .site-branding img,
  .custom-logo-link .custom-logo { width: 255px; max-height: 70px; }
  .menu-toggle { display: block; justify-self: end; }
  .site-navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: .75rem 1.5rem 1.4rem; background: #131513; border-top: 1px solid rgba(200,170,115,.22); box-shadow: 0 20px 40px rgba(0,0,0,.16); }
  .site-navigation.is-open { display: block; }
  .primary-menu { display: grid; gap: 0; }
  .primary-menu a { min-height: 46px; padding: .75rem 0; }
  .primary-menu a::after { left: 0; right: 100%; bottom: .36rem; }
  .primary-menu a:hover::after,
  .primary-menu .current-menu-item > a::after,
  .primary-menu .current_page_item > a::after { right: calc(100% - 64px); }
  .nv-hero__copy { width: min(59vw, 660px); }
  .nv-author-band__inner { grid-template-columns: 1fr 1fr; }
  .nv-author-band .nv-button { justify-self: start; }
  .nv-archive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  :root { --nv-shell: min(100% - 2rem, 720px); }
  .admin-bar .site-header { top: 46px; }
  body { font-size: 1.025rem; }
  .site-header__inner { min-height: 82px; }
  .site-branding img,
  .custom-logo-link .custom-logo { width: 225px; max-height: 64px; }
  .nv-hero::after { display: none; }
  .nv-hero__inner { min-height: auto; }
  .nv-hero__copy { width: 100%; min-height: 0; padding: 3.6rem 0 2.5rem; }
  .nv-hero h1 { max-width: 620px; font-size: clamp(3.5rem, 14vw, 5.2rem); }
  .nv-hero__intro { font-size: 1.12rem; }
  .nv-hero__visual { position: relative; inset: auto; width: 100%; height: clamp(280px, 66vw, 460px); border-top: 1px solid var(--nv-line); }
  .nv-hero__art { width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: center top; transform: none; }
  .nv-ledger { grid-template-columns: 1fr; }
  .nv-ledger__item { padding: 2rem 0 2.2rem; }
  .nv-ledger__item + .nv-ledger__item { padding-left: 0; border-top: 1px solid var(--nv-line); border-left: 0; }
  .nv-section { padding-block: 5.2rem; }
  .nv-section__head { grid-template-columns: 1fr; gap: 1.4rem; }
  .nv-work-grid,
  .nv-universe-grid,
  .nv-gallery,
  .nv-universe-grid--archive { grid-template-columns: 1fr; }
  .nv-work-card { min-height: 390px; }
  .nv-universe-card,
  .nv-universe-card:nth-child(even) { padding: 1.7rem 0; border-left: 0; }
  .nv-gallery { gap: 2.8rem; }
  .nv-section--gallery {
    background-image: url("assets/images/illustrations-section-background-mobile.webp");
    background-position: center top;
    background-size: cover;
  }
  .nv-figure__media { aspect-ratio: 4 / 5; }
  .nv-author-band__inner { grid-template-columns: 1fr; gap: 1.4rem; padding-block: 4rem; }
  .nv-page-hero__inner { min-height: 330px; padding-block: 4rem; }
  .nv-page-hero h1 { font-size: clamp(4rem, 18vw, 6rem); }
  .nv-journal-masthead__inner,
  .nv-journal-layout { grid-template-columns: 1fr; }
  .nv-journal-masthead__note { max-width: 560px; }
  .nv-journal-sidebar { position: static; }
  .nv-journal-desk { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nv-journal-desk > div:first-child { grid-column: 1 / -1; }
  .nv-journal-desk__work,
  .nv-journal-archives { margin-top: 0; }
  .nv-archive-card { grid-template-columns: minmax(130px, .65fr) minmax(0, 1.35fr); min-height: 330px; }
  .nv-works-masthead__inner { min-height: 420px; }
  .nv-work-volume { grid-template-columns: minmax(170px, .55fr) minmax(0, 1.45fr); min-height: 400px; }
  .nv-work-volume__placeholder { min-height: 400px; }
  .nv-work-volume__index { margin-bottom: 2.5rem; }
  .nv-work-hero__inner { min-height: auto; grid-template-columns: 1fr; gap: 3rem; padding-block: 4rem; }
  .nv-work-hero__media { width: min(68vw, 360px); }
  .nv-work-universe__head { grid-template-columns: 1fr; gap: 1.5rem; }
  .nv-detail-hero__inner { min-height: auto; grid-template-columns: 1fr; gap: 2.5rem; padding-block: 4rem; }
  .nv-detail-hero__media { width: min(76vw, 380px); }
  .nv-post-nav { grid-template-columns: 1fr; }
  .nv-post-nav > div:last-child { text-align: left; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .footer-menu { justify-content: flex-start; }
}

@media (min-width: 521px) and (max-width: 800px) {
  .nv-hero__copy { padding-top: 3.2rem; }
  .nv-hero h1 { font-size: clamp(4rem, 10vw, 4.75rem); }
}

@media (max-width: 520px) {
  .site-branding img,
  .custom-logo-link .custom-logo { width: 200px; }
  .nv-actions { display: grid; }
  .nv-button { width: 100%; }
  .nv-hero__visual { height: min(72vw, 320px); }
  .nv-section__head h2 { font-size: 3.55rem; }
  .nv-work-card { min-height: 340px; padding: 1.35rem; }
  .nv-work-card__body { right: 1.35rem; bottom: 1.45rem; left: 1.35rem; }
  .nv-universe-card { grid-template-columns: auto minmax(0, 1fr); }
  .nv-universe-card__arrow { display: none; }
  .nv-archive-card { grid-template-columns: 1fr; }
  .nv-archive-card__media { aspect-ratio: 4 / 3; }
  .nv-archive-card__body { padding: 1.5rem; }
  .nv-works-masthead__foot { grid-template-columns: 1fr; gap: 1.5rem; }
  .nv-work-volume { grid-template-columns: 1fr; }
  .nv-work-volume__media { aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid rgba(200,170,115,.2); }
  .nv-work-volume__placeholder { min-height: 240px; }
  .nv-work-volume__body { padding: 1.7rem; }
  .nv-work-volume__index { margin-bottom: 2rem; }
  .nv-work-volume h2 { font-size: 3.25rem; }
  .nv-works-library__principle { grid-template-columns: auto 1fr; }
  .nv-work-hero h1 { font-size: clamp(4rem, 20vw, 5.6rem); }
  .nv-work-jump > div { gap: 1.2rem; }
  .nv-work-jump a { font-size: .62rem; }
  .nv-work-universe__item { grid-template-columns: 38px minmax(0, 1fr); gap: 1rem; }
  .nv-work-universe__arrow { display: none; }
  .nv-journal-masthead { padding-top: 4rem; padding-bottom: 3rem; }
  .nv-journal-masthead__inner { gap: 2rem; }
  .nv-journal-masthead h1 { font-size: clamp(4.2rem, 22vw, 6rem); }
  .nv-journal-masthead__note { display: none; }
  .nv-journal-main { padding-top: 3.5rem; }
  .nv-journal-feature h2 { font-size: 3.3rem; }
  .nv-journal-entry { grid-template-columns: 1fr; gap: .8rem; }
  .nv-journal-desk { display: block; padding: 1.6rem; }
  .nv-journal-desk__work,
  .nv-journal-archives { margin-top: 1.8rem; }
  .nv-journal-signoff { grid-template-columns: auto 1fr; }
  .nv-journal-article__header h1 { font-size: clamp(3.6rem, 17vw, 5.2rem); }
  .entry-content blockquote { margin-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header,
  .site-footer,
  .nv-post-nav { display: none; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .nv-reading-column { width: 100%; }
}
