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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background-color: #1C2024;
  color: #1C2024;
  font-family: 'Roboto', system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

/* ============================================================
   PAGE WRAPPER & CANVAS
   ============================================================ */
.page-wrapper {
  min-height: 100vh;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: clip;
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.16s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.16s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.page-wrapper.page-loaded {
  opacity: 1;
  transform: translateY(0);
}

.page-wrapper.page-exiting {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.canvas {
  width: 100%;
  min-width: 0;
  background: #FFFFFF;
  border-radius: 12px;
  margin-top: 68px;
  margin-bottom: 32px;
  overflow: visible;
  position: relative;
}

.canvas::before,
.canvas::after {
  content: '';
  position: absolute;
  top: -9px;
  bottom: -9px;
  width: 30px;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, contain;
  pointer-events: none;
  z-index: 2;
}

.canvas::before {
  left: -9px;
  background-position: top left, bottom left;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'><path d='M2 28 L2 15 A13 13 0 0 1 15 2 L28 2' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-dasharray='1.5 5.5'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'><path d='M2 2 L2 15 A13 13 0 0 0 15 28 L28 28' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-dasharray='1.5 5.5'/></svg>");
}

.canvas::after {
  right: -9px;
  background-position: top right, bottom right;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'><path d='M28 28 L28 15 A13 13 0 0 0 15 2 L2 2' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-dasharray='1.5 5.5'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'><path d='M28 2 L28 15 A13 13 0 0 1 15 28 L2 28' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-dasharray='1.5 5.5'/></svg>");
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #1C2024;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0px 1px 2px rgba(0, 0, 0, 0.2),
    0px 4px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  height: 68px;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 35% 300% at 15% 50%, rgba(99,102,241,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 25% 300% at 60% 50%, rgba(14,165,233,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 20% 300% at 88% 50%, rgba(168,85,247,0.1) 0%, transparent 65%);
  animation: pane-aurora 9s ease-in-out infinite alternate;
}

.site-header-logo,
.nav-inner {
  position: relative;
  z-index: 1;
}

@keyframes pane-aurora {
  0%   { opacity: 0.7; transform: translateX(-4%) scaleX(1); }
  50%  { opacity: 1; }
  100% { opacity: 0.8; transform: translateX(4%) scaleX(1.05); }
}

.site-header-logo {
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 500;
  font-size: 30px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  display: inline-block;
  animation: logoTypeIn 1s steps(10, end) forwards;
}

@keyframes logoTypeIn {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 68px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link--active {
  color: #ffffff;
}

.nav-link--cta {
  background: #ffffff;
  color: #1C2024;
  border-radius: 6px;
  margin-left: 6px;
  padding: 0 18px;
  line-height: 40px;
  align-self: center;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  overflow: hidden;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.nav-link--cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 15%, rgba(255,255,255,0.85) 50%, transparent 85%);
  transform: translateX(-100%);
  animation: cta-shimmer 5s ease-in-out infinite;
}

@keyframes cta-shimmer {
  0%, 55%  { transform: translateX(-100%); }
  85%      { transform: translateX(100%); }
  100%     { transform: translateX(100%); }
}

.nav-link--cta:hover {
  color: #1C2024;
  opacity: 0.85;
}

.nav-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.heading-hero {
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: #1C2024;
  text-align: center;
}

.heading-section {
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #1C2024;
}

.heading-muted {
  color: #4D535F;
}

.hero-sub {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: #686E7A;
  text-align: center;
  max-width: 540px;
}

.mono-small {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 11px;
  line-height: 13px;
  text-transform: uppercase;
  color: #686E7A;
  letter-spacing: 0.02em;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 80px 48px 140px;
  min-height: 580px;
  display: flex;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
  background: #101317;
  color: #ffffff;
  border-radius: 12px 12px 0 0;
}

.hero > .hero-art {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
  mask-image: linear-gradient(to right, transparent 0%, black 35%);
}

@keyframes heroGearSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-art .gear-a {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroGearSpin 40s linear infinite;
}

.hero-art .gear-b {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroGearSpin 26s linear infinite reverse;
}

@media (prefers-reduced-motion: reduce) {
  .hero-art .gear-a,
  .hero-art .gear-b {
    animation: none;
  }
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero .heading-hero,
.hero .hero-sub,
.hero .mono-small,
.hero .heading-muted {
  color: #ffffff;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-width: 0;
}

.hero-content--split {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 100px;
  width: 100%;
  min-width: 0;
}

.hero-photo-full {
  flex-shrink: 0;
  height: 410px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hero-photo-full img {
  height: 918px;
  width: auto;
  max-width: none;
  object-fit: cover;
  display: block;
  margin-left: -18px;
  filter: saturate(0.82);
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
  flex: 0 1 auto;
}

.hero-heading-left {
  text-align: left;
}

.hero-sub-left {
  text-align: left;
}

.avatar-wrap {
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar-wrap--large {
  width: 320px;
  height: 320px;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(0, 0, 45, 0.09);
  display: block;
}

.avatar--large {
  width: 320px;
  height: 320px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.hero-meta .mono-small {
  font-size: 14px;
}

.dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-block;
}

/* ============================================================
   PAGE HEADER (projects page)
   ============================================================ */
.page-header {
  padding: 80px 48px 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.vol-logo-scatter {
  position: absolute;
  top: 40px;
  right: 32px;
  width: calc(55% - 32px);
  height: calc(100% - 68px);
  pointer-events: none;
  overflow: hidden;
}

.vol-logo-scatter .vol-logo-bob {
  position: absolute;
  animation: vol-logo-bob 3.2s ease-in-out infinite;
}

@keyframes vol-logo-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.vol-logo-scatter img {
  height: 58px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  opacity: 0.9;
}

@media (prefers-reduced-motion: reduce) {
  .vol-logo-scatter .vol-logo-bob {
    animation: none;
  }
}

.page-header--bg {
  background-size: 55%;
  background-position: right center;
  background-repeat: no-repeat;
  border-radius: 12px 12px 0 0;
}

.page-header-map-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
  mask-image: linear-gradient(to right, transparent 0%, black 35%);
}

.page-header-map-bg + .heading-hero,
.page-header .heading-hero,
.page-header .hero-sub {
  position: relative;
  z-index: 1;
}

.page-header--bg .heading-hero,
.page-header--bg .hero-sub {
  max-width: 42%;
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.section-divider {
  height: 2px;
  background: rgba(0, 0, 45, 0.18);
  margin: 0 24px;
}

.section {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 48px;
  padding: 64px 40px;
}

.section--full {
  grid-template-columns: 1fr;
}

.section-label {
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rotate-label {
  writing-mode: initial;
}

.section-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}

.section-body:only-child {
  grid-column: 1 / -1;
}

/* ============================================================
   ABOUT TEXT
   ============================================================ */
.about-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-text p {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #686E7A;
  text-align: justify;
}

/* ============================================================
   FLAGS
   ============================================================ */
.flag {
  display: inline-block;
  width: 20px;
  height: 12px;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

.flag-uk {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0v30h60V0z'/%3E%3C/clipPath%3E%3CclipPath id='b'%3E%3Cpath d='M30 15h30v15zv15H0zH0V0zV0h30z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' clip-path='url(%23b)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E");
}

.flag-us {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23B22234'/%3E%3Crect y='2.31' width='60' height='2.31' fill='%23fff'/%3E%3Crect y='6.92' width='60' height='2.31' fill='%23fff'/%3E%3Crect y='11.54' width='60' height='2.31' fill='%23fff'/%3E%3Crect y='16.15' width='60' height='2.31' fill='%23fff'/%3E%3Crect y='20.77' width='60' height='2.31' fill='%23fff'/%3E%3Crect y='25.38' width='60' height='2.31' fill='%23fff'/%3E%3Crect width='24' height='16.15' fill='%233C3B6E'/%3E%3C/svg%3E");
}

.flag-pk {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%2301411C'/%3E%3Crect width='15' height='30' fill='%23fff'/%3E%3Ccircle cx='35' cy='15' r='9' fill='%23fff'/%3E%3Ccircle cx='38.5' cy='15' r='7' fill='%2301411C'/%3E%3C/svg%3E");
}

/* ============================================================
   TAGS
   ============================================================ */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  background: #1C2024;
  border-radius: 3px;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 12px;
  line-height: 14px;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

.timeline-meta .tag {
  height: 32px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 5px;
}

.timeline-duration {
  display: inline-block;
  margin-left: 8px;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 13px;
  color: #686E7A;
  white-space: nowrap;
}

/* ============================================================
   HIGHLIGHTS GRID
   ============================================================ */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.highlight-card {
  background: #FFFFFF;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 45, 0.09);
}

.highlight-card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #F4F4F6;
  overflow: hidden;
  flex-shrink: 0;
}

.highlight-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.highlight-card-caption {
  padding: 10px 12px;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 12px;
  color: #4D535F;
  line-height: 1.4;
  border-top: 1px solid rgba(0, 0, 45, 0.07);
}

.highlight-icon {
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 45, 0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.highlight-title {
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: #1C2024;
}

.highlight-desc {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #686E7A;
}

/* ============================================================
   EDUCATION
   ============================================================ */
.edu-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.edu-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.edu-meta {
  flex-shrink: 0;
  padding-top: 2px;
}

.edu-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.edu-degree {
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #1C2024;
}

.edu-school {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 16px;
  color: #4D535F;
}

.edu-detail {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  color: #686E7A;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ============================================================
   SUMMARY PAGE — TIMELINE & CERTS
   ============================================================ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 45, 0.1);
  pointer-events: none;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: calc(50% - 40px);
  position: relative;
}

.timeline-item:nth-child(odd) {
  margin-right: auto;
  padding-right: 20px;
}

.timeline-item:nth-child(odd)::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 45, 0.25);
}

.timeline-item:nth-child(even) {
  margin-left: auto;
  padding-left: 20px;
}

.timeline-item:nth-child(even)::after {
  content: '';
  position: absolute;
  left: -5px;
  top: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 45, 0.25);
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-bullets {
  margin-top: 8px;
}

.timeline-title {
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #1C2024;
}

.timeline-org {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 16px;
  color: #4D535F;
}

.timeline-details {
  margin-top: 8px;
  padding-left: 68px;
}

.timeline-detail {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 15px;
  color: #4D535F;
  line-height: 1.65;
  margin-top: 4px;
}

.timeline-detail-label {
  color: #1C2024;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin-top: 6px;
}

.timeline-bullets li {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  color: #4D535F;
  padding-left: 16px;
  position: relative;
}

.timeline-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #1C2024;
  font-size: 16px;
  top: 1px;
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.award-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.award-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 45, 0.07);
}

.award-item:first-child {
  border-top: 1px solid rgba(0, 0, 45, 0.07);
}

.award-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #686E7A;
  white-space: nowrap;
  padding-top: 3px;
  min-width: 36px;
}

.award-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.award-name {
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #1C2024;
  line-height: 1.4;
}

.award-org {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 13px;
  color: #686E7A;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cert-name {
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #1C2024;
}

.cert-issuer {
  color: #686E7A;
  margin-top: 2px;
  display: block;
}

.cert-logo {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1.5px dashed rgba(0,0,45,0.18);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.cert-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  padding: 6px;
  box-sizing: border-box;
}

.cert-logo-placeholder {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #686E7A;
  text-align: center;
}

.cert-icon {
  flex-shrink: 0;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skills-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skills-group-title {
  color: #1C2024;
  display: flex;
  align-items: center;
  gap: 6px;
}

.skills-icon {
  color: #1C2024;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

.award-item--gold {
  border-left: 3px solid #C9A84C;
  padding-left: 12px;
}

.award-item--silver {
  border-left: 3px solid #9EA2AD;
  padding-left: 12px;
}

.award-item--honour {
  border-left: 3px solid #1C2024;
  padding-left: 12px;
}

.award-item--gold .award-year { color: #C9A84C; }
.award-item--silver .award-year { color: #686E7A; }
.award-item--honour .award-year { color: #1C2024; }

.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ============================================================
   AWARD TILES
   ============================================================ */
.award-tile-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.award-rung {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 88%;
}

.award-rung--left {
  justify-content: flex-start;
}

.award-rung--right {
  justify-content: flex-end;
  margin-left: auto;
}

.award-rung--right .award-tile {
  order: 2;
}

.award-rung--right .award-tile-image {
  order: 1;
}

.award-tile {
  background: #1C2024;
  border-radius: 12px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  flex: 1 1 320px;
  max-width: 420px;
}

.award-tile-image {
  flex: 0 0 180px;
  height: 180px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.25);
}

.award-tile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  width: 100%;
}

.award-tile-year {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.award-tile-org-text {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
  margin-top: 4px;
}

.award-tile-flag {
  flex-shrink: 0;
  width: 40px;
  height: 27px;
  border-radius: 3px;
  overflow: hidden;
  display: block;
}

/* ============================================================
   RECRUITER SNAPSHOT
   ============================================================ */
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.snapshot-card {
  background: #1C2024;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.snapshot-label {
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.snapshot-value {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.snapshot-sub {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.faq-left {
  position: sticky;
  top: 72px;
}

.faq-heading {
  line-height: 1.12;
  margin-bottom: 20px;
}

.faq-sub {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 14px;
  color: #686E7A;
  line-height: 1.5;
}

.faq-link {
  color: #1C2024;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-link:hover {
  opacity: 0.65;
}

.faq-list {
  border: 1px solid rgba(0,0,45,0.1);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,45,0.08);
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #1C2024;
  line-height: 1.4;
  transition: background 0.15s ease;
}

.faq-question:hover {
  background: rgba(0,0,45,0.02);
}

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,45,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,45,0.45);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq-icon-close {
  display: none;
}

.faq-item--open .faq-icon {
  background: #1C2024;
  border-color: #1C2024;
  color: #ffffff;
}

.faq-item--open .faq-icon-plus {
  display: none;
}

.faq-item--open .faq-icon-close {
  display: block;
}

.faq-answer {
  padding: 0 24px;
}

.faq-item--open .faq-answer {
  padding-bottom: 22px;
}

.faq-answer p {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 15px;
  color: #4D535F;
  line-height: 1.65;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  background: #1C2024;
  color: #FFFFFF;
  border-radius: 99px;
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  transition: opacity 0.15s ease;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  background: #FFFFFF;
  color: #1C2024;
  border-radius: 99px;
  border: 1px solid rgba(0, 0, 45, 0.12);
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.15s ease;
}

.btn-secondary:hover {
  background: rgba(0, 0, 45, 0.04);
}

.social-row {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 45, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.social-btn:hover {
  background: rgba(0, 0, 45, 0.04);
}

/* ============================================================
   SUMMARY PAGE — INTERACTIVE ENHANCEMENTS
   ============================================================ */

/* Stats strip */
.summary-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 40px;
  border-bottom: 1px solid rgba(0, 0, 45, 0.08);
}

.summary-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.summary-stat-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.summary-stat-number {
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 500;
  font-size: 38px;
  color: #1C2024;
  letter-spacing: -0.03em;
  line-height: 1;
}

.summary-stat-suffix {
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: #1C2024;
  letter-spacing: -0.01em;
}

.summary-stat-label {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 11px;
  color: rgba(0, 0, 45, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.summary-stat-sep {
  width: 1px;
  height: 44px;
  background: rgba(0, 0, 45, 0.1);
  flex-shrink: 0;
  margin: 0 8px;
}

.summary-section {
  scroll-margin-top: 120px;
}

/* Sticky section nav */
.summary-section-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 32px;
  height: 56px;
  border-bottom: 1px solid rgba(0, 0, 45, 0.08);
  position: sticky;
  top: 68px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ssn-item {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 3px;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 45, 0.45);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.ssn-item:hover {
  background: rgba(0, 0, 45, 0.06);
  color: rgba(0, 0, 45, 0.75);
}

.ssn-item.is-active {
  background: #1C2024;
  color: #ffffff;
}

/* Collapsible timeline toggle */
.section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.expand-collapse-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-self: center;
}

.expand-collapse-btn {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  gap: 5px;
  background: #1C2024;
  border-radius: 3px;
  border: none;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.expand-collapse-btn:hover {
  opacity: 0.75;
}

.timeline-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 3px 0;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 11px;
  color: rgba(0, 0, 45, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

.timeline-toggle:hover {
  color: rgba(0, 0, 45, 0.65);
}

.timeline-toggle svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.timeline-toggle.is-collapsed svg {
  transform: rotate(-90deg);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 20px 36px;
  background: #1C2024;
  border-top: none;
  border-radius: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
  min-height: 68px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 30% 300% at 10% 50%, rgba(168,85,247,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 28% 300% at 50% 50%, rgba(14,165,233,0.1) 0%, transparent 65%),
    radial-gradient(ellipse 22% 300% at 85% 50%, rgba(99,102,241,0.14) 0%, transparent 65%);
  animation: pane-aurora 9s ease-in-out infinite alternate-reverse;
}

.footer-name-block,
.back-to-top-btn,
.footer-icons {
  position: relative;
  z-index: 1;
}

.footer-name-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
}

.footer-copy {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

.footer-location {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.footer-location svg {
  display: block;
  flex-shrink: 0;
}

.footer-icons {
  display: flex;
  gap: 12px;
}

.footer-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.15s ease, color 0.15s ease;
}

.footer-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.back-to-top-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.back-to-top-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-section {
  padding: 48px 40px;
}

.project-card {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 64px;
  padding: 48px 0;
  align-items: start;
  overflow: hidden;
}

article.project-card.is-even {
  grid-template-columns: 1fr 500px;
}

.project-card--wide-media {
  grid-template-columns: 660px 1fr;
}

article.project-card--wide-media.is-even {
  grid-template-columns: 1fr 660px;
}

article.project-card.is-even .project-media,
article.project-card.is-even .project-carousel {
  order: 2;
}

article.project-card.is-even .project-info {
  order: 1;
}

.vol-art {
  width: 100%;
  max-width: 560px;
  margin-bottom: 28px;
}

.vol-art svg {
  width: 100%;
  height: auto;
  display: block;
}

.vol-photos {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.vol-photos img {
  height: 180px;
  width: auto;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  mix-blend-mode: normal;
}

.vol-date-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vol-cat-icon {
  font-size: 10px;
  line-height: 1;
  opacity: 0.85;
}

.vol-category {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: #1C2024;
  border-radius: 3px;
}


.project-filter {
  display: flex;
  gap: 10px;
  padding: 24px 32px 0;
  flex-wrap: wrap;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 3px;
  border: none;
  background: transparent;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 45, 0.45);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.filter-btn:hover {
  background: rgba(0, 0, 45, 0.06);
  color: rgba(0, 0, 45, 0.75);
}

.filter-btn--active {
  background: #1C2024;
  color: #ffffff;
}

.project-card.hidden {
  display: none;
}

.project-divider.hidden {
  display: none;
}

.project-divider {
  height: 1px;
  background: rgba(0, 0, 45, 0.09);
}

.project-media {
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 45, 0.05);
  border: none;
  width: 100%;
  flex-shrink: 0;
}

/* ============================================================
   IMAGE CAROUSEL
   ============================================================ */
.project-carousel {
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 45, 0.05);
  border: none;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  aspect-ratio: 3/2;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.project-carousel.project-media--contain {
  background: #FFFFFF;
  aspect-ratio: 16/9;
}

.project-carousel.project-media--contain .carousel-slide img {
  object-fit: contain;
  object-position: center center;
  background: transparent;
}

.carousel-slide.project-media--placeholder {
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1C2024;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.15s ease;
  z-index: 3;
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
}

.project-carousel:hover .carousel-btn:not([hidden]) {
  opacity: 1;
}

.carousel-btn:hover {
  background: #ffffff;
}

.carousel-btn:disabled {
  opacity: 0.25 !important;
  cursor: default;
}

.carousel-btn--prev { left: 10px; }
.carousel-btn--next { right: 10px; }

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dot.carousel-dot--active {
  background: #ffffff;
  transform: scale(1.35);
}

.project-media--placeholder {
  aspect-ratio: 3/2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.project-media-label {
  color: rgba(0, 0, 45, 0.3);
}

.project-org-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.project-org-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  padding: 4px;
  box-sizing: border-box;
}

.project-org-logo-placeholder {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  font-weight: 400;
  color: rgba(0, 0, 45, 0.3);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  padding: 2px;
}

.project-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
  min-width: 0;
  overflow: hidden;
}

.project-date {
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #686E7A;
  text-transform: uppercase;
}

.project-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.project-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-title {
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: #1C2024;
  flex: 1;
  min-width: 200px;
}


.project-award {
  background: rgba(0, 180, 80, 0.1);
  color: #1C7A3E;
  flex-shrink: 0;
}

.project-desc {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #686E7A;
}

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

.project-bullets li {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.72;
  color: #4D535F;
  padding-left: 16px;
  position: relative;
}

.project-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #1C2024;
  font-size: 16px;
  top: 1px;
}

.project-bullets li strong,
.timeline-bullets li strong {
  font-weight: 600;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

/* ============================================================
   TIMELINE HEADER ROW (logo + title)
   ============================================================ */
.timeline-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.timeline-org-logo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  border: none;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.timeline-org-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  padding: 4px;
  box-sizing: border-box;
}


.timeline-org-logo-placeholder {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #686E7A;
  text-align: center;
  line-height: 1.2;
}

/* ============================================================
   CERT ICON SPIN (in-progress indicator)
   ============================================================ */
@keyframes certSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cert-icon-spin {
  animation: certSpin 1.6s linear infinite;
  transform-origin: 50% 50%;
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-fade-in {
  animation: fadeInUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-fade-in-sub {
  animation: fadeInUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s both;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .timeline::before { display: none; }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .timeline-item::after,
  .timeline-item:nth-child(odd)::after,
  .timeline-item:nth-child(even)::after {
    display: none;
  }

  .award-rung,
  .award-rung--left,
  .award-rung--right {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    flex-direction: column;
  }

  .award-rung--right .award-tile,
  .award-rung--right .award-tile-image {
    order: unset;
  }

  .award-tile-image {
    width: 100%;
    flex: none;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 24px;
  }

  .section-label {
    padding-top: 0;
  }

  .project-card,
  article.project-card.is-even {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  article.project-card.is-even .project-media,
  article.project-card.is-even .project-info {
    order: unset;
  }

  .project-media,
  .project-media--placeholder,
  .project-carousel {
    width: 100%;
    min-height: 200px;
    aspect-ratio: 16/9;
  }

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

@media (max-width: 700px) {
  .hero-content--split {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .hero-heading-left,
  .hero-sub-left {
    text-align: center;
  }

  .hero-text {
    align-items: center;
  }

  .avatar-wrap--large {
    width: 200px;
    height: 200px;
  }

  .avatar--large {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 600px) {
  .page-wrapper {
    padding: 12px;
  }

  .canvas {
    margin-top: 12px;
    border-radius: 8px;
  }

  .nav {
    top: 12px;
  }

  .hero {
    padding: 60px 20px 40px;
  }

  .heading-hero {
    font-size: 48px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .cta-section {
    padding: 48px 24px;
  }

  .footer {
    padding: 20px 24px;
    flex-direction: column;
    text-align: center;
  }

  .projects-section {
    padding: 32px 20px;
  }

  .summary-stats {
    padding: 24px 20px;
    gap: 0;
  }

  .summary-stat-number {
    font-size: 28px;
  }

  .summary-stat-suffix {
    font-size: 16px;
  }

  .summary-section-nav {
    padding: 0 12px;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ssn-item {
    font-size: 12px;
    padding: 5px 10px;
    flex-shrink: 0;
  }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 560px;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 48px;
  padding-left: 140px;
}

.contact-split-form {
  justify-self: end;
  width: 100%;
  max-width: 560px;
  min-width: 0;
  margin-right: 60px;
}

.contact-split-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.contact-split-or {
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 700;
  font-size: 58px;
  letter-spacing: 0.06em;
  color: #1C2024;
  padding: 0 32px;
  margin-left: -30px;
}

.contact-split-linkedin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 110px;
  justify-self: start;
  margin-left: 90px;
  margin-top: -50px;
}

.contact-qr {
  width: 220px;
  height: 220px;
  border-radius: 18px;
  background: #FFFFFF;
}

.contact-linkedin-btn {
  display: flex;
  width: 84px;
  height: 84px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 45, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-linkedin-btn svg {
  width: 100%;
  height: 100%;
}

.contact-linkedin-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 45, 0.22);
}

@media (max-width: 800px) {
  .contact-split {
    grid-template-columns: 1fr;
  }

  .contact-split-form,
  .contact-split-linkedin,
  .contact-split-divider {
    justify-self: center;
  }

  .contact-split-divider {
    padding: 8px 0;
  }
}

.contact-form-row {
  display: flex;
  gap: 20px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.contact-field label {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #686E7A;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 14px;
  color: #1C2024;
  background: #F7F7F9;
  border: 1.5px solid rgba(0,0,45,0.14);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.15s ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 140px;
  font-family: 'Roboto', system-ui, sans-serif;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #1C2024;
}

.contact-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23686E7A' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.contact-submit-btn {
  align-self: center;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  background: #1C2024;
  color: #FFFFFF;
  border: none;
  border-radius: 99px;
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-submit-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 45, 0.18);
}

.contact-submit-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.contact-submit-btn:disabled,
.contact-submit-btn.is-cooldown {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.contact-success,
.contact-error {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.contact-success {
  color: #16A34A;
}

.contact-error {
  color: #DC2626;
}

.contact-success[hidden],
.contact-error[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .contact-form-row {
    flex-direction: column;
  }
}
