/* =========================================================================
   Conexiuni - main stylesheet
   Direction: tape archive. Warm black, bone white, cassette-label red.
   ========================================================================= */

:root {
  --ink: #100e0c;          /* page background */
  --ink-2: #191613;        /* raised surfaces */
  --ink-3: #26211c;        /* borders, dividers */
  --paper: #ece5d8;        /* main text, logo */
  --muted: #a39a8b;        /* secondary text */
  --red: #c8371f;          /* accent */
  --red-hi: #e04a30;       /* accent hover */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* subtle film grain over the whole page */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-hi); }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

.label {
  font: 500 .74rem/1.4 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-hi);
  margin: 0 0 .9rem;
}
.meta { font: 400 .8rem/1.4 var(--mono); color: var(--muted); letter-spacing: .04em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.lede-sm { color: var(--muted); max-width: 60ch; }

.link-arrow { font: 500 .85rem var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: var(--paper);
  font: 600 .9rem var(--mono); letter-spacing: .1em; text-transform: uppercase;
  padding: 16px 28px; border: 0; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--red-hi); color: var(--paper); }
.btn svg { width: 20px; height: 20px; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--ink-3); }
.btn-ghost:hover { background: var(--ink-2); }

.section-top { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-top h2 { margin: 0; }
section { padding: clamp(64px, 9vw, 120px) 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 14, 12, .96); /* no backdrop-filter: it would trap the fixed mobile nav */
  border-bottom: 1px solid var(--ink-3);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { color: var(--paper); display: block; }
.brand:hover { color: var(--paper); }
.brand-logo { width: 150px; height: auto; display: block; }
.site-nav ul { display: flex; gap: clamp(14px, 2.2vw, 32px); }
.site-nav a {
  font: 500 .8rem var(--mono); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); padding: 6px 0; position: relative;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--paper); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red);
}
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: block; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative;
  }
  .bars, .bars::before, .bars::after {
    position: absolute; left: 11px; width: 22px; height: 2px; background: var(--paper); transition: transform .25s, top .25s;
  }
  .bars { top: 21px; }
  .bars::before, .bars::after { content: ""; left: 0; }
  .bars::before { top: -7px; }
  .bars::after { top: 7px; }
  .nav-open .bars { background: transparent; }
  .nav-open .bars::before { top: 0; transform: rotate(45deg); }
  .nav-open .bars::after { top: 0; transform: rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 68px 0 0 0; background: var(--ink); overflow-y: auto;
    opacity: 0; transform: translateY(-10px); visibility: hidden; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility 0s .25s;
  }
  .nav-open .site-nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .25s ease, transform .25s ease; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 24px var(--gutter); }
  .site-nav li { border-bottom: 1px solid var(--ink-3); }
  .site-nav a { display: block; font: 600 1.8rem var(--serif); letter-spacing: 0; text-transform: none; color: var(--paper); padding: 18px 0; }
  .site-nav a[aria-current="page"] { color: var(--red-hi); }
  .site-nav a[aria-current="page"]::after { display: none; }
  .nav-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(92vh, 860px);
  display: flex; align-items: flex-end;
  padding: 120px 0 72px; overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  z-index: -2; opacity: .55;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(16,14,12,.55) 0%, rgba(16,14,12,.2) 40%, var(--ink) 100%),
    linear-gradient(90deg, rgba(16,14,12,.75) 0%, rgba(16,14,12,0) 70%);
}
.hero-inner { display: grid; gap: 40px; }
.hero-title { margin: 0; color: var(--paper); }
.hero-logo { width: min(860px, 100%); height: auto; display: block; filter: drop-shadow(0 4px 30px rgba(0,0,0,.5)); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px 48px; border-top: 1px solid rgba(236,229,216,.25); padding-top: 22px; max-width: 860px; }
.hero-line { font: 500 1.05rem var(--sans); margin: 0; }
.hero-hits { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 400 .82rem var(--mono); color: var(--muted); }
.hero-hits li::before { content: "▸ "; color: var(--red-hi); }
.hero-coords {
  position: absolute; right: var(--gutter); top: 110px; margin: 0;
  font: 400 .72rem var(--mono); letter-spacing: .2em; color: var(--muted);
  writing-mode: vertical-rl;
}

/* ---------- support band ---------- */
.support { padding: 44px 0; border-top: 1px solid var(--ink-3); border-bottom: 1px solid var(--ink-3); background: var(--ink-2); }
.support .label { color: var(--muted); }
.support-list { display: flex; flex-wrap: wrap; gap: 4px 0; font: 600 clamp(1.25rem, 2.6vw, 2rem)/1.3 var(--serif); }
.support-list li:not(:last-child)::after { content: "/"; color: var(--red); margin: 0 .5em; font-weight: 400; }

/* ---------- now ---------- */
.now-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.now-text p:not(.label) { color: #d4ccbe; max-width: 52ch; }
.now-photo { margin: 0; position: relative; }
.now-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(.85); }
.now-photo figcaption { position: absolute; left: 0; bottom: -28px; font: 400 .75rem var(--mono); color: var(--muted); letter-spacing: .08em; }
@media (max-width: 820px) { .now-grid { grid-template-columns: 1fr; } }

/* ---------- year strip ---------- */
.years { background: var(--ink-2); }
.year-strip { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink-3); }
.year-strip li { padding: 28px 24px 8px 0; border-right: 1px solid var(--ink-3); color: var(--muted); font-size: .95rem; }
.year-strip li:last-child { border-right: 0; }
.year-strip li + li { padding-left: 24px; }
.year-strip .y { display: block; font: 800 clamp(2.4rem, 4.4vw, 3.6rem)/1 var(--serif); color: var(--paper); margin-bottom: 14px; font-variant-numeric: lining-nums; }
@media (max-width: 900px) {
  .year-strip { grid-template-columns: 1fr; }
  .year-strip li, .year-strip li + li { border-right: 0; border-bottom: 1px solid var(--ink-3); padding: 20px 0; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; }
  .year-strip .y { margin: 0; font-size: 2.2rem; }
}

/* ---------- album covers ---------- */
.type-cover {
  aspect-ratio: 1; width: 100%;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 8%;
  padding: 9%;
  background: var(--paper); color: var(--ink);
  position: relative; overflow: hidden;
}
.type-cover::before { /* red cassette-label stripe, kept below the title area */
  content: ""; position: absolute; left: 0; right: 0; top: 68%; height: 8%; background: var(--red);
}
.tc-band { font: 500 .78rem var(--mono); letter-spacing: .2em; text-transform: uppercase; position: relative; }
.tc-title { font: 800 clamp(1.3rem, 2.6vw, 2rem)/1.02 var(--serif); position: relative; max-width: 92%; }
.tc-year { font: 400 .78rem var(--mono); position: absolute; right: 9%; bottom: 7%; }
.album-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.album-row a { text-decoration: none; display: block; }
.album-row img, .album-row .type-cover { aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.album-row a:hover img, .album-row a:hover .type-cover { transform: translateY(-4px); }
.album-row .tc-title { font-size: clamp(1rem, 1.5vw, 1.3rem); }
.album-name { display: block; font: 600 1.05rem var(--serif); margin-top: 14px; }
@media (max-width: 900px) {
  .album-row { grid-template-columns: repeat(5, 62vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .album-row li { scroll-snap-align: start; }
  .album-row .tc-title { font-size: 1.5rem; }
}

/* ---------- video ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 24px; }
.video-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .video-grid-3 { grid-template-columns: 1fr; } }
.yt {
  display: block; width: 100%; aspect-ratio: 16 / 9; position: relative;
  border: 0; padding: 0; background: var(--ink-2); cursor: pointer; overflow: hidden;
}
.yt img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.8); transition: filter .3s, transform .4s; }
.yt:hover img { filter: none; transform: scale(1.03); }
.play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: var(--red); border-radius: 50%; transition: transform .2s;
}
.play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid var(--paper); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.yt:hover .play { transform: scale(1.08); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video h3 { margin: 14px 0 2px; font-size: 1.2rem; }
.more { margin-top: 48px; }

/* ---------- news ---------- */
.news-list { border-top: 1px solid var(--ink-3); }
.news-list li { display: grid; grid-template-columns: 200px 1fr 1.4fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--ink-3); align-items: baseline; }
.news-list time { font: 400 .82rem var(--mono); color: var(--red-hi); letter-spacing: .04em; }
.news-list h3 { margin: 0; }
.news-list p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .news-list li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- cta ---------- */
.cta { background: var(--red); padding: clamp(48px, 7vw, 80px) 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0; max-width: 20ch; }
.cta .btn { background: var(--ink); }
.cta .btn:hover { background: #000; }

/* ---------- page head ---------- */
.page-head { padding: clamp(64px, 10vw, 128px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--ink-3); }
.page-head h1 { max-width: 16ch; }

/* ---------- timeline ---------- */
.timeline { position: relative; }
.tl-item { display: grid; grid-template-columns: minmax(120px, 260px) 1fr; gap: clamp(20px, 5vw, 80px); padding: 40px 0; border-bottom: 1px solid var(--ink-3); }
.tl-year {
  font: 800 clamp(3rem, 7vw, 5.4rem)/.9 var(--serif); color: transparent;
  -webkit-text-stroke: 1px var(--paper);
  position: sticky; top: 100px; align-self: start;
}
.tl-item:hover .tl-year { color: var(--paper); }
.tl-body { max-width: 62ch; }
.tl-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.tl-body p { color: #d4ccbe; margin: 0; }
@media (max-width: 640px) {
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding: 32px 0; }
  .tl-year { position: static; font-size: 3rem; color: var(--paper); -webkit-text-stroke: 0; }
}

/* ---------- press ---------- */
.press { background: var(--ink-2); }
.press-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); }
.press-body p { color: #d4ccbe; }
blockquote { margin: 32px 0; padding-left: 24px; border-left: 3px solid var(--red); }
blockquote p { font: 400 italic clamp(1.4rem, 2.4vw, 1.9rem)/1.3 var(--serif); color: var(--paper) !important; margin-bottom: .4em; }
blockquote footer { font: 400 .8rem var(--mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 820px) { .press-grid { grid-template-columns: 1fr; } }

/* ---------- discography ---------- */
.album { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(28px, 5vw, 72px); padding: 56px 0; border-bottom: 1px solid var(--ink-3); }
.album:first-child { padding-top: 0; }
.album-cover img, .album-cover .type-cover { width: 100%; aspect-ratio: 1; object-fit: cover; }
.album-cover { position: sticky; top: 100px; align-self: start; }
.album-info > p:not(.label) { color: #d4ccbe; max-width: 56ch; }
.tracklist { columns: 2; column-gap: 40px; margin-top: 28px; border-top: 1px solid var(--ink-3); padding-top: 18px; }
.tracklist li { break-inside: avoid; padding: 7px 0; border-bottom: 1px dashed var(--ink-3); }
.tn { font: 400 .78rem var(--mono); color: var(--red-hi); margin-right: 14px; }
@media (max-width: 760px) {
  .album { grid-template-columns: 1fr; }
  .album-cover { position: static; max-width: 340px; }
  .tracklist { columns: 1; }
}

/* ---------- members ---------- */
.lineup-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .lineup-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lineup-grid { grid-template-columns: 1fr; } }
.member-photo { aspect-ratio: 4 / 5; background: var(--ink-2); overflow: hidden; margin-bottom: 16px; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .4s; }
.member:hover .member-photo img { filter: grayscale(0); }
.no-photo { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, var(--ink-2) 0 12px, #1d1a16 12px 24px); }
.initials { font: 800 4rem var(--serif); color: var(--ink-3); -webkit-text-stroke: 1px var(--muted); }
.member h3 { margin: 0 0 4px; font-size: 1.45rem; }
.role { font: 400 .82rem var(--mono); color: var(--red-hi); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 10px; }
.member-note { color: var(--muted); font-size: .95rem; }

.memoriam { background: var(--ink-2); }
.memoriam-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.memoriam img { filter: grayscale(1); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.memoriam p:not(.label) { color: #d4ccbe; max-width: 58ch; }
@media (max-width: 640px) { .memoriam-grid { grid-template-columns: 1fr; } .memoriam img { max-width: 260px; } }

.former-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin-top: 32px; border-top: 1px solid var(--ink-3); }
.former-list li { padding: 18px 0; border-bottom: 1px solid var(--ink-3); display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-content: start; }
.fm-name { font: 600 1.1rem var(--serif); }
.fm-years { font: 400 .78rem var(--mono); color: var(--muted); text-align: right; }
.fm-role { font: 400 .78rem var(--mono); color: var(--red-hi); text-transform: uppercase; letter-spacing: .08em; grid-row: 2; }
.fm-note { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; margin-top: 4px; }
@media (max-width: 900px) { .former-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .former-list { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.chips { padding: 40px 0 0; }
.chips ul { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a {
  display: inline-flex; gap: 10px; align-items: center; text-decoration: none;
  font: 500 .82rem var(--mono); letter-spacing: .04em;
  padding: 10px 16px; border: 1px solid var(--ink-3); border-radius: 40px;
}
.chips a:hover { border-color: var(--red); color: var(--paper); }
.chips span { color: var(--muted); }
.album-gallery { padding: 56px 0 0; }
.album-gallery:last-of-type { padding-bottom: 96px; }
.gallery { columns: 4 240px; column-gap: 10px; }
.gallery li { break-inside: avoid; margin-bottom: 10px; }
.gallery a { display: block; overflow: hidden; background: var(--ink-2); }
.gallery img { width: 100%; transition: transform .4s, opacity .3s; }
.gallery a:hover img { transform: scale(1.04); opacity: .9; }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(10, 9, 8, .96); color: var(--paper);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox img { max-width: calc(100vw - 140px); max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--paper); cursor: pointer;
  font: 300 3rem/1 var(--sans); width: 60px; height: 60px;
}
.lightbox button:hover { color: var(--red-hi); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font: 400 .8rem var(--mono); color: var(--muted); margin: 0; }
@media (max-width: 640px) {
  .lightbox img { max-width: 100vw; }
  .lb-prev, .lb-next { top: auto; bottom: 4px; transform: none; }
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); }
.contact-name { font: 600 1.8rem var(--serif); margin-bottom: 18px; }
.big-link { font: 500 clamp(1.15rem, 2.2vw, 1.5rem) var(--mono); text-decoration: none; border-bottom: 1px solid var(--ink-3); word-break: break-all; }
.contact-card .social { margin-top: 32px; }
.contact-form { display: grid; gap: 18px; background: var(--ink-2); padding: clamp(22px, 4vw, 40px); border: 1px solid var(--ink-3); }
.form-intro { color: var(--muted); font-size: .9rem; margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font: 500 .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 1rem var(--sans); color: var(--paper); background: var(--ink);
  border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 13px 14px; width: 100%;
  color-scheme: dark;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--red); }
.contact-form .btn { justify-self: start; }
.form-error { color: var(--red-hi); margin: 0; font-size: .9rem; }
@media (max-width: 820px) { .contact-grid, .form-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--ink-3); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 220px; color: var(--paper); margin-bottom: 16px; }
.footer-brand p, .site-footer p { color: var(--muted); font-size: .95rem; }
.site-footer .label { font-size: .7rem; }
.social li + li { margin-top: 8px; }
.social a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.social svg { width: 20px; height: 20px; }
.footer-nav li + li { margin-top: 4px; }
.footer-nav a { text-decoration: none; color: var(--muted); }
.footer-nav a:hover { color: var(--paper); }
.footer-bottom { border-top: 1px solid var(--ink-3); margin-top: 56px; padding-top: 22px; padding-bottom: 22px; }
.footer-bottom p { font: 400 .78rem var(--mono); margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

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