:root {
  --paper: #f6f2e8;
  --ink: #151313;
  --muted: #6b6258;
  --gold: #b68b2c;
  --gold-light: #e4d398;
  --gold-deep: #8a651f;
  --charcoal: #1f2226;
  --cream: #fffaf1;
  --edge: rgba(17, 17, 17, 0.12);
  --edge-light: rgba(182, 139, 44, 0.22);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3, h4 {
  font-family: "Petrona", serif;
  font-weight: 500;
}

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

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 242, 232, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--edge);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  display: grid;
  place-items: center;
  color: #fffdf6;
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.nav-item {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-trigger svg {
  width: 10px;
  height: 10px;
}

.dropdown {
  position: absolute;
  top: 44px;
  left: 0;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.2s ease;
  box-shadow: 0 18px 40px rgba(20, 17, 12, 0.12);
}

.nav-item:hover .dropdown,
.nav-item.is-open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  border-radius: 8px;
}

.dropdown a:hover {
  background: var(--charcoal);
  color: #ffffff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  color: #231c0d;
  box-shadow: 0 12px 24px rgba(182, 139, 44, 0.22);
}

.btn-dark {
  background: var(--charcoal);
  color: #fff;
}

.btn-outline {
  border-color: var(--edge-light);
  color: var(--ink);
}

.btn:hover { transform: translateY(-1px); }

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: #ffffff;
  padding: 88px 24px 32px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 15;
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.mobile-nav > ul > li {
  border-bottom: 1px solid #eeeeea;
}

.mobile-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.mobile-subnav {
  padding-left: 16px;
  padding-bottom: 10px;
}

.mobile-subnav a {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero {
  position: relative;
  background: #171a1e;
  color: #ffffff;
  min-height: calc(100vh - 84px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 96px 16px;
  overflow: hidden;
  background-image: url("/assets/Lemarvalencelogodesign.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(70vw, 560px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(182, 139, 44, 0.4), transparent 45%),
    radial-gradient(circle at 70% 30%, rgba(182, 139, 44, 0.2), transparent 50%),
    linear-gradient(180deg, rgba(20, 22, 26, 0.85), rgba(20, 22, 26, 0.95));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 5.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffcf6a;
  margin-bottom: 12px;
}

.hero h2 {
  font-size: clamp(1.1rem, 2vw, 2rem);
  font-weight: 400;
  color: #ffcf6a;
  margin: 0;
}

.section {
  padding: 72px 0;
}

.section.light {
  background: #ffffff;
}

.section.dark {
  background: #1b1e22;
  color: #ffffff;
}

.section-title {
  font-size: clamp(2rem, 2.5vw, 3rem);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 720px;
  line-height: 1.7;
}

.section.dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: start;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--edge);
  min-height: 220px;
  display: grid;
  align-content: end;
  padding: 18px;
  position: relative;
  box-shadow: 0 16px 35px rgba(20, 17, 12, 0.1);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(182, 139, 44, 0.25), rgba(0, 0, 0, 0.15));
  z-index: 0;
}

.card h4, .card p, .card a {
  position: relative;
  z-index: 1;
}

.card h4 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff5d8;
}

.card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 12px;
}

.card a {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff5d8;
}

.disclaimer {
  padding: 20px 0;
  color: #ffffff;
  background: #1b1e22;
}

.disclaimer a {
  color: #ffcf6a;
  text-decoration: underline;
}

.split-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.highlight {
  background: #f0f4f6;
  border-radius: 16px;
  padding: 28px;
}

.dark-panel {
  background: #0f1114;
  border-radius: 18px;
  padding: 28px;
  color: #ffffff;
}

.footer {
  padding: 50px 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-top: 1px solid #eeeeea;
}

.chart-canvas {
  width: 100% !important;
  height: 260px !important;
}

.timeframe-btn {
  border: 1px solid var(--edge);
  background: #ffffff;
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.timeframe-btn.is-active {
  background: var(--charcoal);
  color: #ffffff;
  border-color: var(--charcoal);
}

.price-up {
  color: #1f7a4d;
}

.price-down {
  color: #b91c1c;
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-button { display: block; }
}

@media (max-width: 720px) {
  .hero { min-height: auto; }
  .btn { width: 100%; text-align: center; }
}
