/* ---------- Base styles ---------- */
:root {
  --bg: #0b0b0d;
  --bg-soft: #121317;
  --panel: rgba(20, 20, 23, 0.9);
  --panel-strong: #17181c;
  --text: #f2efe8;
  --muted: #c4c0b5;
  --gold: #d4af68;
  --gold-soft: #f0d9a7;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(212, 175, 104, 0.13), transparent 35%),
    linear-gradient(180deg, #09090b 0%, #121317 100%);
  color: var(--text);
  line-height: 1.7;
}

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

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

p,
h2,
h3 {
  margin-top: 0;
}

.page-shell,
.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* ---------- Top banner ---------- */
.top-banner {
  width: 100%;
  background: #0a0a0b;
  border-bottom: 1px solid var(--border);
}

.top-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(15, 15, 18, 0.9);
  border-bottom: 1px solid var(--border);
}

.site-nav {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0;
  padding: 0.9rem 0;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item > a {
  color: var(--muted);
  text-transform: lowercase;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 0.7rem 0.8rem;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.nav-item > a:hover {
  background: rgba(212, 175, 104, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.has-submenu > a::after {
  content: "▾";
  margin-left: 0.45rem;
  font-size: 0.7rem;
  opacity: 0.8;
}

.submenu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  min-width: 260px;
  list-style: none;
  margin: 0;
  padding: 0.7rem;
  background: rgba(25, 25, 29, 0.98);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li {
  margin: 0.25rem 0;
}

.submenu a {
  display: block;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.submenu a:hover {
  background: rgba(212, 175, 104, 0.08);
  color: var(--text);
}

/* ---------- Main content ---------- */
.page-shell {
  padding: 2.5rem 0 3rem;
}

.hero {
  padding: 1rem 0 1.5rem;
}

.hero-copy {
  padding: 1rem 0 0.5rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: 0.8rem;
  letter-spacing: -0.03em;
  color: #fff;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  line-height: 1.4;
  color: var(--muted);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.profile {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem 0 0.5rem;
}

.profile-copy {
  flex: 1 1 60%;
}

.profile-copy p {
  font-size: 1.08rem;
  color: var(--text);
  margin: 0;
}

.profile-image-wrap {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

.profile-image-wrap img {
  width: min(100%, 450px);
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 104, 0.35);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.profile-image-wrap img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.5);
}

/* ---------- Articles grid (thumbnail cards) ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 1.5rem;
}

.article-card {
  display: block;
  background: rgba(17, 17, 20, 0.7);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 104, 0.4);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.25);
}

.article-thumb {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.thumb-one {
  background:
    linear-gradient(135deg, rgba(0,0,0,0.15), rgba(0,0,0,0.5)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=80");
}

.thumb-two {
  background:
    linear-gradient(135deg, rgba(0,0,0,0.15), rgba(0,0,0,0.5)),
    url("https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?auto=format&fit=crop&w=900&q=80");
}

.thumb-three {
  background:
    linear-gradient(135deg, rgba(0,0,0,0.15), rgba(0,0,0,0.5)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=900&q=80");
}

.article-content {
  padding: 1.1rem 1.1rem 1.3rem;
}

.article-tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(212, 175, 104, 0.1);
  color: var(--gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.article-card h4 {
  margin: 0 0 0.8rem;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.3;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Mission ---------- */
.mission {
  margin-top: 1.3rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(17, 17, 20, 0.7);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.mission p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.mission strong {
  color: var(--gold-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 1.5rem 0 2.5rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0.35rem 0;
}

.site-footer a {
  color: var(--gold-soft);
  transition: opacity 0.2s ease;
}

.site-footer a:hover {
  opacity: 0.8;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-image-wrap {
    width: 100%;
  }

  .profile-image-wrap img {
    width: min(100%, 480px);
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .site-nav {
    width: calc(100% - 1rem);
  }

  .nav-links {
    justify-content: flex-start;
    gap: 0.3rem 0.5rem;
    padding: 0.7rem 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item > a {
    width: 100%;
    display: block;
    text-align: left;
    padding: 0.8rem 0.9rem;
  }

  .has-submenu > a::after {
    float: right;
    margin-top: 0.2rem;
  }

  .submenu {
    position: static;
    display: block;
    min-width: 100%;
    margin-top: 0.25rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 12px;
    background: rgba(30, 30, 34, 0.72);
  }

  .submenu a {
    padding: 0.65rem 0.8rem;
  }

  .page-shell {
    padding-top: 1.5rem;
  }
}

@media (max-width: 420px) {
  .page-shell,
  .site-footer {
    width: min(100% - 1rem, 1120px);
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.05rem;
  }
}