/* ============================================================
   "Paper" theme — editorial / Ellipsus-inspired
   Monochrome cream + ink, alternating full-bleed bands,
   narrow high-contrast serif display, Manrope UI.
   ============================================================ */

/* ---------- SELF-HOSTED DISPLAY FACE ----------
   Victory Striker Sans Demo — single weight (400), no italic, ALL-CAPS
   letterforms, and no accented glyphs. The rules further down account for
   all three of those limits; see README before swapping it out.          */
@font-face {
  font-family: "Victory Striker Sans Demo";
  src: url("../fonts/victory-striker-sans-demo.woff2") format("woff2"),
       url("../fonts/victory-striker-sans-demo.woff")  format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- TOKENS ---------- */
:root {
  /* paper + ink */
  --paper:    #f8f8f7;
  --paper-2:  #f4f4f2;
  --paper-3:  #e5e5e1;
  --ink:      #0c0d0d;
  --ink-2:    #1d1e20;
  --ink-3:    #292a2e;
  --ink-text: #282825;

  /* fluid display scale — the serif does the talking */
  --d-1: clamp(1.95rem, 1.3rem + 2.9vw, 3.5rem);
  --d-2: clamp(2.05rem, 1.5rem + 2.8vw, 3.55rem);
  --d-3: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem);
  --d-4: clamp(1.22rem, 1.08rem + 0.66vw, 1.55rem);

  --t-lede:  clamp(1.06rem, 1rem + 0.42vw, 1.3rem);
  --t-body:  clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
  --t-small: clamp(0.88rem, 0.85rem + 0.14vw, 0.96rem);
  --t-label: clamp(0.68rem, 0.66rem + 0.1vw, 0.75rem);

  --shell:  1220px;
  --pad-x:  clamp(1.25rem, 0.6rem + 3vw, 4rem);
  --band-y: clamp(4rem, 2.4rem + 7vw, 9rem);
  --nav-h:  68px;

  --f-display: "Victory Striker Sans Demo", "Haettenschweiler", "Arial Narrow", Impact, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

/* per-band inversion: components read --fg / --line and just work */
.band--paper {
  --bg: var(--paper);
  --fg: var(--ink-text);
  --fg-soft: #63635d;
  --line: rgba(40, 40, 37, 0.16);
  --line-soft: rgba(40, 40, 37, 0.09);
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
}
.band--paper-2 { --bg: var(--paper-2); }
.band--ink {
  --bg: var(--ink);
  --fg: #f4f4f2;
  --fg-soft: rgba(244, 244, 242, 0.6);
  --line: rgba(244, 244, 242, 0.18);
  --line-soft: rgba(244, 244, 242, 0.1);
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}
body {
  background: var(--paper);
  color: var(--ink-text);
  font: 400 var(--t-body)/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 0.7rem 1.1rem; background: var(--ink); color: var(--paper); font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------- BANDS + SHELL ---------- */
.band {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  padding-block: var(--band-y);
}
.band--flush { padding-block: 0; }
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ---------- TYPE ---------- */
.display, .d1, .d2, .d3, .d4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.d1 { font-size: var(--d-1); }
.d2 { font-size: var(--d-2); }
.d3 { font-size: var(--d-3); line-height: 1.1; }
.d4 { font-size: var(--d-4); line-height: 1.15; }
.italic { font-style: normal; }

.label {
  display: block;
  font: 500 var(--t-label)/1.5 var(--f-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.lede { font-size: var(--t-lede); line-height: 1.65; color: var(--fg-soft); max-width: 46ch; }
.body-text { color: var(--fg-soft); max-width: 62ch; }
.small { font-size: var(--t-small); color: var(--fg-soft); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- NAV (always paper, like the reference) ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: var(--paper);
  color: var(--ink-text);
  border-bottom: 1px solid rgba(40, 40, 37, 0.1);
}
.nav__in {
  width: 100%; max-width: var(--shell); margin-inline: auto;
  padding-inline: var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.wordmark {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.wordmark span { opacity: 0.55; }

.nav__links { display: none; }
@media (min-width: 900px) {
  .nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 0.6rem + 1.6vw, 2.4rem); }
  .nav__link {
    position: relative;
    font-size: 1rem;
    padding-block: 0.35rem;
    color: var(--ink-text);
  }
  .nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s var(--ease);
  }
  .nav__link:hover::after { transform: scaleX(1); }
  .nav__link[aria-current="page"]::after { transform: scaleX(1); }
}
.nav__end { display: flex; align-items: center; gap: 0.6rem; }

/* pill buttons */
.pill-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0 1.15rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font: 500 var(--t-small)/1 var(--f-body);
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.pill-btn:hover { transform: translateY(-1px); }
.pill-btn--solid {
  background: var(--btn-bg, var(--ink));
  color: var(--btn-fg, var(--paper));
  border-color: transparent;
}
.pill-btn--solid:hover { opacity: 0.88; }
.pill-btn--ghost:hover { background: currentColor; }
.pill-btn--ghost:hover > * { mix-blend-mode: difference; }
.pill-btn svg { width: 15px; height: 15px; }
.nav .pill-btn { border-color: rgba(40, 40, 37, 0.35); }
.nav .pill-btn--solid { background: var(--ink); color: var(--paper); border-color: transparent; }

/* burger + full-screen paper menu */
.burger {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-right: -6px;
  border: 1px solid rgba(40, 40, 37, 0.25); border-radius: 999px;
}
.burger span {
  display: block; width: 17px; height: 1.5px; background: var(--ink-text); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.burger span + span { margin-top: 4.5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* declared after .burger's base rule so it wins on source order */
@media (min-width: 900px) { .burger { display: none; } }

.menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 55;
  background: var(--paper);
  padding: clamp(1.5rem, 1rem + 3vw, 3rem) var(--pad-x);
  display: grid; align-content: start; gap: 0.2rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0.35s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-block: clamp(0.7rem, 0.5rem + 0.8vw, 1.1rem);
  border-bottom: 1px solid rgba(40, 40, 37, 0.12);
  /* text face on purpose: the display font has no accented glyphs and this
     menu contains "Résumé" */
  font-family: var(--f-body);
  font-size: clamp(1.55rem, 1.2rem + 2.7vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink-text);
}
.menu a small {
  font: 500 var(--t-label)/1 var(--f-body);
  letter-spacing: 0.2em; color: #8a8a83;
}
.menu a[aria-current="page"] { font-style: italic; }
.menu__foot { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.7rem; }
@media (min-width: 900px) { .menu { display: none; } }
body.menu-open { overflow: hidden; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 860px);
  display: grid; place-items: center;
  overflow: hidden;
  text-align: center;
}
.hero__in { position: relative; z-index: 2; display: grid; justify-items: center; gap: clamp(1.1rem, 0.8rem + 1.4vw, 2rem); }
.hero__title { font-size: clamp(2.9rem, 1.5rem + 7.4vw, 7.4rem); font-weight: 400; line-height: 1.1; letter-spacing: 0.005em; }
.hero__title em { font-style: normal; }
/* emphasis = outlined word (varsity style), since this face has no italic.
   NOTE: stroke colour must be the band token, not currentColor — pairing
   currentColor with a transparent fill makes the stroke transparent too. */
@supports (-webkit-text-stroke: 1px red) {
  .hero__title em, .d1 .italic, .d2 .italic, .d3 .italic, .display .italic {
    -webkit-text-stroke: 1.5px var(--fg);
    -webkit-text-fill-color: transparent;
    font-style: normal;
    paint-order: stroke fill;
  }
}
.caret {
  display: inline-block; width: 2px; height: 0.82em; margin-left: 0.06em;
  vertical-align: -0.04em; background: currentColor;
  animation: blink 1.05s steps(2, start) infinite;
}
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* scattered ghost glyphs — the reference's floating letters, QA flavoured */
.ghosts { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ghosts span {
  position: absolute;
  font-family: var(--f-body);
  font-size: clamp(0.9rem, 0.7rem + 0.7vw, 1.4rem);
  color: var(--fg);
  opacity: 0.16;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -14px, 0); }
}

/* hand-drawn line art */
.sketch { position: absolute; z-index: 1; pointer-events: none; opacity: 0.85; }
.sketch svg { width: 100%; height: auto; }
.sketch path, .sketch circle, .sketch ellipse, .sketch line {
  fill: none; stroke: var(--fg); stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.sketch--plane { left: clamp(-1rem, 2vw, 5rem); top: 58%; width: clamp(90px, 12vw, 170px); }
.sketch--glass { right: clamp(-1rem, 3vw, 6rem); top: 22%; width: clamp(80px, 10vw, 140px); transform: rotate(-12deg); }
.sketch--bug   { right: 12%; bottom: 12%; width: clamp(58px, 6vw, 92px); transform: rotate(8deg); }
@media (max-width: 700px) {
  .sketch--bug { display: none; }
  .sketch--glass { top: 9%; right: -0.5rem; width: 74px; opacity: 0.55; }
  .sketch--plane { top: 76%; left: -1rem; width: 84px; opacity: 0.6; }
}

.scroll-cue { display: grid; justify-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.scroll-cue i { display: block; width: 1px; height: clamp(28px, 5vw, 46px); background: var(--line); }

/* ---------- FLOW UTILITIES ---------- */
.flow    { display: grid; gap: clamp(1.4rem, 1rem + 1.6vw, 2.3rem); }
.flow-lg { display: grid; gap: clamp(1.9rem, 1.3rem + 2.4vw, 3.4rem); }
.flow-sm { display: grid; gap: clamp(0.9rem, 0.7rem + 0.8vw, 1.5rem); }
.start   { align-content: start; }
.lede--center { text-align: center; max-width: 52ch; margin-inline: auto; }
.center-row { justify-content: center; }

/* ---------- EDITORIAL LAYOUT ---------- */
.split { display: grid; gap: clamp(1.6rem, 1rem + 3vw, 3.4rem); }
@media (min-width: 860px) {
  .split { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); align-items: start; }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.split > * { min-width: 0; }

.head { display: grid; gap: clamp(0.9rem, 0.7rem + 0.8vw, 1.5rem); }
.head .d2 { max-width: 32ch; }

/* big serif stats separated by hairlines */
.figures {
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.figure {
  display: grid; gap: 0.3rem;
  padding-block: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
  border-bottom: 1px solid var(--line);
}
.figure b { font-family: var(--f-display); font-weight: 400; font-size: var(--d-3); line-height: 1.15; letter-spacing: 0.01em; }
@media (min-width: 720px) {
  .figures { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 0 clamp(1rem, 0.6rem + 1.6vw, 2.6rem); }
}

/* tracked meta chips */
.metas { display: flex; flex-wrap: wrap; gap: 0.4rem 0.5rem; }
.meta {
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 500 var(--t-label)/1.5 var(--f-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

/* arrow link */
.arrow-link {
  display: inline-flex; align-items: center; gap: 0.55rem;
  /* text face on purpose: label reads "See the full résumé" */
  font-family: var(--f-body); font-size: var(--t-lede); font-weight: 500;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15rem;
  transition: gap 0.3s var(--ease), border-color 0.3s;
}
.arrow-link svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.arrow-link:hover { gap: 1rem; border-color: currentColor; }

/* ---------- FEATURE (latest work) ---------- */
.feature { display: grid; gap: clamp(1.2rem, 0.9rem + 1.6vw, 2.2rem); margin-top: clamp(0.4rem, 0.2rem + 1vw, 1.2rem); }
@media (min-width: 860px) {
  .feature { grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr); align-items: start; }
}
.feature__side { display: grid; gap: 0.9rem; align-content: start; }

/* ---------- RÉSUMÉ ENTRIES ---------- */
.entries { display: grid; }
.entry {
  display: grid; gap: clamp(0.9rem, 0.7rem + 1vw, 1.6rem);
  padding-block: clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem);
  border-top: 1px solid var(--line);
}
.entry:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 860px) {
  .entry { grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); }
}
.entry__when { display: grid; gap: 0.5rem; align-content: start; }
.entry__logo {
  width: 52px; height: 52px; border-radius: 8px; object-fit: cover;
  border: 1px solid var(--line);
  transition: filter 0.5s var(--ease);
}
.band--paper .entry__logo { filter: saturate(0.15) contrast(1.05); }
.band--paper .entry:hover .entry__logo { filter: none; }
/* dark band: give logos a hint of light so dark marks stay legible */
.band--ink .entry__logo { background: rgba(255, 255, 255, 0.08); padding: 3px; }
.entry:hover .entry__logo { filter: none; }
.entry__body { display: grid; gap: clamp(0.8rem, 0.6rem + 0.7vw, 1.2rem); }
.entry__role { font-family: var(--f-body); font-size: var(--t-lede); font-weight: 500; font-style: italic; color: var(--fg-soft); }

.bullets { display: grid; gap: 0.6rem; }
.bullets li {
  position: relative; padding-left: 1.5rem;
  font-size: var(--t-body); color: var(--fg-soft); line-height: 1.65;
}
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.78em;
  width: 12px; height: 1px; background: currentColor; opacity: 0.55;
}

/* product / logo rows */
.things { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.thing {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: background 0.4s var(--ease), border-color 0.4s;
}
.thing:hover { border-color: currentColor; }
.thing img { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 6px; object-fit: cover; }
.thing b { font: 500 var(--t-small)/1.3 var(--f-body); }

/* clickable tile (single destination) */
a.thing { cursor: pointer; position: relative; }
a.thing:hover { border-color: currentColor; }
/* absolute so the arrow costs no layout width — otherwise longer names wrap */
a.thing::after {
  content: "↗";
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  font-size: 0.8em;
  line-height: 1;
  opacity: 0.35;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
a.thing:hover::after { opacity: 1; transform: translate(2px, -2px); }

/* store links inside a tile (several destinations) — needs to out-specify
   `.thing span`, which sets display:block */
.thing span.thing__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.6rem;
  margin-top: 0.15rem;
}
.thing__links a {
  border-bottom: 1px solid var(--line);
  color: var(--fg-soft);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.thing__links a:hover { color: var(--fg); border-color: currentColor; }
.thing span { display: block; font: 400 var(--t-label)/1.5 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); }

/* skills as hairline rows */
.skills { display: grid; gap: 0; border-top: 1px solid var(--line); }
.skill-row {
  display: grid; gap: 0.5rem 1.5rem;
  padding-block: clamp(0.9rem, 0.7rem + 0.7vw, 1.35rem);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .skill-row { grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr); align-items: baseline; } }
.skill-row dt { font-family: var(--f-display); font-size: var(--d-4); font-weight: 400; letter-spacing: 0.02em; }
.skill-row dd { margin: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; color: var(--fg-soft); font-size: var(--t-small); }
.skill-row dd span::after { content: " ·"; opacity: 0.4; }
.skill-row dd span:last-child::after { content: ""; }

/* definition list (about) */
.facts { display: grid; border-top: 1px solid var(--line); }
.fact {
  display: grid; gap: 0.25rem 1.5rem;
  padding-block: clamp(0.85rem, 0.7rem + 0.6vw, 1.25rem);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 620px) { .fact { grid-template-columns: 150px minmax(0, 1fr); align-items: baseline; } }
.fact dt { font: 500 var(--t-label)/1.6 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-soft); }
.fact dd { margin: 0; font-size: var(--t-small); }
.inline-link { border-bottom: 1px solid currentColor; }

.monogram {
  width: clamp(96px, 22vw, 150px); aspect-ratio: 1;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--f-display); font-size: clamp(2.1rem, 4.8vw, 3.2rem); font-weight: 400; letter-spacing: 0.02em;
}

/* ---------- CONTACT CHANNELS ---------- */
.channels {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.channels > * { min-width: 0; }

.channel {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}
.channel:hover {
  border-color: currentColor;
  transform: translateY(-2px);
}
.channel__icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.channel__icon svg { width: 17px; height: 17px; }
.channel__body { display: grid; gap: 0.15rem; min-width: 0; }
.channel__body b { font: 500 var(--t-body)/1.3 var(--f-body); }
.channel__handle {
  font: 400 var(--t-label)/1.5 var(--f-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.channel__note {
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--fg-soft);
  overflow-wrap: break-word;
}

/* Brand colour, but only on hover/focus — the page stays monochrome at rest,
   the same way the company logos sit desaturated until you point at them.
   Values are tuned per band for the 3:1 contrast minimum on non-text UI:
   on ink every true brand colour passes (LinkedIn is tightest at 3.42:1, so it
   gets lifted to 6.07:1); on paper the light brand greens/blues fail — Telegram
   is 2.84:1 and WhatsApp only 1.87:1 — so those darken instead. */
.channel[data-channel="linkedin"] { --brand: #0a66c2; }  /* 5.35:1 on paper */
.channel[data-channel="telegram"] { --brand: #229ed9; }
.channel[data-channel="whatsapp"] { --brand: #25d366; }

.band--ink .channel[data-channel="linkedin"] { --brand: #3f95dd; }  /* 6.07:1 */

.band--paper .channel[data-channel="linkedin"] { --brand: #0857a5; }  /* 6.77:1 */
.band--paper .channel[data-channel="telegram"] { --brand: #1d86b8; }  /* 3.83:1 */
.band--paper .channel[data-channel="whatsapp"] { --brand: #1c9e4d; }  /* 3.27:1 */

.channel__icon { transition: color 0.35s var(--ease), border-color 0.35s var(--ease); }
.channel:hover,
.channel:focus-visible { border-color: var(--brand, currentColor); }
.channel:hover .channel__icon,
.channel:focus-visible .channel__icon {
  color: var(--brand);
  border-color: var(--brand);
}

/* ---------- FOOTER ---------- */
.foot { display: grid; gap: clamp(1.6rem, 1.2rem + 2vw, 3rem); }
.foot__top { display: grid; gap: 1.4rem; }
@media (min-width: 780px) { .foot__top { grid-template-columns: 1fr auto; align-items: end; } }
.foot__bottom {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem;
  justify-content: space-between; align-items: center;
  padding-top: 1.2rem; border-top: 1px solid var(--line);
  font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft);
}
.foot__bottom nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; }

/* ---------- MOTION ---------- */
.rise { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.rise.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .rise { opacity: 1; transform: none; }
}

@media print {
  .nav, .menu, .ghosts, .sketch, .scroll-cue { display: none !important; }
  .band { padding-block: 1.2rem; background: #fff !important; color: #111 !important; }
  .band--ink { --fg: #111; --fg-soft: #444; --line: #ccc; }
}
