:root {
  --blue: #1B3FA0;
  --gold: #E8A817;
  --orange: #E2681C;
  --blue-light: #2A4FB8;
  --text: #2C2C2C;
  --text-light: #5A5A5A;
  --bg: #FAFAFA;
  --border: #E0E0E0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

/* Navigation */

nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .nav-inner {
  max-width: 900px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

nav .nav-brand img {
  width: 36px;
  height: 36px;
}

nav .nav-brand span {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: -0.01em;
}

nav .nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav .nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

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

/* Page container */

.page {
  max-width: 900px;
  width: 100%;
  padding: 3rem 2rem;
}

.page-narrow {
  max-width: 640px;
}

/* Home hero */

.hero {
  text-align: center;
  padding: 4rem 0 2rem;
}

.hero .logo {
  width: 200px;
  height: 200px;
  margin-bottom: -0.5rem;
}

.hero .company-name {
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.hero .legal-name {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--blue);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.divider {
  width: 100%;
  max-width: 500px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 2rem;
}

/* Typography */

.description {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 2rem;
}

h1 {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Founder block */

.founder {
  text-align: center;
  margin-bottom: 2rem;
}

.founder-name {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
}

.founder-title {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-light);
  margin-top: 0.2rem;
}

/* Contact */

.contact {
  text-align: center;
}

.contact a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.contact a:hover {
  border-bottom-color: var(--blue);
}

/* Research cards */

.research-area {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.research-area:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.research-area .research-image {
  flex: 0 0 280px;
  height: 200px;
  border-radius: 4px;
  overflow: hidden;
  background: #E8E8E8;
}

.research-area .research-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.research-area .research-text {
  flex: 1;
}

.research-area .research-text h2 {
  margin-bottom: 0.5rem;
}

.research-area .research-text p {
  font-size: 0.9rem;
}

/* About page */

.about-section {
  margin-bottom: 2.5rem;
}

.about-section h2 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* Footer */

footer {
  width: 100%;
  text-align: center;
  padding: 2rem;
  font-size: 0.75rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

footer a {
  color: var(--blue);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 768px) {
  .research-area {
    flex-direction: column;
  }

  .research-area .research-image {
    flex: none;
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hero .company-name {
    font-size: 1.8rem;
  }

  .hero .logo {
    width: 150px;
    height: 150px;
  }

  nav .nav-links {
    gap: 1rem;
  }

  nav .nav-links a {
    font-size: 0.8rem;
  }

  h1 {
    font-size: 1.4rem;
  }
}
