/* ============================================================
   Hub Bahía Blanca · Charla "¿Cómo competir cuando todo está a un click?"
   Tema único: oscuro (decisión deliberada, estética AI-native)
   Acento fijo: cian.  Colores de dato: verde (sube) / coral (baja), sólo en cifras.
   Radios: pills 999px · tarjetas/inputs 14px.
   ============================================================ */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0a0a0b;
  --bg-elev: #141417;
  --bg-elev-2: #1c1c20;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f4f5;
  --text-dim: #a7a7ad;
  --text-mut: #77777f;
  --accent: #22d3ee;
  --accent-soft: rgba(34, 211, 238, 0.14);
  --accent-ink: #04141a;
  --up: #34d399;
  --down: #fb7185;
  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1180px;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 44px);
}

.section { padding-block: clamp(64px, 10vw, 128px); }
.section--tight { padding-block: clamp(44px, 7vw, 80px); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -0.01em; }

p { margin: 0; }
.lead { color: var(--text-dim); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 60ch; }

.kicker {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-mut);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #4fddf0; }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}
.brand__logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow: 0 0 0 1px var(--line-strong), 0 2px 10px rgba(0, 0, 0, 0.4);
}
.brand span { color: var(--text-mut); font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color 0.15s var(--ease);
}
.site-nav a:hover { color: var(--text); }
.site-nav .tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--accent);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 12px;
}
@media (max-width: 720px) {
  .site-nav a:not(.tag) { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 8vw, 80px); padding-bottom: clamp(56px, 9vw, 104px); overflow: hidden; }
.hero__glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.22), rgba(34, 211, 238, 0) 68%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-6%, 8%, 0) scale(1.12); }
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(1.95rem, 4.3vw, 2.95rem);
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero h1 .hl { color: var(--accent); }
.hero__sub { color: var(--text-dim); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 46ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -30px rgba(34, 211, 238, 0.35), 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  transform: rotate(1.4deg);
}
.hero__figure img { width: 100%; height: auto; }
.hero__figcaption {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-mut);
  transform: rotate(0deg);
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { transform: none; max-width: 420px; }
  .hero__figcaption { text-align: left; }
}

/* ---------- Speaker strip ---------- */
.speaker-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}
.speaker-strip__inner {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding-block: 20px;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.speaker-strip__inner strong { color: var(--text); font-family: var(--font-display); font-weight: 500; }

/* ---------- Stats ---------- */
.stats-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.stat__num.is-down { color: var(--down); }
.stat__num.is-up { color: var(--up); }
.stat__label { font-size: 0.9rem; color: var(--text-dim); line-height: 1.4; }
.stat__src { font-size: 0.75rem; color: var(--text-mut); margin-top: auto; }
.stat-note {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.4;
  color: var(--text);
  max-width: 40ch;
}
.stat-note b { color: var(--accent); font-weight: 500; }
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(1) { border-bottom: none; }
}
@media (max-width: 460px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; }
}

/* ---------- Habits (bento 5) ---------- */
.habits {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.habit {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.habit:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.habit:nth-child(1) { grid-column: span 6; background: linear-gradient(120deg, var(--accent-soft), transparent 60%), var(--bg-elev); }
.habit:nth-child(2), .habit:nth-child(3) { grid-column: span 3; }
.habit:nth-child(4), .habit:nth-child(5), .habit:nth-child(6) { grid-column: span 2; }
.habit__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}
.habit__icon svg { width: 20px; height: 20px; }
.habit h3 { font-size: 1.1rem; }
.habit p { color: var(--text-dim); font-size: 0.92rem; }
.habit:nth-child(1) { flex-direction: row; align-items: center; gap: 20px; flex-wrap: wrap; }
.habit:nth-child(1) .habit__body { flex: 1 1 260px; }
@media (max-width: 900px) {
  .habits { grid-template-columns: repeat(2, 1fr); }
  .habit, .habit:nth-child(n) { grid-column: span 1 !important; }
  .habit:nth-child(1) { grid-column: span 2 !important; }
}
@media (max-width: 560px) {
  .habits { grid-template-columns: 1fr; }
  .habit:nth-child(1) { grid-column: span 1 !important; flex-direction: column; align-items: flex-start; }
}

/* ---------- Content / media hub ---------- */
.subhead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mut);
  margin: 56px 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.subhead::after { content: ""; height: 1px; flex: 1; background: var(--line); }

.audio-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.media-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.media-card__cover {
  margin: 0 -22px 4px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
.media-card__cover--a1 { background: linear-gradient(120deg, rgba(34, 211, 238, 0.20), rgba(34, 211, 238, 0.04)); }
.media-card__cover--a2 { background: linear-gradient(120deg, rgba(52, 211, 153, 0.18), rgba(52, 211, 153, 0.03)); }
.media-card__badge {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
}
.media-card__badge svg { width: 19px; height: 19px; }
.media-card__cover--a2 .media-card__badge { background: var(--up); }
.media-card__n {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.media-card__t { display: block; font-size: 0.95rem; font-weight: 500; color: var(--text-dim); margin-top: 3px; }
.media-card h3 { font-size: 1.05rem; }
.media-card p { color: var(--text-dim); font-size: 0.9rem; }
.media-card audio { width: 100%; height: 40px; }
.dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  align-self: flex-start;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.dl:hover { color: var(--accent); border-color: var(--accent); }
.dl svg { width: 15px; height: 15px; }

.video-block { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.video-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
}
.video-title .media-card__badge { width: 38px; height: 38px; }
.video-frame {
  width: 100%;
  max-width: 360px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 70px -34px rgba(34, 211, 238, 0.32), 0 20px 44px -24px rgba(0, 0, 0, 0.6);
}
.video-frame video { width: 100%; height: auto; display: block; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.video-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; align-items: center; color: var(--text-dim); font-size: 0.9rem; max-width: 46ch; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.info-item {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* balanced 3 + 2 bento: last two tiles are wider so the row fills the width */
.info-item:nth-child(4),
.info-item:nth-child(5) { grid-column: span 3; }
.info-item__btn {
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
  cursor: zoom-in;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.info-item__btn:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -30px rgba(34, 211, 238, 0.4);
}
.info-item__btn img {
  width: 100%;
  height: 208px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s var(--ease);
}
.info-item:nth-child(4) .info-item__btn img,
.info-item:nth-child(5) .info-item__btn img { height: 248px; }
.info-item__btn:hover img { transform: scale(1.03); }
.info-item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.info-item figcaption { font-size: 0.85rem; color: var(--text-dim); line-height: 1.4; }
.info-item .dl { font-size: 0.78rem; padding: 7px 13px; flex: none; }
@media (max-width: 860px) {
  .audio-list { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .info-item, .info-item:nth-child(4), .info-item:nth-child(5) { grid-column: span 1; }
  .info-item:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .audio-list { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .info-item:last-child { grid-column: auto; }
  .info-item__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 6, 8, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  transform: scale(0.96);
  transition: transform 0.25s var(--ease);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox__close:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Quote ---------- */
.quote-section { background: var(--bg-elev); border-block: 1px solid var(--line); }
.quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.quote .hl { color: var(--accent); }
.quote-cite { margin-top: 24px; color: var(--text-dim); font-size: 0.95rem; }
.quote-cite b { color: var(--text); font-weight: 500; }

/* ---------- Encuesta CACE ---------- */
.survey {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 52px);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(34, 211, 238, 0.16), transparent 55%),
    var(--bg-elev);
}
.survey__body { max-width: 62ch; }
.survey h2 { margin-bottom: 16px; }
.survey p { color: var(--text-dim); }
.survey p + p { margin-top: 12px; }
.survey__meta { font-size: 0.9rem; color: var(--text-mut); }
.survey .btn { margin-top: 26px; }
.survey .btn svg { width: 18px; height: 18px; }

/* ---------- Espacios ---------- */
.spaces-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.space-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.space-card h3 { font-size: 1.25rem; }
.space-card p { color: var(--text-dim); font-size: 0.95rem; }
.qr-block {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.qr-block__img {
  width: 92px;
  height: 92px;
  flex: none;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
}
.qr-block__img img { width: 100%; height: 100%; }
.qr-block__meta { font-size: 0.85rem; color: var(--text-dim); }
.qr-block__meta a { color: var(--accent); text-decoration: none; word-break: break-all; }
.qr-block__meta a:hover { text-decoration: underline; }
.spaces-foot { margin-top: 26px; font-size: 0.9rem; color: var(--text-mut); max-width: 68ch; }
@media (max-width: 720px) { .spaces-grid { grid-template-columns: 1fr; } }

/* ---------- Ponente ---------- */
.speaker {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.speaker__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.speaker__photo img { width: 100%; height: 340px; object-fit: cover; object-position: center 20%; }
.speaker__role { color: var(--accent); font-family: var(--font-display); font-weight: 500; margin: 10px 0 18px; }
.speaker__bio { color: var(--text-dim); max-width: 54ch; }
.speaker__bio + .speaker__bio { margin-top: 14px; }
.speaker__links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 0.9rem; color: var(--text-mut); }
.speaker__links a { color: var(--accent); text-decoration: none; }
.speaker__links a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .speaker { grid-template-columns: 1fr; }
  .speaker__photo { max-width: 320px; }
}

/* ---------- Caso ferretero ---------- */
.caso-head {
  max-width: 900px;
  margin: 0 auto clamp(28px, 5vw, 44px);
}
.caso-head h2 { margin-bottom: 16px; }
.caso-head .lead { max-width: none; }
.yt {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #000;
  box-shadow: 0 30px 70px -34px rgba(34, 211, 238, 0.30), 0 20px 44px -24px rgba(0, 0, 0, 0.6);
}
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.caso-link { max-width: 900px; margin: 20px auto 0; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-elev); }
.site-footer__inner { padding-block: clamp(48px, 7vw, 76px); display: flex; flex-direction: column; gap: 44px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
}
.footer-about { max-width: 46ch; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
.footer-brand .brand__logo { width: 40px; height: 40px; }
.footer-thanks { color: var(--text-dim); font-size: 0.92rem; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col__h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mut);
  margin: 0 0 6px;
}
.footer-col a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; transition: color 0.15s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-col span { color: var(--text-dim); font-size: 0.9rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px 48px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.footer-fine { font-size: 0.82rem; color: var(--text-mut); max-width: 54ch; }
.footer-credit { font-size: 0.86rem; color: var(--text-mut); text-align: right; }
.footer-credit a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: var(--accent); }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-credit { text-align: left; }
}

/* ---------- Reveal animation (progressive enhancement only) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__glow { animation: none; }
  .lightbox, .lightbox img { transition: none; }
}
