:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --text: #123047;
  --muted: #5b7388;
  --accent: #0b6e4f;
  --accent-dark: #084832;
  --border: #d7e3ec;
  --sidebar: #0f2940;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--sidebar);
  color: #dce8f2;
  padding: 32px 24px;
}
.sidebar-logo img { max-width: 180px; filter: brightness(1.05); }
.sidebar-mission {
  margin: 24px 0;
  font-size: 0.95rem;
  color: #a9c0d4;
}
.sidebar-nav { display: grid; gap: 12px; }
.sidebar-nav a {
  color: #eef6fc;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-nav a.active { color: #fff; font-weight: 700; }

.content-wrap { display: flex; flex-direction: column; min-width: 0; }
.topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.topbar-logo { font-weight: 700; color: var(--text); }
.topbar-nav { display: flex; gap: 16px; }
.topbar-nav a { color: var(--text); }
.topbar-nav a.active { color: var(--accent); font-weight: 700; }

.site-main { flex: 1; }

.hero {
  background: linear-gradient(135deg, #0f2940 0%, #0b6e4f 100%);
  color: #fff;
  padding: 72px 48px;
}
.hero-inner { max-width: 760px; }
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}
.hero p { font-size: 1.1rem; color: #d7ebe4; }

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 22px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none !important;
}
.btn:hover { background: var(--accent-dark); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent) !important;
}

.section { padding: 48px; }
.section-head { margin-bottom: 24px; }
.eyebrow {
  display: block;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section h2 { margin: 0; font-size: 1.8rem; }
.section-note { margin-top: 24px; color: var(--muted); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
}
.about-image { position: relative; }
.about-image img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.years-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: var(--accent);
  color: #fff;
  padding: 16px 18px;
  border-radius: 10px;
  text-align: center;
}
.years-badge span { display: block; font-size: 2rem; font-weight: 700; line-height: 1; }
.about-copy h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  text-transform: uppercase;
}
.about-copy ul { padding-left: 18px; }

.project-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18,48,71,0.06);
}
.project-card a { color: inherit; text-decoration: none; }
.project-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.project-card h3, .project-card h2 {
  margin: 0;
  padding: 16px;
  font-size: 1.05rem;
}
.project-cards-large { grid-template-columns: 1fr; }
.project-card-large img { aspect-ratio: 21/9; }
.project-card-large div { padding: 0 16px 16px; }

.video-section video {
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  background: #000;
}

.tabs-section { background: #eaf2f7; }
.tab-buttons { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tab-buttons button {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text);
}
.tab-buttons button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.tab-panel { display: none; background: var(--surface); padding: 24px; border-radius: 12px; }
.tab-panel.active { display: block; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.process-grid h3 { margin-top: 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.features-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.cta-band {
  text-align: center;
  background: var(--sidebar);
  color: #fff;
}
.cta-band p { font-size: 1.2rem; }

.page-head h1 { margin: 0 0 8px; font-size: 2rem; }

.project-page .back-link { display: inline-block; margin-bottom: 16px; }
.project-header h1 { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.lead { color: var(--muted); font-size: 1.1rem; }
.project-hero {
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
}
.prose {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
}
.prose h2 { margin: 28px 0 12px; font-size: 1.2rem; color: var(--accent-dark); }
.prose p { margin: 0 0 16px; }

.contact-page .contact-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.contact-phone { font-size: 1.2rem; }

.site-footer {
  background: #0b2033;
  color: #a9c0d4;
  padding: 32px 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}
.footer-copy { margin: 0; font-size: 0.9rem; }

@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .topbar { display: flex; }
  .section, .hero { padding: 32px 20px; }
  .about-grid, .project-cards, .process-grid, .features-grid, .footer-grid, .contact-page .contact-images {
    grid-template-columns: 1fr;
  }
}
