/* ═══════════════════════════════════════════════
   МЦ ПЕТРИЧ — main.css
   ═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #F7F3EE;
  --ink:   #1A1714;
  --rust:  #C94A1E;
  --warm:  #E8B97A;
  --sage:  #7A9E8A;
  --dim:   #8A8480;
  --card:  #ffffff;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono:  'DM Mono', monospace;
  --sans:  'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
@media (pointer: fine) { body { cursor: none; } }

/* ── CURSOR ─────────────────────────────────────── */
@media (pointer: coarse) { #cursor { display: none; } }
#cursor {
  position: fixed; width: 16px; height: 16px; border-radius: 50%;
  background: var(--rust); mix-blend-mode: multiply;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, opacity .2s;
}
body:has(a:hover) #cursor,
body:has(button:hover) #cursor { width: 44px; height: 44px; opacity: .45; }

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: var(--cream);
  border-bottom: 1px solid rgba(26,23,20,.1);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(26,23,20,.09); }
.nav-logo {
  font-family: var(--serif); font-style: italic;
  font-size: 1.25rem; color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: .6rem;
}
.nav-logo img { height: 60px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .78rem; font-weight: 500; letter-spacing: .05em;
  color: var(--dim); text-decoration: none; transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--rust); }
.nav-cta {
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .06em; padding: .55rem 1.3rem; border-radius: 4px;
  background: var(--ink); color: var(--cream); text-decoration: none;
  transition: background .2s;
}
.nav-cta:hover { background: var(--rust); }

/* ── HERO ─────────────────────────────────────────── */
.hero {
  padding-top: 5rem; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr;
}
.hero-top {
  padding: 3.5rem 2.5rem 0;
  display: grid; grid-template-columns: 1fr 480px;
  gap: 2rem; align-items: end;
}
.hero-kicker {
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--rust);
  margin-bottom: 1.2rem;
}
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 8.5rem);
  font-weight: 400; line-height: .9; letter-spacing: -.02em;
}
.hero-h1 em { font-style: italic; color: var(--rust); }
.hero-aside { padding-bottom: .5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.hero-desc { font-size: .95rem; font-weight: 300; line-height: 1.8; color: var(--dim); }
.hero-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  font-family: var(--mono); font-size: .65rem; font-weight: 500;
  letter-spacing: .06em; padding: .35rem .7rem; border-radius: 100px;
  border: 1px solid rgba(26,23,20,.15); color: var(--dim);
  transition: border-color .2s, color .2s, background .2s;
}
.tag:hover { border-color: var(--rust); color: var(--rust); background: rgba(201,74,30,.05); }
.hero-btns { display: flex; gap: .75rem; }

/* ── BUTTONS ──────────────────────────────────────── */
.btn-primary {
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .06em; padding: .75rem 1.8rem; border-radius: 4px;
  background: var(--rust); color: #fff; text-decoration: none;
  transition: background .2s, transform .15s; display: inline-block;
}
.btn-primary:hover { background: #a83818; transform: translateY(-1px); }
.btn-sec {
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .06em; padding: .75rem 1.6rem; border-radius: 4px;
  border: 1px solid rgba(26,23,20,.2); color: var(--ink); text-decoration: none;
  transition: border-color .2s, color .2s; display: inline-block;
}
.btn-sec:hover { border-color: var(--rust); color: var(--rust); }

/* ── HERO PHOTO STRIP ─────────────────────────────── */
.hero-strip {
  margin-top: 2.5rem;
  display: grid; grid-template-columns: 2.2fr 1fr 1.4fr 1fr;
  height: clamp(280px, 38vh, 440px);
  gap: 6px; padding: 0 2.5rem 2.5rem;
}
.hs { border-radius: 10px; overflow: hidden; position: relative; background: #ddd; }
.hs img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94), filter .4s;
  filter: brightness(.88) saturate(.85);
}
.hs:hover img { transform: scale(1.06); filter: brightness(1) saturate(1); }
.hs-label {
  position: absolute; bottom: .9rem; left: .9rem;
  font-family: var(--mono); font-size: .6rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  background: rgba(247,243,238,.88); color: var(--ink);
  padding: .28rem .65rem; border-radius: 4px;
  opacity: 0; transform: translateY(4px);
  transition: opacity .25s, transform .25s;
}
.hs:hover .hs-label { opacity: 1; transform: none; }
.hs-stat {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(247,243,238,.9); backdrop-filter: blur(8px);
  border-radius: 8px; padding: .7rem 1rem;
  font-family: var(--serif); font-style: italic;
  font-size: 1.6rem; color: var(--rust); line-height: 1;
}
.hs-stat span {
  display: block; font-family: var(--mono); font-style: normal;
  font-size: .58rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--dim); margin-top: .15rem;
}

/* ── TICKER ───────────────────────────────────────── */
.ticker { background: var(--ink); overflow: hidden; padding: .7rem 0; }
.ticker-t {
  display: inline-flex; gap: 2.5rem;
  animation: tk 24s linear infinite; white-space: nowrap;
}
.ticker-t i {
  font-family: var(--mono); font-size: .72rem; font-style: normal;
  font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(247,243,238,.5);
  display: inline-flex; align-items: center; gap: 1.5rem;
}
.ticker-t i::after { content: '·'; color: var(--rust); font-size: 1.2rem; line-height: 0; }
@keyframes tk { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── PARTNERS BAR ─────────────────────────────────── */
.partners-bar {
  background: var(--cream);
  border-bottom: 1px solid rgba(26,23,20,.08);
  padding: 1.2rem 2.5rem;
}
.pb-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.pb-label {
  font-family: var(--mono); font-size: .6rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--dim); flex-shrink: 0;
}
.pb-logos { display: flex; align-items: center; gap: 3.5rem; flex-wrap: wrap; }
.pb-logo {
  height: 70px; width: auto; object-fit: contain;
  opacity: .8; transition: opacity .2s, transform .2s;
}
.pb-logo--tall { height: 60px; }
.pb-logo:hover { opacity: 1; transform: scale(1.06); }

/* ── SECTION BASE ─────────────────────────────────── */
.s { padding: 6rem 2.5rem; }
.s-eye {
  font-family: var(--mono); font-size: .65rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--rust); margin-bottom: .8rem;
}
.s-h {
  font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 400; line-height: .95; letter-spacing: -.02em; color: var(--ink);
}
.s-h em { font-style: italic; }

/* ── ABOUT ────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.about-body { font-size: .95rem; font-weight: 300; line-height: 1.85; color: var(--dim); margin-top: 1.2rem; }
.about-nums {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(26,23,20,.1); margin-top: 2.5rem;
  border: 1px solid rgba(26,23,20,.1); border-radius: 10px; overflow: hidden;
}
.anum { background: var(--cream); padding: 1.6rem 1.4rem; transition: background .2s; }
.anum:hover { background: #ede8df; }
.anum-n { font-family: var(--serif); font-style: italic; font-size: 2.8rem; color: var(--rust); line-height: 1; }
.anum-l { font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-top: .3rem; }
.about-photos { display: flex; flex-direction: column; gap: 6px; padding-top: 4rem; }
.ap-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 6px; }
.ap { border-radius: 10px; overflow: hidden; }
.ap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; filter: saturate(.9); }
.ap:hover img { transform: scale(1.04); filter: saturate(1); }
.ap-tall { height: 260px; }
.ap-short { height: 180px; }
.ap-wide { height: 200px; border-radius: 10px; overflow: hidden; }
.ap-wide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.ap-wide:hover img { transform: scale(1.04); }

/* ── PROGRAMS ─────────────────────────────────────── */
.programs-s { background: var(--ink); color: var(--cream); }
.programs-s .s-eye { color: var(--warm); }
.programs-s .s-h { color: var(--cream); }
.programs-s .s-h em { color: var(--warm); }
.prog-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
.btn-outline-light {
  font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .06em;
  padding: .6rem 1.4rem; border-radius: 4px;
  border: 1px solid rgba(247,243,238,.2); color: rgba(247,243,238,.6);
  text-decoration: none; transition: border-color .2s, color .2s; display: inline-block;
}
.btn-outline-light:hover { border-color: var(--cream); color: var(--cream); }
.prog-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(247,243,238,.06);
  border: 1px solid rgba(247,243,238,.06); border-radius: 12px; overflow: hidden;
}
.pc {
  background: #1e1c18; padding: 2rem;
  display: flex; flex-direction: column;
  transition: background .25s; position: relative; overflow: hidden;
}
.pc:hover { background: #252219; }
.pc-num { font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .15em; color: rgba(247,243,238,.2); margin-bottom: 2rem; }
.pc-icon { font-size: 2rem; margin-bottom: 1rem; }
.pc-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; line-height: 1.1; color: var(--cream); margin-bottom: .6rem; }
.pc-name em { font-style: italic; color: var(--warm); }
.pc-desc { font-size: .82rem; font-weight: 300; line-height: 1.65; color: rgba(247,243,238,.5); flex: 1; }
.pc-link { font-family: var(--mono); font-size: .65rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--warm); text-decoration: none; margin-top: 1.5rem; display: inline-flex; align-items: center; gap: .4rem; transition: gap .2s; }
.pc-link:hover { gap: .8rem; }
.pc::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--a, var(--warm)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.pc:hover::before { transform: scaleX(1); }

/* ── MOSAIC ───────────────────────────────────────── */
.mosaic {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 320px 220px; gap: 6px; margin-top: 2rem;
}
.mc { border-radius: 10px; overflow: hidden; position: relative; }
.mc img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85); transition: transform .65s ease, filter .4s; }
.mc:hover img { transform: scale(1.06); filter: saturate(1.05); }
.mc-cap { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1rem 1.1rem; background: linear-gradient(to top, rgba(26,23,20,.6) 0%, transparent 50%); opacity: 0; transition: opacity .3s; }
.mc-cap span { font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(247,243,238,.85); }
.mc:hover .mc-cap { opacity: 1; }
.mc:nth-child(1) { grid-column: 1/5; grid-row: 1/3; }
.mc:nth-child(2) { grid-column: 5/8; grid-row: 1; }
.mc:nth-child(3) { grid-column: 8/13; grid-row: 1; }
.mc:nth-child(4) { grid-column: 5/9; grid-row: 2; }
.mc:nth-child(5) { grid-column: 9/13; grid-row: 2; }

/* ── EVENTS (homepage preview) ────────────────────── */
.events-preview-s { background: #F0EBE3; }
.ev-preview-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
.ev-preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.ev-card {
  background: var(--card); border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(26,23,20,.08);
  box-shadow: 0 2px 16px rgba(26,23,20,.05);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.ev-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(26,23,20,.12); }
.ev-thumb { overflow: hidden; position: relative; height: 220px; flex-shrink: 0; }
.ev-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9); transition: transform .6s, filter .4s; }
.ev-card:hover .ev-thumb img { transform: scale(1.06); filter: saturate(1); }
.ev-badge { position: absolute; top: 1rem; left: 1rem; font-family: var(--mono); font-size: .6rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; background: rgba(247,243,238,.92); backdrop-filter: blur(8px); color: var(--rust); padding: .3rem .7rem; border-radius: 5px; }
.ev-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.ev-cat { font-family: var(--mono); font-size: .6rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--rust); margin-bottom: .45rem; }
.ev-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: .6rem; }
.ev-desc { font-size: .83rem; font-weight: 300; line-height: 1.7; color: var(--dim); flex: 1; }
.ev-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.ev-tag { font-family: var(--mono); font-size: .58rem; font-weight: 500; letter-spacing: .07em; padding: .25rem .6rem; border-radius: 4px; background: rgba(201,74,30,.07); color: var(--rust); border: 1px solid rgba(201,74,30,.15); }

/* ── SCROLL STRIP ─────────────────────────────────── */
.strip-s { overflow: hidden; padding: 2.5rem 0; background: var(--cream); }
.strip-track { display: flex; gap: 10px; animation: st 28s linear infinite; width: max-content; }
.strip-track:hover { animation-play-state: paused; }
.sp { width: 260px; height: 340px; flex-shrink: 0; border-radius: 10px; overflow: hidden; }
.sp img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85); transition: transform .5s, filter .4s; }
.sp:hover img { transform: scale(1.06); filter: saturate(1); }
@keyframes st { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── QUOTE ────────────────────────────────────────── */
.quote-s { padding: 6rem 2.5rem; text-align: center; background: var(--rust); position: relative; overflow: hidden; }
.quote-s::before { content: '\201C'; font-family: var(--serif); font-size: 28rem; line-height: 1; position: absolute; top: -6rem; left: -1rem; color: rgba(255,255,255,.07); pointer-events: none; }
.qt-text { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.1; color: #fff; max-width: 820px; margin: 0 auto; position: relative; }
.qt-attr { font-family: var(--mono); font-size: .65rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 1.5rem; }

/* ── SPACES ───────────────────────────────────────── */
.spaces-s { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--cream); }
.sp-photo { overflow: hidden; position: relative; min-height: 560px; }
.sp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.55) saturate(.8); }
.sp-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, transparent 50%, var(--ink) 100%); }
.sp-content { padding: 5rem 3.5rem; display: flex; flex-direction: column; justify-content: center; }
.sp-content .s-eye { color: var(--warm); }
.sp-content .s-h { color: var(--cream); margin-bottom: 2rem; }
.sp-items { display: flex; flex-direction: column; gap: .5rem; }
.spi { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-radius: 8px; border: 1px solid rgba(247,243,238,.07); transition: border-color .2s, background .2s, transform .2s; }
.spi:hover { border-color: rgba(201,74,30,.4); background: rgba(201,74,30,.06); transform: translateX(5px); }
.spi-icon { font-size: 1.4rem; flex-shrink: 0; }
.spi-name { font-weight: 500; font-size: .88rem; color: var(--cream); }
.spi-cap { font-size: .72rem; font-weight: 300; color: rgba(247,243,238,.4); margin-top: .1rem; }

/* ── CONTACTS ─────────────────────────────────────── */
.contacts-s { background: var(--cream); }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; margin-top: 3rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.ci-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: 10px; border: 1px solid rgba(26,23,20,.1); background: #fff; transition: border-color .2s, transform .2s; }
.ci-item:hover { border-color: rgba(201,74,30,.3); transform: translateX(4px); }
.ci-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.ci-label { font-family: var(--mono); font-size: .6rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--rust); margin-bottom: .3rem; }
.ci-val { font-size: .92rem; font-weight: 400; color: var(--ink); line-height: 1.5; }
.ci-val a { color: var(--ink); text-decoration: none; transition: color .2s; }
.ci-val a:hover { color: var(--rust); }
.social-row { display: flex; gap: .75rem; margin-top: .5rem; }
.soc-btn { display: flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .06em; padding: .55rem 1.1rem; border-radius: 6px; border: 1px solid rgba(26,23,20,.15); color: var(--dim); text-decoration: none; transition: all .2s; }
.soc-btn:hover { border-color: var(--rust); color: var(--rust); background: rgba(201,74,30,.05); }
.contact-map { border-radius: 14px; overflow: hidden; border: 1px solid rgba(26,23,20,.1); box-shadow: 0 4px 24px rgba(26,23,20,.08); }
.contact-map iframe { width: 100%; height: 420px; display: block; border: none; }

/* ── CTA ──────────────────────────────────────────── */
.cta-s { padding: 7rem 2.5rem; text-align: center; position: relative; overflow: hidden; background: var(--cream); }
.cta-bg-text { position: absolute; font-family: var(--serif); font-size: 22rem; font-style: italic; color: rgba(26,23,20,.04); top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none; user-select: none; }
.cta-h { font-family: var(--serif); font-size: clamp(3rem, 7vw, 7.5rem); font-weight: 400; line-height: .88; letter-spacing: -.03em; color: var(--ink); margin-bottom: 1.5rem; }
.cta-h em { font-style: italic; color: var(--rust); }
.cta-sub { font-size: .95rem; font-weight: 300; color: var(--dim); max-width: 440px; margin: 0 auto 2.5rem; line-height: 1.75; }
.btn-cta { font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 1rem 2.8rem; border-radius: 6px; background: var(--ink); color: var(--cream); text-decoration: none; display: inline-block; transition: background .2s, transform .15s; }
.btn-cta:hover { background: var(--rust); transform: translateY(-2px); }

/* ── FOOTER ───────────────────────────────────────── */
footer { background: var(--ink); padding: 4rem 2.5rem 2rem; }
.ft { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.ft-logo { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--cream); display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.ft-logo img { height: 44px; width: auto; object-fit: contain; }
.ft-desc { font-size: .82rem; font-weight: 300; color: rgba(247,243,238,.4); line-height: 1.7; max-width: 240px; }
.ft-social { display: flex; gap: .5rem; margin-top: 1.2rem; }
.ft-social a { width: 34px; height: 34px; border-radius: 6px; background: rgba(247,243,238,.05); border: 1px solid rgba(247,243,238,.08); display: flex; align-items: center; justify-content: center; font-size: .82rem; text-decoration: none; color: rgba(247,243,238,.4); transition: background .2s, border-color .2s, color .2s; }
.ft-social a:hover { background: rgba(201,74,30,.15); border-color: rgba(201,74,30,.4); color: var(--cream); }
.ft-col-h { font-family: var(--mono); font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,243,238,.2); margin-bottom: 1rem; }
.ft-links { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.ft-links a { font-size: .82rem; font-weight: 300; color: rgba(247,243,238,.45); text-decoration: none; transition: color .15s; }
.ft-links a:hover { color: var(--cream); }
.ft-bottom { border-top: 1px solid rgba(247,243,238,.06); padding-top: 1.4rem; display: flex; justify-content: space-between; font-family: var(--mono); font-size: .65rem; color: rgba(247,243,238,.2); }

/* ── REVEAL ───────────────────────────────────────── */
.r { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.r.d1 { transition-delay: .1s; }
.r.d2 { transition-delay: .2s; }
.r.d3 { transition-delay: .3s; }
.r.vis { opacity: 1; transform: none; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-top { grid-template-columns: 1fr; }
  .hero-strip { grid-template-columns: 1fr 1fr; height: auto; }
  .hs:nth-child(1) { grid-column: 1/3; height: 220px; }
  .hs:nth-child(n) { height: 160px; }
  .about-grid, .spaces-s, .contacts-grid { grid-template-columns: 1fr; }
  .prog-cards { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .mc:nth-child(n) { grid-column: auto; grid-row: auto; height: 180px; }
  .mc:nth-child(1) { grid-column: 1/3; height: 240px; }
  .ev-preview-grid { grid-template-columns: 1fr; }
  .ft { grid-template-columns: 1fr 1fr; }
  .s { padding: 4.5rem 1.4rem; }
  nav { padding: .9rem 1.4rem; }
  .contact-map iframe { height: 280px; }
}
@media (prefers-reduced-motion: reduce) { *, .r { animation: none !important; transition: none !important; } }

/* ── ICON OVERRIDES (SVG icons instead of emoji) ─── */
.spi-icon { font-size: 0; width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.spi-icon svg { width: 28px; height: 28px; }

.pc-icon { font-size: 0; width: 52px; height: 52px; border-radius: 12px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.pc-icon svg { width: 28px; height: 28px; }

.ci-icon { font-size: 0; width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: .1rem; }
.ci-icon svg { width: 26px; height: 26px; }

.soc-icon { width: 18px; height: 18px; }

/* pb-logo petrich transparent fix */
.pb-logo--emblem { height: 56px; mix-blend-mode: multiply; }

/* ── SCROLL TO TOP ──────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 400;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid rgba(247,243,238,.15);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, background .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.22);
}
#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#scroll-top:hover {
  background: var(--rust);
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(201,74,30,.35);
}
#scroll-top svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── MOBILE 600px ───────────────────────────────── */
@media (max-width: 600px) {
  /* nav */
  nav { padding: .75rem 1.2rem; }
  .nav-logo img { height: 45px; }
  .nav-logo { font-size: 1rem; }

  /* hero */
  .hero-top { padding: 2.5rem 1.2rem 0; gap: 1.5rem; }
  .hero-h1 { font-size: clamp(2.8rem, 11vw, 4rem); }
  .hero-strip {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 0 1.2rem 2rem;
    height: auto;
  }
  .hs { height: 140px; }
  .hs:nth-child(1) { grid-column: 1/3; height: 190px; }
  .hs-stat { font-size: 1.2rem; padding: .5rem .8rem; }

  /* ticker */
  .ticker-t i { font-size: .62rem; }

  /* partners */
  .partners-bar { padding: 1rem 1.2rem; }
  .pb-inner { gap: 1rem; }
  .pb-label { display: none; }
  .pb-logos { gap: 1.2rem; }
  .pb-logo { height: 30px; }
  .pb-logo--tall { height: 36px; }
  .pb-logo--emblem { height: 34px; }

  /* sections */
  .s { padding: 3.5rem 1.2rem; }

  /* about */
  .about-nums { grid-template-columns: 1fr 1fr; }
  .anum-n { font-size: 2.2rem; }
  .ap-tall { height: 200px; }
  .ap-short { height: 130px; }

  /* programs */
  .prog-cards { border-radius: 10px; }

  /* events */
  .ev-thumb { height: 180px; }
  .ev-preview-grid { gap: 1rem; }

  /* strip */
  .strip-s { padding: 1.5rem 0; }
  .sp { width: 190px; height: 240px; }

  /* quote */
  .quote-s { padding: 4rem 1.2rem; }
  .qt-text { font-size: clamp(1.5rem, 6vw, 2.4rem); }

  /* spaces */
  .spaces-s { grid-template-columns: 1fr; }
  .sp-photo { min-height: 220px; }
  .sp-photo::after {
    background: linear-gradient(to bottom, transparent 40%, var(--ink) 100%);
  }
  .sp-content { padding: 2.5rem 1.4rem; }

  /* contacts */
  .contact-map iframe { height: 220px; border-radius: 10px; }
  .social-row { flex-wrap: wrap; gap: .5rem; }
  .soc-btn { font-size: .62rem; padding: .45rem .85rem; }

  /* cta */
  .cta-s { padding: 5rem 1.2rem; }
  .cta-h { font-size: clamp(2.4rem, 10vw, 4rem); }

  /* footer */
  .ft { grid-template-columns: 1fr; gap: 2rem; }
  .ft-bottom { flex-direction: column; gap: .4rem; text-align: center; }

  /* scroll btn */
  #scroll-top { bottom: 1.2rem; right: 1.2rem; width: 40px; height: 40px; }
  #scroll-top svg { width: 18px; height: 18px; }
}
