/* =====================================================================
   Zilbaneta — heritage editorial stylesheet
   Deep navy, ivory and polished gold; fine double rules; Roman markers.
   Class prefix: cv-
   ===================================================================== */

:root {
  --cv-navy: #0e1a2f;
  --cv-navy-2: #162843;
  --cv-navy-3: #22375a;
  --cv-ivory: #f7f2e7;
  --cv-ivory-2: #efe7d6;
  --cv-paper: #fbf8f1;
  --cv-gold: #b8913f;
  --cv-gold-2: #d8b867;
  --cv-gold-ink: #7a5c1c;
  --cv-ink: #18202f;
  --cv-muted: #4f5768;
  --cv-line: #dcd1bb;
  --cv-on-navy: rgba(247, 242, 231, .84);
  --cv-serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --cv-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --cv-max: 1200px;
  --cv-gutter: clamp(16px, 4vw, 40px);
  --cv-double: 3px double var(--cv-gold);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cv-paper);
  color: var(--cv-ink);
  font-family: var(--cv-sans);
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; }
a { color: var(--cv-navy); text-decoration-color: var(--cv-gold); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--cv-gold-ink); }
:focus-visible { outline: 2px solid var(--cv-gold); outline-offset: 3px; }
main:focus { outline: none; }
h1, h2, h3 { font-family: var(--cv-serif); font-weight: 500; line-height: 1.14; color: var(--cv-navy); margin: 0 0 .5em; }
p { margin: 0 0 1.1em; }
.cv-wrap { width: 100%; max-width: var(--cv-max); margin-inline: auto; padding-inline: var(--cv-gutter); }

.cv-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--cv-navy); color: var(--cv-ivory); padding: .7em 1.1em; text-decoration: none;
}
.cv-skip:focus { left: 16px; top: 12px; }

.cv-numeral {
  display: inline-grid; place-items: center; min-width: 2.1em; height: 2.1em; padding: 0 .35em;
  margin-right: .7em; border: 1px solid currentColor; font-family: var(--cv-serif);
  font-weight: 500; letter-spacing: .04em; line-height: 1;
}

/* ---------- buttons & links ---------- */
.cv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 .74rem/1 var(--cv-sans); letter-spacing: .16em; text-transform: uppercase;
  padding: 1.05em 1.5em; border: 1px solid var(--cv-gold); background: var(--cv-gold); color: var(--cv-navy);
  text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease;
}
.cv-btn:hover { background: var(--cv-gold-2); color: var(--cv-navy); }
.cv-btn--ghost { background: transparent; color: var(--cv-ivory); }
.cv-btn--ghost:hover { background: rgba(216, 184, 103, .16); color: var(--cv-ivory); }

.cv-hero__link {
  font: 600 .74rem/1 var(--cv-sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--cv-ivory); text-decoration: none; padding: .5em 0;
  background: linear-gradient(var(--cv-gold-2), var(--cv-gold-2)) left bottom / 100% 1px no-repeat;
}
.cv-hero__link:hover { color: var(--cv-gold-2); }
.cv-hero__link--dark { color: var(--cv-navy); background-image: linear-gradient(var(--cv-gold), var(--cv-gold)); }
.cv-hero__link--dark:hover { color: var(--cv-gold-ink); }

/* ---------- masthead ---------- */
.cv-topbar { background: var(--cv-navy); color: var(--cv-ivory); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.cv-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.cv-topbar__tag { margin: 0; color: var(--cv-on-navy); }
.cv-topbar__sep { color: var(--cv-gold-2); margin: 0 .8em; }
.cv-lang { display: flex; align-items: center; gap: .45em; font-weight: 600; }
.cv-lang span { color: var(--cv-gold); }
.cv-lang a { color: var(--cv-ivory); opacity: .72; text-decoration: none; padding: .35em .25em; }
.cv-lang a:hover { opacity: 1; color: var(--cv-gold-2); }
.cv-lang a.is-current { opacity: 1; color: var(--cv-gold-2); }

.cv-bar { background: var(--cv-ivory); border-bottom: var(--cv-double); }
.cv-bar__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; min-height: 92px; }
.cv-brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--cv-navy); text-decoration: none; }
.cv-brand:hover { color: var(--cv-navy); }
.cv-brand__mark { width: 46px; height: 46px; flex: none; }
.cv-brand__name { font-family: var(--cv-serif); font-size: 1.5rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1; }

.cv-nav { margin-left: auto; }
.cv-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem clamp(.85rem, 1.6vw, 1.6rem); }
.cv-nav a {
  display: inline-block; padding: .4em 0; color: var(--cv-navy); text-decoration: none;
  font-size: .98rem; font-weight: 500; font-variant-caps: all-small-caps; letter-spacing: .1em;
  background: linear-gradient(var(--cv-gold), var(--cv-gold)) left bottom / 0 1px no-repeat;
  transition: background-size .28s ease, color .2s ease;
}
.cv-nav a:hover, .cv-nav a:focus-visible, .cv-nav a[aria-current="page"] { background-size: 100% 1px; color: var(--cv-navy); }
.cv-nav a[aria-current="page"] { color: var(--cv-gold-ink); }

.cv-navbtn {
  display: none; align-items: center; gap: .6rem; background: transparent; color: var(--cv-navy);
  border: 1px solid var(--cv-navy); padding: .75em .95em; cursor: pointer;
  font: 600 .7rem/1 var(--cv-sans); letter-spacing: .18em; text-transform: uppercase;
}
.cv-navbtn__bars { position: relative; width: 16px; height: 11px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.cv-navbtn__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; transform: translateY(-50%); }
.cv-navbtn[aria-expanded="true"] { background: var(--cv-navy); color: var(--cv-ivory); }

/* ---------- hero ---------- */
.cv-hero { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1rem, 3vw, 2rem); }
.cv-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.25rem, 3vw, 2.75rem); align-items: stretch; }
.cv-hero__panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(150px, 15vw, 210px);
  grid-template-areas: "text text" "actions dial"; gap: .5rem 1.5rem; align-items: end; overflow: hidden;
  background: var(--cv-navy); color: var(--cv-ivory); padding: clamp(1.75rem, 4vw, 3.25rem);
  box-shadow: inset 0 0 0 9px var(--cv-navy), inset 0 0 0 10px var(--cv-gold), inset 0 0 0 13px var(--cv-navy), inset 0 0 0 14px rgba(216, 184, 103, .55);
}
.cv-hero__eyebrow { color: var(--cv-gold-2); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; display: flex; align-items: center; margin-bottom: 1.4rem; }
.cv-hero__title { color: var(--cv-ivory); font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.06; margin-bottom: .55em; letter-spacing: -.005em; }
.cv-hero__dek { color: var(--cv-on-navy); font-size: 1.02rem; max-width: 34em; margin-bottom: .5rem; }
.cv-hero__text { grid-area: text; }
.cv-hero__actions { grid-area: actions; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin: 0 0 .5rem; }
.cv-hero__dial { grid-area: dial; width: 100%; height: auto; align-self: end; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }

.cv-hero__side { display: flex; flex-direction: column; gap: 1.1rem; }
.cv-label {
  display: flex; align-items: center; gap: .9rem; margin: 0 0 .25rem;
  font: 600 .72rem/1.3 var(--cv-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cv-gold-ink);
}
.cv-label::after { content: ""; flex: 1; border-top: var(--cv-double); }
.cv-feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1.1rem; padding-bottom: 1.15rem; border-bottom: 1px solid var(--cv-line); flex: 1; align-items: start; }
.cv-feature:last-child { border-bottom: 0; padding-bottom: 0; }
.cv-feature__plate img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--cv-line); }
.cv-feature__title { font-size: clamp(1.2rem, 1.9vw, 1.45rem); margin-bottom: .45rem; }
.cv-feature__title a { color: var(--cv-navy); text-decoration: none; }
.cv-feature__title a:hover { text-decoration: underline; text-decoration-color: var(--cv-gold); }
.cv-feature__dek { font-size: .9rem; color: var(--cv-muted); margin-bottom: .6rem; }

.cv-kicker { display: flex; align-items: center; margin: 0 0 .55rem; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cv-gold-ink); }
.cv-kicker a { color: inherit; text-decoration: none; }
.cv-kicker a:hover { text-decoration: underline; }
.cv-kicker .cv-numeral { font-size: .95em; letter-spacing: .02em; }
.cv-meta { margin: 0; font-size: .76rem; letter-spacing: .03em; color: var(--cv-muted); }
.cv-meta a { color: var(--cv-navy); }

/* ---------- sections ---------- */
.cv-section { padding: clamp(2.25rem, 6vw, 4.5rem) 0; }
.cv-section--tight { padding-top: 0; }
.cv-sechead {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.2rem; align-items: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem); padding-bottom: 1.1rem; border-bottom: var(--cv-double);
}
.cv-sechead__num {
  grid-row: span 2; display: grid; place-items: center; width: 3.3rem; height: 3.3rem;
  border: 1px solid var(--cv-gold); outline: 1px solid var(--cv-gold); outline-offset: 3px;
  font-family: var(--cv-serif); font-size: 1.2rem; color: var(--cv-gold-ink); margin: 4px;
}
.cv-sechead__title { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin: 0; }
.cv-sechead__sub { margin: .25rem 0 0; color: var(--cv-muted); font-size: .95rem; }
.cv-sechead--light { border-bottom-color: var(--cv-gold-2); }
.cv-sechead--light .cv-sechead__title { color: var(--cv-ivory); }
.cv-sechead--light .cv-sechead__sub { color: var(--cv-on-navy); }
.cv-sechead--light .cv-sechead__num { color: var(--cv-gold-2); border-color: var(--cv-gold-2); outline-color: var(--cv-gold-2); }

/* ---------- cards ---------- */
.cv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.6vw, 2.25rem); }
.cv-card { position: relative; display: flex; flex-direction: column; background: var(--cv-ivory); border: 1px solid var(--cv-line); transition: border-color .2s ease, transform .2s ease; }
.cv-card:hover { border-color: var(--cv-gold); }
.cv-card__plate { display: block; overflow: hidden; }
.cv-card__plate img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.cv-card:hover .cv-card__plate img { transform: scale(1.025); }
.cv-card__num {
  position: absolute; z-index: 2; top: .8rem; left: .8rem; display: grid; place-items: center;
  min-width: 2.6rem; height: 2.6rem; padding: 0 .45rem; background: var(--cv-navy); color: var(--cv-gold-2);
  font-family: var(--cv-serif); font-size: 1rem; letter-spacing: .05em;
  box-shadow: inset 0 0 0 3px var(--cv-navy), inset 0 0 0 4px var(--cv-gold);
}
.cv-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.35rem 1.4rem; border-top: var(--cv-double); }
.cv-card__title { font-size: 1.3rem; margin: 0 0 .55rem; }
.cv-card__title a { color: var(--cv-navy); text-decoration: none; }
.cv-card__title a:hover { text-decoration: underline; text-decoration-color: var(--cv-gold); }
.cv-card__dek { flex: 1; font-size: .92rem; color: var(--cv-muted); margin-bottom: 1rem; }

.cv-list { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.cv-card--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.cv-card--wide .cv-card__body { border-top: 0; border-left: var(--cv-double); justify-content: center; padding: clamp(1.4rem, 3vw, 2.4rem); }
.cv-card--wide .cv-card__title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cv-card--wide .cv-card__dek { flex: 0 1 auto; font-size: 1rem; }

/* ---------- glossary panel ---------- */
.cv-lexicon__panel {
  background: var(--cv-navy); color: var(--cv-ivory); padding: clamp(1.75rem, 4.5vw, 3.5rem);
  box-shadow: inset 0 0 0 9px var(--cv-navy), inset 0 0 0 10px var(--cv-gold), inset 0 0 0 13px var(--cv-navy), inset 0 0 0 14px rgba(216, 184, 103, .55);
}
.cv-lexicon__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 2.4rem; margin: 0; }
.cv-lexicon__item { border-top: 1px solid rgba(216, 184, 103, .4); padding-top: 1.05rem; }
.cv-lexicon__item dt { display: flex; align-items: baseline; gap: .7rem; font-family: var(--cv-serif); font-size: 1.4rem; color: var(--cv-gold-2); margin-bottom: .4rem; line-height: 1.2; }
.cv-lexicon__n { font-family: var(--cv-sans); font-size: .66rem; letter-spacing: .14em; color: var(--cv-on-navy); min-width: 1.8rem; }
.cv-lexicon__item dd { margin: 0; font-size: .92rem; color: var(--cv-on-navy); line-height: 1.65; }
.cv-lexicon__note { margin: 2rem 0 0; font-family: var(--cv-serif); font-style: italic; color: var(--cv-gold-2); font-size: 1.05rem; }

/* ---------- collections ---------- */
.cv-colls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.cv-coll { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem 1.4rem 1.4rem; background: var(--cv-ivory); border: 1px solid var(--cv-line); transition: border-color .2s ease; }
.cv-coll::before { content: ""; position: absolute; inset: 5px; border: 1px solid transparent; pointer-events: none; transition: border-color .2s ease; }
.cv-coll:hover, .cv-coll:focus-within { border-color: var(--cv-gold); }
.cv-coll:hover::before, .cv-coll:focus-within::before { border-color: rgba(184, 145, 63, .45); }
.cv-coll__num { font-family: var(--cv-serif); font-size: 2.3rem; line-height: 1; color: var(--cv-gold); }
.cv-coll__name { font-size: 1.35rem; margin: .2rem 0 0; }
.cv-coll__name a { color: var(--cv-navy); text-decoration: none; }
.cv-coll__name a::after { content: ""; position: absolute; inset: 0; }
.cv-coll__desc { flex: 1; margin: 0; font-size: .9rem; color: var(--cv-muted); }
.cv-coll__count { margin: .4rem 0 0; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cv-gold-ink); }

.cv-pledge { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: clamp(2rem, 5vw, 3.5rem); padding: 1.6rem 0; border-top: var(--cv-double); border-bottom: var(--cv-double); }
.cv-pledge p { margin: 0; max-width: 50em; font-family: var(--cv-serif); font-style: italic; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--cv-navy); line-height: 1.5; }
.cv-pledge a { flex: none; }

/* ---------- page heads ---------- */
.cv-pagehead { background: var(--cv-ivory); border-bottom: 1px solid var(--cv-line); padding: clamp(1.6rem, 4vw, 3rem) 0 clamp(1.6rem, 3.5vw, 2.6rem); }
.cv-pagehead h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 20em; }
.cv-pagehead__eyebrow { display: flex; align-items: center; margin-bottom: 1rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cv-gold-ink); }
.cv-lead { max-width: 46em; margin: 0; font-size: 1.08rem; color: var(--cv-muted); }
.cv-lead + .cv-lead { margin-top: .6rem; }

.cv-crumbs { margin-bottom: 1.3rem; font-size: .76rem; letter-spacing: .04em; color: var(--cv-muted); }
.cv-crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.cv-crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--cv-gold); }
.cv-crumbs a { color: var(--cv-muted); text-decoration: none; }
.cv-crumbs a:hover { color: var(--cv-navy); text-decoration: underline; }
.cv-crumbs [aria-current] { color: var(--cv-navy); }

/* ---------- article ---------- */
.cv-folio__head { padding-top: clamp(1.6rem, 4vw, 3rem); padding-bottom: clamp(1.25rem, 3vw, 2rem); }
.cv-folio__title { font-size: clamp(2.05rem, 5.2vw, 3.6rem); max-width: 18em; line-height: 1.08; margin-bottom: .45em; }
.cv-folio__dek { max-width: 38em; font-family: var(--cv-serif); font-style: italic; font-size: clamp(1.12rem, 2.2vw, 1.4rem); line-height: 1.45; color: var(--cv-navy-3); margin-bottom: 1.1rem; }
.cv-folio__meta { padding-top: 1rem; border-top: 1px solid var(--cv-line); max-width: 46rem; }
.cv-folio__plate { margin-top: 0; margin-bottom: clamp(2rem, 5vw, 3rem); }
.cv-folio__plate img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--cv-line); }
.cv-folio__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }

.cv-text { max-width: 42rem; font-size: 1.04rem; line-height: 1.85; }
.cv-text h2 { font-size: clamp(1.45rem, 2.7vw, 1.9rem); margin: 2.1em 0 .7em; padding-top: 1em; border-top: 1px solid var(--cv-line); scroll-margin-top: 1rem; }
.cv-text > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.cv-text ul { margin: 0 0 1.3em; padding-left: 1.2rem; }
.cv-text li { margin-bottom: .55em; padding-left: .35rem; }
.cv-text li::marker { color: var(--cv-gold); }
.cv-text strong { font-weight: 600; color: var(--cv-navy); }
.cv-text--article { counter-reset: cv-sec; }
.cv-text--article h2::before {
  counter-increment: cv-sec; content: counter(cv-sec, upper-roman);
  display: block; margin-bottom: .55rem; font-family: var(--cv-sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .26em; color: var(--cv-gold-ink);
}
.cv-text--article > p:first-child::first-letter {
  float: left; font-family: var(--cv-serif); font-weight: 500; font-size: 4.7em; line-height: .8;
  margin: .07em .16em 0 0; padding: .04em 0 0; color: var(--cv-navy);
}
.cv-endnote {
  margin-top: 2.6rem; padding: 1.1rem 1.3rem; background: var(--cv-ivory); border: 1px solid var(--cv-line);
  border-left: 4px double var(--cv-gold); font-size: .86rem; line-height: 1.65; color: var(--cv-muted);
}
.cv-text--page { padding: clamp(2rem, 5vw, 3.25rem) 0 0; }

.cv-aside { position: sticky; top: 1.25rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cv-aside__box { position: relative; padding: 1.4rem 1.4rem 1.2rem; background: var(--cv-ivory); border: 1px solid var(--cv-line); }
.cv-aside__box::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(184, 145, 63, .45); pointer-events: none; }
.cv-aside__title { margin: 0 0 1rem; font: 600 .7rem/1.3 var(--cv-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--cv-gold-ink); }
.cv-toc { list-style: none; margin: 0; padding: 0; counter-reset: cv-toc; }
.cv-toc li { counter-increment: cv-toc; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); margin-bottom: .55rem; font-size: .88rem; line-height: 1.45; }
.cv-toc li::before { content: counter(cv-toc, upper-roman); font-family: var(--cv-serif); color: var(--cv-gold-ink); }
.cv-toc a { color: var(--cv-navy); text-decoration: none; }
.cv-toc a:hover { text-decoration: underline; text-decoration-color: var(--cv-gold); }
.cv-gloss dl { margin: 0; }
.cv-gloss dt { margin-top: .95rem; font-family: var(--cv-serif); font-size: 1.12rem; color: var(--cv-navy); line-height: 1.25; }
.cv-gloss dt:first-child { margin-top: 0; }
.cv-gloss dd { margin: .2rem 0 0; font-size: .86rem; line-height: 1.55; color: var(--cv-muted); }

.cv-related { background: var(--cv-ivory); border-top: var(--cv-double); margin-top: clamp(2rem, 5vw, 3.5rem); }
.cv-related .cv-card { background: var(--cv-paper); }

/* ---------- other collections & 404 ---------- */
.cv-others { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.cv-others li { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 0 0; border-top: 1px solid var(--cv-line); font-size: .9rem; color: var(--cv-muted); }
.cv-others a { display: flex; align-items: center; font-family: var(--cv-serif); font-size: 1.25rem; color: var(--cv-navy); text-decoration: none; }
.cv-others a:hover { color: var(--cv-gold-ink); }
.cv-others .cv-numeral { font-size: .8rem; color: var(--cv-gold-ink); }
.cv-notfound { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.cv-notfound__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin: 2rem 0 0; }
.cv-notfound__list { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin: 0; padding: 2.5rem 0 1rem; font-family: var(--cv-serif); font-size: 1.2rem; }
.cv-notfound__list a { text-decoration: none; }

/* ---------- footer ---------- */
.cv-foot { background: var(--cv-navy); color: var(--cv-on-navy); border-top: var(--cv-double); font-size: .9rem; }
.cv-page { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.cv-foot__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: 2.5rem; }
.cv-foot .cv-brand { color: var(--cv-ivory); margin-bottom: 1rem; }
.cv-foot .cv-brand__name { font-size: 1.3rem; }
.cv-foot__brand p { max-width: 26em; margin: 0; line-height: 1.65; }
.cv-foot h2 { margin: 0 0 1rem; font: 600 .7rem/1.3 var(--cv-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--cv-gold-2); }
.cv-foot ul { list-style: none; margin: 0; padding: 0; }
.cv-foot li { margin-bottom: .6rem; }
.cv-foot a { color: var(--cv-ivory); text-decoration: none; }
.cv-foot a:hover { color: var(--cv-gold-2); }
.cv-foot__btn { padding: 0; background: none; border: 0; color: var(--cv-ivory); font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--cv-gold); text-underline-offset: .2em; }
.cv-foot__btn:hover { color: var(--cv-gold-2); }
.cv-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; padding-top: 1.2rem; padding-bottom: 1.6rem; border-top: 1px solid rgba(216, 184, 103, .3); font-size: .76rem; }
.cv-foot__base p { margin: 0; }
.cv-foot__mark { font-family: var(--cv-serif); letter-spacing: .3em; color: var(--cv-gold-2); }

/* ---------- consent banner ---------- */
.cv-consent {
  position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(420px, calc(100% - 32px));
  padding: 1.15rem 1.25rem; background: var(--cv-navy); color: var(--cv-ivory); font-size: .84rem; line-height: 1.55;
  box-shadow: 0 14px 34px rgba(14, 26, 47, .35), inset 0 0 0 1px var(--cv-gold), inset 0 0 0 4px var(--cv-navy), inset 0 0 0 5px rgba(216, 184, 103, .5);
}
.cv-consent[hidden] { display: none; }
.cv-consent p { margin: 0 0 .9rem; }
.cv-consent a { color: var(--cv-gold-2); }
.cv-consent__actions { display: flex; justify-content: flex-end; gap: .6rem; }
.cv-consent .cv-btn { padding: .85em 1.2em; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cv-navbtn { display: inline-flex; }
  .cv-nav { flex-basis: 100%; margin-left: 0; }
  .cv-js .cv-nav { display: none; }
  .cv-js .cv-nav.is-open { display: block; }
  .cv-nav ul { flex-direction: column; gap: 0; padding-bottom: 1rem; }
  .cv-nav li { border-top: 1px solid var(--cv-line); }
  .cv-nav a { display: block; padding: .8rem 0; font-size: 1.1rem; background: none; }
  .cv-nav a[aria-current="page"] { background: none; }
  .cv-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .cv-hero__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .cv-hero__side .cv-label { grid-column: 1 / -1; }
  .cv-feature { grid-template-columns: minmax(0, 1fr); border-bottom: 0; padding-bottom: 0; }
  .cv-colls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-folio__layout { grid-template-columns: minmax(0, 1fr); }
  .cv-aside { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 42rem; }
  .cv-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cv-foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .cv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-lexicon__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-card--wide { grid-template-columns: minmax(0, 1fr); }
  .cv-card--wide .cv-card__body { border-left: 0; border-top: var(--cv-double); }
  .cv-others { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .cv-topbar__long { display: none; }
  .cv-bar__inner { min-height: 72px; }
  .cv-brand__mark { width: 38px; height: 38px; }
  .cv-brand__name { font-size: 1.18rem; letter-spacing: .16em; }
  .cv-hero__panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "dial" "text" "actions"; gap: 1rem; }
  .cv-hero__dial { width: 140px; justify-self: start; }
  .cv-hero__side { grid-template-columns: minmax(0, 1fr); }
  .cv-feature { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: .9rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--cv-line); }
  .cv-feature__dek { display: none; }
  .cv-grid, .cv-lexicon__list, .cv-colls, .cv-aside { grid-template-columns: minmax(0, 1fr); }
  .cv-sechead { column-gap: .9rem; }
  .cv-sechead__num { width: 2.7rem; height: 2.7rem; font-size: 1rem; }
  .cv-pledge { flex-direction: column; align-items: flex-start; }
  .cv-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-text--article > p:first-child::first-letter { font-size: 3.9em; }
  .cv-consent__actions .cv-btn { flex: 1; }
}

@media (max-width: 380px) {
  .cv-brand__name { font-size: 1.05rem; letter-spacing: .13em; }
  .cv-foot__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .cv-topbar, .cv-navbtn, .cv-nav, .cv-consent, .cv-aside, .cv-related, .cv-foot { display: none !important; }
  body { background: #fff; }
}
