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

:root {
  --dark:   #0e0f0d;
  --card:   #1a1c17;
  --green1: #546B41;
  --green2: #99AD7A;
  --cream:  #DCCCAC;
  --light:  #FFF8EC;
  --muted:  #6b7260;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--green1); border-radius: 2px; }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding: 1.1rem 2rem;
  background: rgba(14,15,13,0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(84,107,65,0.15);
}

nav ul { display: flex; gap: 2.5rem; list-style: none; }

nav a {
  color: var(--muted); text-decoration: none;
  font-size: .82rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .3s;
}
nav a:hover { color: var(--green2); }

/* ── Sections ── */
section {
  min-height: 40vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 5rem 1.5rem 3rem;
  max-width: 860px;
  margin: 0 auto;
}

/* ── Hero ── */
#hero { text-align: center; gap: 1rem; }

.badge {
  display: inline-block;
  padding: .28rem .85rem;
  border: 1px solid var(--green1);
  border-radius: 999px;
  font-size: .72rem; letter-spacing: .08em;
  color: var(--green2);
  animation: fadeUp .8s ease both;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 600;
  color: var(--light);
  letter-spacing: -.02em;
  animation: fadeUp .8s .15s ease both;
}

.typing-wrap {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--green2);
  font-weight: 400;
  min-height: 2rem;
  animation: fadeUp .8s .3s ease both;
}

#cursor {
  display: inline-block;
  width: 2px; height: 1.1em;
  background: var(--green2);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink .7s step-end infinite;
}

.hero-desc {
  max-width: 460px;
  color: var(--muted);
  font-size: .92rem;
  animation: fadeUp .8s .45s ease both;
}

.btn-row {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  animation: fadeUp .8s .6s ease both;
}

.btn {
  padding: .6rem 1.5rem;
  border-radius: 8px;
  font-size: .83rem; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--green1);
  color: var(--light);
  border: none;
  box-shadow: 0 4px 20px rgba(84,107,65,.35);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(84,107,65,.55); }

.btn-outline {
  background: transparent;
  color: var(--green2);
  border: 1px solid var(--green1);
}
.btn-outline:hover { background: rgba(84,107,65,.12); }

/* ── Section headings ── */
.sec-label {
  font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green2);
  margin-bottom: .4rem;
}

.sec-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600; letter-spacing: -.02em;
  color: var(--light);
  margin-bottom: 1.8rem;
  text-align: center;
}

/* ── Grid ── */
.grid { display: grid; gap: 1rem; width: 100%; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ── Card ── */
.card {
  background: var(--card);
  border: 1px solid rgba(84,107,65,.18);
  border-radius: 14px;
  padding: 1.3rem;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at top left, rgba(153,173,122,.06), transparent 70%);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(153,173,122,.4);
  box-shadow: 0 8px 32px rgba(84,107,65,.15);
}

.card-tag {
  font-size: .68rem; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green2);
  margin-bottom: .5rem;
}

.card h3 {
  font-size: .95rem; font-weight: 600;
  color: var(--light); margin-bottom: .35rem;
}

.card p { font-size: .83rem; color: var(--muted); line-height: 1.55; }

.tag-row { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .8rem; }

.tag {
  font-size: .68rem; padding: .18rem .55rem;
  border-radius: 999px;
  background: rgba(84,107,65,.2);
  color: var(--green2);
  border: 1px solid rgba(84,107,65,.3);
}

.blog-date { font-size: .72rem; color: var(--muted); margin-top: .7rem; }

/* ── Timeline ── */
.timeline { width: 100%; display: flex; flex-direction: column; gap: 1rem; }

.tl-item { display: flex; gap: 1rem; align-items: flex-start; }

.tl-dot-wrap {
  display: flex; flex-direction: column; align-items: center; padding-top: .3rem;
}

.tl-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green1);
  border: 2px solid var(--green2);
  flex-shrink: 0;
}

.tl-line {
  width: 1px; flex: 1; min-height: 28px;
  background: linear-gradient(to bottom, var(--green1), transparent);
  margin-top: 4px;
}

.tl-content {
  background: var(--card);
  border: 1px solid rgba(84,107,65,.18);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  flex: 1;
  transition: border-color .3s;
}
.tl-content:hover { border-color: rgba(153,173,122,.4); }

.tl-content h3 { font-size: .92rem; font-weight: 600; color: var(--light); }
.tl-sub { font-size: .8rem; color: var(--green2); margin: .2rem 0; }
.tl-content p { font-size: .8rem; color: var(--muted); }

/* ── Footer ── */
footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid rgba(84,107,65,.12);
  color: var(--muted);
  font-size: .78rem;
}
footer span { color: var(--green2); }

/* ── Orbs ── */
.orb {
  position: fixed; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: 0;
  animation: drift 12s ease-in-out infinite alternate;
}
.orb1 {
  width: 340px; height: 340px;
  background: rgba(84,107,65,.18);
  top: -80px; left: -80px;
}
.orb2 {
  width: 260px; height: 260px;
  background: rgba(153,173,122,.1);
  bottom: 10%; right: -60px;
  animation-delay: -6s;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blink { 50% { opacity: 0; } }

@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(30px,40px) scale(1.08); }
}

.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

nav, section, footer { position: relative; z-index: 1; }
