/* ============================================
   Hex Media & PR — Global stylesheet
   ============================================ */

:root {
  --ink: #111213;
  --ink-soft: #3A3D40;
  --ink-mute: #8E8F92;
  --line: #E4E2DC;
  --line-soft: #EFEDE7;
  --paper: #FFFFFF;
  --paper-warm: #F2F0E9;
  --paper-rich: #ECE4D0;
  --accent: #C8362A;
  --accent-deep: #94251D;
  --accent-soft: #F2D5D0;
  --font: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --container: 1280px;
  --gutter: 40px;
  --section-y: 130px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  font-variation-settings: "opsz" 14, "wght" 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }

h1, h2, h3, h4 {
  font-family: var(--font);
  margin: 0;
  letter-spacing: -0.022em;
  line-height: 1;
  font-weight: 500;
}
h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  font-variation-settings: "opsz" 60, "wght" 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
h3 {
  font-size: clamp(22px, 1.9vw, 26px);
  font-variation-settings: "opsz" 32, "wght" 500;
  line-height: 1.15;
}
p { margin: 0 0 1em; }

.label {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-variation-settings: "opsz" 12, "wght" 500;
}
.label.accent { color: var(--accent); }
.label.ink { color: var(--ink); }

.lede {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 58ch;
  font-weight: 400;
}

/* ============================================
   HEADER
   ============================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
header.scrolled {
  padding: 12px var(--gutter);
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--line);
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 18, "wght" 600;
}
.logo img { height: 32px; width: auto; }

nav { display: flex; align-items: center; gap: 2px; }
nav .nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s var(--ease);
  position: relative;
}
nav .nav-link:hover { color: var(--ink); }
nav .nav-link.active { color: var(--accent); }
nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 1px;
  height: 1px;
  background: var(--accent);
}

.header-controls { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; gap: 1px; }
.lang-switch button {
  background: none; border: none;
  padding: 6px 8px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  transition: color .2s var(--ease);
}
.lang-switch button.active { color: var(--ink); }
.lang-switch .sep { color: var(--line); padding: 0 2px; }

.mobile-menu-toggle {
  display: none; background: none; border: none;
  width: 36px; height: 36px; padding: 0;
  position: relative; margin-left: 6px;
}
.mobile-menu-toggle span {
  position: absolute; left: 7px; right: 7px;
  height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s var(--ease);
}
.mobile-menu-toggle span:nth-child(1) { top: 12px; }
.mobile-menu-toggle span:nth-child(2) { top: 18px; }
.mobile-menu-toggle span:nth-child(3) { top: 24px; }
.mobile-menu-toggle.active span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

/* ============================================
   BUTTONS & LINKS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: all .2s var(--ease);
  cursor: pointer; text-decoration: none;
  line-height: 1; font-family: var(--font);
}
.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn .arrow { display: inline-block; transition: transform .25s var(--ease); font-size: 16px; }
.btn:hover .arrow { transform: translateX(3px); }

/* Editorial link — underlined inline CTA (replaces buttons in hero) */
.link-cta {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 1px solid var(--ink);
  transition: color .2s var(--ease), border-color .2s var(--ease), gap .2s var(--ease);
  font-variation-settings: "opsz" 18, "wght" 500;
}
.link-cta .arrow { transition: transform .25s var(--ease); display: inline-block; }
.link-cta:hover { color: var(--accent); border-color: var(--accent); gap: 14px; }

/* ============================================
   SECTIONS — shared
   ============================================ */
section { padding: var(--section-y) var(--gutter); position: relative; }
.container { max-width: var(--container); margin: 0 auto; }

.section-header {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}
.section-header .col-label .label { display: block; padding-top: 4px; }
.section-header h2 { max-width: 22ch; }
.section-header .lede { margin-top: 28px; }

/* ============================================
   PAGE HEADER — for inner pages
   ============================================ */
.page-header {
  padding: 150px var(--gutter) 70px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-header .container { position: relative; }
.page-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}
.page-header-meta .crumb {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.page-header-meta .crumb a { color: var(--ink-mute); transition: color .2s var(--ease); }
.page-header-meta .crumb a:hover { color: var(--ink); }
.page-header-meta .crumb .sep { padding: 0 10px; color: var(--line); }
.page-header-meta .crumb .current { color: var(--ink); }
.page-header-meta .page-index {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.page-header-meta .page-index .red { color: var(--accent); }

.page-title {
  padding-top: 48px;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: end;
}
.page-title h1 {
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.032em;
  font-weight: 500;
  font-variation-settings: "opsz" 88, "wght" 500;
  max-width: 14ch;
  margin: 0;
}
.page-title h1 .l2 {
  display: block;
  font-weight: 300;
  font-variation-settings: "opsz" 88, "wght" 300;
  color: var(--ink-soft);
}
.page-title h1 .dot { color: var(--accent); }
.page-title .page-lede {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
  padding-bottom: 8px;
}

/* ============================================
   HERO — home only
   ============================================ */
.hero {
  padding: 150px var(--gutter) 90px;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: var(--paper);
}
.hero-top-rule {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 56px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  gap: 30px;
  flex-wrap: wrap;
}
.hero-top-rule .label { color: var(--ink); }

.hero-main {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 70px;
  align-items: end;
}

.hero-h1 {
  font-size: clamp(46px, 7vw, 108px);
  line-height: 0.97;
  letter-spacing: -0.034em;
  font-weight: 500;
  font-variation-settings: "opsz" 96, "wght" 500;
  margin: 0 0 36px;
  max-width: 18ch;
}
.hero-h1 .l1 {
  display: block;
  font-weight: 500;
  font-variation-settings: "opsz" 96, "wght" 500;
}
.hero-h1 .l2 {
  display: block;
  font-weight: 300;
  font-variation-settings: "opsz" 96, "wght" 300;
  color: var(--ink-soft);
}
.hero-h1 .dot { color: var(--accent); }

.hero-sub {
  max-width: 52ch;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 40px;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.hero-cta-row .quick-nav {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-mute);
  align-items: center;
}
.hero-cta-row .quick-nav .sep { color: var(--line); }
.hero-cta-row .quick-nav a { color: var(--ink-soft); transition: color .2s var(--ease); }
.hero-cta-row .quick-nav a:hover { color: var(--accent); }

.hero-ledger {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-left: 36px;
  border-left: 1px solid var(--line);
  align-self: end;
}
.ledger-item .label { display: block; margin-bottom: 6px; }
.ledger-item .v {
  font-size: 34px;
  font-weight: 400;
  font-variation-settings: "opsz" 48, "wght" 400;
  letter-spacing: -0.024em;
  line-height: 1;
  color: var(--ink);
}
.ledger-item .v.small {
  font-size: 22px;
  font-variation-settings: "opsz" 28, "wght" 500;
  font-weight: 500;
}
.ledger-item .v .red { color: var(--accent); }

.hero-bottom-rule {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: var(--container);
  margin: 70px auto 0;
  width: 100%;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-bottom-rule .label, .hero-bottom-rule span { font-size: 12px; }

/* ============================================
   HOME OVERVIEW — 4 disciplines on landing
   ============================================ */
.overview { background: var(--paper-warm); }
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.overview-cell {
  padding: 48px 32px 44px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: background .25s var(--ease);
  position: relative;
}
/* bottom row (last 3 of 6) loses bottom border */
.overview-cell:nth-last-child(-n+3) { border-bottom: none; }
.overview-cell:hover { background: rgba(255, 255, 255, 0.5); }

.overview-num {
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  font-weight: 500;
}
.overview-cell h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 500;
  font-variation-settings: "opsz" 36, "wght" 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.overview-cell p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 28px;
  flex: 1;
}
.overview-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s var(--ease), color .2s var(--ease), gap .2s var(--ease);
}
.overview-link .arrow { transition: transform .25s var(--ease); }
.overview-cell:hover .overview-link { color: var(--accent); border-color: var(--accent); gap: 12px; }

/* ============================================
   SERVICES — editorial list with big red numerals
   ============================================ */
.services { background: var(--paper); }

.service-row {
  display: grid;
  grid-template-columns: 140px 1fr 1.4fr;
  gap: 50px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background .25s var(--ease);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }

.service-num {
  font-size: clamp(70px, 7.6vw, 118px);
  font-weight: 300;
  font-variation-settings: "opsz" 96, "wght" 300;
  color: var(--accent);
  letter-spacing: -0.045em;
  line-height: 0.9;
  padding-top: 6px;
}
.service-row h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  font-variation-settings: "opsz" 40, "wght" 500;
  letter-spacing: -0.028em;
  line-height: 1.05;
  padding-top: 14px;
}
.service-row .body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 14px;
}
.service-row .body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
}
.service-row .tags {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px; color: var(--ink-mute);
}
.service-row .tags li { position: relative; }
.service-row .tags li + li::before {
  content: "·"; position: absolute; left: -11px; color: var(--line);
}

/* ============================================
   AUDIENCE — who we work with
   ============================================ */
.audience { background: var(--paper-warm); }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.audience-cell {
  padding: 36px 32px 36px 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding-left: 28px;
}
.audience-cell:nth-child(3n) { border-right: none; padding-right: 0; }
.audience-cell:nth-child(1),
.audience-cell:nth-child(2),
.audience-cell:nth-child(3) { border-top: none; }
.audience-cell .a-num {
  font-size: 38px;
  color: var(--accent);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  margin-bottom: 24px;
  font-variation-settings: "opsz" 48, "wght" 300;
}
.audience-cell h4 {
  font-size: 22px;
  font-variation-settings: "opsz" 28, "wght" 500;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin: 0 0 10px;
}
.audience-cell p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* ============================================
   PRINCIPLES — red feature section
   ============================================ */
.principles {
  background: var(--accent);
  color: var(--paper);
  padding: 120px var(--gutter);
}
.principles .label { color: rgba(255, 255, 255, 0.7); }
.principles-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}
.principles-head h2 {
  color: var(--paper);
  font-weight: 400;
  font-variation-settings: "opsz" 72, "wght" 400;
  max-width: 20ch;
}
.principles-head .col-label .label { display: block; padding-top: 4px; }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.principle {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.principle .p-num {
  font-size: 44px;
  font-weight: 300;
  color: var(--paper);
  line-height: 1;
  font-variation-settings: "opsz" 60, "wght" 300;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
  display: block;
}
.principle h4 {
  font-size: 22px;
  color: var(--paper);
  font-weight: 500;
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.018em;
  font-variation-settings: "opsz" 28, "wght" 500;
}
.principle p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ============================================
   APPROACH — horizontal 4-column
   ============================================ */
.approach { background: var(--paper); }
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.approach-col {
  padding: 50px 32px 0 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.approach-col:last-child { border-right: none; padding-right: 0; }
.approach-col + .approach-col { padding-left: 32px; }

.approach-col .step-num {
  font-size: 82px;
  font-weight: 300;
  color: var(--ink);
  line-height: 0.95;
  font-variation-settings: "opsz" 96, "wght" 300;
  letter-spacing: -0.045em;
  margin-bottom: 50px;
}
.approach-col .step-num .dot { color: var(--accent); }

.approach-col h4 {
  font-size: 22px;
  font-variation-settings: "opsz" 28, "wght" 500;
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.approach-col p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

/* ============================================
   ABOUT (founder)
   ============================================ */
.about { background: var(--paper-rich); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.founder-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--ink);
  background-image: url('assets/filip-tzanov.jpg?v=20260519');
  background-size: cover;
  background-position: center top;
  position: relative;
}
.founder-caption {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(17, 18, 19, 0.18);
}
.founder-caption .name {
  font-size: 18px;
  font-weight: 500;
  font-variation-settings: "opsz" 18, "wght" 500;
  letter-spacing: -0.012em;
}
.founder-caption .role {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.about-text { display: flex; flex-direction: column; justify-content: center; }
.about-text p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 20px;
  max-width: 56ch;
}
.about-text p:last-child { margin-bottom: 0; }
.about-pullquote {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  color: var(--ink);
  font-variation-settings: "opsz" 36, "wght" 400;
  letter-spacing: -0.022em;
  line-height: 1.18;
  max-width: 22ch;
  margin: 0 0 38px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(17, 18, 19, 0.18);
}
.about-pullquote .red { color: var(--accent); }

/* ============================================
   MEDIA — 2x2 grid
   ============================================ */
.media-eco { background: var(--paper); }
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.media-card {
  background: var(--paper);
  padding: 44px 44px 36px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: background .25s var(--ease);
  position: relative;
}
.media-card:hover { background: var(--paper-warm); }
.media-card:hover .media-visit .arrow { transform: translate(2px, -2px); }
.media-card:hover .media-name { color: var(--accent); }

.media-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 50px;
}
.media-card-top .media-type {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.media-card-top .media-since {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}
.media-card .media-name {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 500;
  font-variation-settings: "opsz" 56, "wght" 500;
  letter-spacing: -0.03em;
  line-height: 1;
  transition: color .25s var(--ease);
  margin-bottom: 16px;
}
.media-card .media-name .tld {
  color: var(--ink-mute);
  font-weight: 400;
}
.media-card .media-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 32px;
  flex: 1;
  max-width: 38ch;
}
.media-card .media-visit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  align-self: flex-start;
}
.media-card .media-visit .arrow {
  display: inline-block;
  transition: transform .25s var(--ease);
}
.media-card[data-color="eco"]::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: #5C7A4F;
}
.media-card[data-color="med"]::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: #2C4A6E;
}
.media-card[data-color="road"]::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: #B8842C;
}
.media-card[data-color="efir"]::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
}

/* Detailed media block on media.html */
.media-detail {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.media-detail:last-of-type { border-bottom: 1px solid var(--line); }
.media-detail .m-index {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding-top: 8px;
}
.media-detail .m-index .red { color: var(--accent); }
.media-detail .m-body { display: flex; flex-direction: column; gap: 18px; }
.media-detail .m-name {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  font-variation-settings: "opsz" 64, "wght" 500;
  letter-spacing: -0.032em;
  line-height: 1;
  margin: 0;
}
.media-detail .m-name .tld { color: var(--ink-mute); font-weight: 400; }
.media-detail .m-topic {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin: -4px 0 8px;
}
.media-detail .m-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0;
}
.media-detail .m-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 10px;
  align-self: flex-start;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease), gap .2s var(--ease);
}
.media-detail .m-cta:hover { color: var(--accent); border-color: var(--accent); gap: 14px; }
.media-detail .m-cta .arrow { transition: transform .25s var(--ease); display: inline-block; }

/* ============================================
   PROJECTS & PARTNERS — placeholder page
   ============================================ */
.projects-section { background: var(--paper); }
.partners-section { background: var(--paper-warm); }

.placeholder-block {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 90px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--paper);
}
.placeholder-block .ph-mark {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.placeholder-block h3 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  font-variation-settings: "opsz" 48, "wght" 500;
  letter-spacing: -0.028em;
  line-height: 1.05;
  max-width: 24ch;
  margin: 0;
}
.placeholder-block p {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0;
  line-height: 1.55;
}

/* Featured project / partner cards — for when content is added */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.project-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.project-card:hover { border-color: var(--ink); }
.project-card .pc-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.project-card h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.022em;
  font-variation-settings: "opsz" 32, "wght" 500;
  margin: 0;
}
.project-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.partner-cell {
  background: var(--paper-warm);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 160px;
  transition: background .25s var(--ease);
}
.partner-cell:hover { background: var(--paper); }
.partner-cell .partner-name {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.012em;
  margin: 0 0 6px;
}
.partner-cell .partner-role {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--paper-warm); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}
.contact-info h2 { margin-bottom: 28px; max-width: 18ch; }
.contact-info .lede { margin-bottom: 40px; }
.contact-channels {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.contact-channels li {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 30px;
  flex-wrap: wrap;
}
.contact-channels li:last-child { border-bottom: 1px solid var(--line); }
.contact-channels .label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-channels .value {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  font-variation-settings: "opsz" 18, "wght" 500;
  letter-spacing: -0.014em;
}
a.value:hover { color: var(--accent); }

.contact-form {
  background: var(--paper);
  padding: 42px 38px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s var(--ease);
  width: 100%;
  border-radius: 3px;
  font-weight: 400;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--ink);
}
.form-group textarea { min-height: 130px; resize: vertical; line-height: 1.5; }

.form-submit {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between;
  align-items: center; gap: 20px;
  margin-top: 8px; flex-wrap: wrap;
}
.form-submit small {
  font-size: 12px; color: var(--ink-mute);
  line-height: 1.4; max-width: 36ch;
}
.form-status {
  grid-column: 1 / -1;
  padding: 14px 18px; font-size: 14px;
  display: none; margin-top: 8px; border-radius: 3px;
}
.form-status.success { background: #F1F6F1; color: #1B5E3F; border-left: 2px solid #1B5E3F; }
.form-status.error { background: rgba(200, 54, 42, 0.08); color: var(--accent-deep); border-left: 2px solid var(--accent); }

/* ============================================
   END-OF-PAGE CTA — used across inner pages
   ============================================ */
.cta-block {
  background: var(--ink);
  color: var(--paper);
  padding: 110px var(--gutter);
}
.cta-block .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}
.cta-block h2 {
  font-size: clamp(34px, 4vw, 52px);
  color: var(--paper);
  max-width: 18ch;
  font-weight: 400;
  font-variation-settings: "opsz" 56, "wght" 400;
  margin: 0;
}
.cta-block h2 .red { color: var(--accent); }
.cta-block p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 48ch;
  margin: 18px 0 0;
}
.cta-block .cta-side { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cta-block .cta-side .label { color: rgba(255, 255, 255, 0.55); }
.cta-block .cta-email {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 4px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
  font-variation-settings: "opsz" 28, "wght" 500;
  letter-spacing: -0.018em;
}
.cta-block .cta-email:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 90px var(--gutter) 32px;
}
.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  padding-bottom: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-statement {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 400;
  font-variation-settings: "opsz" 56, "wght" 400;
  color: var(--paper);
  letter-spacing: -0.024em;
  line-height: 1.05;
  max-width: 22ch;
  margin: 0 0 50px;
}
.footer-statement .red { color: var(--accent); }
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
}
.footer-col h5 {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--paper); }
.footer-col p {
  font-size: 14px; line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  margin: 0; max-width: 32ch;
}
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
}

/* ============================================
   LANG TOGGLE
   ============================================ */
.content-en, .content-bg { display: none; }
.content-en.active, .content-bg.active { display: block; }
nav .content-en, nav .content-bg,
.btn .content-en, .btn .content-bg,
.link-cta .content-en, .link-cta .content-bg,
label .content-en, label .content-bg,
.inline .content-en, .inline .content-bg,
h1 .content-en, h1 .content-bg,
h2 .content-en, h2 .content-bg,
h3 .content-en, h3 .content-bg,
h4 .content-en, h4 .content-bg,
h5 .content-en, h5 .content-bg,
span.content-en, span.content-bg,
strong .content-en, strong .content-bg,
em .content-en, em .content-bg { display: none; }
nav .content-en.active, nav .content-bg.active,
.btn .content-en.active, .btn .content-bg.active,
.link-cta .content-en.active, .link-cta .content-bg.active,
label .content-en.active, label .content-bg.active,
.inline .content-en.active, .inline .content-bg.active,
h1 .content-en.active, h1 .content-bg.active,
h2 .content-en.active, h2 .content-bg.active,
h3 .content-en.active, h3 .content-bg.active,
h4 .content-en.active, h4 .content-bg.active,
h5 .content-en.active, h5 .content-bg.active,
span.content-en.active, span.content-bg.active,
strong .content-en.active, strong .content-bg.active,
em .content-en.active, em .content-bg.active { display: inline; }

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root { --gutter: 28px; --section-y: 90px; }
  header { padding: 16px var(--gutter); }
  header.scrolled { padding: 12px var(--gutter); }

  .hero { padding: 130px var(--gutter) 70px; min-height: auto; }
  .hero-main { grid-template-columns: 1fr; gap: 50px; }
  .hero-ledger {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-left: 0;
    padding-top: 28px;
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .ledger-item .v { font-size: 26px; }
  .ledger-item .v.small { font-size: 18px; }

  .page-header { padding: 130px var(--gutter) 50px; }
  .page-title { grid-template-columns: 1fr; gap: 30px; padding-top: 32px; }

  .section-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
  .section-header h2 { max-width: none; }

  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-cell {
    padding: 38px 26px 34px !important;
    min-height: auto;
  }
  .overview-cell:nth-child(2n) { border-right: none; }
  .overview-cell:nth-last-child(-n+2) { border-bottom: none; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-cell:nth-child(3n) { border-right: 1px solid var(--line); padding-right: 28px; }
  .audience-cell:nth-child(2n) { border-right: none; padding-right: 0; }
  .footer-cols { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-cols .footer-col:nth-child(4) { grid-column: 1 / -1; }

  .service-row { grid-template-columns: 100px 1fr 1.3fr; gap: 28px; padding: 44px 0; }
  .service-num { font-size: clamp(56px, 9vw, 90px); }

  .principles-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
  .principles-grid { grid-template-columns: 1fr; gap: 32px; }

  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-col {
    padding: 40px 24px 32px 0 !important;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    min-height: auto;
  }
  .approach-col:nth-child(2n) { border-right: none; padding-right: 0 !important; }
  .approach-col:nth-child(2n+1) { padding-left: 0 !important; }
  .approach-col:nth-child(2n) { padding-left: 24px !important; }
  .approach-col:nth-last-child(-n+2) { border-bottom: none; }
  .approach-col .step-num { font-size: 60px; margin-bottom: 32px; }

  .media-grid { grid-template-columns: 1fr; }
  .media-card { min-height: 260px; padding: 36px 32px 30px; }
  .media-card-top { margin-bottom: 36px; }

  .media-detail { grid-template-columns: 1fr; gap: 20px; padding: 44px 0; }
  .project-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-block .container { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --section-y: 72px; }
  .hero { padding: 110px var(--gutter) 50px; }
  .hero-top-rule { padding-bottom: 32px; }
  .hero-h1 { font-size: clamp(38px, 11vw, 60px); margin-bottom: 28px; }
  .hero-cta-row { gap: 18px; }
  .hero-cta-row .quick-nav { width: 100%; }
  .hero-ledger { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .ledger-item .v { font-size: 24px; }
  .hero-bottom-rule { display: none; }

  .page-header { padding: 100px var(--gutter) 40px; }
  .page-header-meta { padding-bottom: 24px; }
  .page-title h1 { font-size: clamp(36px, 11vw, 56px); }
  .page-title { padding-top: 28px; gap: 22px; }

  nav {
    position: fixed;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    padding: 16px var(--gutter) 24px;
    gap: 0;
    transform: translateY(-130%);
    transition: transform .35s var(--ease);
    border-bottom: 1px solid var(--line);
    z-index: 99;
  }
  nav.active { transform: translateY(0); }
  nav .nav-link {
    padding: 14px 0;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
  }
  nav .nav-link:last-of-type { border-bottom: none; }
  nav .nav-link.active::after { display: none; }
  .mobile-menu-toggle { display: block; }

  .overview-grid { grid-template-columns: 1fr; border-top: 1px solid var(--ink); border-left: none; }
  .overview-cell {
    padding: 34px 0 30px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--line);
    min-height: auto;
  }
  .overview-cell:last-child { border-bottom: none; }

  .service-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 32px 0;
    position: relative;
  }
  .service-num {
    font-size: 64px;
    padding-top: 0;
  }
  .service-row h3 { padding-top: 0; font-size: 24px; }
  .service-row .body { padding-top: 0; }

  .audience-grid { grid-template-columns: 1fr; }
  .audience-cell { padding: 28px 0 !important; border-right: none !important; }

  .principles { padding: 80px var(--gutter); }
  .principles-grid { gap: 28px; }
  .principle { padding-top: 22px; }
  .principle .p-num { font-size: 36px; margin-bottom: 18px; }

  .approach-grid { grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
  .approach-col {
    padding: 32px 0 28px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--line);
    min-height: auto;
  }
  .approach-col:last-child { border-bottom: none; }
  .approach-col .step-num { font-size: 52px; margin-bottom: 22px; }

  .about-grid { gap: 36px; }
  .founder-image { aspect-ratio: 4 / 4.5; }
  .about-pullquote { font-size: 22px; margin-bottom: 28px; }

  .media-grid { grid-template-columns: 1fr; }
  .media-card { min-height: 220px; padding: 30px 24px 26px; }
  .media-card .media-name { font-size: 28px; }
  .media-card-top { margin-bottom: 28px; }

  .contact-form { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-submit { flex-direction: column; align-items: stretch; }
  .form-submit .btn { justify-content: center; }
  .contact-channels li { flex-direction: column; gap: 6px; }

  .partner-grid { grid-template-columns: 1fr; }
  .placeholder-block { padding: 60px 20px; }

  .cta-block { padding: 80px var(--gutter); }

  footer { padding: 60px var(--gutter) 30px; }
  .footer-top { padding-bottom: 40px; }
  .footer-statement { margin-bottom: 36px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-cols .footer-col:first-child { grid-column: 1 / -1; }
  .footer-cols .footer-col:nth-child(4) { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ============================================
   PROJECTS PAGE — production visuals, video, mentions, social
   ============================================ */

/* Featured production photos band */
.proj-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4px;
  margin-bottom: 18px;
}
.proj-shot {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: 300px;
}
.proj-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.proj-shot:hover img { transform: scale(1.04); }
.proj-shot .shot-cap {
  position: absolute;
  left: 0; bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(17,18,19,0.82), rgba(17,18,19,0));
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: 100%;
  font-weight: 500;
}
.proj-shot .shot-cap .red { color: var(--accent); }

/* Video / production grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-top: 4px;
}
.video-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16 / 9;
}
.video-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.9;
  transition: transform .6s var(--ease), opacity .3s var(--ease);
}
.video-card:hover img { transform: scale(1.05); opacity: 1; }
.video-card .v-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(to bottom, rgba(17,18,19,0.35), rgba(17,18,19,0) 40%, rgba(17,18,19,0.75));
}
.video-card .v-tag {
  align-self: flex-start;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; font-weight: 600;
  background: var(--accent);
  padding: 5px 10px;
}
.video-card .v-bottom { color: #fff; }
.video-card .v-title {
  font-size: 15px; font-weight: 500; line-height: 1.3;
  display: flex; align-items: center; gap: 9px;
}
.video-card .v-play {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,0.6);
  display: grid; place-items: center;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.video-card:hover .v-play { background: var(--accent); border-color: var(--accent); transform: translate(-50%,-50%) scale(1.08); }
.video-card .v-play svg { width: 16px; height: 16px; margin-left: 2px; fill: #fff; }

/* Media mention card */
.mention-grid { display: grid; grid-template-columns: 1fr; gap: 4px; }
.mention-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px;
  padding: 34px 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.mention-card:hover { border-color: var(--ink); background: #fff; }
.mention-card .m-left { display: flex; flex-direction: column; gap: 10px; }
.mention-card .m-source {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.mention-card .m-title {
  font-size: clamp(18px, 2vw, 23px); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.2; max-width: 30ch;
}
.mention-card .m-arrow {
  font-size: 26px; flex: none; color: var(--ink-soft);
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.mention-card:hover .m-arrow { transform: translate(4px,-4px); color: var(--accent); }

/* Social cards */
.social-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.social-card {
  display: flex; align-items: center; gap: 18px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none; color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.social-card:hover { border-color: var(--ink); background: #fff; }
.social-card .s-ico {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  background: var(--ink); border-radius: 10px;
}
.social-card .s-ico svg { width: 22px; height: 22px; fill: #fff; }
.social-card .s-text { display: flex; flex-direction: column; gap: 3px; }
.social-card .s-name { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.social-card .s-handle { font-size: 13px; color: var(--ink-soft); }

.proj-block-gap { margin-top: 64px; }

@media (max-width: 720px) {
  .proj-featured { grid-template-columns: 1fr; }
  .video-grid, .social-grid { grid-template-columns: 1fr; }
  .mention-card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 26px; }
  .proj-shot { min-height: 240px; }
}

/* ============================================
   PROJECTS — masonry columns, full images (no crop, no black bars)
   ============================================ */
.work-grid {
  column-count: 3;
  column-gap: 4px;
}
.work-tile {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 4px;
  break-inside: avoid;
  background: #15161a;
  overflow: hidden;
  text-decoration: none;
  line-height: 0;
}
.work-tile img {
  width: 100%;
  height: auto;          /* keep natural aspect — full image, no crop */
  display: block;
}
.work-tile .wt-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 16px 14px;
  background: linear-gradient(to top, rgba(10,10,12,0.9), rgba(10,10,12,0));
  color: #fff; font-size: 12px; letter-spacing: 0.03em; font-weight: 500;
  line-height: 1.3;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.work-tile:hover .wt-cap { opacity: 1; transform: translateY(0); }

/* video tiles */
.work-tile.is-video img { transition: opacity .3s var(--ease); }
.work-tile.is-video:hover img { opacity: 0.85; }
.work-tile .wt-play {
  position: absolute; top: 50%; left: 50%;
  width: 54px; height: 54px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,0.75);
  display: grid; place-items: center;
  transition: background .25s var(--ease), transform .25s var(--ease);
  z-index: 2;
}
.work-tile.is-video:hover .wt-play { background: var(--accent); border-color: var(--accent); transform: translate(-50%,-50%) scale(1.08); }
.work-tile .wt-play svg { width: 18px; height: 18px; margin-left: 3px; fill: #fff; }
.work-tile .wt-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 5px 9px; font-weight: 600;
  z-index: 3; line-height: 1.2;
}

/* Pirogov 2x2 quad — keeps a clean square block */
.work-tile.is-quad { line-height: 0; }
.quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  aspect-ratio: 1 / 1;
}
.quad .q-cell { position: relative; overflow: hidden; background: #15161a; }
.quad .q-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 1024px) { .work-grid { column-count: 2; } }
@media (max-width: 560px)  { .work-grid { column-count: 1; } }

/* To be continued — playful sign-off under the photo grid */
.grid-tbc {
  display: block;
  text-align: center;
  margin-top: 48px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.grid-tbc .red { color: var(--accent); }

/* ============================================
   PROJECTS — videos section (separate from photos)
   ============================================ */
.video-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.vid-tile {
  display: block;
  text-decoration: none;
  color: var(--ink);
}
.vid-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #15161a;
  overflow: hidden;
}
.vid-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s var(--ease), opacity .3s var(--ease);
}
.vid-tile:hover .vid-thumb img { transform: scale(1.05); opacity: 0.9; }
.vid-wide { grid-column: 1 / -1; }
.vid-play {
  position: absolute; top: 50%; left: 50%;
  width: 52px; height: 52px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,0.8);
  display: grid; place-items: center;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.vid-tile:hover .vid-play { background: var(--accent); border-color: var(--accent); transform: translate(-50%,-50%) scale(1.08); }
.vid-play svg { width: 18px; height: 18px; margin-left: 3px; fill: #fff; }
.vid-label {
  display: block;
  padding: 14px 2px 0;
  font-size: 14px; font-weight: 500;
  letter-spacing: -0.01em; line-height: 1.3;
}

@media (max-width: 560px)  { .video-row { grid-template-columns: 1fr; } }

/* ============================================
   POLISH PASS — July 2026
   ============================================ */

/* 1. Typography refinements */
h1, h2, h3, .page-title h1, .hero-h1 { text-wrap: balance; }
p, .lede, .hero-sub { text-wrap: pretty; }
.ledger-item .v, .page-header-meta .page-index { font-variant-numeric: tabular-nums; }

/* 2. Keyboard focus — visible, on-brand */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 3. Nav links — underline grows from left on hover */
nav .nav-link::before {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 1px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
nav .nav-link:hover::before { transform: scaleX(1); }
nav .nav-link.active::before { display: none; }

/* 4. Work-grid photos — muted at rest, alive on hover */
.work-tile img {
  filter: saturate(0.82);
  transition: filter .4s var(--ease), transform .5s var(--ease);
}
.work-tile:hover img {
  filter: saturate(1);
  transform: scale(1.025);
}
.work-tile.is-quad:hover img { transform: none; } /* quad cells stay put */
.quad .q-cell img {
  filter: saturate(0.82);
  transition: filter .4s var(--ease);
}
.work-tile.is-quad:hover .q-cell img { filter: saturate(1); }

/* 5. Staggered reveal for grid children */
.reveal.visible .overview-cell,
.reveal.visible .vid-tile {
  animation: rise .6s var(--ease) backwards;
}
.reveal.visible .overview-cell:nth-child(2), .reveal.visible .vid-tile:nth-child(2) { animation-delay: .07s; }
.reveal.visible .overview-cell:nth-child(3), .reveal.visible .vid-tile:nth-child(3) { animation-delay: .14s; }
.reveal.visible .overview-cell:nth-child(4), .reveal.visible .vid-tile:nth-child(4) { animation-delay: .21s; }
.reveal.visible .overview-cell:nth-child(5), .reveal.visible .vid-tile:nth-child(5) { animation-delay: .28s; }
.reveal.visible .overview-cell:nth-child(6), .reveal.visible .vid-tile:nth-child(6) { animation-delay: .35s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.visible .overview-cell, .reveal.visible .vid-tile { animation: none; }
  .work-tile img, .quad .q-cell img { filter: none; }
}

/* ============================================
   LECTURE FEATURE — Лекции и обучения
   ============================================ */
.lecture-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.lecture-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-right: 1px solid var(--ink);
}
.lecture-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 10;
  filter: saturate(0.85);
  transition: filter .4s var(--ease), transform .5s var(--ease);
}
.lecture-thumb:hover img { filter: saturate(1); transform: scale(1.02); }
.lecture-thumb .vid-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.lecture-info {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.lecture-info .lecture-tag { color: var(--accent); }
.lecture-info h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 500;
  text-wrap: balance;
}
.lecture-info p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
}
.lecture-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  align-self: flex-start;
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.lecture-link:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 860px) {
  .lecture-feature { grid-template-columns: 1fr; }
  .lecture-thumb { border-right: none; border-bottom: 1px solid var(--ink); }
  .lecture-info { padding: 26px 22px; }
}

/* Centered variant for short section headings (Лекции) */
.section-header-centered {
  display: block;
  text-align: center;
}
.section-header-centered .col-label .label { padding-top: 0; margin-bottom: 14px; }
.section-header-centered h2 { max-width: none; margin: 0 auto; }

/* ============================================
   REEL ROW — vertical social videos (кампания)
   ============================================ */
.section-header .section-lede {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}
.reel-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.reel { margin: 0; }
.reel-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #15161a;
  border: 1px solid var(--ink);
}
.reel-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reel-sound {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.reel-sound:hover { background: rgba(0,0,0,0.8); }
.reel-sound svg { width: 17px; height: 17px; fill: currentColor; }
.reel-sound .ic-on { display: none; }
.reel.is-audible .reel-sound .ic-off { display: none; }
.reel.is-audible .reel-sound .ic-on { display: block; }
.reel.is-audible .reel-sound { background: var(--accent); }
.reel figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 12px;
}
.reel-num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.reel-num.red { color: var(--accent); }
.reel-cap {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .reel-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 560px) {
  /* horizontal swipe — vertical videos stacked would run forever */
  .reel-row {
    display: flex;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .reel-row::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 74%; scroll-snap-align: start; }
}

/* Reel: tap-to-play state when the browser blocks autoplay (iOS Low Power Mode) */
.reel.is-blocked .reel-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  pointer-events: none;
}
.reel.is-blocked .reel-frame::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #fff;
  z-index: 2;
  pointer-events: none;
}


/* ============================================
   WORK LEAD — homepage showcase
   ============================================ */
.work-lead {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: center;
}
.work-lead-text .label { display: block; margin-bottom: 20px; }
.work-lead-text h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 500;
  text-wrap: balance;
}
.work-lead-text .lede {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 54ch;
}
.work-lead-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.wl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), gap .25s var(--ease);
}
.wl-btn:hover { background: var(--ink); color: var(--paper); gap: 16px; }
.wl-btn.is-primary { background: var(--ink); color: var(--paper); }
.wl-btn.is-primary:hover { background: var(--accent); border-color: var(--accent); }

.work-lead-reel {
  display: block;
  text-decoration: none;
  color: inherit;
}
.work-lead-reel video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: #15161a;
  border: 1px solid var(--ink);
}
.wl-reel-cap {
  display: block;
  padding-top: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-soft);
}
.work-lead-reel:hover .wl-reel-cap { color: var(--accent); }

/* slim discipline index under the showcase */
.disciplines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--ink);
}
.disciplines a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.disciplines a:hover { color: var(--accent); padding-left: 8px; }
.disciplines .d-num {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}
.disciplines a:hover .d-num { color: var(--accent); }

/* four principles instead of three */
.principles-grid { grid-template-columns: repeat(4, 1fr); gap: 36px; }

@media (max-width: 1024px) {
  .work-lead { grid-template-columns: 1fr 240px; gap: 36px; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .disciplines { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .work-lead { grid-template-columns: 1fr; gap: 36px; }
  .work-lead-reel { max-width: 280px; margin: 0 auto; }
  .wl-reel-cap { text-align: center; }
  .disciplines { grid-template-columns: 1fr; margin-top: 44px; }
}

/* ============================================
   AI NEWSROOM — featured system section (services)
   ============================================ */
.ai-news {
  background: var(--paper-warm);
  padding: 100px var(--gutter);
  border-top: 1px solid var(--ink);
}
.service-more {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  text-decoration: none;
}
.service-more:hover { color: var(--accent); border-color: var(--accent); }

/* the chain */
.ai-flow {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
}
.ai-flow::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 9px;
  height: 1px;
  background: var(--ink);
}
.ai-step { position: relative; padding: 0 22px 0 0; }
.ai-step::before {
  content: "";
  display: block;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--paper-warm);
  border: 1px solid var(--ink);
  position: relative;
  z-index: 1;
}
.ai-step h3 {
  margin-top: 22px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.ai-step p {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 22ch;
}
.ai-step.is-key::before { background: var(--accent); border-color: var(--accent); }
.ai-step.is-key::after {
  content: "";
  position: absolute;
  left: 0; right: 22px; top: 9px;
  height: 2px;
  background: var(--accent);
}
.ai-step.is-key h3 { color: var(--accent); }
.ai-step.is-key p { color: var(--ink); }

/* not a plugin */
.ai-hard {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.ai-hard-lead h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 16ch;
  text-wrap: balance;
}
.ai-hard-lead p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 32ch;
}
.ai-cases { display: grid; grid-template-columns: 1fr 1fr; }
.ai-case { padding: 20px 24px 22px 0; border-bottom: 1px solid var(--line); }
.ai-case:nth-child(-n+2) { padding-top: 4px; }
.ai-case:nth-last-child(-n+2) { border-bottom: 0; }
.ai-case b { display: block; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.ai-case > span { display: block; margin-top: 5px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

/* proof row */
.ai-proof {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 36px;
}
.ai-proof a {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.ai-proof a:hover { border-color: var(--accent); color: var(--accent); }
.ai-proof .ai-cta { margin-left: auto; border-color: var(--ink); }

@media (max-width: 980px) {
  .ai-flow { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .ai-flow::before, .ai-step::after { display: none; }
  .ai-hard { grid-template-columns: 1fr; gap: 28px; }
  .ai-proof .ai-cta { margin-left: 0; }
}
@media (max-width: 640px) {
  .ai-news { padding: 64px var(--gutter); }
  .ai-flow { grid-template-columns: 1fr; row-gap: 0; margin-top: 40px; padding-left: 34px; }
  .ai-flow::before { display: block; left: 9px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .ai-step { padding: 0 0 30px; }
  .ai-step:last-child { padding-bottom: 0; }
  .ai-step::before { position: absolute; left: -34px; top: 2px; }
  .ai-step h3 { margin-top: 0; }
  /* dot is 19px wide at -34px → centre -24.5px; line and red segment share that centre */
  .ai-flow::before { left: 9px; width: 1px; }
  .ai-step.is-key::after { display: block; left: -26px; right: auto; top: 12px; width: 3px; height: calc(100% - 10px); }
  .ai-cases { grid-template-columns: 1fr; }
  .ai-case:nth-child(-n+2) { padding-top: 20px; }
  .ai-case:first-child { padding-top: 4px; }
  .ai-case:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ai-case:last-child { border-bottom: 0; }
}

/* episode badge on podcast tiles */
.vid-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  line-height: 1;
}
.vid-tile:hover .vid-badge { background: var(--accent); }
