/*
  HEADER / NAV
  ------------
*/
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 233, 220, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--page-padding);
  max-width: var(--page-width);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.01em;
}
.logo .accent {
  color: var(--terracotta);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--ink);
}

/*
  HERO
  ----
  Name, tagline, intro paragraph, and the two chart cards on the right.
*/
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 60px;
}

/* Soft glow behind the hero, purely decorative */
.hero-glow {
  position: absolute;
  top: -120px;
  right: -160px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle at center, rgba(193, 85, 58, 0.28), rgba(193, 85, 58, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(52px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-top: 10px;
}
.hero h1 .dot {
  color: var(--terracotta);
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 30px);
  color: var(--terracotta);
  margin: 26px 0 30px;
  font-weight: 400;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 20px;
}

.hero-copy p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 520px;
  line-height: 1.6;
}
.hero-copy strong { color: var(--ink); font-weight: 600; }
.hero-copy em { color: var(--terracotta); font-style: italic; }

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

.chart-cards {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
}

/*
  MARQUEE
  -------
  The scrolling ticker of skills/keywords just under the hero.
*/
.marquee-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--sand);
  overflow: hidden;
  padding: 34px 0;
  margin-top: 70px;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: scroll-left 32s linear infinite;
}
.marquee-track span {
  font-family: var(--font-serif);
  font-size: 44px;
  padding: 0 40px;
  display: inline-flex;
  align-items: center;
  gap: 40px;
  color: var(--ink);
}
.marquee-track em {
  font-style: italic;
  color: var(--terracotta);
}
.marquee-track .bullet {
  color: var(--terracotta);
  font-size: 28px;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
