:root {
  --green-950: #061d11;
  --green-900: #0a2818;
  --green-800: #113620;
  --green-700: #2f7832;
  --green-500: #75bd4c;
  --gold: #e9b858;
  --gold-soft: #f2d27d;
  --paper: #fcfbf6;
  --ink: #151a16;
  --muted: #626b61;
  --line: #dcd9cf;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background: rgba(7, 30, 18, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1186px, calc(100% - 56px));
  height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 245px 1fr auto;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.brand strong {
  display: block;
  font-size: 21px;
  line-height: 1;
}

.brand small {
  display: block;
  color: var(--gold-soft);
  font-size: 11px;
  margin-top: 4px;
}

.brand-mark {
  width: 38px;
  height: 38px;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.25vw, 42px);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding: 32px 0 27px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 21px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

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

.contact-btn {
  justify-self: end;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.contact-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 558px;
  overflow: hidden;
  color: #fff;
  background: var(--green-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 29, 17, 0.97) 0%, rgba(7, 35, 19, 0.92) 35%, rgba(9, 38, 21, 0.65) 58%, rgba(7, 31, 19, 0.14) 100%),
    linear-gradient(180deg, rgba(7, 31, 19, 0.18), rgba(7, 31, 19, 0.36)),
    url("assets/hero-palm-fruit.png") center right / cover no-repeat;
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(1186px, calc(100% - 56px));
  margin: 0 auto;
  min-height: 558px;
  padding: 126px 0 0;
  display: grid;
  grid-template-columns: 324px minmax(360px, 505px);
  gap: 56px;
  align-items: start;
}

.portrait-wrap {
  position: relative;
}

.portrait {
  width: 100%;
  aspect-ratio: 0.752;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.35);
}

.passion-card {
  position: absolute;
  left: -47px;
  bottom: 26px;
  width: 224px;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  border-radius: 14px;
  background: rgba(18, 66, 35, 0.93);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.passion-card p {
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
  font-size: 13px;
}

.passion-card strong {
  color: var(--gold-soft);
}

.mini-palm {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  fill: var(--gold);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green-500);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.intro h1 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(40px, 3.85vw, 53px);
  line-height: 1.08;
  letter-spacing: 0;
}

.role {
  margin-bottom: 21px;
  color: var(--gold);
  font-weight: 800;
}

.accent-line,
.section-line {
  display: block;
  width: 34px;
  height: 3px;
  margin: 0 0 22px;
  background: var(--green-500);
}

.bio {
  max-width: 500px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-meta div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-meta svg {
  width: 35px;
  height: 35px;
  fill: var(--green-500);
}

.contact-meta strong,
.contact-meta small {
  display: block;
}

.contact-meta strong {
  color: #fff;
  font-size: 14px;
}

.contact-meta small {
  color: rgba(255, 255, 255, 0.67);
  font-size: 12px;
}

.profile-grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(42px, 7vw, 100px);
  width: min(1114px, calc(100% - 72px));
  margin: 0 auto;
  padding: 50px 0 66px;
}

.leaf-shadow {
  position: absolute;
  left: calc(50% - 760px);
  bottom: 0;
  width: 240px;
  height: 360px;
  z-index: -1;
  opacity: 0.09;
  background: repeating-conic-gradient(from 225deg at 82% 80%, var(--green-700) 0 5deg, transparent 5deg 14deg);
  clip-path: polygon(0 10%, 70% 0, 100% 100%, 0 100%);
}

.profile-grid h2 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.journey p,
.timeline p {
  color: #454b43;
  font-size: 13px;
}

.signature {
  margin-top: 29px;
  color: #4a9c43;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 31px !important;
}

.timeline {
  position: relative;
  padding-left: 35px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  margin-bottom: 22px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.dot {
  position: absolute;
  left: -36px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3a8e3f;
  border: 2px solid #d2e5cc;
  box-shadow: 0 0 0 4px rgba(58, 142, 63, 0.08);
}

.timeline time {
  color: #687066;
  font-size: 13px;
}

.timeline h3 {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.25;
}

.timeline strong {
  display: block;
  color: #222920;
  font-size: 13px;
  line-height: 1.4;
}

.timeline p {
  margin: 3px 0 0;
}

.skill-list {
  display: grid;
  gap: 22px;
}

.skill {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px 18px;
  align-items: center;
}

.skill-icon {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  color: #438f3f;
  fill: currentColor;
}

.skill p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #191e18;
  font-size: 13px;
  font-weight: 600;
}

.skill i {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfded7;
}

.skill i::before {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38803a, #2d7733);
}

.stats-band {
  position: relative;
  min-height: 137px;
  overflow: visible;
}

.stats-bg {
  position: absolute;
  inset: 22px 0 0;
  background:
    linear-gradient(180deg, rgba(251, 250, 245, 0), rgba(7, 31, 19, 0.18)),
    url("assets/plantation-band.png") center / cover no-repeat;
}

.stats-card {
  position: relative;
  z-index: 1;
  width: min(1172px, calc(100% - 72px));
  min-height: 119px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(17, 56, 33, 0.97), rgba(8, 31, 19, 0.97));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.stat {
  min-height: 72px;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  align-self: end;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
}

.stat small {
  grid-column: 2;
  align-self: start;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.stat-icon {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  fill: var(--gold);
}

@media (max-width: 1040px) {
  .nav {
    grid-template-columns: 220px 1fr auto;
  }

  .nav-links {
    gap: 18px;
  }

  .hero-shell {
    grid-template-columns: 340px 1fr;
    gap: 40px;
  }

  .passion-card {
    left: 18px;
  }

  .profile-grid {
    grid-template-columns: 1fr 1fr;
  }

  .skills {
    grid-column: 1 / -1;
  }

  .stats-card {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat:nth-child(3) {
    border-right: 0;
  }
}

@media (max-width: 820px) {
  .nav {
    width: min(100% - 32px, 720px);
    height: 76px;
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    justify-self: end;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    display: grid;
    place-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 21px;
    height: 2px;
    background: #fff;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    padding: 12px;
    border-radius: 10px;
    background: rgba(7, 31, 19, 0.96);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
  }

  .nav-links.open {
    display: grid;
    gap: 0;
  }

  .nav-links a {
    padding: 13px 10px;
  }

  .nav-links a::after {
    bottom: 6px;
    left: 10px;
    right: auto;
    width: 38px;
  }

  .nav > .contact-btn {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-shell {
    width: min(100% - 32px, 620px);
    padding: 116px 0 52px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .portrait-wrap {
    max-width: 360px;
    margin: 0 auto;
  }

  .intro h1 {
    font-size: 42px;
  }

  .profile-grid {
    width: min(100% - 32px, 620px);
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .stats-card {
    width: min(100% - 32px, 620px);
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 22px 28px;
  }

  .stat:last-child {
    border-bottom: 0;
  }

}

@media (max-width: 460px) {
  .brand strong {
    font-size: 19px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .portrait {
    border-radius: 18px;
  }

  .passion-card {
    width: calc(100% - 32px);
    left: 16px;
    bottom: 16px;
  }

  .intro h1 {
    font-size: 36px;
  }

  .contact-meta {
    gap: 18px;
  }

  .skill {
    grid-template-columns: 32px 1fr;
  }
}
