/* 
  benhmida.com static website
  Plain HTML/CSS/JS. No build step required.
*/

:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --text: #172033;
  --muted: #5f6c7b;
  --light: #f8fafc;
  --line: #e2e8f0;
  --accent: #b98b45;
  --accent-dark: #8f672c;
  --card: #ffffff;
  --dark-card: #182235;
  --max: 1160px;
  --radius: 22px;
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.65;
}

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

p {
  margin: 0 0 1.1rem;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

li {
  margin-bottom: 0.45rem;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.navbar {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--bg);
  color: #fff;
  font-size: 0.85rem;
}

.brand-text {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.section {
  padding: 110px 0;
}

.hero {
  padding-top: 120px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(185, 139, 69, 0.28), transparent 35%),
    linear-gradient(135deg, #0f172a 0%, #111827 45%, #172033 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-label {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  margin: 0 0 1.4rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: #d8dee9;
  max-width: 750px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #101827;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.hero-card h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.hero-card li {
  color: #e4e8ef;
}

.section-light {
  background: var(--light);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.content {
  font-size: 1.06rem;
  color: var(--muted);
}

.section-intro {
  max-width: 820px;
  margin-bottom: 46px;
}

.section-intro p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.card-number {
  display: inline-flex;
  margin-bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: #f6ead8;
  color: var(--accent-dark);
  font-weight: 800;
}

.card p,
.card li {
  color: var(--muted);
}

.section-dark {
  background:
    radial-gradient(circle at bottom left, rgba(185, 139, 69, 0.18), transparent 36%),
    #0f172a;
  color: #ffffff;
}

.section-dark .content,
.section-dark p {
  color: #d8dee9;
}

.governance-list {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.governance-list div {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px;
}

.governance-list h3 {
  color: #fff;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.research-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
}

.research-item p {
  color: var(--muted);
}

.contact-section {
  background: #ffffff;
}

.contact-card {
  background:
    linear-gradient(135deg, rgba(185, 139, 69, 0.12), rgba(15, 23, 42, 0.06)),
    #f8fafc;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: center;
}

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

.contact-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-box a {
  color: var(--accent-dark);
  font-weight: 750;
}

.small-note {
  margin-top: 18px;
  font-size: 0.9rem;
}

.site-footer {
  background: var(--bg);
  color: #cbd5e1;
  padding: 28px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 12px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 13px 12px;
    border-radius: 12px;
  }

  .nav-links a:hover {
    background: #f8fafc;
  }

  .hero-grid,
  .two-column,
  .contact-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cards,
  .research-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding-top: 95px;
  }
}

@media (max-width: 560px) {
  .container,
  .navbar {
    width: min(100% - 28px, var(--max));
  }

  .brand-text {
    display: none;
  }

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

  .hero-card,
  .card,
  .contact-box {
    padding: 24px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
.email-button {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.email-button:hover {
  background: #f8fafc;
}}


.email-button {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #172033;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
}

.email-button:hover {
  background: #f8fafc;
}
