:root {
  --green: #2D6A2E;
  --green-dark: #1e4a1f;
  --green-light: #e8f0e8;
  --gold: #E8A838;
  --gold-dark: #c28a1f;
  --bg: #faf9f4;
  --bg-alt: #f3f1e9;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --border: #e4dfd0;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans Sinhala", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 244, 0.96);
  backdrop-filter: saturate(160%) blur(6px);
  -webkit-backdrop-filter: saturate(160%) blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img { height: 36px; width: auto; }
.brand-text {
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.01em;
  font-size: 18px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav a:hover { color: var(--green-dark); background: var(--green-light); }
.lang-toggle {
  display: inline-flex;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  background: #fff;
  margin-left: 6px;
}
.lang-toggle a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  min-height: auto;
}
.lang-toggle a:hover { background: var(--bg-alt); }
.lang-toggle a.active { background: var(--green); color: #fff; }
.lang-toggle a.active:hover { background: var(--green-dark); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 40, 22, 0.45) 0%, rgba(20, 40, 22, 0.75) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 20px 80px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
  font-weight: 800;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.hero-sub {
  font-size: clamp(16px, 2.4vw, 20px);
  margin-bottom: 32px;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.btn {
  display: inline-block;
  padding: 15px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  min-height: 44px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--gold);
  color: #1a1a1a;
  box-shadow: 0 6px 20px rgba(232,168,56,0.35);
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232,168,56,0.42);
}
.btn-secondary {
  background: var(--green);
  color: #fff;
}
.btn-secondary:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }

/* ---- Sections ---- */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--border); }
section.alt { background: var(--bg-alt); }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(26px, 4vw, 36px);
  color: var(--green-dark);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.section-lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 36px;
}

/* ---- What we do grid ---- */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.card h3 {
  font-size: 20px;
  color: var(--green-dark);
  margin-bottom: 10px;
  font-weight: 700;
}
.card p { color: var(--text-muted); font-size: 15px; }

/* ---- Sector tiles ---- */
.tile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 760px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }

.tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile.tile-live {
  cursor: pointer;
}
.tile.tile-live:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(30, 74, 31, 0.12);
}
.tile-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.tile-image {
  aspect-ratio: 4 / 3;
  position: relative;
  background: var(--bg-alt);
}
.tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold);
  color: #1a1a1a;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}
.badge.live { background: var(--green); color: #fff; }
.tile-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tile-body h3 {
  font-size: 22px;
  color: var(--green-dark);
  font-weight: 700;
}
.tile-body p {
  color: var(--text-muted);
  font-size: 15px;
  flex: 1;
}
.tile-cta {
  margin-top: 6px;
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}
.notify-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.notify-form input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  min-height: 44px;
}
.notify-form input:focus { outline: 2px solid var(--green); outline-offset: -1px; }
.notify-form button {
  padding: 10px 16px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  min-height: 44px;
}
.notify-form button:hover { background: var(--green-dark); }

/* ---- About strip ---- */
.about-strip {
  background: var(--green-dark);
  color: rgba(255,255,255,0.94);
}
.about-strip .section-eyebrow { color: var(--gold); }
.about-strip .section-title { color: #fff; }
.about-strip .section-lead { color: rgba(255,255,255,0.85); max-width: 820px; }
.about-strip a { color: var(--gold); }
.about-strip a:hover { color: #fff; }

/* ---- Footer ---- */
.site-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.82); font-size: 14px; }
.footer-col a:hover { color: var(--gold); }
.footer-brand img { height: 40px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 14px; max-width: 300px; }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ---- Prose pages (about, privacy, terms, contact) ---- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px;
}
.prose h1 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--green-dark);
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.prose h2 {
  font-size: 22px;
  color: var(--green-dark);
  margin-top: 32px;
  margin-bottom: 12px;
  font-weight: 700;
}
.prose h3 {
  font-size: 17px;
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text);
}
.prose p { margin-bottom: 16px; font-size: 16px; color: var(--text); }
.prose ul, .prose ol { margin: 12px 0 16px 24px; }
.prose li { margin-bottom: 8px; font-size: 16px; }
.prose .lede {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 500;
}
.prose .contact-list { list-style: none; margin: 24px 0; }
.prose .contact-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }

/* ---- Small ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
