/* =========================================================
   Krakowska HUBa — prezentacja dla Fundacji
   Jasny, architektoniczny kierunek: krem + grafit + terakota
   ========================================================= */

:root {
  --bg: #f5f0e6;
  --surface: #fffdf9;
  --surface-alt: #ece3d3;
  --border: rgba(33, 28, 24, 0.12);
  --border-strong: rgba(33, 28, 24, 0.22);
  --text: #211c19;
  --text-muted: #6f665c;
  --accent: #b5502a;
  --accent-dark: #8f3e1f;
  --accent-soft: rgba(181, 80, 42, 0.1);
  --accent-contrast: #fdf5ee;

  /* second accent — sage/teal, reserved for the arrival moment (hero + scroll cue) */
  --accent-2: #4f8677;
  --accent-2-dark: #345f52;
  --accent-2-light: #a8d4c5;
  --accent-2-soft: rgba(79, 134, 119, 0.14);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-label: "Outfit", system-ui, -apple-system, sans-serif;
  --font-body: "Mulish", system-ui, -apple-system, sans-serif;

  --container-w: 1360px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--text);
}

h2 { font-weight: 480; }

p { margin: 0 0 1em; }

a { color: inherit; }

img, video { max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9em;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
}

.section {
  position: relative;
  padding: 120px 0;
}
.section--tight { padding: 90px 0; }
.section--alt { background: var(--surface-alt); }
.section__head {
  max-width: 720px;
  margin: 0 0 56px;
}
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 7px 14px 7px 12px;
}
.tag__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

.placeholder-note {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1.5px dashed var(--border-strong);
  border-radius: 8px;
  padding: 6px 10px;
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--primary {
  background: var(--text);
  color: var(--accent-contrast);
}
.btn--primary:hover { background: var(--accent); box-shadow: 0 14px 30px -12px rgba(181,80,42,0.5); transform: translateY(-2px); }
.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn--secondary:hover { border-color: var(--accent); color: var(--accent-dark); transform: translateY(-2px); }

/* ---------------------------- header ---------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(245, 240, 230, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo img { height: 40px; display: block; border-radius: 6px; }
.site-header__nav { display: flex; gap: 30px; }
.site-header__nav a {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.site-header__nav a:hover { color: var(--accent-dark); }

@media (max-width: 860px) {
  .site-header__nav { display: none; }
}

/* ---------------------------- hero ---------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--text);
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.7s ease;
}
.hero__slideshow { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.7s ease; }
.hero__slideshow img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero__slideshow img.is-active { opacity: 1; }
.hero__bg.show-before video { opacity: 0; }
.hero__bg.show-before .hero__slideshow { opacity: 1; }

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 14, 0.18) 0%, rgba(20, 17, 14, 0.38) 42%, rgba(20, 17, 14, 0.86) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 56px) 40px 96px;
}
.hero__head { max-width: 760px; }
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  margin-bottom: 0.28em;
  color: #fff;
}
.hero__subhead {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--accent-2-light);
  margin-bottom: 0.9em;
}
.hero__lead { font-size: 1.18rem; color: rgba(255, 253, 249, 0.82); max-width: 620px; margin-bottom: 2em; }

.hero__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.state-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(20, 17, 14, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 253, 249, 0.25);
  border-radius: 999px;
  padding: 4px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.82rem;
}
.state-toggle button {
  border: none;
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  color: rgba(255, 253, 249, 0.78);
  font: inherit;
  transition: background 0.25s ease, color 0.25s ease;
}
.state-toggle button.is-active {
  background: var(--accent-contrast);
  color: var(--text);
}

.hero__badge {
  position: absolute;
  right: 40px;
  bottom: 32px;
  z-index: 2;
}
.hero__badge .tag { background: rgba(20, 17, 14, 0.42); backdrop-filter: blur(8px); color: var(--accent-contrast); }
.hero__badge .tag__dot { background: var(--accent-2-light); }

@media (max-width: 700px) {
  .hero__content { padding: calc(var(--header-h) + 40px) 22px 72px; }
  .hero__badge { display: none; }
}

/* ---------------------------- punkt wyjścia ---------------------------- */

.origin__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.origin__body { max-width: 480px; padding-top: 4px; }

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.facts::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: var(--border-strong);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.facts.is-visible::before { transform: scaleY(1); }

.facts__item {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 22px 4px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s ease;
  transition-delay: calc(var(--i, 0) * 110ms);
  border-radius: 12px;
}
.facts.is-visible .facts__item { opacity: 1; transform: translateY(0); }
.facts__item:not(:last-child) { border-bottom: 1px solid var(--border); }

.facts__icon {
  position: relative;
  z-index: 1;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.facts__icon svg { width: 21px; height: 21px; }

.facts__item p {
  margin: 0;
  padding-top: 10px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--text);
  transition: color 0.3s ease;
}

.facts__item:hover { background: var(--surface); }
.facts__item:hover .facts__icon {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: scale(1.08);
  box-shadow: 0 6px 18px -8px rgba(181, 80, 42, 0.4);
}
.facts__item:hover p { color: var(--accent-dark); }

@media (max-width: 900px) {
  .origin__layout { grid-template-columns: 1fr; gap: 8px; }
  .origin__body { max-width: none; }
}

/* ---------------------------- główna idea / rzut scrollytelling ---------------------------- */

.section--flush { padding-bottom: 0; }

.plan-scrolly {
  position: relative;
  margin-top: 56px;
}
.plan-scrolly__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.plan-scrolly__bg { position: absolute; inset: 0; }
.plan-scrolly__bg svg { width: 100%; height: 100%; display: block; }
.plan-scrolly__bg svg [id].is-active {
  fill: var(--accent-soft) !important;
  stroke: var(--accent) !important;
  stroke-width: 2.4px !important;
  transition: fill 0.6s ease, stroke 0.6s ease;
}

.plan-scrolly__intro {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.plan-scrolly__intro.is-hidden { opacity: 0; }

.plan-scrolly__intro-cta {
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  color: var(--text);
  max-width: 460px;
  margin: 0 0 32px;
}

.scroll-mouse {
  position: relative;
  width: 30px;
  height: 46px;
  border: 2px solid var(--accent-2-dark);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-mouse::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: var(--accent-2-soft);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
.scroll-mouse__wheel {
  position: relative;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent-2);
  animation: scrollWheel 1.6s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(14px); opacity: 0; }
  56% { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { transform: scale(0.82); opacity: 0.55; }
  50% { transform: scale(1.18); opacity: 0; }
}

.plan-scrolly__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245,240,230,0.65) 0%, rgba(245,240,230,0.1) 40%, rgba(245,240,230,0.65) 100%);
  pointer-events: none;
}

.plan-scrolly__container {
  position: relative;
  z-index: 4;
  height: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: 48px;
}

.plan-scrolly__video-col { display: flex; justify-content: center; }
.plan-scrolly__video-col .media-card {
  width: min(420px, 100%);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.5s ease, transform 0.5s ease;
  box-shadow: 0 30px 60px -20px rgba(33, 28, 25, 0.25);
}
.plan-scrolly__video-col .media-card.is-active { opacity: 1; transform: translateY(0) scale(1); }

.plan-scrolly__info-col {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.plan-info {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 32px 36px;
  box-shadow: 0 24px 48px -20px rgba(33, 28, 25, 0.22);
  max-width: 420px;
}
.plan-info.is-active { opacity: 1; transform: translateY(0); }
.plan-info__index {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-block;
  margin: 0 0 16px;
}
.plan-info__name { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 0 12px; }
.plan-info__desc { color: var(--text-muted); font-size: 0.96rem; margin: 0 0 16px; }

.plan-scrolly__progress {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.plan-scrolly__progress .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background 0.3s ease, transform 0.3s ease;
}
.plan-scrolly__progress .dot.is-active { background: var(--accent); transform: scale(1.6); }

.plan-mobile-list {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.plan-mobile-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.plan-mobile-card .media-card { aspect-ratio: 1/1; width: 100%; }
.plan-mobile-card__index {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 6px;
}
.plan-mobile-card h4 { font-size: 1.12rem; margin: 0 0 6px; }
.plan-mobile-card p { color: var(--text-muted); font-size: 0.88rem; margin: 0 0 10px; }

@media (max-width: 767px) {
  .plan-scrolly { height: auto !important; margin-top: 32px; }
  .plan-scrolly__pin {
    position: static;
    height: auto;
    overflow: visible;
    border-radius: 16px;
    border: 1px solid var(--border);
  }
  .plan-scrolly__bg { position: static; }
  .plan-scrolly__bg::after { display: none; }
  .plan-scrolly__bg svg { height: auto; aspect-ratio: 1067.94 / 663.01; }
  .plan-scrolly__intro, .plan-scrolly__container, .plan-scrolly__progress { display: none; }
  .plan-mobile-list { display: flex; }
}
@media (max-width: 480px) {
  .plan-mobile-card { grid-template-columns: 1fr; }
}

.media-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--surface-alt);
  border: 1px solid var(--border);
}
.media-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-card__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 253, 249, 0.92);
  color: var(--text);
  padding: 5px 10px;
  border-radius: 999px;
}
.media-card__state {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(33, 28, 25, 0.82);
  color: var(--accent-contrast);
  padding: 5px 10px;
  border-radius: 999px;
  transition: opacity 0.35s ease, background 0.35s ease;
}
.media-card__state.is-after { background: var(--accent); }
.media-card__state.is-hidden { opacity: 0; }

.media-card__replay {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(33, 28, 25, 0.7);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.25s ease, transform 0.25s ease;
  z-index: 2;
}
.media-card__replay.is-visible { opacity: 1; pointer-events: auto; }
.media-card__replay:hover { background: var(--accent); transform: scale(1.06); }

.media-card__caption {
  margin: 14px 2px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------------------------- oś dnia ---------------------------- */

.timeline {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.timeline__item {
  background: var(--surface);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
}
.timeline__time {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.timeline__desc { color: var(--text-muted); font-size: 0.95rem; flex: 1; }
.timeline__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

.timeline__caption {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline__item { min-height: 0; }
}

/* ---------------------------- scenariusze ---------------------------- */

.scenarios {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.scenario {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
}
.scenario__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 18px;
}
.scenario h3 { font-size: 1.28rem; margin-bottom: 0.6em; }
.scenario p { color: var(--text-muted); font-size: 0.97rem; margin: 0; }

@media (max-width: 900px) {
  .scenarios { grid-template-columns: 1fr; }
}

/* ---------------------------- easy access ---------------------------- */

.ea-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.ea-brand img { height: 32px; display: block; transform: translateY(-5px); }
.ea-brand span {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.flow {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.flow__step {
  position: relative;
  padding: 26px 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.flow__step-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.flow__step p { font-size: 0.92rem; color: var(--text); margin: 0; }
.flow__arrow {
  display: none;
}
@media (min-width: 961px) {
  .flow__step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--border-strong);
  }
}
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; }
}

.compare-table {
  margin-top: 64px;
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 18px 24px;
  font-size: 0.98rem;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-alt);
}
.compare-table td:first-child { color: var(--text-muted); }
.compare-table td:last-child { font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:last-child::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
}

@media (max-width: 700px) {
  .compare-table { display: block; overflow-x: auto; }
}

/* ---------------------------- efekt ---------------------------- */

.benefits {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.benefit { background: var(--surface); padding: 36px 30px; }
.benefit h3 { font-size: 1.2rem; margin-bottom: 0.6em; }
.benefit p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

@media (max-width: 900px) {
  .benefits { grid-template-columns: 1fr; }
}

/* ---------------------------- finał ---------------------------- */

.finale {
  text-align: center;
}
.finale__inner { max-width: 720px; margin: 0 auto; }
.finale h2 { font-size: clamp(2rem, 4vw, 3rem); }
.finale p.lead { margin: 0 auto 2.2em; }
.finale__actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* ---------------------------- footer ---------------------------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 32px 40px;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  max-width: var(--container-w);
  margin: 0 auto;
  flex-wrap: wrap;
}
.site-footer__mark { height: 16px; opacity: 0.8; }

/* ---------------------------- reveal-on-scroll ---------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------- responsive base ---------------------------- */

@media (max-width: 700px) {
  .container { padding: 0 22px; }
  .section { padding: 76px 0; }
  .section--tight { padding: 60px 0; }
}
