/* ============================================
   BYTIME · Ульяна Майорова
   Style: Marble & Burgundy Matte
   Reference: cream marble flatlay with burgundy plates
   ============================================ */

:root {
  /* Brand */
  --burgundy:        #54052B;
  --burgundy-deep:   #3A031D;
  --burgundy-ink:    #1F0010;
  --burgundy-velvet: #6B0A38;

  /* Cream marble palette */
  --cream:           #F0EADC;
  --cream-soft:      #EAE1CF;
  --cream-deep:      #DDD0B7;
  --paper:           #F7F1E4;
  --marble-white:    #F4EFE2;

  /* Marble veins / texture */
  --vein-warm:       #B89F8B;
  --vein-deep:       #6B5247;
  --vein-burgundy:   #54052B;

  /* Ink */
  --ink:             #2A1F1B;
  --ink-soft:        #5A4538;
  --ink-muted:       #8A7768;

  /* Tiny gold accent (very sparing) */
  --gold:            #B89968;
  --gold-soft:       rgba(184,153,104,0.5);

  /* Hairlines */
  --hair-dark:       rgba(42,31,27,0.12);
  --hair-darker:     rgba(42,31,27,0.20);
  --hair-light:      rgba(240,234,220,0.16);
  --hair-burgundy:   rgba(84,5,43,0.18);

  /* Ease curves */
  --ease:            cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1260px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--burgundy); color: var(--cream); }
html { scroll-behavior: smooth; }

body {
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; }

/* ===== Reusable marble SVG (cream) ===== */
.marble-bg-cream {
  background-color: var(--marble-white);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='800'><filter id='m'><feTurbulence type='turbulence' baseFrequency='0.012' numOctaves='3' seed='4'/><feColorMatrix values='0 0 0 0 0.42  0 0 0 0 0.32  0 0 0 0 0.28  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23m)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='800'><filter id='b'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23b)'/></svg>");
  background-size: 1200px 1200px, 200px 200px;
  background-blend-mode: multiply, normal;
}

.marble-bg-burgundy {
  background-color: var(--burgundy-ink);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='800'><filter id='m2'><feTurbulence type='turbulence' baseFrequency='0.008' numOctaves='3' seed='8'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.92  0 0 0 0 0.86  0 0 0 0.14 0'/></filter><rect width='100%25' height='100%25' filter='url(%23m2)'/></svg>"),
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(107,10,56,0.55), transparent 60%),
    radial-gradient(ellipse 70% 60% at 80% 80%, rgba(58,3,29,0.65), transparent 60%);
  background-size: 1200px 1200px, auto, auto;
}

/* ====== LAYOUT ====== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.section--marble-cream {
  background-color: var(--marble-white);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='1200'><filter id='mc'><feTurbulence type='turbulence' baseFrequency='0.008' numOctaves='4' seed='6'/><feColorMatrix values='0 0 0 0 0.42  0 0 0 0 0.32  0 0 0 0 0.28  0 0 0 0.16 0'/></filter><rect width='100%25' height='100%25' filter='url(%23mc)'/></svg>");
  background-size: 1400px 1400px;
  color: var(--ink);
}
.section--marble-cream::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(84,5,43,0.05), transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 80%, rgba(184,153,104,0.06), transparent 60%);
  pointer-events: none;
}

.section--marble-burgundy {
  background-color: var(--burgundy-deep);
  color: var(--cream);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='1200'><filter id='mb'><feTurbulence type='turbulence' baseFrequency='0.007' numOctaves='4' seed='9'/><feColorMatrix values='0 0 0 0 0.96  0 0 0 0 0.92  0 0 0 0 0.84  0 0 0 0.16 0'/></filter><rect width='100%25' height='100%25' filter='url(%23mb)'/></svg>");
  background-size: 1400px 1400px;
}
.section--marble-burgundy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 25% 25%, rgba(107,10,56,0.55), transparent 60%),
    radial-gradient(ellipse 80% 60% at 80% 80%, rgba(31,0,16,0.7), transparent 60%);
  pointer-events: none;
}

.section--final {
  background-color: var(--burgundy);
  color: var(--cream);
  padding: 96px 0 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='1200'><filter id='mf'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23mf)'/></svg>");
}
.section--final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(246,243,238,0.06), transparent 60%),
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(31,0,16,0.5), transparent 60%);
  pointer-events: none;
}

.section__head {
  margin-bottom: 64px;
  max-width: 820px;
}
.section--marble-cream .section__title { color: var(--burgundy-deep); }
.section--marble-burgundy .section__title { color: var(--cream); }
.section__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 0.94;
  letter-spacing: 0.005em;
  margin-bottom: 18px;
}
.title-accent {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--burgundy);
  letter-spacing: -0.005em;
  text-transform: none;
}
.section--marble-burgundy .title-accent { color: var(--cream-soft); }
.section__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 580px;
}
.section--marble-burgundy .section__lead { color: rgba(240,234,220,0.78); }

/* ====== EYEBROW ====== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--burgundy);
  box-shadow: 0 0 0 4px rgba(84,5,43,0.16);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(84,5,43,0.16); }
  50% { box-shadow: 0 0 0 6px rgba(84,5,43,0.04); }
}
.eyebrow--gold {
  color: var(--burgundy);
}
.section--marble-burgundy .eyebrow--gold { color: var(--cream-soft); }
.section--marble-burgundy .eyebrow--gold .dot,
.section--final .eyebrow--gold {
  color: var(--cream-soft);
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 7px 7px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 600ms var(--ease), background-color 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn--gold {
  background: var(--burgundy);
  color: var(--cream);
  box-shadow: 0 4px 20px -10px rgba(84,5,43,0.5);
}
.btn--gold:hover {
  background: var(--burgundy-deep);
  box-shadow: 0 8px 28px -10px rgba(84,5,43,0.6);
}

.btn--outline {
  background: transparent;
  color: var(--burgundy);
  border: 1px solid var(--hair-burgundy);
}
.btn--outline:hover {
  border-color: var(--burgundy);
  background: rgba(84,5,43,0.05);
}

.btn--lg { font-size: 16.5px; padding: 9px 9px 9px 30px; }

.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(240,234,220,0.18);
  transition: transform 600ms var(--ease), background-color 400ms var(--ease);
}
.btn:hover .btn-icon { transform: translate(2px, -2px); background: rgba(240,234,220,0.30); }
.btn-icon svg { width: 14px; height: 14px; }
.btn-icon--outline {
  background: rgba(84,5,43,0.08);
}
.btn:hover .btn-icon--outline { background: rgba(84,5,43,0.16); }
.btn--lg .btn-icon { width: 42px; height: 42px; }
.btn--lg .btn-icon svg { width: 16px; height: 16px; }

/* In final (burgundy) section — invert outline button colors */
.section--final .btn--outline {
  color: var(--cream);
  border-color: rgba(240,234,220,0.22);
}
.section--final .btn--outline:hover {
  border-color: var(--cream);
  background: rgba(240,234,220,0.06);
}
.section--final .btn--outline .btn-icon--outline { background: rgba(240,234,220,0.10); }
.section--final .btn--outline:hover .btn-icon--outline { background: rgba(240,234,220,0.20); }

.section--final .btn--gold {
  background: var(--cream);
  color: var(--burgundy-deep);
}
.section--final .btn--gold:hover { background: var(--paper); }
.section--final .btn--gold .btn-icon { background: rgba(84,5,43,0.10); }
.section--final .btn--gold:hover .btn-icon { background: rgba(84,5,43,0.18); }

/* ====== FLOATING NAV ====== */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  display: flex; justify-content: center;
  padding: 18px 24px 0;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 12px;
  padding: 7px 7px 7px 22px;
  border-radius: 999px;
  background: rgba(244,239,226,0.78);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--hair-dark);
  box-shadow: 0 8px 24px -10px rgba(42,31,27,0.18);
  max-width: 820px;
  width: 100%;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--burgundy);
  padding-right: 16px;
  border-right: 1px solid var(--hair-dark);
  margin-right: 4px;
}
.nav__links {
  display: flex; align-items: center; gap: 26px;
  flex: 1;
}
.nav__links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color 300ms var(--ease);
}
.nav__links a:hover { color: var(--burgundy); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 7px 7px 18px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 300ms var(--ease), transform 600ms var(--ease);
}
.nav__cta:hover { background: var(--burgundy-deep); }
.nav__cta:active { transform: scale(0.97); }
.nav__cta .btn-icon { width: 30px; height: 30px; background: rgba(240,234,220,0.16); }
.nav__cta .btn-icon svg { width: 13px; height: 13px; }
.nav__cta:hover .btn-icon { transform: translate(2px, -2px); background: rgba(240,234,220,0.26); }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav { padding-right: 5px; }
}

/* ====== 1 · HERO ====== */
.hero {
  padding: 150px 0 60px;
  position: relative;
  overflow: hidden;
  background-color: var(--marble-white);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1400' height='1400'><filter id='mh'><feTurbulence type='turbulence' baseFrequency='0.006' numOctaves='4' seed='3'/><feColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.34  0 0 0 0 0.30  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23mh)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1400' height='1400'><filter id='mh2'><feTurbulence type='turbulence' baseFrequency='0.003' numOctaves='3' seed='12'/><feColorMatrix values='0 0 0 0 0.33  0 0 0 0 0.02  0 0 0 0 0.17  0 0 0 0.10 0'/></filter><rect width='100%25' height='100%25' filter='url(%23mh2)'/></svg>");
  background-size: 1600px 1600px, 2200px 2200px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(84,5,43,0.10), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(184,153,104,0.10), transparent 60%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__text { position: relative; }
.hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 10.5vw, 156px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  color: var(--burgundy-deep);
  margin: 0 0 28px;
}
.hero__t-accent {
  color: var(--burgundy);
  font-family: 'Bebas Neue', sans-serif;
}

.hero__lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 500px;
  margin-bottom: 18px;
}
.hero__location {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 460px;
  margin-bottom: 36px;
  letter-spacing: 0.005em;
}
.hero__location-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--burgundy);
  margin-top: 3px;
}
.brand-mark {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.06em;
  color: var(--burgundy);
  font-size: 1.08em;
}

.hero__buttons {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__meta {
  display: flex;
  gap: 0;
  padding-top: 28px;
  border-top: 1px solid var(--hair-darker);
}
.meta-col {
  flex: 1;
  padding-right: 24px;
  border-right: 1px solid var(--hair-dark);
}
.meta-col:last-child { border-right: 0; padding-right: 0; }
.meta-col:not(:first-child) { padding-left: 24px; }
.meta-col__label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.meta-col__value {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--burgundy);
}

/* ====== ARCH (hero portrait) — burgundy plate over cream marble ====== */
.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.arch {
  width: 100%;
  max-width: 440px;
  position: relative;
}
.arch__frame {
  position: relative;
  background:
    linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-deep) 70%, var(--burgundy-ink) 100%);
  padding: 16px;
  border-radius: 220px 220px 12px 12px;
  box-shadow:
    0 32px 80px -20px rgba(42,31,27,0.30),
    0 10px 30px -10px rgba(84,5,43,0.30),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.arch__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><filter id='mp'><feTurbulence type='turbulence' baseFrequency='0.006' numOctaves='4' seed='15'/><feColorMatrix values='0 0 0 0 0.96  0 0 0 0 0.92  0 0 0 0 0.84  0 0 0 0.10 0'/></filter><rect width='100%25' height='100%25' filter='url(%23mp)'/></svg>");
  background-size: cover;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.6;
}
.arch__photo {
  border-radius: 204px 204px 6px 6px;
  aspect-ratio: 3 / 4.2;
  background:
    radial-gradient(ellipse 70% 80% at 50% 30%, rgba(240,234,220,0.10), rgba(31,0,16,0.4) 80%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(240,234,220,0.55);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.arch__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.arch__caption {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--ink-soft);
  align-self: flex-start;
  max-width: 440px;
}
.arch__caption-line {
  width: 28px; height: 1px;
  background: var(--burgundy);
  flex-shrink: 0;
  margin-top: 11px;
}

/* ====== TRUST BAND ====== */
.trust {
  margin-top: 100px;
  padding: 26px 0;
  border-top: 1px solid var(--hair-darker);
  border-bottom: 1px solid var(--hair-darker);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.trust__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-muted);
  font-weight: 500;
}
.trust__logos {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
}
.trust__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--burgundy-deep);
  line-height: 1;
}
.trust__logo-img {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: darken;
  opacity: 0.88;
  transition: opacity .25s ease;
  flex-shrink: 0;
}
.trust__logo-img:hover { opacity: 1; }
.trust__logo-img--invert {
  mix-blend-mode: normal;
  filter: invert(1);
  height: 26px;
}
.trust__logo--muted {
  color: var(--ink-muted);
  font-size: 16px;
  letter-spacing: 0.02em;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
}
.trust__sep { color: var(--burgundy); font-size: 16px; }

@media (max-width: 980px) {
  .hero { padding: 130px 0 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .arch { max-width: 360px; margin: 0 auto; }
}

/* ====== 2 · TOPICS ====== */
/* Burgundy matte tiles on cream marble */
.topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.topic {
  background: var(--burgundy);
  border-radius: 4px;
  position: relative;
  transition: transform 700ms var(--ease), box-shadow 700ms var(--ease);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 24px 50px -20px rgba(84,5,43,0.30),
    0 8px 20px -10px rgba(42,31,27,0.18);
  overflow: hidden;
}
.topic::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='tn'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23tn)'/></svg>");
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.topic:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 36px 70px -20px rgba(84,5,43,0.40),
    0 12px 24px -10px rgba(42,31,27,0.22);
}

.topic__inner {
  padding: 36px 32px 36px;
  display: flex; flex-direction: column;
  min-height: 240px;
  height: 100%;
  position: relative;
  z-index: 1;
}
.topic__num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: rgba(240,234,220,0.65);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.topic__num--gold { font-size: 28px; line-height: 1; color: var(--cream); }
.topic h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin-bottom: 14px;
}
.topic p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(240,234,220,0.78);
  flex: 1;
}

/* CTA tile — cream marble plate on burgundy bg */
.topic--cta {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><filter id='tc'><feTurbulence type='turbulence' baseFrequency='0.008' numOctaves='4' seed='7'/><feColorMatrix values='0 0 0 0 0.42  0 0 0 0 0.32  0 0 0 0 0.28  0 0 0 0.20 0'/></filter><rect width='100%25' height='100%25' filter='url(%23tc)'/></svg>") var(--marble-white);
  background-size: cover;
}
.topic--cta::before { display: none; }
.topic--cta .topic__num,
.topic--cta h3 { color: var(--burgundy-deep); }
.topic--cta p { color: var(--ink-soft); }
.topic__cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--burgundy);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: gap 400ms var(--ease);
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--hair-burgundy);
}
.topic__cta:hover { gap: 12px; border-bottom-color: var(--burgundy); }
.topic__cta svg { width: 13px; height: 13px; }

@media (max-width: 880px) {
  .topics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .topics { grid-template-columns: 1fr; }
}

/* ----- Topics as numbered list (alternative layout) ----- */
.topics-list {
  list-style: none;
  border-top: 1px solid var(--hair-darker);
  margin: 0;
  padding: 0;
  counter-reset: topic;
}
.topic-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  column-gap: 36px;
  row-gap: 0;
  align-items: baseline;
  padding: 26px 8px;
  border-bottom: 1px solid var(--hair-darker);
  transition: background-color 350ms var(--ease), padding-left 350ms var(--ease);
  position: relative;
}
.topic-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--burgundy);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 400ms var(--ease);
}
.topic-row:hover {
  background: rgba(84,5,43,0.025);
  padding-left: 20px;
}
.topic-row:hover::before {
  transform: scaleY(1);
}
.topic-row__num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--burgundy);
  line-height: 1;
  padding-top: 6px;
}
.topic-row__num--gold {
  color: #c9a35c;
}
.topic-row__body {
  min-width: 0;
}
.topic-row__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 0.02em;
  color: var(--burgundy-deep);
  margin-bottom: 6px;
  line-height: 1.05;
}
.topic-row__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 720px;
}
.topic-row__desc em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--burgundy-deep);
  font-size: 1.02em;
}
.topic-row--cta {
  background: rgba(201,163,92,0.06);
}
.topic-row--cta:hover {
  background: rgba(201,163,92,0.10);
}
.topic-row__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  padding: 10px 16px;
  border: 1px solid var(--burgundy);
  border-radius: 999px;
  transition: background-color 250ms var(--ease), color 250ms var(--ease), gap 250ms var(--ease);
  white-space: nowrap;
  align-self: center;
}
.topic-row__cta:hover {
  background: var(--burgundy);
  color: var(--cream);
  gap: 12px;
}
.topic-row__cta svg { width: 14px; height: 14px; }

@media (max-width: 720px) {
  .topic-row {
    grid-template-columns: 48px 1fr;
    column-gap: 18px;
    padding: 22px 4px;
  }
  .topic-row:hover { padding-left: 12px; }
  .topic-row__title { font-size: 26px; }
  .topic-row__desc { font-size: 14.5px; }
  .topic-row__cta {
    grid-column: 2;
    margin-top: 12px;
    justify-self: start;
  }
}

/* ====== 3 · NETWORKING ====== */
/* Burgundy marble section — cream cards */
.section--marble-burgundy .eyebrow {
  color: var(--cream-soft);
}
.section--marble-burgundy .eyebrow .dot {
  background: var(--cream-soft);
  box-shadow: 0 0 0 4px rgba(240,234,220,0.20);
}
.section--marble-burgundy .eyebrow .dot {
  animation: pulseLight 2.6s var(--ease) infinite;
}
@keyframes pulseLight {
  0%, 100% { box-shadow: 0 0 0 4px rgba(240,234,220,0.20); }
  50% { box-shadow: 0 0 0 6px rgba(240,234,220,0.06); }
}

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 80px;
}
.case {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><filter id='cm'><feTurbulence type='turbulence' baseFrequency='0.008' numOctaves='4' seed='11'/><feColorMatrix values='0 0 0 0 0.42  0 0 0 0 0.32  0 0 0 0 0.28  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23cm)'/></svg>") var(--marble-white);
  background-size: cover;
  padding: 36px 32px 32px;
  border-radius: 4px;
  box-shadow:
    0 24px 50px -20px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform 700ms var(--ease);
}
.case:hover { transform: translateY(-3px); }
.case__num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--burgundy);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.case__brand {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 50px;
  line-height: 0.95;
  color: var(--burgundy-deep);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.case p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.networking-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.block-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.block-title::after {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--cream-soft);
}

.needs__list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}
.needs__list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--hair-light);
}
.needs__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.need-tag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.needs__list p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(240,234,220,0.78);
}

.formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--hair-light);
}
.format {
  padding: 18px 20px;
  border: 1px solid var(--hair-light);
  border-radius: 4px;
  background: rgba(240,234,220,0.05);
  transition: background-color 400ms var(--ease);
}
.format:hover { background: rgba(240,234,220,0.08); }
.format__tag {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 6px;
}
.format p {
  font-size: 13.5px;
  color: rgba(240,234,220,0.78);
  line-height: 1.5;
}

.events {
  margin-top: 71px;
}
.events__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.events__cell {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='en'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.20 0'/></filter><rect width='100%25' height='100%25' filter='url(%23en)'/></svg>") var(--burgundy);
  background-size: 240px 240px;
  border-radius: 4px;
  box-shadow: 0 16px 32px -16px rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  color: rgba(240,234,220,0.55);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 700ms var(--ease);
  position: relative;
  overflow: hidden;
}
.events__cell:hover { transform: translateY(-2px); }
.events__cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 900ms var(--ease), filter 600ms var(--ease);
}
.events__cell:hover img {
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.05);
}
.events__cell--lg {
  grid-column: span 2;
  grid-row: span 1;
  border-radius: 100px 100px 4px 4px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><filter id='em'><feTurbulence type='turbulence' baseFrequency='0.008' numOctaves='4' seed='13'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.92  0 0 0 0 0.86  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23em)'/></svg>") var(--burgundy-deep);
  background-size: cover;
}
.events__cell--lg img {
  object-position: center 30%;
}

@media (max-width: 980px) {
  .cases { grid-template-columns: 1fr; }
  .networking-grid { grid-template-columns: 1fr; gap: 56px; }
  .events { margin-top: 0; }
}
@media (max-width: 560px) {
  .needs__list li { grid-template-columns: 1fr; gap: 6px; }
  .formats { grid-template-columns: 1fr; }
}

/* ====== 4 · MEDIA ====== */
.tabs {
  display: flex; gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tab {
  padding: 10px 22px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--hair-darker);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: background-color 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease);
}
.tab:hover { border-color: var(--burgundy); color: var(--burgundy); }
.tab--active {
  background: var(--burgundy);
  color: var(--cream);
  border-color: var(--burgundy);
}
.tab--active:hover { color: var(--cream); background: var(--burgundy-deep); }

.tab-panel { display: none; }
.tab-panel--active { display: block; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.media-card {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--hair-dark);
  transition: transform 700ms var(--ease), border-color 400ms var(--ease), box-shadow 700ms var(--ease);
  box-shadow: 0 12px 28px -16px rgba(42,31,27,0.18);
}
.media-card:hover {
  transform: translateY(-3px);
  border-color: var(--hair-burgundy);
  box-shadow: 0 20px 40px -16px rgba(42,31,27,0.25);
}
.media-card__thumb {
  aspect-ratio: 16 / 9;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='400'><filter id='mt'><feTurbulence type='turbulence' baseFrequency='0.008' numOctaves='4' seed='5'/><feColorMatrix values='0 0 0 0 0.96  0 0 0 0 0.92  0 0 0 0 0.84  0 0 0 0.16 0'/></filter><rect width='100%25' height='100%25' filter='url(%23mt)'/></svg>") var(--burgundy);
  background-size: cover;
  display: flex; align-items: center; justify-content: center;
  color: rgba(240,234,220,0.6);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
}
.media-card__thumb--img { padding: 0; }
.media-card__thumb--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.media-card:hover .media-card__thumb--img img { transform: scale(1.04); }
.media-card__thumb--img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
}
.media-card__thumb--img::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
  z-index: 2;
  transition: transform .25s ease, background .25s ease;
}
.media-card__thumb--img .media-card__thumb-icon,
.media-card__thumb--img::marker { display: none; }
.media-card:hover .media-card__thumb--img::before {
  background: var(--gold, #c9a35c);
  transform: translate(-50%, -50%) scale(1.06);
}
.media-card__thumb--img .play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-44%, -50%);
  z-index: 3;
  width: 0; height: 0;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--burgundy-deep);
  pointer-events: none;
}
.media-card__body { padding: 20px 24px 22px; }
.media-card__body h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.03em;
  color: var(--burgundy-deep);
  margin-bottom: 6px;
}
.media-card__body p { font-size: 13px; color: var(--ink-muted); }

.media-list { list-style: none; }
.media-list li { border-bottom: 1px solid var(--hair-dark); }
.media-list li:first-child { border-top: 1px solid var(--hair-dark); }
.media-list a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 20px 4px;
  font-size: 17px;
  color: var(--ink);
  transition: color 400ms var(--ease), padding-left 400ms var(--ease);
}
.media-list a:hover { color: var(--burgundy); padding-left: 8px; }
.media-list__meta {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink-muted);
  flex-shrink: 0;
}

@media (max-width: 880px) {
  .media-grid { grid-template-columns: 1fr; }
  .media-list a { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ====== 5 · FINAL CTA ====== */
.final {
  text-align: center;
  position: relative;
  padding-bottom: 40px;
}
.final__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.98;
  letter-spacing: 0.005em;
  color: var(--cream);
  margin: 14px 0 20px;
  max-width: 760px;
  margin-left: auto; margin-right: auto;
}
.final__title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--cream-soft);
  letter-spacing: -0.005em;
  text-transform: none;
}
.final__lead {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(240,234,220,0.78);
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
}
.final__lead em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: rgba(240,234,220,0.58);
  font-size: 0.94em;
}
.final__buttons {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px;
}
.final .btn--lg {
  padding: 14px 26px;
  font-size: 13px;
}

.final__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0 16px;
  border-top: 1px solid var(--hair-light);
  flex-wrap: wrap; gap: 16px;
  font-size: 13px;
  color: rgba(240,234,220,0.6);
}
.footer__brand { display: inline-flex; align-items: center; gap: 10px; }
.footer__brand img { filter: brightness(0) invert(1) opacity(0.5); }
.footer__links { display: flex; gap: 22px; }
.footer__links a:hover { color: var(--cream); }

.section--final .eyebrow { color: var(--cream-soft); }
.section--final .eyebrow .dot {
  background: var(--cream-soft);
  box-shadow: 0 0 0 4px rgba(240,234,220,0.20);
  animation: pulseLight 2.6s var(--ease) infinite;
}

/* ====== SCROLL REVEAL ====== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out), filter 900ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .eyebrow .dot { animation: none; }
}

/* ====== MOBILE TUNING ====== */
@media (max-width: 640px) {
  .section { padding: 90px 0; }
  .hero { padding: 110px 0 30px; }
  .container { padding: 0 20px; }
  .section__head { margin-bottom: 44px; }
  .trust { margin-top: 70px; padding: 22px 0; gap: 16px; }
  .trust__logo-img { height: 26px; }
  .trust__logo-img--invert { height: 20px; }
  .trust__logos { gap: 14px; row-gap: 12px; }
  .trust__sep { display: none; }
  .case__brand { font-size: 42px; }
  .nav-wrap { padding: 12px 14px 0; }
  .nav { padding: 5px 6px 5px 16px; gap: 8px; }
  .nav__brand { font-size: 17px; padding-right: 12px; }

  /* Hero stats — компактнее метки + меньше шрифт */
  .hero__meta { gap: 0; }
  .meta-col { padding-right: 12px; }
  .meta-col:not(:first-child) { padding-left: 12px; }
  .meta-col__label { font-size: 9.5px; letter-spacing: 0.16em; line-height: 1.25; }
  .meta-col__value { font-size: 22px; }

  /* Hero location — без переносов в неудобных местах */
  .hero__location { font-size: 13.5px; }

  /* Final CTA — кнопки полной шириной */
  .final__buttons { flex-direction: column; align-items: stretch; gap: 10px; }
  .final .btn--lg { justify-content: center; }
}

@media (max-width: 420px) {
  /* На совсем узких — stats вертикально */
  .hero__meta { flex-direction: column; gap: 18px; }
  .meta-col {
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--hair-dark);
    padding-bottom: 14px;
  }
  .meta-col:not(:first-child) { padding-left: 0; }
  .meta-col:last-child { border-bottom: 0; padding-bottom: 0; }
  .meta-col__label { font-size: 10.5px; letter-spacing: 0.22em; }
}
