/* ---------- Tokens ---------- */
:root {
  --dark: #364652;
  --orange: #FF8552;
  --cream: #EDFFD9;
  --lavender: #9FA0C3;
  --purple: #9381FF;

  --bg: #FBFDF6;
  --bg-tint: #EDFFD9;
  --text: #24313B;
  --text-muted: #5C6B75;
  --border: #DCE4D6;

  --font: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 18px;
  --container: 1120px;
  --section-pad: clamp(48px, 6vw, 84px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) 32px;
}

.section-kicker {
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 17px;
  color: var(--orange);
  margin-bottom: 16px;
}
.section-kicker.light { color: var(--orange); }

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  max-width: 640px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 133, 82, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(255, 133, 82, 0.45); }

.btn-outline {
  border-color: var(--dark);
  color: var(--dark);
}
.btn-outline:hover { background: var(--dark); color: #fff; }

.btn-outline-light {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 32px;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(251, 253, 246, 0.85);
  backdrop-filter: blur(12px);
  padding: 14px 32px;
  box-shadow: 0 4px 24px rgba(54, 70, 82, 0.08);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-weight: 900;
  font-size: 20px;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-logo span { color: var(--orange); }
.nav-logo-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:not(.nav-cta) { color: var(--text-muted); transition: color 0.2s ease; }
.nav-links a:not(.nav-cta):hover { color: var(--dark); }

.nav-cta {
  background: var(--dark);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.25s ease;
}
.nav-cta:hover { background: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 32px 80px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  font-size: 15px;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--dark);
}
.accent-text { color: var(--orange); }

.hero-lede {
  margin-top: 26px;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 480px;
}
.hero-motto {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-style: italic;
  font-weight: 800;
  color: var(--purple);
  background: rgba(147, 129, 255, 0.1);
  border-left: 4px solid var(--purple);
  padding: 10px 20px;
  border-radius: 0 12px 12px 0;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual { position: relative; }
.hero-blob {
  position: absolute;
  top: 50%; left: 50%;
  width: 340px; height: 340px;
  background: var(--purple);
  opacity: 0.18;
  border-radius: 50%;
  filter: blur(50px);
  transform: translate(-50%, -50%);
  z-index: 0;
}
.img-placeholder.portrait {
  position: relative;
  z-index: 1;
  aspect-ratio: 4/5;
  border-radius: 28px;
}
.portrait-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 4/5;
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 24px 48px rgba(54, 70, 82, 0.18);
}

.scroll-cue {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--lavender);
  border-radius: 20px;
}
.scroll-cue span {
  display: block;
  width: 4px; height: 8px;
  background: var(--orange);
  border-radius: 2px;
  margin: 8px auto 0;
  animation: scrollcue 1.8s infinite ease;
}
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Placeholder blocks ---------- */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: repeating-linear-gradient(135deg, rgba(159,160,195,0.12), rgba(159,160,195,0.12) 10px, rgba(159,160,195,0.05) 10px, rgba(159,160,195,0.05) 20px);
  border: 1.5px dashed var(--lavender);
  border-radius: var(--radius);
  color: var(--lavender);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}
.img-placeholder svg { width: 32px; height: 32px; opacity: 0.7; }

/* ---------- About ---------- */
.about-text {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 500;
  color: var(--dark);
  max-width: 820px;
  line-height: 1.5;
}
.about-text strong { color: var(--orange); }

/* ---------- Experience ---------- */
.experience { background: var(--bg-tint); }
.experience-compact { max-width: 720px; }
.experience-card-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.company-logo { height: 34px; width: auto; object-fit: contain; }
.hone-logo { background: var(--dark); padding: 8px 14px; border-radius: 10px; height: 40px; }
.experience-card-head h3 { font-size: 20px; font-weight: 700; }
.experience-meta { color: var(--text-muted); font-size: 14px; margin-top: 2px; }

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.experience-list li {
  color: var(--text-muted);
  font-size: 15px;
  padding-left: 20px;
  position: relative;
}
.experience-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.experience-list strong { color: var(--dark); }

.experience-compact + .experience-compact {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.experience-compact .experience-card-head { margin-bottom: 0; }
.experience-compact .company-logo { height: 28px; }

.company-logo-sm { height: 30px; width: auto; max-width: 130px; object-fit: contain; }
.company-logo-sm.on-dark { filter: none; }
.company-logo-sm.circle { height: 46px; width: 46px; border-radius: 50%; object-fit: cover; }

.logo-with-label { display: flex; align-items: center; gap: 10px; }
.logo-with-label-text { font-weight: 700; color: var(--dark); font-size: 14px; }

/* ---------- Community ---------- */
.community-intro {
  color: var(--text-muted);
  max-width: 600px;
  margin-top: -20px;
  margin-bottom: 44px;
  font-size: 17px;
}
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.community-card {
  background: var(--bg-tint);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.community-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(54,70,82,0.08); }
.community-card h3 { font-size: 17px; font-weight: 700; margin: 16px 0 4px; }
.community-org { color: var(--orange); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.community-card p { color: var(--text-muted); font-size: 14.5px; }

.community-carousel {
  margin-top: 8px;
  margin-bottom: 40px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.community-carousel-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: carousel-scroll 20s linear infinite;
}
.community-carousel:hover .community-carousel-track { animation-play-state: paused; }
@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.carousel-photo {
  flex: 0 0 auto;
  height: 320px;
  width: auto;
  border-radius: 16px;
  object-fit: cover;
}

/* ---------- Skills ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}
.skills-block { margin-bottom: 0; }
.skills-block h4 { color: var(--dark); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  background: var(--bg-tint);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--dark);
  font-weight: 500;
}

/* ---------- Photography ---------- */
.photography { background: var(--dark); color: #fff; }
.photography .section-title { color: #fff; }
.photography-text { color: rgba(255,255,255,0.7); max-width: 620px; margin-bottom: 44px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-photo {
  aspect-ratio: 4/5;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.4s ease;
}
.gallery-photo:hover { transform: scale(1.02); }
.gallery-cta { margin-top: 32px; }

/* ---------- Quote ---------- */
.quote-section { background: var(--cream); }
.quote-section .section-inner { padding-top: 64px; padding-bottom: 64px; }
blockquote {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  color: var(--dark);
  max-width: 780px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
blockquote em { color: var(--orange); font-style: normal; }

/* ---------- Contact / footer ---------- */
.contact { background: var(--dark); color: #fff; }
.contact .section-kicker { color: var(--orange); }
.contact-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}
.contact-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-note { margin-top: 64px; color: rgba(255,255,255,0.45); font-size: 13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 280px; margin: 0 auto; }
  .skills-grid { grid-template-columns: 1fr; gap: 32px; }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 78vw;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a:not(.nav-cta) { color: rgba(255,255,255,0.75); font-size: 18px; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .community-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .carousel-photo { height: 220px; }
  .community-carousel-track { animation-duration: 26s; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .contact-actions { flex-direction: column; align-items: flex-start; }
}
