/* =============================================
   RESET & BASE
============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #F6B93B;
  --black: #0D0D0D;
  --white: #FFFFFF;
  --pill-bg: #FFFFFF;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--black);
}

/* =============================================
   HERO
============================================= */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 600px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* =============================================
   NAVIGATION
============================================= */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 48px;
  z-index: 100;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--black);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.nav-links a:hover {
  opacity: 1;
}

/* =============================================
   COLOUR PICKER
============================================= */
.color-picker {
  position: relative;
  margin-left: 32px;
}

.color-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 999px;
  transition: opacity 0.25s ease;
}

.color-toggle:hover {
  opacity: 0.8;
}

.color-toggle-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  transition: background 0.35s ease;
}

.color-toggle-chevron {
  color: var(--black);
  opacity: 0.6;
  transition: transform 0.3s ease, opacity 0.25s ease;
}

.color-toggle[aria-expanded="true"] .color-toggle-chevron {
  transform: rotate(180deg);
}

.color-toggle:hover .color-toggle-chevron {
  opacity: 1;
}

/* Dropdown */
.color-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 10px 8px;
  min-width: 160px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
  z-index: 200;
}

.color-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Colour Option Row */
.color-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 14px;
  background: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.color-option:hover {
  background: rgba(0, 0, 0, 0.05);
}

.color-option.is-active {
  background: rgba(0, 0, 0, 0.06);
}

.color-option-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.color-option:hover .color-option-dot {
  transform: scale(1.12);
}

.color-option-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--black);
  letter-spacing: 0.01em;
}

/* =============================================
   NAME BLOCK
============================================= */
.name-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  user-select: none;
}

/* Each row of letters */
.name-row {
  display: flex;
  align-items: center;
  line-height: 1;
  gap: 0;
}

.letter {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(80px, 14vw, 180px);
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 0.88;
  display: block;
}

/* =============================================
   PILL / TOGGLE SHAPES
============================================= */
.pill-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

/* Letters under the pill — still visible around the pill edges */
.letter.behind {
  position: relative;
  z-index: 1;
}

.pill {
  position: absolute;
  background: var(--pill-bg);
  border-radius: 999px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12%;
  box-shadow: 0 0 0 0px rgba(0, 0, 0, 0);
  animation: pillPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.pill-large {
  width: clamp(130px, 23vw, 300px);
  height: clamp(70px, 12.5vw, 165px);
  left: 50%;
  transform: translateX(-50%);
}

.pill-medium {
  width: clamp(110px, 20vw, 260px);
  height: clamp(65px, 11.5vw, 150px);
  left: 50%;
  transform: translateX(-50%);
}

.pill-dot {
  width: 55%;
  aspect-ratio: 1;
  background: var(--black);
  border-radius: 50%;
}

@keyframes pillPop {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.6);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

/* =============================================
   MARQUEE STRIP
============================================= */
.marquee-strip {
  width: 100%;
  background: var(--black);
  overflow: hidden;
  padding: 10px 0;
  margin: clamp(6px, 1.2vw, 14px) 0;
  border-radius: 999px;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
  gap: 36px;
}

.marquee-track span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.75rem, 1.4vw, 1rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  white-space: nowrap;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* =============================================
   SCROLL CUE
============================================= */
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeUp 1.2s 0.8s both;
}

.scroll-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.6;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: var(--black);
  opacity: 0.35;
  animation: scrollPulse 1.8s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.35;
  }

  50% {
    transform: scaleY(0.4);
    opacity: 0.1;
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* =============================================
   ENTRY ANIMATIONS
============================================= */
.letter {
  animation: letterDrop 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.row-top .letter:nth-child(1) {
  animation-delay: 0.05s;
}

.row-top .letter:nth-child(2) {
  animation-delay: 0.10s;
}

.row-top .pill-wrap {
  animation-delay: 0.15s;
}

.row-top .letter:nth-child(4) {
  animation-delay: 0.20s;
}

.row-top .letter:nth-child(5) {
  animation-delay: 0.25s;
}

.row-top .letter:nth-child(6) {
  animation-delay: 0.30s;
}

.row-bottom .letter:nth-child(1) {
  animation-delay: 0.35s;
}

.row-bottom .pill-wrap {
  animation-delay: 0.40s;
}

.row-bottom .letter:nth-child(3) {
  animation-delay: 0.45s;
}

@keyframes letterDrop {
  0% {
    opacity: 0;
    transform: translateY(-28px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 600px) {
  .nav {
    padding: 20px 24px;
  }

  .nav-links {
    gap: 20px;
  }

  .color-picker {
    margin-left: 20px;
  }

  .color-dropdown {
    right: -8px;
  }
}

/* =============================================
   BOTTOM MENU & ACCORDION SYSTEM
============================================= */
.menu-section {
  background: var(--bg);
  width: 100%;
  padding: 80px 0 0;
}

.accordion-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
}

.accordion-item {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  background-color: transparent;
  transition: background-color 0.4s ease;
}

.accordion-item.is-open {
  background-color: rgba(255, 255, 255, 0.22);
}

.menu-item.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: clamp(24px, 3.5vw, 40px) clamp(24px, 5vw, 64px);
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: var(--black);
  text-decoration: none;
  transition: background-color 0.5s ease;
  user-select: none;
  text-align: center;
}

.menu-item.accordion-header:hover {
  background-color: rgba(255, 255, 255, 0.72);
  transition: background-color 0.2s ease;
}

.accordion-item.is-open .menu-item.accordion-header {
  background-color: rgba(255, 255, 255, 0.88);
}

.menu-label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(52px, 9vw, 130px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--black);
}

/* Accordion indicator icon (+ / x) */
.accordion-icon {
  position: absolute;
  right: clamp(24px, 5vw, 64px);
  width: clamp(42px, 5vw, 56px);
  height: clamp(42px, 5vw, 56px);
  border-radius: 50%;
  border: 2px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease;
  pointer-events: none;
}

.accordion-icon svg {
  width: clamp(20px, 2.5vw, 24px);
  height: clamp(20px, 2.5vw, 24px);
  stroke: var(--black);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.3s ease;
}

.accordion-item.is-open .accordion-icon {
  background-color: var(--black);
  border-color: var(--black);
  transform: rotate(45deg);
}

.accordion-item.is-open .accordion-icon svg {
  stroke: var(--white);
}

/* Accordion Smooth Grid Height Transition */
.accordion-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.accordion-item.is-open .accordion-collapse {
  grid-template-rows: 1fr;
}

.accordion-body {
  min-height: 0;
  overflow: hidden;
  padding: 0 clamp(24px, 5vw, 64px);
}

/* =============================================
   ABOUT SECTION CONTENT (CV & EXPERIENCE)
============================================= */
.about-wrapper {
  padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
}

/* About Header Card */
.about-header-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  margin-bottom: clamp(36px, 5vw, 52px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.about-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.about-meta-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.about-pill-link:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  transform: translateY(-2px);
}

.about-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: #065F46;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-dot {
  width: 9px;
  height: 9px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.about-hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 18px;
}

.about-lead {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--black);
  margin-bottom: 20px;
  opacity: 0.95;
}

.about-bio-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.about-bio-text p {
  font-size: clamp(0.94rem, 1.25vw, 1.05rem);
  line-height: 1.7;
  color: var(--black);
  opacity: 0.88;
}

.about-callout-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.callout-spark {
  color: #FACC15;
  font-size: 0.95rem;
}

/* Main CV Grid */
.about-cv-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: clamp(32px, 4.5vw, 56px);
  align-items: start;
}

/* CV Section Headers */
.cv-section-header {
  margin-bottom: 22px;
}

.cv-section-tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.55;
  display: block;
  margin-bottom: 4px;
}

.cv-section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  letter-spacing: -0.02em;
  color: var(--black);
}

/* Timeline & Experience Items */
.cv-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cv-item {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 28px);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.cv-item:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.cv-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cv-role-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cv-role {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--black);
  letter-spacing: -0.01em;
}

.cv-company {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cv-acquired-tag {
  background: var(--black);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cv-date-badge {
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.cv-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cv-bullets li {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--black);
  opacity: 0.9;
  position: relative;
  padding-left: 20px;
}

.cv-bullets li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--black);
}

/* Side Column (Education, Certifications, Domains) */
.about-cv-side {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.cv-side-block {
  display: flex;
  flex-direction: column;
}

/* Education Card */
.cv-edu-card {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 26px);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.cv-edu-card:hover {
  background: rgba(255, 255, 255, 0.92);
}

.cv-edu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.cv-edu-school {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
}

.cv-edu-date {
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.06);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.cv-edu-degree {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
}

.cv-edu-spec {
  font-size: 0.85rem;
  color: var(--black);
  opacity: 0.75;
  font-style: italic;
  display: block;
  margin-top: 2px;
}

.cv-edu-highlight {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--black);
  opacity: 0.9;
}

.cv-highlight-bullet {
  color: var(--black);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Certifications List */
.cv-cert-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cv-cert-item {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.cv-cert-item:hover {
  background: var(--white);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cv-cert-badge {
  background: var(--black);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  min-width: 52px;
  text-align: center;
}

.cv-cert-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--black);
}

/* Technical Domains */
.cv-domain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cv-domain-pills span {
  background: var(--white);
  color: var(--black);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  user-select: none;
}

.cv-domain-pills span:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

/* =============================================
   WORK SECTION CONTENT (NUMBERED TIMELINE - STYLE C)
============================================= */
.work-wrapper {
  padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 72px);
  width: 100%;
}

.work-timeline-container {
  max-width: 1160px;
  margin: 0 auto;
}

.work-timeline-header {
  margin-bottom: clamp(28px, 4vw, 44px);
  padding: 0 clamp(8px, 1.5vw, 16px);
}

.work-timeline-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.6;
  margin-bottom: 8px;
}

.work-timeline-sub {
  font-family: var(--font-body);
  font-size: clamp(0.96rem, 1.25vw, 1.15rem);
  line-height: 1.5;
  color: var(--black);
  opacity: 0.88;
  max-width: 640px;
}

.work-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Individual Timeline Item */
.work-timeline-item {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  padding: clamp(22px, 3vw, 34px) clamp(16px, 2.5vw, 32px);
  border-radius: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: background 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, opacity 0.35s ease;
}

.work-timeline-item:last-child {
  border-bottom: none;
}

/* Dimmed state when another item is hovered */
.work-timeline-item.is-dimmed {
  opacity: 0.45;
}

/* Hover state */
.work-timeline-item:hover {
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
  transform: translateX(6px);
}

/* Column 1: Number */
.timeline-num-col {
  min-width: clamp(52px, 6vw, 76px);
}

.timeline-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--black);
  opacity: 0.28;
  display: inline-block;
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.35s ease;
}

.work-timeline-item:hover .timeline-number {
  opacity: 0.95;
  transform: scale(1.04);
}

/* Column 2: Vertical Line & Node */
.timeline-line-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 24px;
  align-self: stretch;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 0, 0, 0.12);
  z-index: 1;
  transition: background 0.35s ease;
}

.timeline-node {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2.5px solid var(--black);
  background: var(--bg);
  position: relative;
  z-index: 2;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-timeline-item:hover .timeline-node {
  background: var(--black);
  transform: scale(1.3);
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.14);
}

.work-timeline-item:hover .timeline-line {
  background: rgba(0, 0, 0, 0.3);
}

/* Column 3: Content (Title, Description, Tags) */
.timeline-content-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.timeline-title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.timeline-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--black);
}

.timeline-category {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 0.95vw, 0.88rem);
  font-weight: 600;
  color: var(--black);
  opacity: 0.55;
  letter-spacing: 0.02em;
}

.timeline-desc {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  line-height: 1.55;
  color: var(--black);
  opacity: 0.82;
  margin-bottom: 12px;
  max-width: 620px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

.work-timeline-item:hover .timeline-tag {
  background: var(--white);
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Column 4: Thumbnail Preview & Arrow */
.timeline-thumb-col {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline-thumb-card {
  width: clamp(140px, 16vw, 210px);
  height: clamp(86px, 10vw, 126px);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #181818;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.timeline-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.timeline-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 10px;
  transition: opacity 0.3s ease;
}

.timeline-thumb-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.work-timeline-item:hover .timeline-thumb-card {
  transform: scale(1.03);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  border-color: rgba(0, 0, 0, 0.2);
}

.work-timeline-item:hover .timeline-thumb-img {
  transform: scale(1.08);
  filter: brightness(1);
}

.work-timeline-item:hover .timeline-thumb-arrow {
  transform: translate(2px, -2px);
  background: var(--white);
}

/* =============================================
   CONTACT SECTION CONTENT
============================================= */
.contact-wrapper {
  padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 72px);
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 16px;
}

.contact-intro {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--black);
  opacity: 0.82;
  max-width: 580px;
  margin-bottom: 36px;
}

.contact-action-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 8px 10px 8px 24px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

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

.contact-email-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
}

.contact-email-val {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
}

.contact-email-icon {
  font-size: 1rem;
  opacity: 0.6;
}

.contact-copy-btn {
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-copy-btn:hover {
  transform: scale(1.04);
  opacity: 0.9;
}

.contact-copy-btn svg {
  width: 15px;
  height: 15px;
}

.contact-meta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.channels-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.6;
}

.channel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.channel-pill {
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.channel-pill:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Footer ── */
.menu-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 60px 24px 70px;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.social-link {
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.social-link:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--black);
  text-align: center;
}

@media (max-width: 900px) {
  .about-cv-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .work-timeline-item {
    grid-template-columns: auto auto 1fr;
    gap: 20px;
    padding: 22px 18px;
  }

  .timeline-thumb-col {
    grid-column: 3;
    justify-content: flex-start;
    margin-top: 10px;
  }

  .timeline-thumb-card {
    width: 220px;
    height: 120px;
  }
}

@media (max-width: 640px) {
  .work-timeline-item {
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 20px 14px;
    border-radius: 16px;
  }

  .timeline-line-col {
    display: none;
  }

  .timeline-num-col {
    min-width: 44px;
  }

  .timeline-number {
    font-size: 2.2rem;
  }

  .timeline-thumb-col {
    grid-column: 1 / -1;
    margin-top: 14px;
    width: 100%;
  }

  .timeline-thumb-card {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .contact-action-row {
    flex-direction: column;
    padding: 18px 24px;
    border-radius: 28px;
    width: 100%;
    max-width: 420px;
    gap: 16px;
  }

  .contact-email-btn {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

@media (max-width: 600px) {
  .menu-item.accordion-header {
    padding: 22px 20px;
  }

  .accordion-icon {
    right: 18px;
    width: 36px;
    height: 36px;
  }

  .accordion-icon svg {
    width: 18px;
    height: 18px;
  }

  .accordion-body {
    padding: 0 20px;
  }

  .about-header-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .cv-item {
    padding: 20px 18px;
  }

  .cv-item-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .menu-footer {
    padding: 44px 20px 54px;
    gap: 20px;
  }

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

  .footer-copy {
    font-size: 0.95rem;
  }
}