/* ===================================================================
   Nano Media — nanomedia.org
   Single-page static site. Sofia Sans Semi Condensed via Google Fonts.
   Brand: #005b8c (brand-500), #002E46 (brand-600), #FF931E (accent).
   =================================================================== */

/* --- Reset & Base --- */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Sofia Sans Semi Condensed", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
}

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

img {
  max-width: 100%;
  display: block;
}

/* --- Layout --- */

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */

.header {
  padding: 32px 0;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #002E46;
}

/* --- Hero --- */

.hero {
  padding: 96px 0 80px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #002E46;
  max-width: 720px;
}

.hero-sub {
  margin-top: 24px;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.7;
  color: #444;
  max-width: 600px;
}

/* --- Sections --- */

.section {
  padding: 80px 0;
}

.section-alt {
  background: #f8f9fa;
}

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #002E46;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
  max-width: 600px;
}

/* --- Features --- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
}

.feature h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #005b8c;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #555;
}

/* --- Live Sites --- */

.sites {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.site-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.site-card:hover {
  border-color: #005b8c;
  box-shadow: 0 2px 12px rgba(0, 91, 140, 0.08);
}

.site-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #002E46;
}

.site-location {
  font-size: 0.9rem;
  color: #777;
  margin-top: 4px;
}

.site-link {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #005b8c;
}

/* --- Team --- */

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
}

.team-member h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 500;
  color: #005b8c;
  margin-top: 2px;
  margin-bottom: 8px;
}

.team-member p:last-child {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
}

/* --- Contact --- */

.contact-email {
  margin-top: 24px;
}

.contact-email a {
  font-size: 1.15rem;
  font-weight: 500;
  color: #005b8c;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}

.contact-email a:hover {
  border-bottom-color: #005b8c;
}

/* --- Footer --- */

.footer {
  padding: 48px 0;
  border-top: 1px solid #e8e8e8;
}

.footer p {
  font-size: 0.85rem;
  color: #999;
}

/* --- Responsive --- */

@media (max-width: 768px) {
  .hero {
    padding: 64px 0 56px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .section {
    padding: 56px 0;
  }

  .section h2 {
    font-size: 1.65rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
  }

  .sites {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .team {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
  }
}
