:root {
  --bg: #f8f8f8;
  --bg-alt: #f1f1f1;
  --surface: #ffffff;
  --ink: #1e1e1e;
  --muted: #6a6a6a;
  --line: #e3e3e3;
  --line-strong: #cdcdcd;
  --red: #f24b40;
  --blue: #3086ff;
  --green: #1fa971;
  --radius: 20px;
  --radius-sm: 12px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

* {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  border-width: 0;
  border-style: solid;
  border-color: var(--line);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  font-family: monospace;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.lock {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--red);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 120;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  transition:
    background 0.3s,
    box-shadow 0.3s,
    backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(248, 248, 248, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition:
    color 0.2s,
    background 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.active {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

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

.lang {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.lang button {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.25s var(--ease);
}

.lang button.on {
  background: var(--ink);
  color: #fff;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  position: relative;
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease),
    top 0.3s var(--ease);
}

.burger span:nth-child(1) {
  top: 16px;
}

.burger span:nth-child(2) {
  top: 24px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  top: 20px;
  transform: rotate(-45deg);
}

.section {
  padding: 112px 0;
  position: relative;
}

.section.alt {
  background: var(--bg-alt);
}

.sec-head {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  align-items: baseline;
  margin-bottom: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  position: relative;
}

.sec-head::before {
  content: "+";
  position: absolute;
  top: -13px;
  left: -5px;
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  background: var(--bg);
  padding: 0 4px;
}

.section.alt .sec-head::before {
  background: var(--bg-alt);
}

.sec-no {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.08em;
}

.sec-head h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.sec-head p {
  grid-column: 2;
  margin-top: 8px;
  color: var(--muted);
  font-size: 17px;
}

.mini-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 32px 0 14px;
}

.mini-title:first-child {
  margin-top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s,
    background 0.25s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(30, 30, 30, 0.6);
}

.btn-primary:hover {
  background: var(--blue);
  box-shadow: 0 14px 28px -10px rgba(48, 134, 255, 0.7);
}

.btn-ghost {
  background: var(--surface);
  box-shadow: 0 0 0 1.5px var(--ink) inset;
}

.btn-ghost:hover {
  background: #25d366;
  color: #fff;
  box-shadow: 0 0 0 1.5px #25d366 inset;
}

.btn i {
  transition: transform 0.25s var(--ease);
}

.btn-primary:hover i {
  transform: translateY(3px);
}

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 56px) 0 40px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(
    ellipse 80% 70% at 50% 35%,
    #000 25%,
    transparent 75%
  );
  mask-image: radial-gradient(
    ellipse 80% 70% at 50% 35%,
    #000 25%,
    transparent 75%
  );
}

.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  min-height: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  animation: fadeUp 0.8s var(--ease) both;
}

.hero-title {
  margin: 22px 0 18px;
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  white-space: nowrap;
}

.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1s var(--ease) forwards;
}

.hero-title .line:nth-child(2) > span {
  animation-delay: 0.12s;
}

.hero-title em {
  font-style: normal;
  color: var(--blue);
}

.hero-role {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  animation: fadeUp 0.8s 0.3s var(--ease) both;
}

.role-bar {
  width: 44px;
  height: 3px;
  background: var(--red);
  border-radius: 3px;
}

.hero-lead {
  max-width: 560px;
  margin-top: 14px;
  font-size: 18px;
  color: var(--muted);
  animation: fadeUp 0.8s 0.4s var(--ease) both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  animation: fadeUp 0.8s 0.5s var(--ease) both;
}

.hero-visual {
  display: grid;
  place-items: center;
  animation: fadeUp 1s 0.35s var(--ease) both;
}

.photo-frame {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 4/5;
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 28px;
}

.photo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, #e9eefb, #f6f6f6);
  box-shadow: 0 30px 60px -30px rgba(30, 30, 30, 0.35);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.photo.is-empty::after {
  content: "MI";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 96px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(30, 30, 30, 0.12);
}

.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 2;
}

.corner::before,
.corner::after {
  content: "";
  position: absolute;
  background: var(--red);
}

.corner::before {
  width: 100%;
  height: 2px;
  top: 10px;
}

.corner::after {
  width: 2px;
  height: 100%;
  left: 10px;
}

.corner.tl {
  top: -11px;
  left: -11px;
}

.corner.br {
  bottom: -11px;
  right: -11px;
}

.float-tag {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow:
    0 12px 30px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px var(--line);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}

.float-tag i {
  color: var(--blue);
}

.ft1 {
  left: -36px;
  bottom: 56px;
}
.ft2 {
  right: -24px;
  top: 40px;
  animation-delay: -3s;
}

.ft2 i {
  color: var(--red);
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 22px 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

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

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.mq-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  color: var(--muted);
  white-space: nowrap;
}

.mq-item .ticon {
  width: 38px;
  height: 38px;
}

.ticon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: none;
}
.ticon.mono {
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #8a8a8a;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}
.ticon.fa-glyph {
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--ink);
  font-size: 18px;
}
.tech-row .ticon.fa-glyph,
.tech-row .ticon.mono {
  font-size: 12px;
  border-radius: 6px;
}
.pm-tech .ticon.fa-glyph {
  font-size: 14px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

.about-summary {
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -0.01em;
}

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

.pill-list li {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-strong) inset;
  transition: all 0.25s var(--ease);
}

.pill-list li:nth-child(3n + 1):hover {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}

.pill-list li:nth-child(3n + 2):hover {
  background: var(--red);
  color: #fff;
  box-shadow: none;
}

.pill-list li:nth-child(3n):hover {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.lang-list {
  display: grid;
  gap: 10px;
}

.lang-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 15px;
}

.lang-list b {
  font-weight: 700;
}

.lang-list span {
  color: var(--muted);
  text-align: right;
}

.edu {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.edu::before,
.edu::after {
  content: "+";
  position: absolute;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  background: var(--bg);
  padding: 0 3px;
}

.edu::before {
  top: -13px;
  left: 20px;
}

.edu::after {
  bottom: -13px;
  right: 20px;
}

.edu .school {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.edu .degree {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 500;
}

.edu-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 22px 0;
  border-block: 1px solid var(--line);
}

.edu-meta div {
  padding: 14px 0;
}

.edu-meta div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.edu-meta small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.edu-meta strong {
  font-size: 20px;
  font-weight: 800;
}

.edu-meta strong.gpa {
  color: var(--red);
}

.edu ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.edu li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

.edu li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.edu .place {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

.skill-groups {
  display: grid;
  gap: 36px;
}

.skill-group {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
}

.skill-group h3 {
  font-size: 15px;
  font-weight: 800;
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-group h3::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--c, var(--blue));
}

.skill-cards,
.field-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

.skill-card,
.field-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  transition:
    transform 0.3s var(--ease),
    border-color 0.25s;
}

.skill-card:hover,
.field-list li:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}

.skill-card .ticon {
  width: 40px;
  height: 40px;
  transition: transform 0.35s var(--ease);
}

.skill-card:hover .ticon {
  transform: scale(1.12) rotate(-4deg);
}

.skill-card-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.skill-card-txt strong {
  font-size: 15px;
  font-weight: 800;
}

.skill-card-txt small {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.field-list li {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.field-list li .field-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--c, var(--blue));
  font-size: 17px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 28px;
  margin-left: 8px;
  padding-left: 36px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line-strong);
}

.t-item {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    box-shadow 0.3s,
    transform 0.3s var(--ease),
    border-color 0.3s;
}

.t-item:hover {
  transform: translateX(4px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 36px -22px rgba(0, 0, 0, 0.3);
}

.t-item::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 34px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--ink);
  transition:
    background 0.3s,
    border-color 0.3s;
}

.t-item:hover::before {
  background: var(--red);
  border-color: var(--red);
}

.t-period {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

.t-org {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.t-role {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.t-note {
  margin-top: 6px;
  font-size: 14px;
  color: var(--red);
}

.t-points {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.t-points li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: #3a3a3a;
}

.t-points li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 1.5px;
  margin-top: 12px;
  background: var(--red);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s,
    border-color 0.3s;
  cursor: pointer;
  opacity: 0;
}

.pcard.in {
  opacity: 1;
  animation: cardIn 0.6s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}

.pcard:hover {
  transform: translateY(-6px);
  border-color: var(--ink);
  box-shadow: 0 24px 44px -26px rgba(0, 0, 0, 0.4);
}

.thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.thumb .shot--web {
  position: absolute;
  inset: 14px 14px 0;
  border-radius: 10px 10px 0 0;
  border-bottom: 0;
  transition: transform 0.6s var(--ease);
}

.pcard:hover .thumb .shot--web {
  transform: translateY(-4px) scale(1.02);
}

.thumb--android {
  background: linear-gradient(160deg, #e8f3ee, #f3f6f9);
  display: flex;
  justify-content: center;
  gap: 14px;
  padding-top: 18px;
}

.thumb--android .shot--android {
  width: 34%;
  max-height: none;
  align-self: flex-start;
  border-radius: 20px 20px 0 0;
  border-bottom: 0;
  transition: transform 0.6s var(--ease);
}

.thumb--android .shot--android:nth-child(2) {
  margin-top: 30px;
}

.pcard:hover .thumb--android .shot--android {
  transform: translateY(-6px);
}

.badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge.web i {
  color: var(--blue);
}

.badge.android i {
  color: var(--green);
}

.badge.status {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.pbody {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 22px;
  flex: 1;
}

.pbody h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.pbody p {
  font-size: 14.5px;
  color: var(--muted);
}

.pfoot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tech-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-row .ticon {
  width: 24px;
  height: 24px;
}

.tech-row .more {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.go {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-alt);
  transition: all 0.3s var(--ease);
  flex: none;
}

.pcard:hover .go {
  background: var(--red);
  color: #fff;
  transform: rotate(-45deg);
}

.shot {
  position: relative;
  background: #fff;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.shot--web {
  aspect-ratio: 16/10;
  border-radius: 12px;
}

.shot--android {
  aspect-ratio: 9/19.5;
  border-radius: 26px;
  border: 2px solid var(--ink);
}

.shot.is-empty::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 12%;
  height: 8%;
  border-radius: 6px;
  background: #e3ebfb;
  box-shadow: 0 calc(100% + 10px) 0 #eef2fb;
}

.shot--web.is-empty::before {
  height: 12%;
  top: 22%;
  box-shadow:
    0 calc(100% + 12px) 0 #eef2fb,
    0 calc(200% + 24px) 0 #f3f5fb;
}

.shot--web.is-empty {
  background: linear-gradient(#f4f5f8 0 9%, #fff 9%);
}

.shot--web.is-empty > i.dots {
  position: absolute;
  top: 3.2%;
  left: 3%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow:
    10px 0 0 #f5b84a,
    20px 0 0 #3ec97b;
}

.shot.is-empty::after {
  content: attr(data-path);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10%;
  padding: 0 10px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  color: #7a869f;
  word-break: break-all;
}

.pkm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pkm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}

.pkm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -26px rgba(0, 0, 0, 0.35);
}

.pkm-thumb {
  display: block;
  border-bottom: 1px solid var(--line-strong);
}

.pkm-thumb .shot--web {
  transition: transform 0.6s var(--ease);
}

.pkm-card:hover .pkm-thumb .shot--web {
  transform: translateY(-4px) scale(1.02);
}

.pkm-chip {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pkm-chip i {
  color: #d62976;
}

.pkm-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
  padding: 28px 32px 32px;
}

.pkm-tag {
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--c, var(--blue));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.pkm-card h3 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.pkm-place {
  margin-top: -8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.pkm-card p.desc {
  font-size: 15.5px;
  color: #3a3a3a;
}

.pkm-role {
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  font-size: 14px;
}

.pkm-role small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.pkm-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  background: var(--ink);
  color: #fff;
  transition: all 0.3s var(--ease);
}

.pkm-link:hover {
  background: linear-gradient(
    45deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
  transform: translateY(-2px);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.cert {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  background: var(--surface);
  text-align: left;
  transition: background 0.3s;
  position: relative;
  cursor: pointer;
}

.cert:hover {
  background: var(--bg);
}

.cert-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cert-tag {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-alt);
}

.cert-tag.pkm {
  background: var(--red);
  color: #fff;
}

.cert-year {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.cert h3 {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.cert .issuer {
  font-size: 13.5px;
  color: var(--muted);
}

.cert .view {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

.cert .view i {
  transition: transform 0.3s var(--ease);
}

.cert:hover .view i {
  transform: translateX(4px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
}

.contact-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wa-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  transition:
    background 0.3s,
    transform 0.3s var(--ease);
  cursor: pointer;
}

.wa-card:hover {
  background: var(--green);
  transform: translateY(-3px);
}

.wa-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #25d366;
  font-size: 28px;
}

.wa-txt strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
}

.wa-txt small {
  opacity: 0.85;
  font-size: 13.5px;
}

.wa-arrow {
  margin-left: auto;
  transition: transform 0.3s var(--ease);
}

.wa-card:hover .wa-arrow {
  transform: translateX(6px);
}

.social-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.social-list a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 18px 18px 16px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  transition:
    border-color 0.25s,
    transform 0.3s var(--ease);
}

.social-list a:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}

.social-list a i.ic {
  width: auto;
  margin-bottom: 14px;
  font-size: 22px;
}

.social-list a b {
  font-size: 15px;
  font-weight: 800;
}

.social-list a span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13.5px;
  color: var(--muted);
}

.social-list a .go-ico {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 12px;
  color: var(--muted);
  transition:
    transform 0.3s var(--ease),
    color 0.25s;
}

.social-list a:hover .go-ico {
  color: var(--ink);
  transform: translate(2px, -2px);
}

.doc-list {
  display: grid;
  grid-auto-rows: 1fr;
  flex: 1;
  gap: 14px;
}

.doc {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}

.doc:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -24px rgba(0, 0, 0, 0.4);
}

.doc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doc-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 20px;
}

.doc:nth-child(2) .doc-ico {
  background: var(--blue);
}

.doc:hover .go {
  background: var(--red);
  color: #fff;
  transform: rotate(-45deg);
}

.doc strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
}

.doc small {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
}

.footer {
  border-top: 1px solid var(--line-strong);
  padding: 28px 0;
  font-size: 14px;
  color: var(--muted);
}

.footer-in {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.to-top {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  color: var(--ink);
}

.to-top i {
  transition: transform 0.3s var(--ease);
}

.to-top:hover i {
  transform: translateY(-4px);
}

.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 30px;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.8);
  transition: transform 0.3s var(--ease);
  cursor: pointer;
}

.wa-fab:hover {
  transform: scale(1.1) rotate(-6deg);
}

.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ring 2.4s infinite;
}

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

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade 0.3s both;
}

.modal-panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--bg);
  border-radius: 28px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.45s var(--ease) both;
  overscroll-behavior: contain;
}

.modal-close {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px 0 0;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition:
    transform 0.3s var(--ease),
    background 0.3s;
}

.modal-close:hover {
  transform: rotate(90deg);
  background: var(--red);
}

.pm {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
}

.pm-gallery {
  padding: 32px;
  background: var(--bg-alt);
  border-radius: 28px 0 0 28px;
  min-width: 0;
}

.pm-info {
  padding: 40px 36px 36px;
  min-width: 0;
}

.gal-in {
  position: sticky;
  top: 32px;
}

@media (max-width: 1020px) {
  .gal-in {
    position: static;
  }
}

.gal-main {
  position: relative;
}

.gal-main .shot--web {
  box-shadow: 0 24px 50px -26px rgba(0, 0, 0, 0.45);
}

.gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.35);
  transition: all 0.25s var(--ease);
  z-index: 2;
}

.gal-btn:hover {
  background: var(--ink);
  color: #fff;
}

.gal-btn.prev {
  left: -12px;
}

.gal-btn.next {
  right: -12px;
}

.gal-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.gal-thumbs button {
  border-radius: 8px;
  padding: 0;
  opacity: 0.55;
  outline-offset: 2px;
  transition:
    opacity 0.25s,
    transform 0.25s var(--ease);
}

.gal-thumbs button:hover {
  opacity: 1;
}

.gal-thumbs button.on {
  opacity: 1;
  outline: 2px solid var(--blue);
  transform: translateY(-2px);
}

.gal-thumbs .shot {
  border-radius: 8px;
  pointer-events: none;
}

.gal-thumbs .shot.is-empty::after {
  display: none;
}

.gal-counter {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.phones {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scroll-snap-type: x mandatory;
  justify-content: flex-start;
}

.phones .shot {
  flex: 0 0 min(210px, 56%);
  scroll-snap-align: center;
  box-shadow: 0 24px 40px -22px rgba(0, 0, 0, 0.45);
}

.phones::-webkit-scrollbar {
  height: 6px;
}

.phones::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 6px;
}

@media (min-width: 701px) {
  .phones {
    justify-content: center;
  }
}

.pm-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pm-info h3.pm-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pm-tagline {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

.pm-sec {
  margin-top: 24px;
}

.pm-sec h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pm-sec h4::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--c, var(--red));
}

.pm-sec p {
  font-size: 15px;
  color: #353535;
}

.pm-sec.p-problem {
  --c: var(--red);
}

.pm-sec.p-solution {
  --c: var(--blue);
}

.pm-sec.p-role {
  --c: var(--green);
}

.pm-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pm-tech span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}

.pm-tech .ticon {
  width: 28px;
  height: 28px;
}

.pm-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pm-links .btn {
  padding: 11px 18px;
  font-size: 14px;
}

.cert-view {
  padding: 28px;
}

.cert-view h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 18px 0 2px;
  letter-spacing: -0.02em;
}

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

.cert-view .shot {
  max-width: 900px;
  margin-inline: auto;
  box-shadow: 0 24px 50px -26px rgba(0, 0, 0, 0.45);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 169, 113, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(31, 169, 113, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(31, 169, 113, 0);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes ring {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-in {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 56px;
  }

  .hero-visual {
    order: -1;
  }

  .photo-frame {
    width: min(70%, 320px);
  }

  .ft1 {
    left: -20px;
  }

  .ft2 {
    right: -10px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .skill-group {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .skill-group h3 {
    padding-top: 0;
  }

  .t-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .pm-gallery {
    border-radius: 28px 28px 0 0;
  }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    gap: 2px;
    padding: 14px 24px 22px;
    background: rgba(248, 248, 248, 0.97);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.3);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease);
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 12px;
  }

  .burger {
    display: block;
  }

  .nav.menu-open {
    background: rgba(248, 248, 248, 0.97);
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 640px) {
  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 80px 0;
  }

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

  .sec-head {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }

  .sec-head p {
    grid-column: 1;
  }

  .timeline {
    padding-left: 24px;
    margin-left: 4px;
  }

  .t-item {
    padding: 22px;
  }

  .t-item::before {
    left: -30px;
  }

  .doc {
    padding: 18px;
  }

  .pkm-body {
    padding: 24px 22px 26px;
  }

  .modal {
    padding: 0;
    align-items: flex-end;
  }

  .modal-panel {
    max-height: 94vh;
    border-radius: 24px 24px 0 0;
  }

  .pm-gallery {
    padding: 20px;
    border-radius: 24px 24px 0 0;
  }

  .pm-info {
    padding: 26px 22px 28px;
  }

  .gal-btn.prev {
    left: 6px;
  }

  .gal-btn.next {
    right: 6px;
  }

  .ft1,
  .ft2 {
    display: none;
  }
}

@media (max-width: 420px) {
  .social-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-title .line > span {
    transform: none;
  }
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--muted);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--ink);
}

.pm-gallery.is-android .gal-main {
  aspect-ratio: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
  background-color: var(--paper-alt);
  border-radius: 12px;
  height: 50vh;
  min-height: 350px;
}

.pm-gallery.is-android .gal-main .shot--android {
  width: auto;
  height: 100%;
  aspect-ratio: 9 / 19.5;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.pm-gallery.is-android .shot--android img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-gallery.is-android .gal-thumbs {
  justify-content: center;
  margin-top: 12px;
}

.pm-gallery.is-android .gal-thumbs .shot--android {
  width: 40px;
  height: auto;
  min-height: unset;
  aspect-ratio: 9 / 19.5;
  border-radius: 4px;
  box-shadow: none;
}

.gal-thumbs button,
.gal-thumbs button:focus,
.gal-thumbs button:active {
  outline: none !important;
  border: none !important;
}
