/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brown:      #3D2B1F;
  --brown-mid:  #5C3D2B;
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --cream:      #F5F0E8;
  --white:      #FFFFFF;
  --text:       #1A1A1A;
  --text-muted: #6B6B6B;
  --dark-bg:    #0F0A07;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-bg);
  color: var(--white);
  overflow-x: hidden;
}

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

/* ── Nav ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s;
}

#nav.scrolled {
  background: rgba(15, 10, 7, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

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

/* ── Hero ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 50%, rgba(61, 43, 31, 0.6) 0%, transparent 70%),
    linear-gradient(135deg, #0F0A07 0%, #1E1208 40%, #0F0A07 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-pre {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 420px;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero-cta {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--gold);
  color: var(--brown);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
}

.hero-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.hero-photo-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: clamp(300px, 40vw, 560px);
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.hero-photo {
  height: 90%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 0 60px rgba(201, 168, 76, 0.15));
  mask-image: linear-gradient(to top, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 15%, black 85%, transparent 100%);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.3);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Shared Section Styles ── */
section { padding: 7rem 2rem; }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 3rem;
}

/* ── Story ── */
#story {
  background: linear-gradient(180deg, var(--dark-bg) 0%, #130C08 100%);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.story-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.25rem;
}

.story-text p:last-child { margin-bottom: 0; }

.story-quote {
  padding: 2.5rem;
  background: rgba(201, 168, 76, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  position: sticky;
  top: 100px;
}

.story-quote blockquote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.story-quote cite {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-style: normal;
}

/* ── Timeline ── */
#career {
  background: #0A0604;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brown-mid);
  border: 2px solid var(--gold);
}

.timeline-item--highlight::before {
  background: var(--gold);
  width: 14px;
  height: 14px;
  left: -2.6rem;
  box-shadow: 0 0 12px var(--gold);
}

.timeline-item--future::before {
  background: transparent;
  border-color: var(--gold-light);
  border-style: dashed;
}

.timeline-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  white-space: nowrap;
  padding-top: 0.2rem;
}

.timeline-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.timeline-content > p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timeline-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.timeline-content ul li {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  padding-left: 1rem;
  position: relative;
}

.timeline-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

.timeline-item--highlight .timeline-content {
  background: rgba(201, 168, 76, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
}

.timeline-item--future .timeline-content h3 {
  color: var(--gold-light);
}

/* ── Stats ── */
#stats {
  background: linear-gradient(180deg, #0A0604 0%, var(--dark-bg) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color 0.2s, background 0.2s;
}

.stat-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.05);
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.stat-plus {
  font-size: 2rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.stat-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ── Next Chapter ── */
#next {
  background: var(--dark-bg);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.next-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.next-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.25rem;
}

.next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn--outline {
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold-light);
}

.btn--outline:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
}

.flag-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  min-width: 220px;
}

.flag-emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.flag-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.flag-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ── Footer ── */
footer {
  padding: 3rem 2rem;
  background: #070402;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.footer-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer-credit {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

.footer-credit a {
  color: rgba(255,255,255,0.4);
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .story-grid    { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .next-grid     { grid-template-columns: 1fr; }
  .flag-card     { display: none; }
  .story-quote   { position: static; }
  .hero-photo-wrap { opacity: 0.2; }
}

@media (max-width: 600px) {
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .nav-links     { display: none; }
  .timeline-item { grid-template-columns: 80px 1fr; gap: 1rem; }
}
