/* Nicolaj Jupin — "The Hallmark"
   Ink blue dominates, linen is the paper, gold is rare and only for what matters. */

@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/BodoniModa-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("../fonts/BodoniModa-italic.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/SchibstedGrotesk-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/GeistMono-normal.woff2") format("woff2"); }

:root {
  --ink: #14224a;
  --ink-deep: #0e1836;
  --ink-soft: #24345f;
  --linen: #e2dacb;          /* muted cream: warm, low-glare paper */
  --linen-2: #d6ccb9;
  --linen-text: #e4ddcf;     /* cream used as text on blue */
  --gold: #c9a24a;
  --gold-deep: #7d5f1c;      /* gold for small marks on linen */
  --muted: #4b5373;
  --muted-on-ink: #a3a9c0;
  --rule: rgba(20, 34, 74, .22);
  --rule-on-ink: rgba(228, 221, 207, .18);

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Schibsted Grotesk", "Helvetica Neue", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink-deep); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

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

/* ---------- type ---------- */
.eyebrow, .spec, .mono {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
}
.eyebrow { display: flex; align-items: center; gap: .9em; margin: 0 0 1.4rem; }
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; opacity: .7; }
.on-ink .eyebrow { color: var(--gold); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.02; letter-spacing: -.01em; }
/* Bodoni's display optical size makes hairlines vanish on screens; a lower opsz keeps them crisp. */
h1, h2, h3, .statement, .ledger .t, .big-link, .brand-name { font-variation-settings: "opsz" 24; }
h2 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.15; }
em, .it { font-style: italic; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34em; color: var(--muted); }
.on-ink .lede { color: var(--muted-on-ink); }
p { margin: 0 0 1em; }

/* ---------- surfaces ---------- */
.on-ink { background: var(--ink); color: var(--linen-text); }
.on-ink-deep { background: var(--ink-deep); color: var(--linen-text); }
.section { padding: clamp(72px, 11vw, 150px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }

.rule { border: 0; height: 1px; background: var(--rule); margin: 0; }
.on-ink .rule { background: var(--rule-on-ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  color: var(--linen-text);
  border-bottom: 1px solid var(--rule-on-ink);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark {
  display: block; aspect-ratio: 3000 / 2100; background: currentColor;
  -webkit-mask: url("../img/mark.svg") center / contain no-repeat; mask: url("../img/mark.svg") center / contain no-repeat;
}
.brand-mark { width: 46px; color: var(--gold); flex: none; }
.brand-name { font-family: var(--display); font-style: italic; font-size: 1.25rem; letter-spacing: .005em; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.nav a {
  text-decoration: none; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  font-family: var(--mono); color: var(--linen-text); opacity: .78; padding: 6px 0; position: relative;
  transition: opacity .2s;
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); }
.nav a.nav-cta { opacity: 1; color: var(--gold); border: 1px solid var(--gold); padding: 9px 16px; }
.nav a.nav-cta:hover { background: var(--gold); color: var(--ink-deep); }
.nav a.nav-cta[aria-current="page"]::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--linen-text); padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .2s; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px var(--gutter) 28px; border-bottom: 1px solid var(--rule-on-ink);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s var(--ease);
  }
  .nav a { padding: 18px 0; border-bottom: 1px solid var(--rule-on-ink); font-size: .85rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--gold); }
  .nav a.nav-cta { margin-top: 20px; text-align: center; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .8em; text-decoration: none; cursor: pointer;
  font: 500 .8rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  padding: 18px 26px; border: 1px solid currentColor; background: none; color: inherit;
  transition: background .25s, color .25s, border-color .25s;
}
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink-deep); }
.btn--gold:hover { background: var(--linen-text); border-color: var(--linen-text); }
.btn--ghost:hover { background: var(--linen-text); color: var(--ink); border-color: var(--linen-text); }
.on-linen .btn--ghost:hover, .btn--ink:hover { background: var(--ink); color: var(--linen-text); border-color: var(--ink); }
.link-arrow { font: 500 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: .7em; padding: 6px 0; border-bottom: 1px solid currentColor; }
.link-arrow:hover { color: var(--gold-deep); }
.on-ink .link-arrow:hover { color: var(--gold); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.hero-name {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(3.6rem, 16vw, 10.5rem); line-height: .86; letter-spacing: -.035em;
  margin: 0 0 .35em; font-variation-settings: "opsz" 12;
}
.hero-name span { display: block; }
.hero-name span:last-child { padding-left: .55em; }
.hero-line { font-size: clamp(1.15rem, 1.9vw, 1.45rem); max-width: 26em; color: var(--linen-text); margin-bottom: 2.2rem; }
.hero-line strong { font-weight: 500; color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { margin: 0; }
.hero-figure .frame { aspect-ratio: 4 / 5; }
.hero-figure figcaption { margin-top: 14px; color: var(--muted-on-ink); display: flex; justify-content: space-between; gap: 12px; }
.hero::after { /* engraved hairline under the whole hero */
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent 70%); opacity: .6;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 440px; }
}

/* ---------- photo frames & placeholders ---------- */
.frame {
  position: relative; overflow: hidden; background: var(--linen-2);
  aspect-ratio: 1 / 1;
}
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.on-ink .frame { background: var(--ink-soft); }
.ph-photo {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,.35), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(20,34,74,.045) 14px 15px),
    var(--linen-2);
  color: var(--ink);
}
.on-ink .ph-photo, .ph-photo--ink {
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(201,162,74,.16), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(228,221,207,.05) 14px 15px),
    var(--ink-soft);
  color: var(--linen-text);
}
.ph-photo .mark { width: 34%; max-width: 130px; opacity: .3; margin: 0 auto 14px; }
.ph-photo .spec { opacity: .6; }

/* clearly visible marker for placeholder content that still needs real copy/photos */
.ph-tag {
  display: inline-block; font: 500 .62rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 7px; border: 1px dashed currentColor; color: var(--gold-deep); vertical-align: middle;
}
.on-ink .ph-tag { color: var(--gold); }
.frame .ph-tag { position: absolute; top: 12px; left: 12px; background: var(--linen); z-index: 1; }
.on-ink .frame .ph-tag { background: var(--ink); }

/* ---------- statement ---------- */
.statement {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4.6vw, 3.9rem);
  line-height: 1.08; letter-spacing: -.015em; max-width: 19ch; margin: 0;
}
.statement em { color: var(--gold-deep); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--rule); }
.pillar { padding: 28px 28px 0 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--rule); }
.pillar .spec { color: var(--gold-deep); display: block; margin-bottom: 14px; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}

/* ---------- section heads ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.sec-head h2 { max-width: 14ch; }

/* ---------- piece cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px) clamp(16px, 2.4vw, 32px); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card { display: block; text-decoration: none; color: inherit; background: none; border: 0; padding: 0; text-align: left; font: inherit; cursor: pointer; width: 100%; }
.card .frame { aspect-ratio: 4 / 5; }
.card:hover .frame img { transform: scale(1.035); }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
.card-no { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; color: var(--gold-deep); }
.on-ink .card-no { color: var(--gold); }
.card h3 { font-size: 1.55rem; margin: 6px 0 8px; transition: color .2s; }
.card:hover h3 { font-style: italic; }
.card .spec { color: var(--muted); line-height: 1.7; }
.on-ink .card .spec { color: var(--muted-on-ink); }

/* ---------- skills ledger ---------- */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-on-ink); counter-reset: led; }
.ledger li { counter-increment: led; }
.ledger .row {
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) minmax(0, 1.1fr); align-items: baseline; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--rule-on-ink);
}
.ledger .row::before { content: counter(led, decimal-leading-zero); font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--gold); }
.ledger .t { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.1; }
.ledger .d { color: var(--muted-on-ink); font-size: .95rem; max-width: 28em; }
@media (max-width: 760px) {
  .ledger .row { grid-template-columns: 2.4rem minmax(0, 1fr); row-gap: 6px; padding: 18px 0; }
  .ledger .d { grid-column: 2; }
}

/* ---------- WIP ---------- */
.wip { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--rule); }
.wip:first-child { border-top: 0; padding-top: 0; }
.wip .frame { aspect-ratio: 4 / 3; }
.wip-status { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; color: var(--muted); }
.wip-status .live { color: var(--gold-deep); display: inline-flex; align-items: center; gap: 8px; }
.wip-status .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.wip h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.progress { display: grid; grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 4px; margin: 0 0 8px; }
.progress i { height: 3px; background: var(--rule); }
.progress i.on { background: var(--ink); }
.progress-label { color: var(--muted); margin-bottom: 26px; display: block; }
.notes { display: grid; gap: 0; margin: 0; }
.notes > div { display: grid; grid-template-columns: 9rem 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--rule); }
.notes dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); padding-top: 4px; }
.notes dd { margin: 0; }
@media (max-width: 760px) {
  .wip { grid-template-columns: 1fr; }
  .notes > div { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- page head (inner pages) ---------- */
.page-head { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.page-head h1 { font-size: clamp(3rem, 9vw, 7.5rem); font-style: italic; letter-spacing: -.03em; line-height: .92; margin-bottom: 24px; font-variation-settings: "opsz" 12; }

/* ---------- portfolio controls ---------- */
.controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: clamp(32px, 5vw, 56px); position: sticky; top: 68px; background: var(--linen); z-index: 10; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font: 400 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  padding: 10px 14px; border: 1px solid var(--rule); background: none; color: var(--ink); transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--linen-text); border-color: var(--ink); }
.chip .c { opacity: .55; margin-left: 4px; }
.chip--tech { border-style: dashed; border-color: var(--gold-deep); color: var(--gold-deep); }
.sort { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.sort select { font: 400 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: none; border: 1px solid var(--rule); color: var(--ink); padding: 10px 30px 10px 12px; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.count { color: var(--muted); }
@media (max-width: 760px) {
  .controls { position: static; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; width: calc(100% + var(--gutter) * 2); }
  .chip { flex: none; }
}
.timeline-note { display: none; margin: -24px 0 36px; color: var(--muted); }
.show-progress .timeline-note { display: block; }

/* ---------- piece dialog ---------- */
dialog.piece {
  width: min(1100px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0;
  background: var(--linen); color: var(--ink); overflow: auto;
}
dialog.piece::backdrop { background: rgba(14, 24, 54, .82); backdrop-filter: blur(3px); }
.piece-inner { display: grid; grid-template-columns: 1.1fr 1fr; }
.piece-media { background: var(--linen-2); }
.piece-media .frame { aspect-ratio: 4 / 5; }
.piece-thumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; }
.piece-media .frame img { object-fit: contain; }
.piece-thumbs button { width: 64px; aspect-ratio: 1; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; }
.piece-thumbs button[aria-current="true"] { border-color: var(--ink); }
.piece-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.piece-body { padding: clamp(28px, 4vw, 52px); position: relative; }
.piece-body h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 10px 0 20px; }
.piece-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 1px solid var(--rule); background: var(--linen); cursor: pointer; font-size: 1.3rem; color: var(--ink); }
.piece-close:hover { background: var(--ink); color: var(--linen-text); }
.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.spec-table th { font: 400 .7rem/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); width: 40%; font-weight: 400; }
@media (max-width: 760px) { .piece-inner { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-grid .frame { aspect-ratio: 3 / 4; position: sticky; top: 100px; }
.prose { font-size: 1.12rem; max-width: 36em; }
.prose p:first-of-type::first-letter {
  font-family: var(--display); font-style: italic; float: left; font-size: 4.6em; line-height: .8; padding: .06em .1em 0 0; color: var(--gold-deep);
}
.prose h3 { margin: 2.2em 0 .6em; }
.facts { margin: 40px 0 0; border-top: 1px solid var(--rule); }
.facts > div { display: grid; grid-template-columns: 10rem 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font: 400 .7rem/1.9 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.facts dd { margin: 0; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .frame { position: static; max-width: 440px; }
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.big-link {
  display: inline-block; font-family: var(--display); font-style: italic; font-size: clamp(1.45rem, 3.3vw, 2.6rem);
  line-height: 1.1; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 6px; overflow-wrap: anywhere;
  transition: color .2s;
}
.big-link:hover { color: var(--gold); }
.channels { margin: 44px 0 0; border-top: 1px solid var(--rule-on-ink); }
.channels > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule-on-ink); }
.channels dt { font: 400 .7rem/1.9 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.channels dd { margin: 0; }
.channels a { text-decoration: none; border-bottom: 1px solid var(--rule-on-ink); }
.channels a:hover { border-color: var(--gold); color: var(--gold); }

.form { display: grid; gap: 22px; }
.field label { display: block; font: 400 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-ink); margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; font: 400 1.05rem/1.4 var(--text); color: var(--linen-text); background: transparent;
  border: 0; border-bottom: 1px solid var(--rule-on-ink); padding: 10px 0 12px; border-radius: 0; transition: border-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: rgba(228, 221, 207, .35); }
.form-note { color: var(--muted-on-ink); font-size: .9rem; margin: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: left; }
.cta-band h2 { font-size: clamp(2.6rem, 7vw, 6rem); font-style: italic; max-width: 12ch; margin-bottom: 36px; letter-spacing: -.025em; }
.cta-band .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--muted-on-ink); padding: 56px 0 40px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; }
.foot-mark { width: 84px; color: var(--gold); }
.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.foot-nav a, .foot-contact a { text-decoration: none; }
.foot-nav a:hover, .foot-contact a:hover { color: var(--gold); }
.foot-contact { text-align: right; line-height: 1.9; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule-on-ink); }
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-nav { justify-content: flex-start; }
  .foot-contact { text-align: left; }
}

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.empty { padding: 60px 0; color: var(--muted); text-align: center; }
