@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255,255,255,.65);
  --line: rgba(255,255,255,.9);
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px var(--gutter);
}
.header.solid { position: relative; }
.logo { display: block; width: 60px; height: 60px; background: #000; flex-shrink: 0; }
.header.solid .logo { width: 56px; height: 56px; }
.logo img { width: 100%; height: 100%; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { display: flex; gap: 18px; list-style: none; }
.nav ul a {
  font-size: 15px; letter-spacing: .01em; padding-bottom: 4px;
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav ul a:hover, .nav ul a.active { border-color: var(--fg); }
.social { display: flex; gap: 16px; align-items: center; }
.social svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.burger { display: none; background: none; border: 0; color: var(--fg); cursor: pointer; }
.burger svg { width: 26px; height: 26px; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  border: 2px solid var(--line); padding: 12px 28px; min-width: 200px;
  font-size: 13px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1.4; transition: background .2s, color .2s;
  background: transparent; color: var(--fg); cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--fg); color: #000; }
.btn.case { text-transform: none; letter-spacing: .02em; font-size: 15px; min-width: 240px; padding: 13px 28px; }
.btn.small { min-width: 120px; padding: 9px 18px; font-size: 13px; text-transform: none; letter-spacing: .02em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 140px var(--gutter) 80px;
  background: #5a3d2b; overflow: hidden;
}
.hero-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  aspect-ratio: 2576 / 1503; min-width: 100%; min-height: 100%; }
.hero-bg img, .contact-img img { width: 100%; height: auto; display: block; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: rgba(50,28,14,.32);
}
.hero > *:not(.hero-bg) { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(32px, 4.4vw, 64px); font-weight: 500; line-height: 1.2; max-width: 1100px; }
.hero p { font-size: clamp(15px, 1.45vw, 21px); margin: 24px 0 40px; max-width: 900px; }
.hero .actions { display: flex; gap: clamp(20px, 12vw, 200px); flex-wrap: wrap; justify-content: center; }

/* ---------- Sections ---------- */
section { padding: 72px var(--gutter); }
.page-top { padding-top: 56px; }
h2.title { font-size: clamp(30px, 3.9vw, 56px); font-weight: 500; line-height: 1.2; text-align: center; margin-bottom: 44px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1240px; }
.split h2 { font-size: clamp(30px, 3.3vw, 48px); font-weight: 400; line-height: 1.2; margin-bottom: 20px; }
.split .lead { font-size: 15px; line-height: 1.9; margin-bottom: 22px; max-width: 560px; }
.bullets { list-style: none; font-size: 15px; }
.bullets li { position: relative; padding-left: 22px; margin: 10px 0; line-height: 1.8; }
.bullets li::before { content: '\2022'; position: absolute; left: 0; }

/* ---------- People ---------- */
.people { display: grid; gap: 48px 32px; text-align: center; max-width: 1240px; margin: 0 auto; }
.people.two { grid-template-columns: repeat(2, 1fr); }
.people.four { grid-template-columns: repeat(4, 1fr); }
.avatar {
  width: 150px; max-width: 80%; aspect-ratio: 1; border-radius: 50%; margin: 0 auto 18px;
  background: #222; overflow: hidden;
}
.people.two .avatar { width: 200px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }
.person h3 { font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 14px; }
.person h3 a svg { width: 22px; height: 22px; fill: currentColor; display: block; }
.person .role { font-size: 14px; line-height: 1.7; margin: 4px 0 18px; white-space: pre-line; }
.person .bio { font-size: 14px; text-align: left; line-height: 1.85; max-width: 520px; margin: 10px auto 0; }

/* ---------- Partners ---------- */
.partner { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; padding: 40px 0; max-width: 1240px; margin: 0 auto; }
.partner + .partner { border-top: 1px solid rgba(255,255,255,.7); }
.partner p { font-size: 15px; line-height: 1.9; max-width: 720px; }
.partner-logo { display: flex; align-items: center; justify-content: center; }
.partner-logo img { width: min(100%, 250px); height: auto; }
.partner:last-child .partner-logo img { width: min(100%, 190px); }

/* ---------- Portfolio ---------- */
.portfolio-wrap { padding: 120px var(--gutter) 180px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fill, 200px); gap: 12px; }
.tile { display: block; aspect-ratio: 346/185; overflow: hidden; border-radius: 14px; transition: transform .2s, opacity .2s; }
.tile:hover { transform: translateY(-3px); opacity: .9; }
.tile img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; align-items: start; max-width: 1240px; margin: 0 auto; }
.contact-img { background: #0f1729; overflow: hidden; }
form label { display: block; font-size: 13px; margin-bottom: 6px; }
form label .req { color: var(--muted); margin-left: 6px; }
.legend { font-size: 14px; margin: 0 0 10px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 16px; }
input, textarea {
  width: 100%; background: #fafafa; border: 1px solid #ddd; padding: 10px 12px; font: inherit; font-size: 14px; color: #111;
}
input { height: 44px; }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 12px; font-size: 14px; min-height: 1.5em; }

/* ---------- Footer ---------- */
.footer {
  background: #fff; color: #000; padding: 44px var(--gutter);
  display: grid; grid-template-columns: 1fr auto; gap: 32px;
}
.footer .logo { width: 60px; height: 60px; margin-left: 20px; }
.footer h2 { font-size: clamp(22px, 2.5vw, 34px); font-weight: 500; line-height: 1.4; margin-top: 18px; }
.footer p { font-size: 14px; margin-top: 18px; }
.footer .copy { margin-top: 18px; font-size: 13px; }
.footer .social { margin-bottom: 36px; }
.footer .social svg { width: 20px; height: 20px; }
.footer ul { list-style: none; }
.footer ul a { font-size: 15px; line-height: 2.1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; color: #2a3045; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .people.four { grid-template-columns: repeat(2, 1fr); }
  .partner { grid-template-columns: 1fr; gap: 20px; }
  .partner-logo { justify-content: flex-start; }
}
@media (max-width: 980px) {
  .burger { display: block; }
  .nav { display: none; position: fixed; inset: 0; background: #000; flex-direction: column; justify-content: center; z-index: 30; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; align-items: center; gap: 14px; }
  .nav ul a { font-size: 22px; }
  .nav .close { position: absolute; top: 28px; right: var(--gutter); }
}
@media (max-width: 760px) {
  section { padding: 56px var(--gutter); }
  .split, .contact-grid, .people.two, .footer, .row2 { grid-template-columns: 1fr; }
  .split { gap: 28px; }
  .portfolio-wrap { padding: 72px var(--gutter) 96px; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .btn, .btn.case { min-width: 0; width: 100%; max-width: 320px; }
  .hero .actions { flex-direction: column; align-items: center; width: 100%; gap: 16px; }
  .footer .logo { margin-left: 0; }
  .footer .social { margin-bottom: 16px; }
}
