:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --section-hero: #f7f8fa;
  --section-history: #eef1f5;
  --section-projects: #f4f6f8;
  --section-document: #eceff3;
  --section-skills: #f6f7f9;
  --section-contact: #1d1d1f;
  --line: rgba(0, 0, 0, 0.05);
  --text: #1d1d1f;
  --muted: #86868b;
  --accent: #0066cc;
  --accent-glow: rgba(0, 102, 204, 0.2);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #1d1d1f; /* Mask bottom gaps with dark background */
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro KR", "SF Pro Display", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

.container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

#app {
  width: 100%;
}

.portfolio-container {
  width: 100%;
  position: relative;
}

.section-wrapper {
  width: 100%;
  display: block;
}

.full-section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--bg);
  border-bottom: 0;
}

.full-section > *,
.sticky-container > * {
  position: relative;
  z-index: 1;
}

.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.background-watermark {
  position: absolute;
  left: max(28px, 5vw);
  bottom: 6vh;
  color: transparent;
  -webkit-text-stroke: 1px rgba(29, 29, 31, 0.12);
  font-size: clamp(4.2rem, 15vw, 13rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
  opacity: 0.9;
  white-space: nowrap;
  transform: translate3d(-2%, 0, 0);
  animation: watermarkGlide 16s ease-in-out infinite alternate;
}

.background-tokens {
  position: absolute;
  inset: 0;
}

.background-tokens span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: rgba(29, 29, 31, 0.38);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 16px 44px rgba(29, 29, 31, 0.04);
  animation: tokenFloat 9s ease-in-out infinite;
}

.background-tokens span:nth-child(1) {
  top: 17%;
  left: 8%;
}

.background-tokens span:nth-child(2) {
  top: 23%;
  right: 11%;
  animation-delay: -2s;
}

.background-tokens span:nth-child(3) {
  right: 20%;
  bottom: 18%;
  animation-delay: -4s;
}

.background-tokens span:nth-child(4) {
  left: 15%;
  bottom: 22%;
  animation-delay: -6s;
}

#section-6 .background-watermark {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.13);
}

#section-6 .background-tokens span {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.42);
}

@keyframes watermarkGlide {
  from {
    transform: translate3d(-2%, 0, 0);
  }
  to {
    transform: translate3d(3%, -10px, 0);
  }
}

@keyframes tokenFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(26px, -18px, 0);
  }
}

/* Scroll reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.2, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Entry Gate */
.entry-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.entry-gate.hide {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.name-card {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 32px;
  padding: 60px 40px;
  width: min(540px, 90%);
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  color: var(--text);
  outline: none;
}

.name-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.name-card h2 {
  font-family: inherit;
  font-size: 3rem;
  margin: 15px 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card-role {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.card-hint {
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* Hero Section */
.hero-content {
  text-align: center;
  max-width: 1000px;
}

.hero-content h1 {
  font-family: inherit;
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 1.05;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #1d1d1f 0%, #434344 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content h2 {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  color: var(--text);
  margin: 25px 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-summary {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

/* Hide scrollbars globally */
* {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
*::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Horizontal Scroll Section (Generic) */
.horizontal-scroll-wrapper {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--bg);
}

.full-section::before,
.horizontal-scroll-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.36), transparent 46%),
    linear-gradient(300deg, rgba(0, 102, 204, 0.045), transparent 52%);
  background-size: 160% 160%;
  animation: backgroundGridDrift 28s ease-in-out infinite alternate;
}

.full-section::after,
.horizontal-scroll-wrapper::after {
  content: "";
  position: absolute;
  top: -28%;
  left: -18%;
  z-index: 0;
  width: 56%;
  height: 156%;
  pointer-events: none;
  opacity: 0.22;
  transform: skewX(-18deg) translateX(-18%);
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.34) 42%,
      rgba(255, 255, 255, 0.1) 58%,
      transparent 100%
    );
  animation: backgroundPanelSweep 18s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

#section-6::before {
  opacity: 0.2;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 48%),
    linear-gradient(300deg, rgba(255, 255, 255, 0.06), transparent 55%);
}

#section-6::after {
  opacity: 0.16;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.18) 44%,
      rgba(255, 255, 255, 0.06) 58%,
      transparent 100%
    );
}

@keyframes backgroundGridDrift {
  from {
    background-position: 0% 40%, 100% 60%;
  }
  to {
    background-position: 100% 55%, 0% 45%;
  }
}

@keyframes backgroundPanelSweep {
  0% {
    transform: skewX(-18deg) translateX(-40%);
  }
  42%,
  100% {
    transform: skewX(-18deg) translateX(245%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .full-section::before,
  .full-section::after,
  .horizontal-scroll-wrapper::before,
  .horizontal-scroll-wrapper::after,
  .background-watermark,
  .background-tokens span {
    animation: none;
  }
}

#section-0 {
  background-color: var(--section-hero);
}

#section-1 {
  background-color: var(--section-history);
}

#section-2 {
  background-color: var(--section-projects);
  background-image: linear-gradient(180deg, #f4f6f8 0%, #eef1f5 100%);
  border: 0 !important;
  box-shadow: none !important;
}

#section-2::before,
#section-2::after {
  display: none !important;
  content: none !important;
}

#section-2 .section-bg {
  display: none !important;
}

#section-2 .sticky-container,
#section-2 .section-title {
  border: 0 !important;
  box-shadow: none !important;
}

#section-3 {
  background-color: #f6f3ed;
}

#section-4 {
  background-color: var(--section-document);
  margin-top: -2px;
  box-shadow: 0 -4px 0 var(--section-document);
}

#section-5 {
  background-color: var(--section-skills);
}

#section-6 {
  background-color: var(--section-contact) !important;
  border-bottom: none !important;
}

.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  background-color: transparent;
}

.slide-track {
  display: flex;
  padding: 0 10vw;
  gap: 5vw;
  width: max-content;
  align-items: center;
  will-change: transform;
}

.clean-card-slide {
  width: 70vw;
  max-width: 800px;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 40px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 30px 70px rgba(20, 30, 45, 0.08);
  position: relative;
  backdrop-filter: blur(18px);
}

#section-2 .slide-track {
  gap: 3vw;
}

#section-2 .clean-card-slide {
  width: 58vw;
  max-width: 680px;
  min-width: 300px;
  height: 590px;
  padding: 42px;
  border-radius: 30px;
  justify-content: flex-start;
}

#section-2 .clean-card-slide .icon-badge {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 14px;
  font-size: 1.15rem;
}

#section-2 .section-title::after {
  content: none !important;
  display: none !important;
}

.project-period {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-title {
  margin: 0 0 18px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.project-summary {
  margin: 0 0 22px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.55;
}

.project-details-list {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.project-detail-item {
  margin-bottom: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.project-stack-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 72px;
  overflow: hidden;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
}

.project-card {
  cursor: pointer;
}

.project-card:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.35);
  outline-offset: 6px;
}

.project-detail-button {
  color: var(--accent);
}

.modal-open {
  overflow: hidden;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.project-modal.open {
  display: flex;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 20, 0.54);
  backdrop-filter: blur(10px);
}

.project-modal-panel {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  padding: 44px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 42px 120px rgba(5, 10, 18, 0.28);
  color: var(--text);
  outline: none;
}

.project-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  cursor: pointer;
}

.project-modal-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(0, 102, 204, 0.1);
  color: var(--accent);
  font-size: 1.45rem;
}

.project-modal-period {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-modal-panel h3 {
  margin: 0 48px 16px 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.project-modal-summary {
  margin: 0 0 26px;
  color: #434344;
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.6;
}

.project-modal-details {
  margin: 0 0 28px;
  padding-left: 20px;
  color: #55565a;
  line-height: 1.8;
}

.project-modal-details li {
  margin-bottom: 10px;
}

.project-modal-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.project-modal-link {
  text-decoration: none;
  background: var(--accent);
  color: white;
  border: none;
  align-items: center;
}

@media (max-width: 768px) {
  .clean-card-slide {
    width: 85vw;
    padding: 40px 30px;
  }
}

/* CSS Mockups */
.mockup {
  width: 100%;
  height: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

.mockup-header {
  height: 24px;
  background: #f1f3f4;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
}

.dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f56;
}
.dot-btn:nth-child(2) { background: #ffbd2e; }
.dot-btn:nth-child(3) { background: #27c93f; }

.mockup-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-line {
  height: 8px;
  background: #f1f3f4;
  border-radius: 4px;
}

/* Discord Mockup */
.discord-mockup {
  background: #313338;
  color: white;
}
.discord-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.discord-avatar {
  width: 32px;
  height: 32px;
  background: #5865f2;
  border-radius: 50%;
}

/* Mobile Gallery Adjustments */
@media (max-width: 768px) {
  .project-gallery {
    padding: 10px 20px;
    gap: 20px;
  }
  .project-card-wide {
    min-width: 85vw;
    grid-template-columns: 1fr;
    grid-template-rows: 180px auto;
  }
  .project-info {
    padding: 30px 20px;
  }
  .project-visual {
    padding: 20px;
  }
}


.glass-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 28px;
  padding: 35px;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 24px 58px rgba(20, 30, 45, 0.07);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-card:hover::before {
  opacity: 1;
}

.visual-placeholder {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
  border-radius: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(0,0,0,0.05);
  position: relative;
}

.visual-placeholder i {
  position: absolute;
  font-style: normal;
  font-weight: 700;
  opacity: 0.1;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: var(--accent);
}

.section-title {
  font-family: inherit;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 40px;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  position: relative;
}

.section-title span {
  display: block;
  font-size: 0.9rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5em;
  margin-bottom: 8px;
  font-weight: 600;
}

.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 22px auto 0;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.18);
}

#section-6 .section-title::after {
  background: rgba(255, 255, 255, 0.18);
}

/* Navigation Dots */
.nav-dots {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 50;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dot.active {
  background: var(--accent);
  transform: scale(1.4);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Tech Stack */
.tech-tag {
  background: #fff;
  padding: 10px 20px;
  border-radius: 99px;
  border: 1px solid rgba(0,0,0,0.06);
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #fdfdff;
}

.bi {
  line-height: 1;
}

.icon-badge {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(0, 102, 204, 0.08);
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 22px;
}

.tech-tag .bi {
  margin-right: 8px;
  vertical-align: -0.12em;
}

.section-title .bi {
  display: block;
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 12px;
}
/* Mobile Adjustments */
@media (max-width: 768px) {
  .full-section {
    padding: 60px 20px 20px;
    justify-content: flex-start;
  }
  #section-2 .slide-track {
    gap: 24px;
  }
  #section-2 .clean-card-slide {
    width: 82vw;
    min-width: 280px;
    height: 540px;
    padding: 30px 24px;
    border-radius: 24px;
  }
  .project-title {
    font-size: 1.55rem;
  }
  .project-summary,
  .project-details-list {
    font-size: 0.9rem;
  }
  .project-modal {
    padding: 16px;
  }
  .project-modal-panel {
    max-height: 86vh;
    padding: 30px 22px;
    border-radius: 22px;
  }
  .project-modal-panel h3 {
    margin-right: 34px;
    font-size: 1.65rem;
  }
  .project-modal-summary {
    font-size: 1rem;
  }
  .background-watermark {
    left: 18px;
    bottom: 3vh;
    font-size: clamp(3rem, 22vw, 6rem);
    opacity: 0.65;
  }
  .background-tokens span {
    height: 28px;
    padding: 0 10px;
    font-size: 0.65rem;
  }
  .background-tokens span:nth-child(3),
  .background-tokens span:nth-child(4) {
    display: none;
  }
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
    margin-top: 20px;
  }
  .section-title span {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
  }
  .hero-content h1 {
    font-size: 3.2rem;
  }
  .hero-content h2 {
    font-size: 1.4rem;
    margin: 15px 0;
  }
  .hero-summary {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .content-grid {
    grid-template-columns: 1fr;
    max-height: 65vh;
    padding-right: 5px;
    gap: 16px;
  }
  .glass-card {
    padding: 24px;
  }
  .nav-dots {
    right: 15px;
    gap: 12px;
  }
  .dot {
    width: 8px;
    height: 8px;
  }
  .tech-tag {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

@media (max-height: 700px) and (max-width: 768px) {
  .hero-content h1 { font-size: 2.8rem; }
  .section-title { font-size: 1.8rem; margin-bottom: 15px; }
  .content-grid { max-height: 55vh; }
}

#section-2,
#section-2 .sticky-container,
#section-2 .section-title {
  border: 0 !important;
  box-shadow: none !important;
}

#section-2::before,
#section-2::after,
#section-2 .section-title::before,
#section-2 .section-title::after {
  content: none !important;
  display: none !important;
}


.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 920px;
  margin: 0 auto 18px;
}

.hero-points span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  color: #3f4248;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: left;
}

.hero-points .bi {
  flex: 0 0 auto;
  color: #16835f;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 18px;
}

.hero-stat {
  min-height: 92px;
  padding: 18px 20px;
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px rgba(20, 30, 45, 0.06);
}

.hero-stat strong,
.achievement-card strong {
  display: block;
  color: var(--text);
  font-size: 1.55rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.hero-stat span,
.achievement-card span {
  display: block;
  margin-top: 8px;
  color: #62666d;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.achievement-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 980px;
  margin: 0 auto 26px;
}

.achievement-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  text-align: left;
}

.achievement-card .bi,
.project-impact-badge .bi,
.project-modal-impact .bi {
  flex: 0 0 auto;
  margin-right: 8px;
}

.achievement-card.award,
.project-impact-badge.award,
.project-modal-impact.award {
  border-color: rgba(189, 132, 28, 0.28);
  background: rgba(255, 247, 224, 0.86);
  color: #805414;
}

.achievement-card.operating,
.project-impact-badge.operating,
.project-modal-impact.operating {
  border-color: rgba(22, 131, 95, 0.22);
  background: rgba(230, 248, 241, 0.82);
  color: #12664c;
}

.achievement-card.award .bi,
.project-impact-badge.award .bi,
.project-modal-impact.award .bi {
  color: #bd841c;
}

.achievement-card.operating .bi,
.project-impact-badge.operating .bi,
.project-modal-impact.operating .bi {
  color: #16835f;
}

.project-impact-badge,
.project-modal-impact {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: -6px 0 16px;
  padding: 9px 12px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.project-intro-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(236, 244, 250, 0.88));
}

.project-intro-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #55565a;
  font-size: 0.98rem;
  line-height: 1.55;
}

.project-intro-list li::marker {
  color: var(--accent);
}

.project-modal-impact {
  margin: 0 0 24px;
}

@media (max-width: 980px) {
  .hero-points,
  .hero-stats-grid,
  .achievement-strip {
    grid-template-columns: 1fr;
  }

  .achievement-strip {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .hero-points {
    margin-top: 8px;
  }

  .hero-points span,
  .achievement-card {
    font-size: 0.84rem;
  }

  .hero-stat {
    min-height: 76px;
    padding: 14px 16px;
  }

  .hero-stat strong {
    font-size: 1.3rem;
  }

  .achievement-card {
    min-height: auto;
  }

  .achievement-card strong {
    font-size: 1rem;
  }

  .project-impact-badge {
    margin-bottom: 12px;
    border-radius: 14px;
    font-size: 0.78rem;
  }

  .project-intro-list {
    font-size: 0.88rem;
    gap: 8px;
  }
}


.project-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.project-card-head .icon-badge {
  margin-bottom: 0 !important;
}

.project-open-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 102, 204, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(20, 30, 45, 0.06);
}

.project-open-link:hover,
.project-open-link:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  outline: none;
}

.project-open-link .bi {
  margin-right: 0;
}

@media (max-width: 768px) {
  .project-card-head {
    gap: 10px;
    margin-bottom: 12px;
  }

  .project-open-link {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.76rem;
  }
}


/* Readability pass: keep portfolio sections calmer and easier to scan. */
#section-0 .hero-content {
  max-width: 880px;
}

#section-0 .hero-content > div[style*="max-width:700px"] {
  max-width: 640px !important;
  margin-bottom: 24px !important;
  padding: 22px 24px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.52) !important;
}

#section-0 .hero-content > div[style*="max-width:700px"] p {
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

.hero-points,
.achievement-strip {
  display: none !important;
}

.hero-stats-grid {
  max-width: 560px;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-stat {
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
}

.hero-stat strong {
  font-size: 1.28rem;
}

.hero-stat span {
  margin-top: 6px;
  font-size: 0.8rem;
}

#section-2 .clean-card-slide {
  height: 500px;
  max-width: 600px;
  padding: 34px;
  border-radius: 24px;
}

.project-title {
  margin-bottom: 12px;
  font-size: 1.72rem;
  line-height: 1.22;
}

.project-summary {
  margin-bottom: 16px;
  color: #3f4248;
  font-size: 0.98rem;
  line-height: 1.55;
}

.project-impact-badge {
  display: flex;
  width: 100%;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.45;
}

.project-stack-preview {
  max-height: 70px;
  gap: 7px;
}

.project-actions {
  gap: 10px;
  padding-top: 16px;
}

.project-actions .tech-tag {
  padding: 9px 14px;
  font-size: 0.82rem;
}

.project-intro-list {
  gap: 8px;
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  #section-0 .hero-content > div[style*="max-width:700px"] {
    padding: 18px !important;
    margin-bottom: 18px !important;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-stat {
    min-height: 64px;
    padding: 12px 8px;
  }

  .hero-stat strong {
    font-size: 1.05rem;
  }

  .hero-stat span {
    font-size: 0.72rem;
  }

  #section-2 .clean-card-slide {
    height: 470px;
    padding: 26px 22px;
  }

  .project-title {
    font-size: 1.42rem;
  }

  .project-impact-badge {
    font-size: 0.74rem;
  }
}


.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1040px, 100%);
}

.award-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid rgba(96, 72, 34, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 48px rgba(80, 60, 34, 0.07);
  backdrop-filter: blur(16px);
}

.award-card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(189, 132, 28, 0.12);
  color: #9b6714;
  font-size: 1.25rem;
}

.award-period {
  margin: 0 0 10px;
  color: #8a6a2e;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.award-card h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.award-card p:not(.award-period) {
  margin: 0 0 22px;
  color: #62666d;
  font-size: 0.96rem;
  line-height: 1.6;
}

.award-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(138, 106, 46, 0.2);
  border-radius: 999px;
  color: #805414;
  background: rgba(255, 247, 224, 0.75);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.award-link:hover,
.award-link:focus-visible {
  border-color: #9b6714;
  background: #9b6714;
  color: #fff;
  outline: none;
}

@media (max-width: 900px) {
  .awards-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .award-card {
    min-height: auto;
    padding: 24px;
  }
}


/* Keep project action buttons aligned across cards. */
#section-2 .project-card {
  display: grid;
  grid-template-rows: 40px 26px minmax(52px, auto) minmax(48px, auto) 1fr auto;
  align-content: stretch;
}

#section-2 .project-card .icon-badge {
  align-self: start;
}

#section-2 .project-card .project-period,
#section-2 .project-card .project-title,
#section-2 .project-card .project-summary {
  min-width: 0;
}

#section-2 .project-card .project-summary {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#section-2 .project-card .project-stack-preview {
  align-self: start;
  max-height: 76px;
  overflow: hidden;
}

#section-2 .project-card .project-actions {
  align-self: end;
  min-height: 42px;
  margin-top: 0;
}

@media (max-width: 768px) {
  #section-2 .project-card {
    grid-template-rows: 38px 24px minmax(44px, auto) minmax(46px, auto) 1fr auto;
  }

  #section-2 .project-card .project-actions {
    min-height: 40px;
  }
}


/* Align award action buttons to one consistent baseline. */
.award-card {
  display: flex;
  flex-direction: column;
}

.award-card p:not(.award-period) {
  margin-bottom: 0;
}

.award-link {
  align-self: flex-start;
  margin-top: auto;
}

@media (max-width: 900px) {
  .award-link {
    margin-top: 22px;
  }
}


/* Mobile performance path: native scrolling and low-cost compositing. */
.performance-lite .horizontal-scroll-wrapper {
  min-height: auto;
  overflow: hidden;
}

.performance-lite .sticky-container {
  position: relative;
  top: auto;
  width: 100%;
  height: auto;
  min-height: 100svh;
  overflow: visible;
  padding: 72px 0 42px;
}

.performance-lite .slide-track {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 20px 18px;
  gap: 16px;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 20px;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  will-change: auto;
}

.performance-lite .clean-card-slide {
  flex: 0 0 min(84vw, 680px);
  scroll-snap-align: start;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 10px 28px rgba(20, 30, 45, 0.07);
}

.performance-lite .reveal {
  opacity: 1;
  transform: none;
}

.performance-lite .full-section::before,
.performance-lite .full-section::after,
.performance-lite .horizontal-scroll-wrapper::before,
.performance-lite .horizontal-scroll-wrapper::after,
.performance-lite .background-tokens {
  display: none;
  animation: none;
}

.performance-lite .background-watermark {
  animation: none;
  transform: none;
}

.performance-lite .glass-card,
.performance-lite .award-card,
.performance-lite .project-modal-backdrop {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.performance-lite .nav-dots {
  display: none;
}

@media (max-width: 768px) {
  html,
  body {
    scroll-behavior: auto;
  }

  .background-watermark,
  .background-tokens span,
  .full-section::before,
  .full-section::after,
  .horizontal-scroll-wrapper::before,
  .horizontal-scroll-wrapper::after {
    animation: none;
  }

  .performance-lite .sticky-container {
    min-height: auto;
    padding: 54px 0 34px;
  }

  .performance-lite .section-title {
    padding-inline: 20px;
  }

  .performance-lite .clean-card-slide,
  .performance-lite #section-2 .clean-card-slide {
    flex-basis: 84vw;
    width: 84vw;
    min-width: 280px;
    max-width: 520px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .glass-card,
  .award-card,
  .project-modal-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .clean-card-slide,
  .glass-card,
  .award-card,
  .tech-tag {
    transition: none;
  }
}


/* Simplified portfolio layout */
.simplified-portfolio {
  background: #f5f6f8;
}

.simplified-portfolio .full-section {
  min-height: auto;
  padding: 104px max(24px, 6vw);
  overflow: visible;
}

.simplified-portfolio .hero-section {
  min-height: 100svh;
  background: #f7f8fa;
}

.simplified-portfolio .hero-content {
  width: min(860px, 100%);
  text-align: left;
}

.simplified-portfolio .hero-content h1 {
  margin: 10px 0 12px;
  font-size: clamp(3.6rem, 9vw, 7rem);
  line-height: 0.98;
}

.simplified-portfolio .hero-content h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.35;
}

.section-eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.hero-description {
  max-width: 720px;
  margin: 26px 0 28px;
  color: #5d6066;
  font-size: 1.05rem;
  line-height: 1.75;
  word-break: keep-all;
}

.simplified-portfolio .hero-stats-grid {
  width: min(560px, 100%);
  margin: 0 0 24px;
}

.hero-links,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-links a,
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.portfolio-section {
  align-items: stretch;
}

.section-heading {
  width: min(1080px, 100%);
  margin: 0 auto 38px;
}

.section-heading h2 {
  max-width: 850px;
  margin: 8px 0 12px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #666970;
  font-size: 1rem;
  line-height: 1.65;
  word-break: keep-all;
}

.career-section {
  background: #eef1f5 !important;
}

.career-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 0.7fr);
  gap: 18px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.career-card,
.education-panel,
.featured-project-card,
.compact-project-card,
.document-card,
.skill-group {
  border: 1px solid rgba(29, 29, 31, 0.08);
  background: #fff;
}

.career-card {
  padding: 36px;
  border-radius: 24px;
}

.career-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.09);
}

.career-card-head h3,
.career-card-head p {
  margin: 0;
}

.career-card-head h3 {
  font-size: 1.55rem;
}

.career-card-head p {
  margin-top: 5px;
  color: #666970;
}

.career-card-head time {
  flex: none;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
}

.career-description {
  margin: 22px 0;
  color: #484b50;
  line-height: 1.75;
  word-break: keep-all;
}

.career-focus-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-focus-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #3f4247;
  line-height: 1.55;
}

.career-focus-list i {
  margin-top: 3px;
  color: var(--accent);
}

.career-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.career-keywords span {
  padding: 7px 10px;
  border-radius: 8px;
  background: #f2f4f7;
  color: #4b4e54;
  font-size: 0.78rem;
  font-weight: 700;
}

.education-panel {
  padding: 28px;
  border-radius: 24px;
}

.education-panel h3 {
  margin: 0 0 18px;
  font-size: 1rem;
}

.education-panel ul {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.education-panel li {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
}

.education-panel li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.education-panel strong,
.education-panel span,
.education-panel time {
  display: block;
}

.education-panel strong {
  font-size: 0.94rem;
}

.education-panel span,
.education-panel time {
  margin-top: 5px;
  color: #73767d;
  font-size: 0.8rem;
  line-height: 1.45;
}

.projects-section {
  background: #f8f8f9 !important;
}

.project-showcase {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.featured-project-card,
.compact-project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 22px;
}

.featured-project-card {
  grid-column: span 2;
  min-height: 410px;
  padding: 28px;
}

.compact-project-card {
  grid-column: span 3;
  min-height: 255px;
  padding: 24px 28px;
}

.project-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.project-card-top .icon-badge {
  margin: 0;
}

.project-card-top .project-period {
  margin: 5px 0 0;
  font-size: 0.76rem;
}

.project-showcase .project-title {
  margin: 24px 0 10px;
  font-size: 1.4rem;
}

.project-showcase .project-summary {
  margin: 0 0 18px;
  color: #5b5e64;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.6;
}

.project-showcase .project-stack-preview {
  gap: 6px;
  max-height: none;
}

.project-showcase .tech-tag {
  padding: 6px 9px;
  border-radius: 8px;
  background: #f4f5f7;
  font-size: 0.72rem;
}

.project-showcase .project-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.project-detail-button,
.document-actions a,
.document-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(0, 102, 204, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.project-showcase .project-open-link {
  min-height: 38px;
  box-shadow: none;
}

.awards-section {
  background: #f4f1ea !important;
}

.simplified-portfolio .awards-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.simplified-portfolio .award-card {
  min-height: 260px;
  backdrop-filter: none;
}

.skills-document-section {
  background: #eef1f4 !important;
}

.skills-document-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.skill-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.skill-group {
  padding: 20px;
  border-radius: 16px;
}

.skill-group h3 {
  margin: 0 0 12px;
  color: #4e5157;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skill-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-group .tech-tag {
  padding: 6px 9px;
  border-radius: 8px;
  background: #f4f5f7;
  font-size: 0.74rem;
}

.document-card {
  padding: 28px;
  border-radius: 20px;
}

.document-card h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.document-card > p {
  margin: 0 0 18px;
  color: #676a70;
  font-size: 0.9rem;
  line-height: 1.6;
}

.document-card ul {
  margin: 0;
  padding-left: 18px;
  color: #4f5258;
  font-size: 0.84rem;
  line-height: 1.55;
}

.document-card li {
  margin-bottom: 7px;
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.contact-section {
  min-height: 78svh !important;
  justify-content: space-between;
  background: #1d1d1f !important;
  color: #fff;
}

.contact-content {
  width: min(900px, 100%);
  margin: auto;
}

.contact-content h2 {
  margin: 12px 0 18px;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.13;
  letter-spacing: -0.045em;
}

.contact-content > p:not(.section-eyebrow) {
  margin: 0 0 26px;
  color: #9b9ba0;
}

.contact-links a {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.contact-section footer {
  width: 100%;
  padding-top: 32px;
  color: #66666a;
  font-size: 0.8rem;
  text-align: center;
}

.simplified-portfolio .nav-dots button {
  padding: 0;
  border: 0;
}

@media (max-width: 900px) {
  .career-layout,
  .skills-document-layout {
    grid-template-columns: 1fr;
  }

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

  .featured-project-card,
  .compact-project-card {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .simplified-portfolio .full-section {
    padding: 72px 20px;
  }

  .simplified-portfolio .hero-section {
    min-height: 100svh;
    padding-top: 90px;
  }

  .simplified-portfolio .hero-content h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .hero-description {
    font-size: 0.96rem;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading h2 {
    font-size: 2.25rem;
  }

  .career-card {
    padding: 24px;
  }

  .career-card-head {
    display: block;
  }

  .career-card-head time {
    display: block;
    margin-top: 10px;
  }

  .education-panel {
    padding: 24px;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .featured-project-card,
  .compact-project-card {
    min-height: auto;
    padding: 24px;
  }

  .project-showcase .project-actions {
    margin-top: 24px;
  }

  .skill-groups {
    grid-template-columns: 1fr;
  }

  .document-card {
    padding: 24px;
  }

  .contact-section {
    min-height: 78svh !important;
  }

  .simplified-portfolio .nav-dots {
    display: none;
  }
}


.simplified-portfolio .full-section::before,
.simplified-portfolio .full-section::after {
  display: none;
  content: none;
  animation: none;
}

.simplified-portfolio #section-2 .project-card {
  display: flex;
  grid-template-rows: none;
}

.simplified-portfolio #section-2 .project-card .project-summary {
  display: block;
  min-height: 0;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.simplified-portfolio #section-2 .project-card .project-stack-preview {
  align-self: auto;
  max-height: none;
  overflow: visible;
}

.simplified-portfolio #section-2 .project-card .project-actions {
  align-self: stretch;
  min-height: 0;
}


/* Visual identity pass: expressive without returning to heavy motion. */
.simplified-portfolio .hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
    linear-gradient(135deg, #f8fafc 0%, #edf3fb 52%, #f7f5f0 100%);
}

.simplified-portfolio .hero-section::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 102, 204, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 204, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 82% 22%, rgba(0, 102, 204, 0.16), transparent 26%),
    radial-gradient(circle at 14% 84%, rgba(186, 126, 35, 0.1), transparent 22%);
  background-size: 42px 42px, 42px 42px, auto, auto;
  animation: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: clamp(34px, 7vw, 92px);
  width: min(1120px, 100%);
}

.simplified-portfolio .hero-layout .hero-content {
  width: 100%;
}

.hero-profile-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 30px;
  background: #17202d;
  color: #fff;
  box-shadow: 0 28px 70px rgba(25, 39, 58, 0.18);
}

.hero-profile-card::after {
  content: "ENGINE / NATIVE / AI";
  position: absolute;
  right: -10px;
  bottom: 9px;
  color: rgba(255, 255, 255, 0.055);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 0.9;
  white-space: nowrap;
  transform: rotate(-4deg);
}

.hero-photo-frame {
  height: 230px;
  overflow: hidden;
  background: #dfe6ee;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(0.86) contrast(1.02);
}

.hero-profile-copy {
  position: relative;
  z-index: 1;
  padding: 26px 28px 28px;
}

.hero-profile-copy > p {
  margin: 0 0 9px;
  color: #72b7ff;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.hero-profile-copy h3 {
  margin: 0 0 22px;
  font-size: 1.7rem;
  line-height: 1.23;
  letter-spacing: -0.04em;
}

.hero-profile-copy ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-profile-copy li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #d9e0e9;
  font-size: 0.83rem;
  font-weight: 650;
}

.hero-profile-copy li span {
  color: #72b7ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
}

.section-heading {
  position: relative;
}

.career-section .section-heading::after,
.projects-section .section-heading::after,
.awards-section .section-heading::after,
.skills-document-section .section-heading::after {
  position: absolute;
  top: -42px;
  right: 0;
  color: rgba(29, 29, 31, 0.055);
  font-size: clamp(5rem, 10vw, 8.5rem);
  font-weight: 900;
  line-height: 1;
}

.career-section .section-heading::after { content: "01"; }
.projects-section .section-heading::after { content: "02"; }
.awards-section .section-heading::after { content: "03"; color: rgba(128, 84, 20, 0.075); }
.skills-document-section .section-heading::after { content: "04"; }

.career-section {
  background: linear-gradient(145deg, #eaf0f7 0%, #f3f5f8 60%, #edf0f3 100%) !important;
}

.career-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(0, 102, 204, 0.13);
  background: linear-gradient(135deg, #fff 0%, #f7fbff 100%);
  box-shadow: 0 20px 52px rgba(32, 70, 110, 0.08);
}

.career-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #0066cc, #66b3ff);
}

.education-panel {
  border-color: rgba(0, 102, 204, 0.11);
  background: rgba(255, 255, 255, 0.68);
}

.projects-section {
  background: linear-gradient(180deg, #fbfbfc 0%, #f4f6f9 100%) !important;
}

.featured-project-card,
.compact-project-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(34, 42, 54, 0.07);
}

.featured-project-card::before,
.compact-project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.project-showcase .featured-project-card:nth-child(1) {
  border-color: rgba(0, 102, 204, 0.18);
  background: linear-gradient(145deg, #ffffff 45%, #edf6ff 100%);
}

.project-showcase .featured-project-card:nth-child(1)::before { background: #0066cc; }
.project-showcase .featured-project-card:nth-child(1) .icon-badge { background: rgba(0, 102, 204, 0.11); color: #0066cc; }

.project-showcase .featured-project-card:nth-child(2) {
  border-color: rgba(35, 137, 91, 0.18);
  background: linear-gradient(145deg, #ffffff 45%, #edf9f3 100%);
}

.project-showcase .featured-project-card:nth-child(2)::before { background: #23895b; }
.project-showcase .featured-project-card:nth-child(2) .icon-badge { background: rgba(35, 137, 91, 0.11); color: #23895b; }

.project-showcase .featured-project-card:nth-child(3) {
  border-color: rgba(122, 82, 179, 0.18);
  background: linear-gradient(145deg, #ffffff 45%, #f5effc 100%);
}

.project-showcase .featured-project-card:nth-child(3)::before { background: #7a52b3; }
.project-showcase .featured-project-card:nth-child(3) .icon-badge { background: rgba(122, 82, 179, 0.11); color: #7a52b3; }

.compact-project-card {
  background: linear-gradient(145deg, #fff 60%, #f1f3f6 100%);
}

.compact-project-card::before {
  background: #8b9098;
}

.awards-section {
  background:
    radial-gradient(circle at 90% 12%, rgba(178, 122, 30, 0.13), transparent 24%),
    linear-gradient(145deg, #f5f0e6 0%, #fbf8f1 100%) !important;
}

.simplified-portfolio .award-card {
  border-color: rgba(155, 103, 20, 0.16);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 46px rgba(110, 77, 22, 0.08);
}

.skills-document-section {
  background: linear-gradient(135deg, #edf1f5 0%, #f7f8fa 100%) !important;
}

.skill-group {
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(35, 45, 58, 0.045);
}

.skill-group::after {
  content: "";
  position: absolute;
  top: -26px;
  right: -26px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 102, 204, 0.055);
}

.document-card {
  border-color: #1c2735;
  background: linear-gradient(145deg, #1b2634 0%, #111820 100%);
  color: #fff;
  box-shadow: 0 24px 56px rgba(15, 24, 34, 0.18);
}

.document-card > p,
.document-card ul {
  color: #bec7d2;
}

.document-actions a,
.document-actions button {
  border-color: rgba(114, 183, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #8fc7ff;
}

@media (hover: hover) and (pointer: fine) {
  .featured-project-card,
  .compact-project-card,
  .career-card,
  .skill-group,
  .award-card {
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  }

  .featured-project-card:hover,
  .compact-project-card:hover,
  .career-card:hover,
  .skill-group:hover,
  .award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 58px rgba(25, 39, 56, 0.12);
  }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    width: min(680px, 100%);
  }

  .hero-profile-card {
    display: grid;
    grid-template-columns: 210px 1fr;
  }

  .hero-photo-frame {
    height: 100%;
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  .simplified-portfolio .hero-section::before {
    background-size: 32px 32px, 32px 32px, auto, auto;
  }

  .hero-layout {
    gap: 34px;
  }

  .hero-profile-card {
    display: block;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(25, 39, 58, 0.15);
  }

  .hero-photo-frame {
    height: 220px;
    min-height: 0;
  }

  .career-section .section-heading::after,
  .projects-section .section-heading::after,
  .awards-section .section-heading::after,
  .skills-document-section .section-heading::after {
    top: -18px;
    font-size: 4.5rem;
  }

  .featured-project-card,
  .compact-project-card,
  .career-card,
  .skill-group,
  .award-card {
    transform: none !important;
  }
}


/* Preserve the portrait crop using the source photo ratio. */
.hero-photo-frame {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
}

.hero-photo-frame img {
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 900px) {
  .hero-profile-card {
    display: block;
    width: min(380px, 100%);
    max-width: 380px;
    justify-self: center;
  }

  .hero-photo-frame {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 768px) {
  .hero-photo-frame {
    height: auto;
    aspect-ratio: 4 / 5;
  }
}


/* Unified palette: charcoal, off-white and muted steel blue. */
:root {
  --accent: #536a8a;
  --accent-glow: rgba(111, 137, 179, 0.24);
  --accent-color: #6f89b3;
  --accent-soft: #eef2f7;
  --ink: #151515;
  --paper: #ffffff;
}

.simplified-portfolio {
  background: var(--paper);
  color: var(--ink);
}

.simplified-portfolio .hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 58%, #e8edf4 100%);
}

.simplified-portfolio .hero-section::before {
  background-image:
    linear-gradient(rgba(21, 21, 21, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 21, 21, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 82% 22%, rgba(111, 137, 179, 0.26), transparent 27%),
    radial-gradient(circle at 14% 84%, rgba(21, 21, 21, 0.07), transparent 23%);
}

.section-eyebrow {
  color: #536a8a;
}

.simplified-portfolio .hero-content h1 {
  background: linear-gradient(180deg, #111111 0%, #3b3b3b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-profile-card {
  border-color: rgba(111, 137, 179, 0.7);
  background: linear-gradient(145deg, #181818 0%, #050505 100%);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.22);
}

.hero-profile-copy > p,
.hero-profile-copy li span {
  color: var(--accent-color);
}

.hero-profile-copy li {
  color: #eeeeea;
}

.hero-profile-card::after {
  color: rgba(111, 137, 179, 0.07);
}

.hero-links a {
  border-color: rgba(21, 21, 21, 0.16);
  background: #fff;
  color: #151515;
}

.simplified-portfolio .hero-stat {
  border: 1px solid rgba(21, 21, 21, 0.1);
  background: rgba(255, 255, 255, 0.84);
}

.simplified-portfolio .hero-stat strong {
  color: #151515;
}

.career-section {
  background: linear-gradient(145deg, #f8f8f5 0%, #ffffff 62%, #eef2f7 100%) !important;
}

.career-card {
  border-color: rgba(21, 21, 21, 0.14);
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.07);
}

.career-card::before {
  background: var(--accent-color);
}

.career-card-head time,
.career-focus-list i {
  color: #536a8a;
}

.career-keywords span {
  background: var(--accent-soft);
  color: #263241;
}

.education-panel {
  border-color: rgba(21, 21, 21, 0.12);
  background: rgba(255, 255, 255, 0.88);
}

.projects-section {
  background: #ffffff !important;
}

.simplified-portfolio .featured-project-card,
.simplified-portfolio .compact-project-card,
.simplified-portfolio .project-showcase .featured-project-card:nth-child(1),
.simplified-portfolio .project-showcase .featured-project-card:nth-child(2),
.simplified-portfolio .project-showcase .featured-project-card:nth-child(3) {
  border-color: rgba(21, 21, 21, 0.14);
  background: linear-gradient(145deg, #ffffff 55%, #f1f4f8 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}

.simplified-portfolio .featured-project-card::before,
.simplified-portfolio .compact-project-card::before,
.simplified-portfolio .project-showcase .featured-project-card:nth-child(1)::before,
.simplified-portfolio .project-showcase .featured-project-card:nth-child(2)::before,
.simplified-portfolio .project-showcase .featured-project-card:nth-child(3)::before {
  background: var(--accent-color);
}

.simplified-portfolio .project-showcase .icon-badge,
.simplified-portfolio .project-showcase .featured-project-card:nth-child(1) .icon-badge,
.simplified-portfolio .project-showcase .featured-project-card:nth-child(2) .icon-badge,
.simplified-portfolio .project-showcase .featured-project-card:nth-child(3) .icon-badge {
  background: var(--accent-color);
  color: #151515;
}

.project-showcase .tech-tag,
.skill-group .tech-tag {
  border-color: rgba(21, 21, 21, 0.08);
  background: #f6f6f2;
  color: #303030;
}

.project-detail-button {
  border-color: #151515;
  background: #151515;
  color: #ffffff;
}

.project-showcase .project-open-link {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: #151515;
}

.awards-section {
  background:
    radial-gradient(circle at 90% 12%, rgba(111, 137, 179, 0.3), transparent 25%),
    linear-gradient(145deg, #edf2f7 0%, #ffffff 72%) !important;
}

.simplified-portfolio .award-card {
  border-color: rgba(21, 21, 21, 0.14);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.07);
}

.award-card-icon {
  background: var(--accent-color);
  color: #151515;
}

.award-period {
  color: #536a8a;
}

.award-link {
  border-color: #151515;
  background: #151515;
  color: #ffffff;
}

.award-link:hover,
.award-link:focus-visible {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: #151515;
}

.skills-document-section {
  background: linear-gradient(135deg, #f5f5f1 0%, #ffffff 64%, #eef2f7 100%) !important;
}

.skill-group {
  border-color: rgba(21, 21, 21, 0.12);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.045);
}

.skill-group::after {
  background: rgba(111, 137, 179, 0.22);
}

.skill-group h3 {
  color: #536a8a;
}

.document-card {
  border-color: var(--accent-color);
  background: linear-gradient(145deg, #191919 0%, #050505 100%);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.2);
}

.document-actions a,
.document-actions button {
  border-color: rgba(111, 137, 179, 0.52);
  background: rgba(111, 137, 179, 0.08);
  color: var(--accent-color);
}

.contact-section {
  background:
    radial-gradient(circle at 84% 18%, rgba(111, 137, 179, 0.15), transparent 24%),
    #111111 !important;
}

.contact-links a {
  border-color: rgba(111, 137, 179, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.contact-links a:first-child {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: #151515;
}

.simplified-portfolio .dot {
  background: rgba(21, 21, 21, 0.22);
}

.simplified-portfolio .dot.active {
  background: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(111, 137, 179, 0.18);
}

.project-modal-icon,
.project-modal-impact {
  color: #536a8a;
}

.project-modal-icon {
  background: var(--accent-soft);
}

@media (hover: hover) and (pointer: fine) {
  .hero-links a:hover,
  .contact-links a:hover,
  .document-actions a:hover,
  .document-actions button:hover {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #151515;
  }
}


.simplified-portfolio .project-card:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 5px;
}


.project-modal-impact.award,
.project-modal-impact.operating {
  border-color: rgba(111, 137, 179, 0.3);
  background: var(--accent-soft);
  color: #405672;
}


/* Editorial redesign: typography, whitespace and rules over decorative cards. */
:root {
  --ed-bg: #f2f0eb;
  --ed-paper: #ffffff;
  --ed-ink: #111214;
  --ed-muted: #66686d;
  --ed-line: #c9c8c3;
  --ed-dark: #121315;
  --ed-accent: #42566b;
}

.simplified-portfolio { background: var(--ed-bg); color: var(--ed-ink); }
.simplified-portfolio .full-section { min-height: auto; padding: 118px max(28px, 7vw); border-bottom: 1px solid var(--ed-line); background: var(--ed-bg) !important; }
.simplified-portfolio .full-section::before,
.simplified-portfolio .full-section::after,
.simplified-portfolio .hero-profile-card::after,
.simplified-portfolio .career-card::before,
.simplified-portfolio .skill-group::after,
.simplified-portfolio .section-heading::after { display: none !important; content: none !important; }

.simplified-portfolio .hero-section { min-height: 100svh; overflow: hidden; background: #f5f3ee !important; }
.simplified-portfolio .hero-layout { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.58fr); align-items: center; gap: clamp(48px, 8vw, 118px); width: min(1180px, 100%); }
.simplified-portfolio .hero-content { width: 100%; max-width: none; text-align: left; }
.simplified-portfolio .section-eyebrow { margin: 0; color: var(--ed-accent); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .7rem; font-weight: 650; letter-spacing: .13em; }
.simplified-portfolio .hero-content h1 { margin: 18px 0 22px; color: var(--ed-ink); background: none; -webkit-background-clip: initial; -webkit-text-fill-color: currentColor; font-size: clamp(4.5rem, 10vw, 8rem); font-weight: 780; line-height: .86; letter-spacing: -.075em; }
.simplified-portfolio .hero-content h2 { max-width: 760px; margin: 0; color: var(--ed-ink); font-size: clamp(1.4rem, 2.7vw, 2.2rem); font-weight: 580; line-height: 1.38; letter-spacing: -.025em; }
.simplified-portfolio .hero-description { max-width: 720px; margin: 26px 0 34px; color: var(--ed-muted); font-size: 1rem; line-height: 1.8; }
.simplified-portfolio .hero-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); width: min(620px, 100%); margin: 0 0 26px; border-top: 1px solid var(--ed-ink); border-bottom: 1px solid var(--ed-ink); }
.simplified-portfolio .hero-stat { min-height: 76px; padding: 16px 18px; border: 0; border-right: 1px solid var(--ed-line); border-radius: 0; background: transparent; box-shadow: none; }
.simplified-portfolio .hero-stat:last-child { border-right: 0; }
.simplified-portfolio .hero-stat strong { color: var(--ed-ink); font-size: 1.3rem; }
.simplified-portfolio .hero-stat span { color: var(--ed-muted); font-size: .72rem; }
.simplified-portfolio .hero-links, .simplified-portfolio .contact-links { display: flex; flex-wrap: wrap; gap: 22px; }
.simplified-portfolio .hero-links a, .simplified-portfolio .contact-links a, .simplified-portfolio .contact-links a:first-child { min-height: auto; padding: 3px 0 5px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; color: var(--ed-ink); font-size: .82rem; font-weight: 650; }
.simplified-portfolio .hero-profile-card { width: 100%; max-width: 390px; justify-self: end; overflow: visible; border: 0; border-radius: 0; background: transparent; color: var(--ed-ink); box-shadow: none; }
.simplified-portfolio .hero-photo-frame { width: 100%; height: auto; aspect-ratio: 4 / 5; border: 1px solid var(--ed-ink); background: #deddd9; }
.simplified-portfolio .hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(100%) contrast(.96); }
.simplified-portfolio .hero-profile-copy { padding: 18px 0 0; color: var(--ed-ink); }
.simplified-portfolio .hero-profile-copy > p { margin: 0 0 9px; color: var(--ed-muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .66rem; font-weight: 600; letter-spacing: .12em; }
.simplified-portfolio .hero-profile-copy h3 { max-width: 360px; margin: 0 0 10px; color: var(--ed-ink); font-size: 1.05rem; font-weight: 650; line-height: 1.55; letter-spacing: -.015em; }
.simplified-portfolio .hero-profile-copy > span { color: var(--ed-muted); font-size: .75rem; }

.simplified-portfolio .portfolio-section { align-items: stretch; }
.simplified-portfolio .section-heading { display: grid; grid-template-columns: minmax(140px, .32fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 76px); width: min(1120px, 100%); margin: 0 auto 58px; padding-top: 16px; border-top: 1px solid var(--ed-ink); }
.simplified-portfolio .section-heading .section-eyebrow { grid-column: 1; grid-row: 1 / span 2; padding-top: 8px; }
.simplified-portfolio .section-heading h2 { grid-column: 2; margin: 0 0 15px; color: var(--ed-ink); font-size: clamp(2.5rem, 5.2vw, 4.8rem); font-weight: 690; line-height: 1.02; letter-spacing: -.055em; }
.simplified-portfolio .section-heading > p:last-child { grid-column: 2; max-width: 700px; margin: 0; color: var(--ed-muted); font-size: .96rem; line-height: 1.75; }

.simplified-portfolio .career-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, .6fr); gap: clamp(34px, 6vw, 80px); width: min(1120px, 100%); margin: 0 auto; }
.simplified-portfolio .career-card, .simplified-portfolio .education-panel { padding: 26px 0 0; border: 0; border-top: 2px solid var(--ed-ink); border-radius: 0; background: transparent; box-shadow: none; }
.simplified-portfolio .career-card { overflow: visible; }
.simplified-portfolio .career-card-head { padding-bottom: 22px; border-bottom: 1px solid var(--ed-line); }
.simplified-portfolio .career-card-head h3 { font-size: 1.65rem; font-weight: 680; }
.simplified-portfolio .career-card-head p, .simplified-portfolio .career-card-head time { color: var(--ed-muted); }
.simplified-portfolio .career-description { margin: 24px 0; color: #3f4145; font-size: .98rem; line-height: 1.8; }
.simplified-portfolio .career-focus-list { gap: 12px; }
.simplified-portfolio .career-focus-list li { padding-bottom: 12px; border-bottom: 1px solid #dcdbd7; color: #35373a; }
.simplified-portfolio .career-focus-list i { color: var(--ed-accent); }
.simplified-portfolio .career-keywords { gap: 0; margin-top: 24px; }
.simplified-portfolio .career-keywords span { padding: 0; border-radius: 0; background: transparent; color: var(--ed-muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .72rem; }
.simplified-portfolio .career-keywords span:not(:last-child)::after { content: "/"; margin: 0 9px; color: #aaa9a5; }
.simplified-portfolio .education-panel h3 { margin-bottom: 26px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

.simplified-portfolio .project-showcase { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; width: min(1120px, 100%); margin: 0 auto; border-top: 2px solid var(--ed-ink); }
.simplified-portfolio .featured-project-card,
.simplified-portfolio .compact-project-card,
.simplified-portfolio .project-showcase .featured-project-card:nth-child(1),
.simplified-portfolio .project-showcase .featured-project-card:nth-child(2),
.simplified-portfolio .project-showcase .featured-project-card:nth-child(3) { position: relative; min-height: 390px; padding: 28px 24px 30px; border: 0; border-right: 1px solid var(--ed-line); border-bottom: 1px solid var(--ed-line); border-radius: 0; background: transparent; box-shadow: none; }
.simplified-portfolio .featured-project-card:nth-child(3), .simplified-portfolio .compact-project-card:nth-child(5) { border-right: 0; }
.simplified-portfolio .compact-project-card { min-height: 270px; }
.simplified-portfolio .featured-project-card::before, .simplified-portfolio .compact-project-card::before { display: none; content: none; }
.simplified-portfolio .project-showcase .icon-badge,
.simplified-portfolio .project-showcase .featured-project-card:nth-child(1) .icon-badge,
.simplified-portfolio .project-showcase .featured-project-card:nth-child(2) .icon-badge,
.simplified-portfolio .project-showcase .featured-project-card:nth-child(3) .icon-badge { width: auto; height: auto; margin: 0; border-radius: 0; background: transparent; color: var(--ed-ink); font-size: 1.2rem; }
.simplified-portfolio .project-card-top .project-period { color: var(--ed-muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.simplified-portfolio .project-showcase .project-title { margin: 42px 0 13px; color: var(--ed-ink); font-size: 1.4rem; font-weight: 680; letter-spacing: -.035em; }
.simplified-portfolio .project-showcase .project-summary { color: var(--ed-muted); font-size: .9rem; line-height: 1.7; }
.simplified-portfolio .project-showcase .project-stack-preview, .simplified-portfolio .skill-group > div { display: flex; flex-wrap: wrap; gap: 0; }
.simplified-portfolio .project-showcase .tech-tag, .simplified-portfolio .skill-group .tech-tag { padding: 0; border: 0; border-radius: 0; background: transparent; color: #55585d; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .68rem; }
.simplified-portfolio .project-showcase .tech-tag:not(:last-child)::after, .simplified-portfolio .skill-group .tech-tag:not(:last-child)::after { content: "·"; margin: 0 7px; color: #aaa9a5; }
.simplified-portfolio .project-showcase .project-actions { gap: 18px; margin-top: auto; padding-top: 30px; }
.simplified-portfolio .project-detail-button, .simplified-portfolio .project-showcase .project-open-link { min-height: auto; padding: 4px 0 5px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; color: var(--ed-ink); box-shadow: none; font-size: .76rem; }

.simplified-portfolio .awards-section { background: var(--ed-paper) !important; }
.simplified-portfolio .awards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; width: min(1120px, 100%); }
.simplified-portfolio .award-card { min-height: 280px; padding: 26px 0 0; border: 0; border-top: 2px solid var(--ed-ink); border-radius: 0; background: transparent; box-shadow: none; }
.simplified-portfolio .award-card-icon { width: auto; height: auto; margin-bottom: 30px; border-radius: 0; background: transparent; color: var(--ed-ink); font-size: 1.2rem; }
.simplified-portfolio .award-period { color: var(--ed-muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.simplified-portfolio .award-card h3 { font-size: 1.35rem; font-weight: 680; }
.simplified-portfolio .award-link { min-height: auto; padding: 4px 0 5px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; color: var(--ed-ink); }

.simplified-portfolio .skills-document-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr); gap: clamp(42px, 7vw, 92px); width: min(1120px, 100%); }
.simplified-portfolio .skill-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
.simplified-portfolio .skill-group { min-height: 120px; padding: 18px 0 0; border: 0; border-top: 1px solid var(--ed-ink); border-radius: 0; background: transparent; box-shadow: none; }
.simplified-portfolio .skill-group h3 { margin-bottom: 18px; color: var(--ed-ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .68rem; }
.simplified-portfolio .document-card { padding: 30px; border: 0; border-radius: 0; background: var(--ed-dark); color: #fff; box-shadow: none; }
.simplified-portfolio .document-card > p, .simplified-portfolio .document-card ul { color: #b7b8bb; }
.simplified-portfolio .document-actions { gap: 18px; }
.simplified-portfolio .document-actions a, .simplified-portfolio .document-actions button { min-height: auto; padding: 4px 0 5px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; color: #fff; font-size: .74rem; }

.simplified-portfolio .contact-section { min-height: 76svh; border-bottom: 0; background: var(--ed-dark) !important; }
.simplified-portfolio .contact-content h2 { max-width: 920px; color: #fff; font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 640; letter-spacing: -.06em; }
.simplified-portfolio .contact-content .section-eyebrow { color: #9ba8b6; }
.simplified-portfolio .contact-links a, .simplified-portfolio .contact-links a:first-child { border-color: currentColor; background: transparent; color: #fff; }
.simplified-portfolio .nav-dots { right: 22px; }
.simplified-portfolio .dot { width: 18px; height: 2px; border-radius: 0; background: rgba(17,18,20,.25); box-shadow: none; }
.simplified-portfolio .dot.active { width: 32px; background: var(--ed-ink); box-shadow: none; }
.simplified-portfolio .project-modal-panel { border-radius: 0; background: #f7f6f2; box-shadow: 0 24px 80px rgba(0,0,0,.2); }
.simplified-portfolio .project-modal-icon { background: transparent; color: var(--ed-ink); }
.simplified-portfolio .project-modal-impact.award, .simplified-portfolio .project-modal-impact.operating { border-color: var(--ed-line); border-radius: 0; background: transparent; color: var(--ed-muted); }

@media (hover: hover) and (pointer: fine) {
  .simplified-portfolio .featured-project-card, .simplified-portfolio .compact-project-card, .simplified-portfolio .career-card, .simplified-portfolio .skill-group, .simplified-portfolio .award-card { transition: none; }
  .simplified-portfolio .featured-project-card:hover, .simplified-portfolio .compact-project-card:hover, .simplified-portfolio .career-card:hover, .simplified-portfolio .skill-group:hover, .simplified-portfolio .award-card:hover { transform: none; box-shadow: none; }
  .simplified-portfolio .hero-links a:hover, .simplified-portfolio .contact-links a:hover, .simplified-portfolio .document-actions a:hover, .simplified-portfolio .document-actions button:hover, .simplified-portfolio .project-detail-button:hover, .simplified-portfolio .project-open-link:hover { opacity: .55; background: transparent; color: inherit; }
}

@media (max-width: 900px) {
  .simplified-portfolio .hero-layout, .simplified-portfolio .career-layout, .simplified-portfolio .skills-document-layout { grid-template-columns: 1fr; }
  .simplified-portfolio .hero-profile-card { display: block; width: min(360px, 100%); max-width: 360px; justify-self: start; }
  .simplified-portfolio .project-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .simplified-portfolio .featured-project-card, .simplified-portfolio .compact-project-card { grid-column: span 1; border-right: 1px solid var(--ed-line); }
  .simplified-portfolio .project-card:nth-child(even) { border-right: 0; }
}

@media (max-width: 768px) {
  .simplified-portfolio .full-section { padding: 82px 20px; }
  .simplified-portfolio .hero-section { padding-top: 96px; }
  .simplified-portfolio .hero-content h1 { font-size: clamp(4rem, 21vw, 5.6rem); }
  .simplified-portfolio .hero-stats-grid { grid-template-columns: 1fr; }
  .simplified-portfolio .hero-stat { min-height: auto; border-right: 0; border-bottom: 1px solid var(--ed-line); }
  .simplified-portfolio .hero-stat:last-child { border-bottom: 0; }
  .simplified-portfolio .section-heading { display: block; margin-bottom: 42px; }
  .simplified-portfolio .section-heading .section-eyebrow { margin-bottom: 22px; }
  .simplified-portfolio .section-heading h2 { font-size: 2.55rem; }
  .simplified-portfolio .project-showcase { grid-template-columns: 1fr; }
  .simplified-portfolio .featured-project-card, .simplified-portfolio .compact-project-card, .simplified-portfolio .project-card:nth-child(even) { min-height: auto; padding: 26px 0 32px; border-right: 0; }
  .simplified-portfolio .skill-groups, .simplified-portfolio .awards-grid { grid-template-columns: 1fr; }
  .simplified-portfolio .award-card { min-height: auto; padding-bottom: 20px; }
  .simplified-portfolio .document-card { padding: 26px 22px; }
  .simplified-portfolio .contact-content h2 { font-size: clamp(2.7rem, 13vw, 4rem); }
}
