/* =========================================================
   MARIA BUTNIK — Editorial Founder Website
   Premium, cinematic, magazine-grade
========================================================= */

:root {
  --bg-dark: #0a0a0a;
  --bg-dark-2: #111111;
  --bg-cream: #f1ede3;
  --bg-cream-2: #e9e3d4;
  --bg-accent: #1a1814;

  --ink: #efe9da;
  --ink-muted: rgba(239, 233, 218, 0.62);
  --ink-faint: rgba(239, 233, 218, 0.28);
  --line-dark: rgba(239, 233, 218, 0.14);

  --ink-dark: #161513;
  --ink-dark-muted: rgba(22, 21, 19, 0.62);
  --ink-dark-faint: rgba(22, 21, 19, 0.18);
  --line-light: rgba(22, 21, 19, 0.14);

  --accent: #c9a36b;
  --accent-2: #d9b988;
  --accent-deep: #8a6b3b;

  --display: "Montserrat", "Arial Black", system-ui, sans-serif;
  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Montserrat", "Inter", sans-serif;

  --easing: cubic-bezier(0.65, 0, 0.05, 1);
  --easing-soft: cubic-bezier(0.25, 1, 0.3, 1);

  --container: 1320px;
  --gutter: clamp(22px, 4vw, 56px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html, body {
  background: var(--bg-dark);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

body.lock { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
em { font-style: italic; }

::selection { background: var(--accent); color: #0a0a0a; }

/* Image fallback (when image is missing) */
.img-fallback {
  visibility: hidden;
  position: relative;
}
.img-fallback::after {
  content: "";
  visibility: visible;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(201,163,107,0.08) 0%, rgba(255,255,255,0.04) 50%, rgba(201,163,107,0.06) 100%),
    repeating-linear-gradient(45deg, rgba(239,233,218,0.04) 0 8px, transparent 8px 16px),
    #1c1a17;
}

/* =========================================================
   SHARED
========================================================= */

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

.micro {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-muted);
}

/* =========================================================
   SCROLL PROGRESS
========================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}
.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  transition: width 0.08s linear;
}

/* =========================================================
   PRELOADER
========================================================= */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s var(--easing), visibility 1s var(--easing);
}
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}
.preloader__inner {
  width: min(680px, 88vw);
  text-align: center;
}
.preloader__name {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(26px, 5.5vw, 60px);
  letter-spacing: 0.06em;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.05em;
  margin-bottom: 28px;
}
.preloader__name span {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: preLetter 0.8s var(--easing) forwards;
}
.preloader__name span:nth-child(1) { animation-delay: 0.05s; }
.preloader__name span:nth-child(2) { animation-delay: 0.1s; }
.preloader__name span:nth-child(3) { animation-delay: 0.15s; }
.preloader__name span:nth-child(4) { animation-delay: 0.2s; }
.preloader__name span:nth-child(5) { animation-delay: 0.25s; }
.preloader__name span:nth-child(7) { animation-delay: 0.35s; }
.preloader__name span:nth-child(8) { animation-delay: 0.4s; }
.preloader__name span:nth-child(9) { animation-delay: 0.45s; }
.preloader__name span:nth-child(10) { animation-delay: 0.5s; }
.preloader__name span:nth-child(11) { animation-delay: 0.55s; }
.preloader__name span:nth-child(12) { animation-delay: 0.6s; }
.preloader__sp { width: 0.45em; }
@keyframes preLetter {
  to { opacity: 1; transform: translateY(0); }
}
.preloader__line {
  width: 220px;
  height: 1px;
  margin: 0 auto 20px;
  background: var(--line-dark);
  overflow: hidden;
  position: relative;
}
.preloader__line span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  animation: preLine 1.4s 0.4s var(--easing) forwards;
}
@keyframes preLine { to { width: 100%; } }
.preloader__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-muted);
  opacity: 0;
  animation: preFade 0.8s 1s forwards;
}
@keyframes preFade { to { opacity: 1; } }

/* =========================================================
   NAVIGATION
========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.5s var(--easing), background 0.5s var(--easing), border-color 0.5s var(--easing);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 14px 0;
  background: rgba(10, 10, 10, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line-dark);
}
.nav.is-light {
  background: rgba(241, 237, 227, 0.78);
  border-bottom-color: var(--line-light);
}
.nav.is-light .nav__brand,
.nav.is-light .nav__menu a,
.nav.is-light .nav__cta,
.nav.is-light .nav__brand-mark { color: var(--ink-dark); }
.nav.is-light .nav__cta { border-color: var(--line-light); }
.nav.is-light .nav__cta:hover { background: var(--ink-dark); color: var(--bg-cream); }
.nav.is-light .nav__burger span { background: var(--ink-dark); }

.nav__inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
}
.nav__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  transition: transform 0.5s var(--easing);
}
.nav__brand:hover .nav__brand-mark { transform: rotate(360deg); }
.nav__brand-text { font-size: 16px; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__menu a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  opacity: 0.72;
  transition: opacity 0.3s var(--easing);
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--easing);
}
.nav__menu a:hover { opacity: 1; }
.nav__menu a:hover::after { transform: scaleX(1); }
.nav__menu a.is-active { opacity: 1; }
.nav__menu a.is-active::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.4s var(--easing);
}
.nav__cta:hover {
  background: var(--ink);
  color: var(--bg-dark);
  border-color: var(--ink);
}
.nav__cta:hover svg path { stroke: currentColor; }

.nav__burger {
  display: none;
  width: 38px; height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}
.nav__burger span {
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--easing), opacity 0.4s var(--easing);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 90;
  padding: 110px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.7s var(--easing);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-menu a {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.mobile-menu__foot { padding-top: 40px; border-top: 1px solid var(--line-dark); }

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--bg-dark);
  color: var(--ink);
  overflow: hidden;
  padding: 120px 0 60px;
  display: flex;
  flex-direction: column;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.07 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}
.hero__glow {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 60vw;
  height: 60vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(201, 163, 107, 0.10) 0%, transparent 65%);
  filter: blur(40px);
}

.hero__top, .hero__bottom, .hero__grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: clamp(40px, 8vh, 80px);
  opacity: 0;
  animation: fadeDown 1s 1.6s var(--easing) forwards;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__top-l { display: inline-flex; align-items: center; gap: 10px; }
.hero__top-c { text-align: center; color: var(--accent); }
.hero__top-r { text-align: right; }
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,163,107,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(201,163,107,0.18); }
  50% { box-shadow: 0 0 0 7px rgba(201,163,107,0); }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 800px) 1fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: stretch;
  flex: 1;
}

.hero__side {
  display: flex;
  flex-direction: column;
}
.hero__side--l { justify-content: flex-end; }
.hero__side--r { justify-content: flex-start; align-items: flex-end; }

.hero__chip {
  display: inline-block;
  align-self: flex-start;
  padding: 9px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255,255,255,0.02);
  margin-bottom: 14px;
}

.hero__center { text-align: center; }

.hero__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 7.8vw, 130px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: clamp(24px, 4vh, 40px);
}
.hero__line {
  display: block;
  overflow: visible;
}
.hero__line--it { /* same as hero__line */ }
.hero__word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.2s var(--easing);
}
body.is-loaded .hero__word { transform: translateY(0); }
body.is-loaded .hero__line--it .hero__word { transition-delay: 0.15s; }
.hero__word--it { color: var(--ink); }

.hero__lede {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--ink-muted);
  font-weight: 400;
}

.hero__cta-row {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: clamp(28px, 4vh, 40px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.45s var(--easing);
}
.btn--pill {
  padding: 16px 26px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.btn--pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.55s var(--easing);
  z-index: 0;
}
.btn--pill > * { position: relative; z-index: 1; transition: color 0.4s var(--easing); }
.btn--pill:hover::before { transform: translateY(0); }
.btn--pill:hover .btn__label,
.btn--pill:hover .btn__icon { color: var(--bg-dark); }
.btn--pill .btn__icon { display: inline-flex; transition: transform 0.4s var(--easing); }
.btn--pill[aria-expanded="true"] .btn__icon { transform: rotate(180deg); }

.btn--text {
  color: var(--ink-muted);
  padding: 6px 0;
  position: relative;
}
.btn--text::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.5s var(--easing);
}
.btn--text:hover { color: var(--ink); }
.btn--text:hover::after { transform: scaleX(1); }

.btn--outline {
  padding: 14px 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--bg-dark);
}

.btn--solid {
  padding: 18px 32px;
  background: var(--ink-dark);
  color: var(--bg-cream);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: flex-start;
}
.btn--solid:hover { background: var(--accent-deep); }

.btn--ghost-light {
  padding: 14px 22px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--ink);
}

/* Hero more (expandable) */
.hero__more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s var(--easing), margin-top 0.6s var(--easing), opacity 0.6s var(--easing);
  opacity: 0;
  margin-top: 0;
}
.hero__more.is-open {
  max-height: 700px;
  margin-top: 36px;
  opacity: 1;
}
.hero__more-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
  border-top: 1px solid var(--line-dark);
  padding-top: 28px;
}
.hero__more-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero__more-col p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Portrait */
.hero__portrait {
  width: clamp(160px, 18vw, 240px);
  margin-top: 12px;
}
.hero__portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #1c1a17;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
}
.hero__portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--easing);
}
.hero__portrait-frame:hover img { transform: scale(1.05); }
.hero__portrait-caption {
  position: absolute;
  left: 14px; bottom: 12px; right: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: var(--ink);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.hero__bottom {
  margin-top: clamp(40px, 6vh, 80px);
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  z-index: 2;
}

.hero__marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.hero__marquee-track {
  display: inline-flex;
  gap: 32px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
  animation: marquee 38s linear infinite;
}
.hero__marquee-track span:nth-child(even) { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent 0%, var(--ink-muted) 50%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(180deg, transparent, var(--accent));
  animation: scrollDown 2.4s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -20px; }
  100% { top: 100%; }
}

/* =========================================================
   SECTION COMMON
========================================================= */
.section {
  position: relative;
  padding: clamp(80px, 12vh, 160px) 0;
  overflow: hidden;
}
.section--dark { background: var(--bg-dark); color: var(--ink); }
.section--cream { background: var(--bg-cream); color: var(--ink-dark); }
.section--accent { background: var(--bg-cream-2); color: var(--ink-dark); }

.section__head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 16px 28px;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 40px;
  margin-bottom: clamp(48px, 8vh, 80px);
}
.section__head--light { border-bottom-color: var(--line-light); }

.section__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  font-weight: 500;
  color: var(--accent);
}
.section__num--accent { color: var(--accent-deep); }
.section__kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.55;
}
.section__title {
  grid-column: 1 / -1;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 5.5vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-top: 12px;
}
.section__title em {
  background: linear-gradient(180deg, currentColor 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 800;
  text-transform: none;
  font-family: var(--serif);
  font-size: 0.88em;
  letter-spacing: -0.02em;
}
.section__title--xl { font-size: clamp(38px, 7vw, 110px); }
.section__title--xxl { font-size: clamp(56px, 13vw, 200px); line-height: 0.88; }
.section__title--accent em { background: linear-gradient(180deg, var(--ink-dark), var(--accent-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   BIOGRAPHY
========================================================= */
.bio {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px) clamp(40px, 8vw, 120px);
  align-items: start;
}
.bio__lead p {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  font-weight: 400;
}
.bio__lead em {
  color: var(--accent);
  font-style: italic;
}
.bio__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
}
.bio__body strong { color: var(--ink); font-weight: 500; }

.bio__meta {
  grid-column: 1 / -1;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--line-dark);
}
.bio__meta li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--ink);
}

.bio__stats {
  margin-top: clamp(60px, 10vh, 100px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line-dark);
  padding-top: 60px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stat__num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 7vw, 110px);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, var(--ink) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  font-size: 14px;
  color: var(--ink-muted);
  max-width: 280px;
  line-height: 1.55;
}

/* =========================================================
   EVENTS
========================================================= */
.events {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}
.event {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.event:nth-child(1) { grid-column: span 7; }
.event:nth-child(2) { grid-column: span 5; padding-top: 60px; }
.event:nth-child(3) { grid-column: span 5; }
.event:nth-child(4) { grid-column: span 7; padding-top: 40px; }

.event__img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d8d2bf;
}
.event__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--easing);
}
.event:hover .event__img img { transform: scale(1.04); }
.event__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.event__date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dark-muted);
}
.event__title {
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.event p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-dark-muted);
  max-width: 520px;
}

/* =========================================================
   RECOGNITION
========================================================= */
.recognition__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.recognition__l { display: flex; flex-direction: column; gap: 14px; }
.recognition__l .section__num { margin-bottom: 8px; }
.recognition__l .section__title { margin-top: 16px; }

.recognition__r {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}
.recognition__quote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.005em;
  position: relative;
  color: var(--ink);
}
.recognition__mark {
  font-size: 2em;
  color: var(--accent);
  line-height: 1;
  margin-right: 6px;
  vertical-align: -0.1em;
}
.recognition__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}
.recognition__list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 16px;
  transition: padding-left 0.5s var(--easing), color 0.4s var(--easing);
}
.recognition__list li:last-child { border-bottom: 1px solid var(--line-dark); }
.recognition__list li:hover { padding-left: 12px; color: var(--accent); }
.recognition__list span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
}

/* =========================================================
   PRESS
========================================================= */
.press {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.press__card {
  background: var(--bg-cream);
  padding: clamp(28px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  transition: background 0.5s var(--easing);
}
.press__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-dark);
  transform: translateY(100%);
  transition: transform 0.7s var(--easing);
  z-index: 0;
}
.press__card > * { position: relative; z-index: 1; transition: color 0.5s var(--easing); }
.press__card:hover::before { transform: translateY(0); }
.press__card:hover,
.press__card:hover .press__title,
.press__card:hover .press__excerpt,
.press__card:hover .press__source,
.press__card:hover .press__date,
.press__card:hover .press__link { color: var(--bg-cream); }
.press__card:hover .press__source { color: var(--accent-2); }

.press__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.press__source { color: var(--accent-deep); font-weight: 600; }
.press__date { color: var(--ink-dark-muted); }
.press__title {
  font-family: var(--display);
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink-dark);
}
.press__excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-dark-muted);
  flex: 1;
}
.press__link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

/* =========================================================
   TESTIMONIALS
========================================================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.t-card {
  background: var(--bg-dark);
  padding: clamp(32px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 460px;
  position: relative;
  transition: background 0.6s var(--easing);
}
.t-card:hover { background: var(--bg-dark-2); }
.t-card__head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-dark);
}
.t-card__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  padding-top: 4px;
}
.t-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.t-card__client {
  font-family: var(--display);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.t-card__topic {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.t-card__quote {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--ink);
  font-weight: 400;
}
.t-card__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

/* =========================================================
   PROJECTS
========================================================= */
.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.proj {
  background: var(--bg-cream);
  padding: clamp(36px, 4.5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  transition: background 0.6s var(--easing);
}
.proj::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--easing);
}
.proj:hover { background: var(--bg-cream-2); }
.proj:hover::after { transform: scaleX(1); }

.proj__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--accent-deep);
  font-weight: 600;
}
.proj__title {
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 48px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--ink-dark);
  margin-top: 8px;
}
.proj__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-dark-muted);
  max-width: 460px;
  flex: 1;
  margin-top: 6px;
}
.proj__tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: var(--ink-dark);
}

/* =========================================================
   CHANNELS
========================================================= */
.channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.ch-card {
  background: var(--bg-dark);
  padding: clamp(32px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  transition: background 0.5s var(--easing);
}
.ch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(201,163,107,0.18), transparent 50%);
  opacity: 0;
  transition: opacity 0.6s var(--easing);
}
.ch-card > * { position: relative; z-index: 1; }
.ch-card:hover { background: var(--bg-dark-2); }
.ch-card:hover::before { opacity: 1; }

.ch-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ch-card__num { color: var(--accent); }
.ch-card__type { color: var(--ink-muted); }
.ch-card__title {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 24px;
}
.ch-card__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-muted);
  flex: 1;
}
.ch-card__cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  transition: gap 0.4s var(--easing);
}
.ch-card:hover .ch-card__cta { gap: 16px; color: var(--accent-2); }

/* =========================================================
   CONSULTATION
========================================================= */
.consult {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
  color: var(--ink-dark);
}
.consult__l { display: flex; flex-direction: column; gap: 18px; }
.consult__l .section__num,
.consult__l .section__kicker { color: var(--accent-deep); opacity: 1; }
.consult__l .section__title { margin-top: 18px; color: var(--ink-dark); }
.consult__lede {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-dark-muted);
  max-width: 480px;
}
.consult__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-top: 18px;
}
.consult__list li {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 500;
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.005em;
}
.consult__list li::before {
  content: "—";
  color: var(--accent-deep);
}
.consult__list li:last-child { border-bottom: 1px solid var(--line-light); }

/* Form */
.consult__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 20px;
  padding: clamp(32px, 3.5vw, 48px);
  background: var(--bg-cream);
  border-radius: 4px;
  border: 1px solid var(--line-light);
}
.field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dark-muted);
  font-weight: 500;
}
.field input {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-dark);
  outline: none;
  transition: border-color 0.4s var(--easing);
}
.field input:focus { border-bottom-color: var(--ink-dark); }
.field input::placeholder { color: var(--ink-dark-faint); }

.consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  padding-top: 8px;
}
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent__box {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  border: 1px solid var(--ink-dark);
  border-radius: 2px;
  position: relative;
  transition: background 0.3s var(--easing);
  margin-top: 2px;
}
.consent__box::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--ink-dark);
  transform: scale(0);
  transition: transform 0.3s var(--easing);
}
.consent input:checked ~ .consent__box::after { transform: scale(1); }
.consent__text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-dark-muted);
}

.consult__form .btn--solid { grid-column: 1 / -1; justify-self: start; }
.form-success {
  grid-column: 1 / -1;
  padding: 16px 20px;
  background: var(--ink-dark);
  color: var(--bg-cream);
  border-radius: 2px;
  font-size: 14px;
  display: none;
}
.form-success.is-visible { display: block; animation: fadeUp 0.6s var(--easing); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   DOCUMENTS
========================================================= */
.docs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.doc {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(32px, 4vw, 56px);
  background: var(--bg-cream);
  border: 1px solid var(--line-light);
  position: relative;
  overflow: hidden;
  transition: background 0.5s var(--easing), transform 0.5s var(--easing);
}
.doc:hover { background: var(--bg-cream-2); }
.doc__visual { aspect-ratio: 3 / 4; perspective: 800px; }
.doc__paper {
  width: 100%;
  height: 100%;
  background: #fefcf6;
  border: 1px solid var(--line-light);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 30px 60px -30px rgba(22,21,19,0.3), 0 10px 20px -10px rgba(22,21,19,0.18);
  position: relative;
  transform: rotateY(-6deg) rotateX(2deg);
  transform-origin: center;
  transition: transform 0.7s var(--easing);
}
.doc:hover .doc__paper { transform: rotateY(0) rotateX(0); }
.doc__paper-line {
  display: block;
  height: 6px;
  background: var(--line-light);
  border-radius: 1px;
}
.doc__paper-line.short { width: 60%; }
.doc__paper-seal {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 60px; height: 60px;
  border: 1.5px solid var(--accent-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  font-weight: 700;
  transform: rotate(-12deg);
}
.doc__body { display: flex; flex-direction: column; gap: 12px; }
.doc__type {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.doc__title {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: var(--ink-dark);
}
.doc__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-dark-muted);
  max-width: 540px;
}
.doc__cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  transition: gap 0.4s var(--easing);
}
.doc:hover .doc__cta { gap: 16px; }

/* =========================================================
   CONTACTS / FOOTER
========================================================= */
.contacts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 50px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.contacts__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contacts__col p,
.contacts__col a {
  font-family: var(--display);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.3;
}
.contacts__col a {
  position: relative;
  display: inline-block;
  width: max-content;
}
.contacts__col a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--easing);
}
.contacts__col a:hover::after { transform: scaleX(1); }
.contacts__links { display: flex; flex-direction: column; gap: 6px; }
.contacts__links a { font-size: 17px; }

.footer {
  margin-top: clamp(50px, 8vh, 100px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer__name {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(36px, 7.8vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(239,233,218,0.15) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  display: flex;
  gap: 0.25em;
  justify-content: center;
}
.footer__row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* =========================================================
   TOAST
========================================================= */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 24px);
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--ink-dark);
  color: var(--bg-cream);
  border-radius: 999px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.6s var(--easing), opacity 0.4s var(--easing), visibility 0.4s var(--easing);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.5);
  max-width: 92vw;
}
.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.toast__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink-dark);
  font-size: 12px;
  font-weight: 700;
}

/* =========================================================
   REVEAL ANIMATIONS
========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--easing), transform 1s var(--easing);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-text] {
  display: inline-block;
  opacity: 0;
  transform: translateY(40%);
  transition: opacity 1.1s var(--easing), transform 1.1s var(--easing);
}
[data-reveal-text].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__side--l, .hero__side--r { display: none; }
  .hero__center { padding: 20px 0; }
  .nav__menu { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__cta { display: none; }
  .recognition__container { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; }
  .bio__meta { grid-template-columns: repeat(2, 1fr); }
  .bio__stats { grid-template-columns: 1fr; gap: 40px; }
  .events { grid-template-columns: 1fr; gap: 40px; }
  .event:nth-child(n) { grid-column: 1 / -1; padding-top: 0; }
  .press, .testimonials, .projects { grid-template-columns: 1fr; }
  .channels { grid-template-columns: 1fr; }
  .consult { grid-template-columns: 1fr; }
  .consult__form { grid-template-columns: 1fr; }
  .contacts__grid { grid-template-columns: repeat(2, 1fr); }
  .doc { grid-template-columns: 1fr; }
  .doc__visual { max-width: 280px; }
}

@media (max-width: 640px) {
  .hero__top { grid-template-columns: 1fr; text-align: center; gap: 4px; }
  .hero__top-r, .hero__top-l { text-align: center; justify-content: center; }
  .hero__top-l { display: none; }
  .hero__more-inner { grid-template-columns: 1fr; gap: 22px; }
  .section { padding: 80px 0; }
  .section__head { grid-template-columns: auto 1fr; padding-bottom: 28px; }
  .contacts__grid { grid-template-columns: 1fr; }
  .nav__brand-text { display: none; }
  .footer__name { font-size: clamp(40px, 16.5vw, 68px); flex-direction: column; gap: 0; white-space: nowrap; overflow: visible; }
  .hero__scroll { display: none; }
}

/* =========================================================
   TESTIMONIAL LOGOS
========================================================= */
.t-card__logo-wrap {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 4px;
}
.t-card__logo {
  height: 36px;
  display: flex;
  align-items: center;
}
.t-card__logo svg {
  height: 32px;
  width: auto;
  max-width: 160px;
}
.t-card__logo-img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  border-radius: 4px;
}

/* Nav brand */
.nav__brand { font-family: var(--display); font-weight: 700; }

/* Consult list items */
.consult__list li {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
