/* ═══════════════════════════════════════
   ABOUT PAGE — Dennis Snellenberg style
═══════════════════════════════════════ */

/* ── Nav: scrolls away naturally ── */
.page-nav {
  position: relative;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 44px;
  z-index: 100;
  background: #fff;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  cursor: pointer;
}
.logo-copy {
  font-size: 14px;
  color: #1a1a1a;
  line-height: 20px;
}
.logo-name {
  overflow: hidden;
  height: 20px;
}
.logo-name-inner {
  transition: transform .5s cubic-bezier(.76, 0, .24, 1);
}
.logo:hover .logo-name-inner {
  transform: translateY(-20px);
}
.logo-name-inner p {
  font-size: 14px;
  color: #1a1a1a;
  line-height: 20px;
  height: 20px;
  margin: 0;
  white-space: nowrap;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 44px;
}
.nav-links a {
  font-size: 14px;
  color: #1a1a1a;
  text-decoration: none;
  position: relative;
  transition: opacity .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #1a1a1a;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity .3s;
}
.nav-links a.active::after { opacity: 1; }
.nav-links a:hover { opacity: .4; }

/* ── About Header ── */
.about-header {
  padding: 80px 48px 64px;
}

.ah-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.ah-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.ah-index {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.ah-title {
  font-size: clamp(48px, 7vw, 120px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.05;
}

/* Text reveal wrapper */
.clip-wrap {
  display: block;
  overflow: hidden;
}
.clip-line {
  display: block;
  transform: translateY(110%);
  transition: transform 1.2s cubic-bezier(.16, 1, .3, 1);
}
.clip-line.vis {
  transform: translateY(0%);
}

/* ── Intro Section: Photo + Text ── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 0 48px 120px;
  align-items: start;
}

.ai-photo-wrap {
  position: relative;
}

.ai-photo {
  overflow: hidden;
  background: #999D9E;
}

.ai-photo img {
  width: 100%;
  display: block;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.4s cubic-bezier(.16, 1, .3, 1);
}

.ai-photo img.vis {
  clip-path: inset(0 0 0 0);
}

.ai-photo-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

.ai-photo-meta span {
  font-size: 11px;
  letter-spacing: .08em;
  color: #8a8a8a;
}

.ai-text {
  padding-top: 100px;
}

.ai-body {
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.65;
  color: #555;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}
.ai-body.vis {
  opacity: 1;
  transform: translateY(0);
}

.ai-cta {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: #3d5af1;
  text-decoration: none;
  border-bottom: 1px solid #3d5af1;
  padding-bottom: 4px;
  margin-top: 16px;
  transition: opacity .2s;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}
.ai-cta.vis {
  opacity: 1;
  transform: translateY(0);
}
.ai-cta:hover { opacity: .5; }

/* ── Skills Section ── */
.skills-section {
  padding: 0 48px 100px;
  max-width: 1200px;
}

.ss-header {
  margin-bottom: 24px;
}

.ss-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.ss-list {
  list-style: none;
  border-top: 1px solid #e4e4e4;
}

.ss-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e4e4e4;
  cursor: default;
  transition: padding .4s cubic-bezier(.16,1,.3,1), opacity .3s;
  opacity: 0;
  transform: translateY(20px);
}
.ss-item.vis {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.ss-item:hover {
  padding-left: 12px;
}

.ss-name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.ss-years {
  font-size: 12px;
  color: #8a8a8a;
  letter-spacing: .04em;
}

.ss-lvl {
  font-size: 12px;
  color: #8a8a8a;
  text-align: right;
  min-width: 80px;
}

/* ── Experience Section ── */
.xp-section {
  padding: 0 48px 120px;
  max-width: 1200px;
}

.xp-header {
  margin-bottom: 24px;
}

.xp-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.xp-list {
  list-style: none;
  border-top: 1px solid #e4e4e4;
}

.xp-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid #e4e4e4;
  opacity: 0;
  transform: translateY(20px);
}
.xp-item.vis {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}

.xp-left { flex: 1; }
.xp-right { text-align: right; }

.xp-role {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.02em;
  display: block;
  margin-bottom: 4px;
}

.xp-company {
  font-size: 13px;
  color: #8a8a8a;
  display: block;
}

.xp-period {
  font-size: 13px;
  color: #8a8a8a;
  display: block;
  margin-bottom: 4px;
}

.xp-type {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #b0b0b0;
  display: block;
}

/* ── Footer Nav ── */
.page-footer-nav {
  border-top: 1px solid #e4e4e4;
}

.pfn-next {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 48px;
  text-decoration: none;
  color: #1a1a1a;
  transition: opacity .3s;
}
.pfn-next:hover { opacity: .4; }

.pfn-label {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 16px;
}

.pfn-title {
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 400;
  letter-spacing: -.04em;
}

/* ── Footer ── */
footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 48px;
  border-top: 1px solid #e4e4e4;
  font-size: 11px;
  color: #8a8a8a;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .page-nav { padding: 20px 24px; }
  .about-header { padding: 48px 24px 40px; }
  .about-intro {
    grid-template-columns: 1fr;
    padding: 0 24px 80px;
  }
  .ai-text { padding-top: 32px; }
  .skills-section, .xp-section { padding-left: 24px; padding-right: 24px; }
  .ss-item { flex-wrap: wrap; gap: 8px; }
  .xp-item { flex-direction: column; gap: 12px; }
  .xp-right { text-align: left; }
  .pfn-next { padding: 48px 24px; }
  footer { padding: 20px 24px; flex-direction: column; gap: 8px; }
}
