/* ROOT START */
:root {
  --green: #0f5132;
  --green-dark: #092e20;
  --gold: #d4af37;
  --white: #ffffff;
  --grey: #f7f7f7;
  --ink: #122019;
  --muted: #5d6b64;
  --line: rgba(15, 81, 50, 0.14);
  --shadow: 0 24px 70px rgba(9, 46, 32, 0.16);
  --radius: 20px;
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
}

body.dark {
  --white: #071511;
  --grey: #0d2018;
  --ink: #f3f8f5;
  --muted: #b7c5be;
  --line: rgba(212, 175, 55, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

/* ROOT END */

/* LOADING START */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--green-dark);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.7);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 2px;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 45px rgba(212, 175, 55, 0.28);
  }
}
/* LOADING END */

/* SCROLL PROGRESS START */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 110;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), #fff4b0);
}
/* SCROLL PROGRESS END */

/* HEADER START */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 81, 50, 0.08);
}

body.dark .site-header {
  background: rgba(7, 21, 17, 0.76);
}

.nav-shell {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  background: var(--green);
  box-shadow: 0 10px 24px rgba(15, 81, 50, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.93rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green);
  background: rgba(212, 175, 55, 0.14);
}

body.dark .nav-links a:hover,
body.dark .nav-links a:focus-visible {
  color: var(--gold);
}

.theme-toggle,
.nav-toggle,
.back-to-top {
  border: 0;
  cursor: pointer;
  color: var(--green);
  background: rgba(212, 175, 55, 0.16);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}
/* HEADER END */

/* HERO START */
.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 110px 0 72px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(0.96);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 25, 17, 0.92), rgba(5, 25, 17, 0.62) 47%, rgba(5, 25, 17, 0.18)),
    linear-gradient(0deg, rgba(5, 25, 17, 0.42), transparent 42%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 420px;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.95;
}

.hero-role {
  margin: 22px 0 0;
  color: #fff6cc;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 800;
}

.hero-intro {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.hero-actions,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn-primary {
  color: var(--green-dark);
  background: linear-gradient(135deg, var(--gold), #f1dc83);
  box-shadow: 0 18px 42px rgba(212, 175, 55, 0.32);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.social-row a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.portrait-card {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
}

.portrait-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 14px 16px;
  border-radius: 999px;
  color: #fff;
  text-align: center;
  font-weight: 800;
  background: rgba(15, 81, 50, 0.7);
  backdrop-filter: blur(14px);
}
/* HERO END */

/* SECTION START */
.section {
  padding: clamp(74px, 9vw, 120px) 0;
}

.section:nth-of-type(even) {
  background: var(--grey);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
  color: var(--green);
}

body.dark .section-heading h2,
body.dark .contact-card h2 {
  color: #f7fbf8;
}

.section-note {
  color: var(--muted);
}
/* SECTION END */

/* BIOGRAPHY START */
.bio-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 72px);
}

.bio-content {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.bio-content p {
  margin: 0 0 18px;
  color: var(--muted);
}

.bio-content .lead {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 700;
}

.timeline {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 247, 247, 0.86));
  box-shadow: 0 18px 48px rgba(9, 46, 32, 0.09);
}

body.dark .timeline-card {
  background: rgba(255, 255, 255, 0.04);
}

.timeline-card span {
  color: var(--gold);
  font-weight: 900;
  font-size: 1.4rem;
}

.timeline-card h3 {
  margin: 12px 0 8px;
  color: var(--green);
}

body.dark .timeline-card h3 {
  color: #fff;
}

.timeline-card p {
  margin: 0;
  color: var(--muted);
}
/* BIOGRAPHY END */

/* WHAT I DO START */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.media-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(9, 46, 32, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card {
  padding: 28px;
}

.service-card:hover,
.media-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.58);
  box-shadow: 0 28px 70px rgba(9, 46, 32, 0.16);
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--green);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(15, 81, 50, 0.1));
  font-size: 1.45rem;
}

.service-card h3 {
  margin: 20px 0 10px;
  color: var(--green);
  font-size: 1.35rem;
}

body.dark .service-card h3 {
  color: #fff;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}
/* WHAT I DO END */

/* MEDIA START */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.media-card {
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--green-dark);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold);
  background:
    radial-gradient(circle at center, rgba(212, 175, 55, 0.26), transparent 34%),
    linear-gradient(135deg, var(--green), var(--green-dark));
}

.video-placeholder span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: linear-gradient(135deg, var(--gold), #f3dc83);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.media-body {
  padding: 20px;
}

.media-body h3 {
  margin: 0 0 8px;
  color: var(--green);
}

body.dark .media-body h3 {
  color: #fff;
}

.media-body p {
  margin: 0;
  color: var(--muted);
}
/* MEDIA END */

/* CONTACT START */
.contact-section {
  background:
    linear-gradient(135deg, rgba(15, 81, 50, 0.94), rgba(9, 46, 32, 0.94));
}

.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  color: #fff;
}

.contact-card p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  padding: 15px 18px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.contact-links a:hover {
  background: rgba(212, 175, 55, 0.24);
}
/* CONTACT END */

/* FOOTER START */
.site-footer {
  padding: 26px 0;
  color: var(--muted);
  background: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--green);
  font-weight: 800;
}

body.dark .footer-inner a {
  color: var(--gold);
}
/* FOOTER END */

/* BACK TO TOP START */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* BACK TO TOP END */

/* ANIMATIONS START */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.zoom-in {
  transform: scale(0.96);
}

.zoom-in.visible {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* ANIMATIONS END */

/* RESPONSIVE START */
@media (max-width: 980px) {
  .hero-grid,
  .bio-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .portrait-card {
    max-width: 420px;
  }

  .timeline,
  .work-grid,
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .brand-text {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: grid;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(5, 25, 17, 0.9), rgba(5, 25, 17, 0.66));
  }

  .timeline,
  .work-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* RESPONSIVE END */
