/* SmartCluster — VARIANT 3: Magazine editorial */

/* ============ RESET & TOKENS ============ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  /* paleta — warm editorial */
  --bg: #faf5ee;          /* warm cream */
  --bg-2: #f3ece0;        /* sand */
  --ink: #1c1917;         /* deep brown/black */
  --ink-2: #44403c;
  --muted: #78716c;
  --rule: #e7e5e4;
  --rule-2: #d6d3d1;
  --amber: #d97706;       /* accent */
  --amber-d: #92400e;     /* accent dark */
  --amber-2: #b45309;
  --paper: #ffffff;

  /* type */
  --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --body: 'Lora', Georgia, 'Times New Roman', serif;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* layout */
  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: var(--ink); text-decoration: none; }
ul, ol { list-style: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.serif-h { font-family: var(--serif); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
.serif-h.huge { font-size: clamp(34px, 5.4vw, 68px); font-weight: 900; }
.serif-h.ital { font-style: italic; font-weight: 400; }

.kicker {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--amber);
  display: inline-block;
}

.mono { font-family: 'Inter', monospace; letter-spacing: 0.05em; font-weight: 700; }

/* ============ MASTHEAD (sticky header) ============ */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 238, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.mast-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.mast-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.mast-logo .mono {
  font-size: 18px;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 4px 8px;
  border-radius: 2px;
}
.logo-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-2);
}

.mast-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-family: var(--ui);
  font-size: 13.5px;
  font-weight: 500;
}
.mast-nav a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-2);
  transition: color .2s;
}
.mast-nav a:hover { color: var(--amber); }
.mast-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--amber);
  transition: right .25s ease;
}
.mast-nav a:hover::after { right: 0; }

.mast-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* switcher */
.switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  padding: 5px 9px;
  border-radius: 2px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.switcher-label {
  text-transform: uppercase;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
}
.switcher-btn {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  font-weight: 600;
  font-size: 12px;
  color: var(--ink-2);
  transition: all .15s;
}
.switcher-btn:hover { border-color: var(--ink); color: var(--ink); }
.switcher-btn.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.lang-btn {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.lang-btn .on { color: var(--ink); font-weight: 700; }

.burger {
  display: none;
  width: 28px; height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  margin-left: auto;
  transition: transform .25s;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mast-strip {
  background: var(--ink);
  color: var(--bg);
  padding: 7px var(--pad);
  display: flex;
  justify-content: space-between;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mast-strip .strip-c { color: var(--amber); }

/* ============ HERO FULL-BLEED ============ */
.hero-mag {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1c1917;
}
.hero-photo {
  position: absolute; inset: 0;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.78) contrast(1.05);
}
.hero-grad {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(28,25,23,.95) 0%, rgba(28,25,23,.55) 35%, rgba(28,25,23,.15) 65%, rgba(28,25,23,.45) 100%);
}
.hero-text {
  position: relative;
  width: 100%;
  padding: 100px var(--pad) 80px;
}
.hero-text-inner {
  max-width: var(--max);
  margin: 0 auto;
  color: var(--bg);
}
.hero-text-inner .kicker {
  color: var(--amber);
  margin-bottom: 22px;
}
.hero-headline {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(48px, 8.5vw, 130px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--bg);
  margin-bottom: 28px;
  max-width: 14ch;
}
.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
}
.hero-headline .dot { color: var(--amber); }

.hero-deck {
  font-family: var(--body);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  max-width: 56ch;
  color: rgba(250, 245, 238, 0.88);
  margin-bottom: 38px;
}

.hero-byline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: flex-start;
  max-width: 720px;
  padding-top: 26px;
  border-top: 1px solid rgba(250, 245, 238, 0.25);
}
.byline-quote {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.7;
  color: var(--amber);
  font-style: italic;
}
.byline-q {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--bg);
  line-height: 1.45;
  margin-bottom: 8px;
}
.byline-author {
  font-family: var(--ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 245, 238, 0.65);
}
.byline-author span { color: var(--amber); margin-right: 2px; }

/* ============ STATS EDITORIAL ============ */
.stats-mag {
  padding: 80px 0 70px;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.stats-head {
  text-align: center;
  margin-bottom: 56px;
}
.stats-head .kicker { display: block; margin-bottom: 10px; }
.stats-head .serif-h { font-size: clamp(24px, 2.6vw, 34px); font-style: italic; font-weight: 400; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.stat-item {
  padding: 38px 28px;
  text-align: center;
  border-right: 1px solid var(--rule);
}
.stat-item:last-child { border-right: none; }

.stat-big {
  display: block;
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 92px);
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.stat-big sup { font-size: 0.45em; color: var(--amber); vertical-align: super; font-weight: 400; }

.stat-rule {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--amber);
  margin: 18px auto;
}
.stat-lbl {
  display: block;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.5;
}

/* ============ SECTION HEAD ============ */
.section-head {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
  position: relative;
}
.section-head .sec-num {
  display: block;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-head .kicker { display: block; margin-bottom: 14px; }
.section-head .serif-h { margin-bottom: 18px; }
.section-head .sec-desc {
  font-family: var(--body);
  font-size: 17px;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.6;
}
.section-head.light .sec-num,
.section-head.light .kicker { color: var(--amber); }

/* ============ FEATURES MASONRY ============ */
.features {
  padding: 100px 0;
}
.masonry {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(80px, auto);
  gap: 36px 32px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(28,25,23,.08); }

.card.big { grid-column: span 4; grid-row: span 2; }
.card.med { grid-column: span 2; }
.card.sm { grid-column: span 2; padding-top: 0; background: transparent; border: none; border-top: 1px solid var(--ink); }

.card-photo {
  display: block;
  overflow: hidden;
  background: var(--bg-2);
}
.card.big .card-photo { aspect-ratio: 16/9; }
.card.med .card-photo { aspect-ratio: 4/3; }
.card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.card:hover .card-photo img { transform: scale(1.04); }

.card-body { padding: 26px 28px 28px; }
.card.sm .card-body { padding: 22px 0 0; }

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.cat { color: var(--amber-d); font-weight: 600; }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--rule-2); }

.card-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 12px;
}
.card.big .big-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.card.sm .card-title { font-size: 18px; font-weight: 700; }

.card-deck {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 14px;
}
.card.big .card-deck { font-size: 18px; }

.card-dropcap {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 18px;
}
.dropcap {
  float: left;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.85;
  font-weight: 900;
  color: var(--amber);
  padding: 6px 10px 0 0;
  margin-top: 4px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber-d);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--amber);
  transition: color .2s, gap .2s;
}
.read-more:hover { color: var(--ink); gap: 10px; }

.archive-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 50px;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color .2s, border-color .2s, gap .2s;
}
.archive-link:hover { color: var(--amber); border-color: var(--amber); gap: 18px; }

/* ============ PULL QUOTE ============ */
.pullquote {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.pullquote.alt {
  background: var(--ink);
  border-color: var(--ink);
}
.pullquote.alt .pq-text { color: var(--bg); }
.pullquote.alt .pq-mark { color: var(--amber); }
.pullquote.alt .pq-author { color: var(--amber); }
.pullquote.alt .pq-role { color: rgba(250, 245, 238, 0.55); }

.pq-mark {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 140px;
  line-height: 0.5;
  color: var(--amber);
  margin-bottom: 20px;
}
.pq-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 22ch;
  margin: 0 auto 32px;
}
.pq-cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.pq-author {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber-d);
}
.pq-role {
  font-family: var(--body);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
}

/* ============ GROUPS ============ */
.groups-mag { padding: 100px 0; background: var(--bg); }
.groups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 64px;
  border-top: 1px solid var(--ink);
}
.grp {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: baseline;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  transition: background .2s;
}
.grp:hover { background: var(--bg-2); }
.grp:hover .grp-num { color: var(--amber); }

.grp-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  font-style: italic;
  color: var(--rule-2);
  line-height: 1;
  transition: color .2s;
}
.grp-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 6px;
}
.grp-sub {
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
  grid-column: 2;
}

/* ============ CONFERENCIE CAROUSEL ============ */
.conf-mag {
  padding: 100px 0 80px;
  background: var(--ink);
  color: var(--bg);
  position: relative;
}
.conf-mag .section-head .serif-h { color: var(--bg); }
.conf-mag .section-head .sec-desc { color: rgba(250, 245, 238, 0.7); }
.conf-mag .archive-link {
  color: var(--bg);
  border-color: var(--bg);
}
.conf-mag .archive-link:hover { color: var(--amber); border-color: var(--amber); }

.carousel-wrap {
  position: relative;
  margin: 20px 0 40px;
}
.carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--pad);
  padding: 10px var(--pad) 30px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }

.conf-slide {
  flex: 0 0 600px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.slide-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #2a2522;
  border: 1px solid rgba(250, 245, 238, 0.08);
}
.slide-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.92) saturate(1.05);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s;
}
.conf-slide:hover .slide-photo img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.1);
}
.slide-meta { padding: 22px 4px 0; }
.slide-meta .yr {
  display: block;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.slide-meta .serif-h {
  font-size: 26px;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 8px;
}
.slide-meta .slide-loc {
  font-family: var(--body);
  font-style: italic;
  font-size: 14px;
  color: rgba(250, 245, 238, 0.6);
}

.car-btn {
  position: absolute;
  top: calc(50% - 60px);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  z-index: 5;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: transform .2s, background .2s;
}
.car-btn:hover { background: var(--amber); color: var(--bg); transform: scale(1.06); }
.car-btn.prev { left: 24px; }
.car-btn.next { right: 24px; }
.car-btn span { line-height: 1; margin-top: -2px; }

.car-progress {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 2px;
  background: rgba(250, 245, 238, 0.12);
  position: relative;
}
.car-bar {
  position: absolute;
  left: var(--pad); top: 0;
  height: 100%;
  width: 20%;
  background: var(--amber);
  transition: left .3s ease, width .3s ease;
}

/* ============ PROJEKTY ============ */
.proj-mag { padding: 100px 0; background: var(--bg); }
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.proj-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0 0 32px;
  transition: transform .3s, box-shadow .3s;
}
.proj-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(28,25,23,.08); }
.proj-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--rule);
}
.proj-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform .5s;
}
.proj-card:hover .proj-img img { transform: scale(1.03); }

.proj-tag {
  display: inline-block;
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-d);
  background: rgba(217, 119, 6, 0.08);
  padding: 5px 10px;
  border: 1px solid rgba(217, 119, 6, 0.25);
  margin: 24px 28px 14px;
  align-self: flex-start;
}
.proj-card .serif-h {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 28px 14px;
}
.proj-body {
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 28px 22px;
}
.proj-body .dropcap {
  font-size: 56px;
  padding: 4px 8px 0 0;
}
.proj-link {
  margin: 0 28px;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber-d);
  border-bottom: 1px solid var(--amber);
  padding-bottom: 2px;
  align-self: flex-start;
}
.proj-link:hover { color: var(--ink); }
.proj-link.muted {
  color: var(--muted);
  border-color: var(--rule-2);
  pointer-events: none;
}

/* ============ MEMBERS COLUMNS ============ */
.members-mag { padding: 100px 0; background: var(--bg-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.mem-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 40px;
}
.mem-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.mem-head .serif-h { font-size: 28px; }
.mem-num {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--amber);
  background: rgba(217, 119, 6, 0.1);
  padding: 3px 8px;
  border-radius: 2px;
}
.mem-list { font-family: var(--body); font-size: 15px; color: var(--ink-2); }
.mem-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--rule-2);
  transition: padding-left .2s, color .2s;
}
.mem-list li:last-child { border-bottom: none; }
.mem-list li:hover { padding-left: 8px; color: var(--amber-d); }

/* ============ NEWSLETTER CTA ============ */
.news-cta {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid var(--rule);
}
.news-cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 50px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.news-cta-l .kicker { display: block; margin-bottom: 16px; }
.news-cta-l .serif-h em { font-style: italic; font-weight: 400; color: var(--amber); }
.news-cta-r p {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink-2);
  margin-bottom: 20px;
  line-height: 1.6;
}
.nl-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  border: 1.5px solid var(--ink);
  margin-bottom: 12px;
  background: var(--paper);
}
.nl-form input {
  border: none;
  padding: 16px 18px;
  font-family: var(--body);
  font-size: 16px;
  background: transparent;
  outline: none;
  color: var(--ink);
}
.nl-form input::placeholder { color: var(--muted); }
.nl-form button {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 16px 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s;
}
.nl-form button:hover { background: var(--amber-d); }
.nl-fine {
  display: block;
  font-family: var(--ui);
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
}

/* ============ FOOTER MASTHEAD ============ */
.ftr-mag {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0 30px;
}
.ftr-top { text-align: center; margin-bottom: 60px; padding-bottom: 50px; border-bottom: 1px solid rgba(250, 245, 238, 0.12); }
.ftr-mast {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.ftr-mark {
  display: inline-block;
  border: 1.5px solid var(--bg);
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 22px;
  margin-bottom: 8px;
}
.ftr-tag {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--bg);
  margin-bottom: 4px;
}
.ftr-strap {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber);
}

.ftr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(250, 245, 238, 0.12);
}
.ftr-col { display: flex; flex-direction: column; gap: 10px; }
.ftr-h {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin-bottom: 8px;
}
.ftr-col a, .ftr-col span {
  font-family: var(--body);
  font-size: 14.5px;
  color: rgba(250, 245, 238, 0.78);
  line-height: 1.5;
}
.ftr-col a { transition: color .15s; }
.ftr-col a:hover { color: var(--amber); }
.ftr-col a.cur { color: var(--amber); font-weight: 600; }

.ftr-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-family: var(--ui);
  font-size: 12px;
  color: rgba(250, 245, 238, 0.5);
}
.ftr-built em {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(250, 245, 238, 0.75);
}

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .mast-nav { gap: 18px; font-size: 12.5px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .mem-columns { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .ftr-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
}

@media (max-width: 880px) {
  .mast-strip { display: none; }
  .mast-nav { display: none; }
  .switcher { padding: 4px 7px; }
  .switcher-btn { width: 20px; height: 20px; font-size: 11px; }
  .burger { display: flex; }
  .mast-inner { grid-template-columns: auto 1fr; gap: 12px; }

  .hero-mag { min-height: 78vh; }
  .hero-text { padding: 80px var(--pad) 50px; }
  .hero-headline { font-size: clamp(40px, 11vw, 72px); }

  .stats-mag { padding: 60px 0 50px; }
  .stats-head { margin-bottom: 36px; }
  .stat-item { padding: 28px 16px; }
  .stat-big { font-size: clamp(48px, 11vw, 64px); }

  .features { padding: 70px 0; }
  .masonry { grid-template-columns: 1fr; gap: 28px; }
  .card.big, .card.med, .card.sm { grid-column: 1; grid-row: auto; }
  .card.big .big-title { font-size: 26px; }
  .dropcap { font-size: 52px; }

  .pullquote { padding: 70px 0; }
  .pq-mark { font-size: 100px; }

  .groups-mag { padding: 70px 0; }
  .groups-grid { grid-template-columns: 1fr; }
  .grp { grid-template-columns: 48px 1fr; gap: 14px; padding: 22px 0; }
  .grp-num { font-size: 28px; }
  .grp-name { font-size: 19px; }
  .grp-sub { grid-column: 2; }

  .conf-mag { padding: 70px 0 60px; }
  .conf-slide { flex: 0 0 78vw; }
  .car-btn { width: 42px; height: 42px; font-size: 22px; }
  .car-btn.prev { left: 10px; }
  .car-btn.next { right: 10px; }

  .proj-mag { padding: 70px 0; }
  .proj-grid { grid-template-columns: 1fr; gap: 28px; }

  .members-mag { padding: 70px 0; }
  .mem-columns { grid-template-columns: 1fr; row-gap: 32px; }

  .news-cta { padding: 70px 0; }
  .news-cta-grid { grid-template-columns: 1fr; gap: 30px; padding: 36px 0; }

  .ftr-mag { padding: 60px 0 24px; }
  .ftr-grid { grid-template-columns: 1fr; row-gap: 30px; }
  .ftr-base { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .switcher-label { display: none; }
  .lang-btn { font-size: 11px; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .stat-item:last-child { border-bottom: none; }
  .pq-text { font-size: clamp(22px, 6vw, 30px); }
}

/* ============ A11Y ============ */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
