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

:root {
  --bg: #0a0a0a;
  --fg: #f0ede8;
  --fg-dim: rgba(240,237,232,0.45);
  --fg-mid: rgba(240,237,232,0.7);
  --border: rgba(240,237,232,0.1);
  --yellow: #8C8C87;
  --yellow-dim: rgba(140,140,135,0.4);
  --nav-h: 72px;
  --serif: 'EB Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}
#nav.scrolled {
  border-color: var(--border);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
}

.logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-sep { color: var(--fg-dim); font-size: 12px; }
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--fg-dim);
  padding: 0;
  transition: color 0.2s;
}
.lang-btn:hover { color: var(--fg); }
.lang-btn.active { color: var(--yellow); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--fg);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:first-child { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:last-child  { transform: translateY(-6px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  padding: 32px 48px 48px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s, opacity 0.35s;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-link {
  font-size: 28px;
  font-family: var(--serif);
  color: var(--fg);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

/* ── HERO ── */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 80px) 48px 80px;
  position: relative;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.hero-headline .accent {
  font-style: italic;
  color: var(--yellow);
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--fg-mid);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 56px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  transition: border-color 0.3s, color 0.3s;
}
.cta-link:hover { color: var(--yellow); border-color: var(--yellow-dim); }
.arrow { transition: transform 0.3s; }
.cta-link:hover .arrow { transform: translateY(4px); }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 48px;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--yellow-dim), transparent);
  animation: scrollpulse 2.4s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%,100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ── SECTIONS ── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 48px;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 56px;
}

.section-headline {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 72px;
}

/* ── APPROACH ── */
#approach { border-top: 1px solid var(--border); }

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.principle {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.principle:nth-child(odd)  { padding-right: 56px; border-right: 1px solid var(--border); }
.principle:nth-child(even) { padding-left: 56px; }
.principle:nth-last-child(-n+2) { border-bottom: none; }

.principle-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--yellow);
  flex-shrink: 0;
  padding-top: 4px;
}

.principle-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg);
}

/* ── TEAM ── */
#team { border-top: 1px solid var(--border); }

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.team-card {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.team-card:nth-child(odd)  { padding-right: 64px; border-right: 1px solid var(--border); }
.team-card:nth-child(even) { padding-left: 64px; }
.team-card:nth-last-child(-n+2) { border-bottom: none; }

.team-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.partner-name {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.li-link {
  color: var(--fg-dim);
  transition: color 0.2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.li-link:hover { color: var(--yellow); }

.partner-bio {
  font-size: 14px;
  line-height: 1.85;
  color: var(--fg-mid);
}

.bio-clients {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-email {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.2s;
  margin-top: 4px;
  display: inline-block;
}
.partner-email:hover { color: var(--yellow); }

/* ── CONTACT ── */
#contact { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.contact-cols {
  display: flex;
  gap: 80px;
}
.contact-col { display: flex; flex-direction: column; gap: 12px; }

.contact-item-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}

.contact-link {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 26px);
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: border-color 0.3s, color 0.3s;
  display: inline-block;
}
.contact-link:hover { color: var(--yellow); border-color: var(--yellow-dim); }

.contact-address {
  font-size: 15px;
  line-height: 1.9;
  color: var(--fg-mid);
}

/* ── FOOTER ── */
#footer { padding: 28px 48px; }
.footer-copy {
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
}

/* ── FADE-IN ── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  #nav { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; padding: 28px 20px 40px; }
  .lang-switcher { display: none; }
  .mobile-link { font-size: 24px; }

  #hero {
    padding: calc(var(--nav-h) + 48px) 20px 56px;
    min-height: 100svh;
  }
  .hero-headline { font-size: clamp(40px, 11vw, 64px); }
  .hero-sub { font-size: 15px; }
  .hero-scroll-hint { left: 20px; bottom: 28px; }

  .section-inner { padding: 64px 20px; }
  .section-label { margin-bottom: 40px; }
  .section-headline { margin-bottom: 48px; }
  #footer { padding: 24px 20px; }

  .principles { grid-template-columns: 1fr; }
  .principle { padding: 28px 0; }
  .principle:nth-child(odd)  { padding-right: 0; border-right: none; }
  .principle:nth-child(even) { padding-left: 0; }
  .principle:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .principle:last-child { border-bottom: none; }
  .principle-text { font-size: 16px; }

  .team-grid { grid-template-columns: 1fr; }
  .team-card { padding: 40px 0 !important; border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .team-card:last-child { border-bottom: none !important; padding-bottom: 0 !important; }
  .partner-name { font-size: 16px; }
  .partner-bio { font-size: 13px; }

  /* larger touch targets for lang buttons in mobile menu */
  .mobile-menu .lang-btn { font-size: 13px; padding: 8px 4px; }

  .contact-cols { flex-direction: column; gap: 36px; }
  .contact-link { font-size: 20px; }
}
