/* ================================================
   OLYA NELYUDOVA — CONSULTING SITE
   Design System
   ================================================ */

:root {
  /* Colours */
  --white:         #FFFFFF;
  --bg:            #FAFAF8;
  --bg-muted:      #F3F2EF;
  --border-light:  #ECEAE5;
  --border:        #D6D3CC;

  --text-primary:  #1A1916;
  --text-secondary:#6B6860;
  --text-muted:    #A09D97;

  --accent:        #2E5D45;
  --accent-hover:  #244B38;
  --accent-mid:    #4E7E68;
  --accent-light:  #EEF3F0;

  --dark-bg:       #06090F;
  --dark-panel:    #0E1520;

  /* Typography */
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-w:      1120px;
  --pad:        40px;
  --section-v:  96px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================================================
   RESET
   ================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ================================================
   LAYOUT
   ================================================ */

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

/* ================================================
   NAVIGATION
   ================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  transition: opacity 0.2s;
}
.nav-brand:hover { opacity: 0.7; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

.nav-cta {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--white) !important;
  background: var(--accent);
  padding: 8px 20px;
  border-radius: 4px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* ================================================
   HERO
   ================================================ */

.hero {
  padding: 112px 0 88px;
  border-bottom: 1px solid var(--border-light);
}

.hero-content { max-width: 760px; }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 14px;
}

.hero-byline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 44px;
  letter-spacing: 0.01em;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 4px;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ================================================
   STATS BAR
   ================================================ */

.stats-bar {
  background: var(--bg-muted);
  padding: 48px 0;
  border-bottom: 1px solid var(--border-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 160px;
}

/* ================================================
   WHAT I DO
   ================================================ */

.what-i-do {
  padding: var(--section-v) 0;
  border-bottom: 1px solid var(--border-light);
}

.section-header { margin-bottom: 52px; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
}

.what-i-do-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  padding-top: 4px;
}

.what-col {
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.what-col h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.what-col p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.section-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}

.link-arrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s var(--ease);
}
.link-arrow:hover { gap: 12px; }

/* ================================================
   ABOUT PREVIEW
   ================================================ */

.about-preview {
  padding: var(--section-v) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-preview-text h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.about-preview-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-preview-text p:last-of-type { margin-bottom: 32px; }

.credential-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

.credential-list li {
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  transition: border-color 0.2s;
}
.credential-list li:hover { border-color: var(--border); }

.cred-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.cred-company {
  font-size: 12px;
  color: var(--text-muted);
}

/* ================================================
   CONTACT SECTION
   ================================================ */

.contact-section {
  padding: var(--section-v) 0;
  background: var(--dark-bg);
}

.contact-section .section-label { color: var(--accent-mid); }

.contact-section h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
}

.contact-section > .container > p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  margin-bottom: 44px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 52px;
}

.contact-link {
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}
.contact-link:hover { opacity: 0.6; }

.contact-note {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  max-width: 440px;
}

/* ================================================
   FOOTER
   ================================================ */

footer {
  background: var(--dark-bg);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-name {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.75); }

/* ================================================
   PAGE HERO (inner pages)
   ================================================ */

.page-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border-light);
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 700px;
  margin-top: 16px;
}

/* ================================================
   ABOUT PAGE
   ================================================ */

.about-main {
  padding: var(--section-v) 0;
  border-bottom: 1px solid var(--border-light);
}

.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.about-photo-col {
  position: sticky;
  top: 88px;
}

.about-photo-col img {
  width: 100%;
  border-radius: 6px;
  filter: grayscale(15%);
  display: block;
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
}

.about-body p {
  font-size: 16px;
  line-height: 1.82;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.about-body p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-body h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text-primary);
  margin-top: 52px;
  margin-bottom: 20px;
}

/* Career */
.career-section {
  padding: var(--section-v) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}

.career-list { margin-top: 48px; }

.career-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-light);
}

.career-item:first-child { border-top: 1px solid var(--border-light); }

.career-co {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.career-period {
  font-size: 12px;
  color: var(--text-muted);
}

.career-role {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.career-desc {
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-secondary);
}

/* ================================================
   SERVICES PAGE
   ================================================ */

.services-intro {
  padding: var(--section-v) 0 64px;
  border-bottom: 1px solid var(--border-light);
}

.services-intro p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 600px;
  margin-top: 20px;
}

.services-list { padding: 0 0 var(--section-v); }

.service-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 72px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: start;
}

.service-card:first-child { border-top: 1px solid var(--border-light); }

.service-left { display: flex; flex-direction: column; gap: 24px; }

.service-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.service-left h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text-primary);
}

.service-img {
  width: 100%;
  max-width: 220px;
  border-radius: 6px;
  opacity: 0.88;
  margin-top: 8px;
}

.service-right { padding-top: 4px; }

.service-intro {
  font-size: 15px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-body {
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.service-covers {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--bg-muted);
  border-radius: 4px;
  border-left: 2px solid var(--accent-mid);
}

.service-covers strong { color: var(--text-primary); font-weight: 500; }

.service-scope {
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.service-scope strong { color: var(--text-secondary); font-weight: 500; }

/* Beyond media callout */
.beyond-callout {
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 48px 56px;
  margin-top: 64px;
}

.beyond-callout h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.beyond-callout p {
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 16px;
}

.beyond-callout p:last-child { margin-bottom: 0; }

.beyond-callout strong { color: var(--text-primary); font-weight: 600; }

/* ================================================
   WORK / PORTFOLIO PAGE
   ================================================ */

.work-intro {
  padding: var(--section-v) 0 64px;
  border-bottom: 1px solid var(--border-light);
}

.work-intro p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 560px;
  margin-top: 20px;
}

.work-list { padding: 0 0 var(--section-v); }

/* Case card accordion */
.case-card {
  border-bottom: 1px solid var(--border-light);
}
.case-card:first-child { border-top: 1px solid var(--border-light); }

.case-header {
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  user-select: none;
}

.case-header-left { flex: 1; }

.case-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.case-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text-primary);
  transition: color 0.2s;
  margin-bottom: 10px;
}

.case-header:hover .case-title { color: var(--accent); }

.case-tags {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.case-toggle {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--white);
  transition: background 0.25s, border-color 0.25s;
}

.case-toggle svg {
  transition: transform 0.35s var(--ease);
  color: var(--text-muted);
  flex-shrink: 0;
}

.case-card.is-open .case-toggle {
  background: var(--accent);
  border-color: var(--accent);
}

.case-card.is-open .case-toggle svg {
  transform: rotate(45deg);
  color: var(--white);
}

.case-body {
  display: none;
  padding: 0 0 48px;
}

.case-card.is-open .case-body { display: block; }

.case-body-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
}

.case-img {
  width: 100%;
  border-radius: 6px;
  opacity: 0.88;
  max-width: 180px;
}

.case-content { max-width: 640px; }

.case-block { margin-bottom: 24px; }

.case-block-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.case-block p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.case-shows {
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
  line-height: 1.65;
}

.case-shows strong { color: var(--text-secondary); font-weight: 500; }

/* ================================================
   HAMBURGER & MOBILE MENU
   ================================================ */

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.3s var(--ease), opacity 0.25s;
}

body.menu-open .nav-hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .nav-hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 99;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.25s;
}

body.menu-open .mobile-menu {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--serif);
  font-size: 32px;
  fo