/* Ebalelo Consultancy LLC — ebalelo.com */

:root {
  --navy: #0b1526;
  --navy-deep: #081020;
  --navy-panel: #101d33;
  --gold: #c9a35c;
  --gold-dark: #a8853f;
  --ivory: #f5f1e8;
  --muted: #9aa6b7;
  --line: #24344d;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", Arial, Helvetica, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--ivory); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 21, 38, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img { height: 34px; display: block; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--ivory);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--gold);
  margin: 6px 0;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 90px;
}

.hero-logo { width: 540px; max-width: 84vw; margin-bottom: 58px; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.25;
  max-width: 760px;
}

.gold-rule {
  width: 56px; height: 1px;
  background: var(--gold);
  border: none;
  margin: 34px auto;
}

.hero-sub {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-cta {
  display: inline-block;
  margin-top: 48px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 14px 36px;
  transition: background 0.3s, color 0.3s;
}

.hero-cta:hover { background: var(--gold); color: var(--navy); }

/* ---------- Sections ---------- */

.section { padding: 110px 0; }

.section-dark { background: var(--navy); }
.section-deep { background: var(--navy-deep); }
.section-light { background: var(--ivory); color: var(--navy); }

.kicker {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-light .kicker { color: var(--gold-dark); }

.section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.3;
  margin-bottom: 26px;
  max-width: 640px;
}

.lead {
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 30px;
}

.section-light .lead { color: #5c5648; }

/* ---------- Services ---------- */

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

.card {
  background: var(--navy-panel);
  border: 1px solid var(--line);
  padding: 40px 36px;
  transition: border-color 0.3s, transform 0.3s;
}

.card:hover { border-color: var(--gold); transform: translateY(-3px); }

.card .num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 18px;
}

.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  margin-bottom: 14px;
}

.card p { color: var(--muted); font-size: 15px; }

.services-note {
  margin-top: 40px;
  color: var(--muted);
  font-size: 14px;
  max-width: 680px;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: start;
}

.facts {
  border: 1px solid rgba(168, 133, 63, 0.4);
  padding: 36px;
}

.facts h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  margin-bottom: 22px;
  color: var(--navy);
}

.facts table { width: 100%; border-collapse: collapse; font-size: 14px; }

.facts td {
  padding: 9px 0;
  vertical-align: top;
  border-bottom: 1px solid rgba(11, 21, 38, 0.1);
}

.facts td:first-child {
  color: #8a8378;
  width: 44%;
  padding-right: 14px;
  letter-spacing: 0.4px;
}

.facts tr:last-child td { border-bottom: none; }

/* ---------- Brands ---------- */

.brands-box {
  border: 1px solid var(--line);
  text-align: center;
  padding: 80px 30px;
  margin-top: 50px;
}

.brands-box .mono { width: 62px; opacity: 0.85; margin-bottom: 28px; }

.brands-box p { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
}

.contact-block h3 {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.contact-block p { color: var(--muted); }

.contact-email {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ivory);
}

.contact-email:hover { color: var(--gold); }

/* ---------- Photo bands ---------- */

.photo-band {
  height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,21,38,0.55), rgba(11,21,38,0.3) 50%, rgba(11,21,38,0.55));
}

.band-skyline { background-image: url("../assets/photo-band-skyline.jpg"); }
.band-abstract { background-image: url("../assets/photo-band-abstract.jpg"); }

.about-photo {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 24px;
  border: 1px solid rgba(168, 133, 63, 0.4);
}

/* ---------- Footer ---------- */

footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
  padding: 56px 0 44px;
  font-size: 13px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-legal { display: flex; gap: 26px; flex-wrap: wrap; list-style: none; }

.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--gold); }

.footer-meta { margin-top: 26px; font-size: 12px; color: #5a6676; }

/* ---------- Legal pages ---------- */

.legal-main { padding: 150px 0 90px; max-width: 780px; margin: 0 auto; }

.legal-main h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 10px;
}

.legal-main .updated { color: var(--muted); font-size: 13px; margin-bottom: 46px; }

.legal-main h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 44px 0 14px;
}

.legal-main p, .legal-main li { color: var(--muted); font-size: 15px; }

.legal-main ul { padding-left: 22px; margin: 12px 0; }

.legal-main table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 14px; }

.legal-main td {
  border-bottom: 1px solid var(--line);
  padding: 9px 14px 9px 0;
  color: var(--muted);
  vertical-align: top;
}

.legal-main td:first-child { color: var(--ivory); width: 40%; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .cards, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 46px; }
  .section { padding: 80px 0; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 17px 24px; }
}
