/* Genitco - Brand Stylesheet */

:root {
  --charcoal: #0F1115;
  --steel-grey: #2A2E35;
  --accent-blue: #2F6FED;
  --off-white: #E6E8EB;
  --muted-grey: #9AA0A6;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--charcoal);
  color: var(--off-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--off-white);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

p {
  color: var(--muted-grey);
  max-width: 65ch;
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
nav {
  border-bottom: 1px solid var(--steel-grey);
  padding: 2rem 0;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--off-white);
  letter-spacing: -0.01em;
}

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

.nav-links a {
  color: var(--muted-grey);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--off-white);
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  max-width: 800px;
}

.hero h1 {
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--muted-grey);
  line-height: 1.7;
}

/* Sections */
section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--steel-grey);
}

section:last-child {
  border-bottom: none;
}

.section-title {
  margin-bottom: 3rem;
  color: var(--off-white);
}

/* Content Blocks */
.content-block {
  margin-bottom: 4rem;
}

.content-block h3 {
  margin-bottom: 1rem;
  color: var(--off-white);
}

.content-block p {
  margin-bottom: 1rem;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Experience Cards */
.experience-item {
  padding: 2rem;
  background-color: var(--steel-grey);
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.experience-item:hover {
  border-color: var(--accent-blue);
}

.experience-item h3 {
  margin-bottom: 0.5rem;
}

.experience-item .sector {
  color: var(--accent-blue);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  font-weight: 500;
}

/* Contact */
.contact-content {
  max-width: 600px;
}

.contact-content p {
  margin-bottom: 2rem;
}

.email-link {
  font-size: 1.1rem;
  color: var(--accent-blue);
}

/* Footer */
footer {
  padding: 3rem 0;
  text-align: center;
  color: var(--muted-grey);
  font-size: 0.9rem;
  border-top: 1px solid var(--steel-grey);
}

/* Diagrams */
.diagram-container {
  margin: 3rem 0;
  max-width: 100%;
}

.diagram-flow {
  width: 100%;
  max-width: 800px;
  height: auto;
}

.diagram-system {
  width: 100%;
  max-width: 400px;
  height: auto;
  opacity: 0.6;
  margin: 2rem 0;
}

.content-block .diagram-system {
  margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  nav .container {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  section {
    padding: 3rem 0;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
