@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --ink: #0b0c0d;
  --muted: #4a4f55;
  --cream: #f2f3f5;
  --line: #d6d9de;
  --panel: #ffffff;
  --accent: #2f3338;
  --soft: #e7eaee;
  --shadow: 0 20px 50px rgba(6, 7, 9, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f5f6f8 0%, #eef1f5 60%, #e7eaee 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  opacity: 0.35;
  z-index: 0;
}

.orb.one {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(47, 51, 56, 0.35), transparent 70%);
  top: -160px;
  right: -140px;
}

.orb.two {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(80, 84, 90, 0.25), transparent 70%);
  bottom: -220px;
  left: -200px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(14px);
  background: rgba(245, 246, 248, 0.9);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8vw;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: lowercase;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--soft);
  color: var(--ink);
}

.hero {
  padding: 90px 8vw 50px;
  display: grid;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  align-items: center;
}

.hero h1 {
  font-family: inherit;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  margin: 0 0 14px;
}

.hero .lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 0 22px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
  text-align: center;
}

.btn.primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.secondary {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.image-stack {
  display: grid;
  gap: 16px;
}

.image-card {
  border-radius: 20px;
  background: linear-gradient(135deg, #d8dbe0, #f5f6f8);
  min-height: 140px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.image-card.large {
  min-height: 220px;
}

.section {
  padding: 70px 8vw;
  position: relative;
  z-index: 1;
}

.section h2 {
  font-family: inherit;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0 0 12px;
}

.section .lead {
  color: var(--muted);
  margin: 0 0 30px;
  max-width: 720px;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--panel);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(9, 10, 12, 0.08);
}

.card h3 {
  margin: 0 0 8px;
  font-family: inherit;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.bullet-list li::before {
  content: "-";
  margin-right: 8px;
  color: var(--accent);
}

.logo-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.logo-tile {
  background: var(--panel);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
}

.cta {
  background: var(--ink);
  color: var(--cream);
  border-radius: 28px;
  padding: 36px;
  display: grid;
  gap: 16px;
}

.cta .lead {
  color: rgba(242, 243, 245, 0.8);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: start;
}

input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

.contact-card {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.site-footer {
  padding: 40px 8vw 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--muted);
}

.toast {
  position: fixed;
  top: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 10;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast button {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    flex-direction: column;
  }
}

.team-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-card {
  background: var(--panel);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(9, 10, 12, 0.08);
  display: grid;
  gap: 12px;
}

.team-photo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.team-role {
  margin: 0;
  color: var(--muted);
}

.team-photo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.image-card {
  position: relative;
  overflow: hidden;
}

.image-card svg {
  width: 100%;
  height: 100%;
  display: block;
}
