:root {
  --bg: #0f1217;
  --bg-alt: #161b23;
  --surface: #1d2430;
  --border: #2b3545;
  --text: #e8edf5;
  --muted: #9aa7b8;
  --accent: #c89b54;
  --accent-hover: #ddb36f;
  --radius: 12px;
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 18, 23, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #c89b54, #8f6829);
  color: #0f1217;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
}

/* Hero & Page Header */
.hero {
  padding: 96px 0 80px;
  background: radial-gradient(circle at top right, rgba(200, 155, 84, 0.14), transparent 48%),
              linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero {
  padding: 68px 0 52px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.25;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text);
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 680px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #0f1217;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #0f1217;
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Sections & Cards */
section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 700px;
  margin-bottom: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

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

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(200, 155, 84, 0.14);
  color: var(--accent);
  margin-bottom: 12px;
}

.list-styled {
  list-style: none;
  margin-top: 14px;
}

.list-styled li {
  padding: 8px 0 8px 22px;
  position: relative;
  color: var(--muted);
}

.list-styled li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Profile Metadata Table */
.meta-list {
  display: grid;
  gap: 14px;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.meta-item dt {
  color: var(--muted);
  font-weight: 500;
}

.meta-item dd {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

/* Contact Form */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.92rem;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

.form-status {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--accent);
  min-height: 22px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 8px;
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--border);
}

/* Footer */
.site-footer {
  background: #0b0d11;
  border-top: 1px solid var(--border);
  padding: 52px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-grid p {
  color: var(--muted);
  max-width: 360px;
  margin-top: 12px;
  font-size: 0.94rem;
}

.footer-links {
  list-style: none;
  margin-top: 12px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 860px) {
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    align-items: flex-start;
  }

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