/* ================ BASE ================ */

:root {
  --bg: #050507;
  --bg-alt: #101012;
  --text: #f7f7f7;
  --muted: #a0a0b3;
  --accent: #ffd431;
  --accent-soft: rgba(255, 212, 49, 0.12);
  --border-soft: rgba(255, 255, 255, 0.06);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.7);
  --max-width: 1160px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
}

/* subtle grain / gradient bg */
.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, #262630 0, transparent 55%),
    radial-gradient(circle at bottom right, #141420 0, transparent 55%),
    #020207;
  opacity: 0.95;
  z-index: -1;
}

/* ================ UTILITIES ================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-heading {
  max-width: 640px;
}

.section-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 34px);
  font-weight: 600;
  margin: 4px 0 12px;
}

.section-text {
  color: var(--muted);
  font-size: 15px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #161616;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}

/* Pills / chips */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(10, 10, 15, 0.85);
}

.pill-strong {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 212, 49, 0.05);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ================ HEADER / NAV ================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(3, 3, 6, 0.85);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-size: 14px;
  font-weight: 600;
}

.brand-tagline {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* Nav */

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

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.is-active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  background: #f8f8f8;
  border-radius: 999px;
}

/* ================ HERO ================ */

.hero {
  padding-top: 0;
  padding-bottom: 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(320px, 2.5fr);
  gap: 20px;
  align-items: start;
}

.hero-left {
  padding-top: 40px;
}

.hero-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.08;
  margin: 0 0 12px 0;
}

.hero-title-main {
  display: block;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title-bottom {
  display: block;
  font-size: clamp(16px, 2.6vw, 20px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.hero-title-tagline {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-lead {
  margin: 12px 0 16px 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.metric {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-value {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}

.hero-social {
  margin-top: 52px;
}

.social-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 12px 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 212, 49, 0.05);
  transform: translateY(-2px);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

/* Hero right */

.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card {
  background: radial-gradient(circle at top, #232333 0, #050507 50%);
  border-radius: var(--radius-lg);
  padding: 14px 14px 18px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.hero-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card-body {
  font-size: 13px;
  color: var(--muted);
}

.hero-role {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.hero-quote {
  margin-bottom: 12px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-tags span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--muted);
}

.hero-floating {
  position: relative;
  max-width: 280px;
  background: #050509;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.floating-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 6px;
}

.floating-items {
  display: grid;
  gap: 8px;
}

.floating-item p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* ================ ALL-ROUNDER SECTION ================ */

.all-rounder {
  background: radial-gradient(circle at top, #141420 0, #050507 60%);
}

.all-rounder-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(320px, 3fr);
  gap: 40px;
  align-items: start;
}

.all-rounder-copy {
  max-width: 560px;
}

.all-rounder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.skill-card {
  background: rgba(8, 8, 14, 0.92);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 18px 16px 18px;
  font-size: 13px;
  color: var(--muted);
}

.skill-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 18px;
}

.skill-card h3 {
  font-size: 15px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  margin-bottom: 6px;
}

.skill-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  list-style: disc;
}

/* ================ JOURNEY / TIMELINE ================ */

.journey {
  background: rgba(5, 5, 10, 0.9);
}

.timeline {
  margin-top: 32px;
  border-left: 1px solid var(--border-soft);
  padding-left: 18px;
  display: grid;
  gap: 24px;
}

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

.timeline-item::before {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--accent);
  left: -24px;
  top: 5px;
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.timeline-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 4px;
}

.timeline-item h3 {
  font-size: 16px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--muted);
}

/* ================ EXPERIENCE / WORK ================ */

.work-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.work-card {
  background: rgba(8, 8, 13, 0.95);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 18px 16px 16px;
  font-size: 13px;
  color: var(--muted);
}

.work-logo {
  height: 38px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.work-logo img {
  max-height: 38px;
  width: auto;
}

.work-card h3 {
  font-size: 16px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  margin-bottom: 6px;
}

.work-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  list-style: disc;
}

/* ================ ALUMNI SLIDER ================ */

.alumni {
  background: rgba(5, 5, 10, 0.9);
}

.alumni-slider {
  position: relative;
  margin-top: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at top left, #181822 0, #050507 55%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.alumni-slider-viewport {
  overflow: hidden;
  /* fixed frame height so images display consistently in the slider */
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050507;
}

.alumni-slider-track {
  display: flex;
  transition: transform 0.45s ease;
}

.alumni-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.alumni-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* Caption overlay (desktop) — appears over the top-left of the image */
.alumni-caption {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  background: linear-gradient(180deg, rgba(6,6,10,0.7), rgba(6,6,10,0.5));
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text);
  padding: 16px 18px;
  border-radius: 10px;
}

.alumni-caption h3 { color: var(--accent); margin: 0 0 8px 0; }
.alumni-caption p { color: var(--muted); margin: 0; }

.alumni-caption h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--text);
}

.alumni-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(5, 5, 10, 0.9);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Fixed caption (used on small screens) */
.alumni-caption-fixed {
  display: none;
  margin-top: 12px;
  padding: 18px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 992px) {
  /* on smaller screens, hide inline captions and show the fixed one below */
  .alumni-caption {
    display: none;
  }

  .alumni-caption-fixed {
    display: block;
    background: rgba(5,5,10,0.6);
    border: 1px solid var(--border-soft);
  }
}

.alumni-prev {
  left: 10px;
}

.alumni-next {
  right: 10px;
}

/* ================ HIGHLIGHTS ================ */

.highlights {
  background: rgba(6, 6, 12, 0.96);
}

.awards-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.award-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #050507;
  font-size: 12px;
  color: var(--muted);
}

.award-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.award-card figcaption {
  padding: 8px 10px 10px;
}

.award-card strong {
  display: block;
  color: var(--text);
}

/* LinkedIn */

.linkedin-section {
  margin-top: 34px;
}

.linkedin-heading h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 20px;
  margin-bottom: 6px;
}

.linkedin-heading p {
  font-size: 14px;
  color: var(--muted);
}

.linkedin-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.linkedin-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: rgba(8, 8, 13, 0.95);
  display: flex;
  flex-direction: column;
}

.linkedin-image img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.linkedin-body {
  padding: 12px 12px 14px;
  font-size: 13px;
  color: var(--muted);
}

.linkedin-body h4 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 15px;
  margin: 0 0 4px;
  color: var(--text);
}

.linkedin-meta {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}

/* ================ COMMUNITY ================ */

.community-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(320px, 3fr);
  gap: 28px;
  align-items: start;
}

.community-copy {
  max-width: 520px;
}

.community-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.community-gallery {
  display: block;
  gap: 10px;
}

.community-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  /* make the main image fill the column and keep a consistent frame */
  display: block;
  width: 100%;
  min-height: 420px;
}

.community-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.community-thumb {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

.community-main img,
.community-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1200px) {
  .community-main {
    min-height: 560px;
  }
}

@media (max-width: 992px) {
  .community-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .community-main {
    min-height: 300px;
  }

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

/* ================ CONTACT ================ */

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 2.2fr);
  gap: 36px;
}

.contact-list {
  margin: 16px 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-panel {
  border-radius: var(--radius-lg);
  background: rgba(6, 6, 12, 0.96);
  border: 1px solid var(--border-soft);
  padding: 18px 18px 18px;
  font-size: 13px;
  color: var(--muted);
  align-self: start;
}

.contact-panel h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 10px;
}

.contact-panel ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.contact-panel li {
  margin-bottom: 8px;
}

/* ================ FOOTER ================ */

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 18px 0 28px;
}

.footer-inner {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ================ RESPONSIVE ================ */

@media (max-width: 992px) {
  .hero-inner,
  .all-rounder-inner,
  .community-inner,
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    order: -1;
  }



  .all-rounder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .alumni-slide {
    grid-template-columns: minmax(0, 1fr);
  }

  .awards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .linkedin-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .header-inner {
    height: 60px;
  }

  /* mobile nav */
  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    inset: 60px 0 auto;
    background: rgba(4, 4, 9, 0.97);
    border-bottom: 1px solid var(--border-soft);
    flex-direction: column;
    padding: 12px 20px 16px;
    gap: 14px;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.16s ease, opacity 0.16s ease;
  }

  .nav-list.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-left {
    padding-top: 0;
    order: 1;
  }

  .hero-right {
    width: 100%;
    order: 2;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-metrics {
    gap: 16px;
  }

  .all-rounder-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .community-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .awards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .linkedin-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .alumni-nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-title-main {
    font-size: 28px;
  }

  .hero-title-bottom {
    font-size: 14px;
  }
}
