/* =========================================================
   Sub pages: resume, projects, project, experience, skills,
   achievements, gallery. Loaded after main.css.
   ========================================================= */

/* ---------- shared bits ---------- */
.sub { padding-top: 120px; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #8b8b94; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.7); }
.sec { width: var(--wrap); margin: 0 auto; padding: clamp(70px, 12vh, 140px) 0; }
.sec__head { display: grid; gap: 14px; margin-bottom: 44px; }
.sec__head--c { text-align: center; justify-items: center; }
.sec__head h2 { font-size: clamp(32px, 4.4vw, 58px); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.sec__head p { max-width: 58ch; font-size: 15px; color: #8b8b94; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: #0d0d0f; border: 1px solid var(--line); }
.seg button { padding: 8px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #a1a1aa; transition: background-color .3s, color .3s; white-space: nowrap; }
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { background: #fff; color: #000; }
.seg button small { margin-left: 6px; font-size: 10.5px; opacity: .6; font-weight: 600; }
.searchbox { position: relative; display: flex; align-items: center; }
.searchbox svg { position: absolute; left: 13px; width: 15px; height: 15px; color: #71717a; pointer-events: none; }
.searchbox input { width: 230px; height: 38px; padding: 0 14px 0 36px; border-radius: 999px; background: #0d0d0f; border: 1px solid var(--line); color: #fff; font: inherit; font-size: 13px; outline: none; transition: border-color .3s, width .5s var(--ease); }
.searchbox input:focus { border-color: var(--line-2); width: 270px; }
.viewtg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: #0d0d0f; border: 1px solid var(--line); }
.viewtg button { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #71717a; transition: background-color .3s, color .3s; }
.viewtg button svg { width: 16px; height: 16px; }
.viewtg button[aria-pressed="true"] { background: #232327; color: #fff; }
.chip { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 7px; background: #141416; border: 1px solid var(--line); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #d4d4d8; }
.empty { padding: 60px 0; text-align: center; color: #71717a; font-size: 14px; }
.badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; background: rgba(59,130,246,.12); color: #93c5fd; border: 1px solid rgba(59,130,246,.25); }
.badge--lime { background: rgba(212,240,74,.08); color: var(--lime); border-color: rgba(212,240,74,.28); }

/* big page title with sheen, centred */
.ptitle { font-size: clamp(54px, 11vw, 190px); font-weight: 900; letter-spacing: -.055em; line-height: .86; text-align: center; }

/* ---------- resume viewer ---------- */
.rv { padding: 96px 0 30px; }
.rv__panel {
  width: min(1320px, 100% - 2 * clamp(12px, 3vw, 40px)); margin: 0 auto; height: calc(100svh - 130px); min-height: 520px;
  display: grid; grid-template-columns: 230px 1fr; border-radius: 22px; overflow: hidden;
  background: #0a0a0b; border: 1px solid #1f1f23; box-shadow: 0 40px 100px -40px rgba(0,0,0,.9);
  opacity: 0; transform: translateY(24px) scale(.985); transition: opacity .8s var(--ease) .2s, transform 1s var(--ease) .2s, grid-template-columns .45s var(--ease);
}
.is-ready .rv__panel { opacity: 1; transform: none; }
.rv__panel.is-collapsed { grid-template-columns: 0 1fr; }
.rv__side { overflow-y: auto; padding: 18px 16px; display: grid; align-content: start; gap: 14px; border-right: 1px solid #1a1a1d; background: #070708; transition: opacity .3s; }
.rv__panel.is-collapsed .rv__side { opacity: 0; pointer-events: none; padding: 0; }
.rv__thumb { display: grid; justify-items: center; gap: 8px; padding: 12px 10px 10px; border-radius: 14px; transition: background-color .3s; }
.rv__thumb canvas { width: 100%; height: auto; border-radius: 3px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.5); transition: transform .45s var(--ease); }
.rv__thumb span { font-size: 12px; font-weight: 600; color: #a1a1aa; }
.rv__thumb:hover canvas { transform: translateY(-3px); }
.rv__thumb.is-on { background: #18181b; }
.rv__thumb.is-on span { color: #fff; }
.rv__main { position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.rv__tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #1a1a1d; background: rgba(10,10,11,.92); }
.rv__group { display: flex; align-items: center; gap: 4px; }
.rv__btn { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #d4d4d8; transition: background-color .25s, color .25s, transform .3s var(--ease); }
.rv__btn svg { width: 17px; height: 17px; }
.rv__btn:hover { background: #1c1c1f; color: #fff; }
.rv__btn:active { transform: scale(.92); }
.rv__btn[aria-pressed="true"] { color: #fff; }
.rv__pager { padding: 7px 12px; border-radius: 10px; background: #18181b; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rv__sep { width: 1px; height: 20px; background: #27272a; margin: 0 6px; }
.rv__zoom select { appearance: none; -webkit-appearance: none; height: 36px; padding: 0 30px 0 12px; border-radius: 10px; background: #111113 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 9px center / 14px; border: 1px solid #222226; color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.rv__search input { width: 190px; height: 36px; padding: 0 12px; border-radius: 10px; background: #111113; border: 1px solid #2a2a2e; color: #fff; font: inherit; font-size: 13px; outline: none; }
.rv__search input:focus { border-color: #52525b; }
.rv__hits { min-width: 64px; font-size: 12px; color: #a1a1aa; font-variant-numeric: tabular-nums; }
.rv__pages { position: relative; overflow: auto; padding: 32px; display: grid; justify-items: center; align-content: start; gap: 28px; background: #050506; outline: none; overscroll-behavior: contain; }
.rv__page { position: relative; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); opacity: 0; transform: translateY(30px); }
.is-loaded .rv__page { animation: rvIn .9s var(--ease) var(--d, 0s) forwards; }
@keyframes rvIn { to { opacity: 1; transform: none; } }
.rv__page canvas { display: block; }
.rv__loading { display: grid; justify-items: center; gap: 14px; padding: 120px 0; color: #8b8b94; font-size: 13px; }
.rv__loading a { color: #fff; text-decoration: underline; }
.rv__under { width: min(1320px, 100% - 32px); margin: 16px auto 0; text-align: center; font-size: 13px; color: #71717a; }
.rv__under a { color: #e4e4e7; text-decoration: underline; text-underline-offset: 3px; }
/* pdf.js text layer (selection and search) */
.textLayer { position: absolute; inset: 0; overflow: hidden; line-height: 1; text-align: initial; opacity: 1; forced-color-adjust: none; transform-origin: 0 0; z-index: 2; }
.textLayer span, .textLayer br { color: transparent; position: absolute; white-space: pre; cursor: text; transform-origin: 0% 0%; }
.textLayer .markedContent { top: 0; height: 0; }
.textLayer[data-main-rotation="90"] { transform: rotate(90deg) translateY(-100%); }
.textLayer[data-main-rotation="180"] { transform: rotate(180deg) translate(-100%, -100%); }
.textLayer[data-main-rotation="270"] { transform: rotate(270deg) translateX(-100%); }
.textLayer ::selection { background: rgba(37, 99, 235, .28); }
.textLayer span.rv-hit { background: rgba(250, 204, 21, .45); border-radius: 2px; }
.textLayer span.rv-hit--cur { background: rgba(249, 115, 22, .6); box-shadow: 0 0 0 2px rgba(249,115,22,.5); }

@media (max-width: 860px) {
  .rv { padding-top: 84px; }
  .rv__panel { grid-template-columns: 0 1fr; height: calc(100svh - 110px); border-radius: 16px; }
  .rv__panel:not(.is-collapsed) { grid-template-columns: 120px 1fr; }
  .rv__side { padding: 10px 8px; }
  .rv__hide-sm { display: none; }
  .rv__tools { padding: 8px; flex-wrap: wrap; }
  .rv__pages { padding: 12px; gap: 14px; }
  .rv__search { order: 3; width: 100%; }
  .rv__search input { flex: 1; width: auto; }
}

/* ---------- projects page ---------- */
.pj-hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: grid; place-items: center; }
.pj-hero__rows { position: absolute; inset: -6% -10%; display: grid; align-content: center; gap: 22px; transform-origin: 50% 50%; filter: brightness(.42); rotate: -6deg; }
.pj-row { display: flex; gap: 22px; width: max-content; animation: mq 60s linear infinite; }
.pj-row--b { animation-direction: reverse; animation-duration: 70s; }
.pj-row figure { margin: 0; width: clamp(220px, 22vw, 340px); aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #111; flex: none; }
.pj-row img { width: 100%; height: 100%; object-fit: cover; }
.pj-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(0,0,0,.55), rgba(0,0,0,.92) 80%), linear-gradient(transparent 70%, #000); pointer-events: none; }
.pj-hero__in { position: relative; z-index: 2; width: var(--wrap); display: grid; justify-items: center; text-align: center; gap: 22px; }
.pj-hero__t { font-size: clamp(48px, 8.4vw, 136px); font-weight: 900; letter-spacing: -.055em; line-height: .88; display: grid; }
.pj-hero__p { max-width: 54ch; font-size: clamp(15px, 1.3vw, 18px); color: #c4c4cc; }
.pj-hero__scroll { margin-top: 18px; display: grid; justify-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: #8b8b94; }
.pj-hero__scroll svg { width: 16px; height: 16px; animation: bob2 1.8s ease-in-out infinite; }
@keyframes bob2 { 50% { transform: translateY(6px); } }

.pj-impact { width: var(--wrap); margin: 0 auto; padding: clamp(80px, 14vh, 150px) 0 clamp(40px, 8vh, 80px); }
.pj-impact__grid { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pj-impact__grid > div { padding: 28px 24px; border-radius: 20px; background: #0b0b0d; border: 1px solid var(--line); text-align: center; transition: border-color .3s, transform .5s var(--ease); }
.pj-impact__grid > div:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pj-impact__grid dd { margin: 0; font-size: clamp(36px, 4.4vw, 62px); font-weight: 900; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.pj-impact__grid small { font-size: .5em; color: #a1a1aa; }
.pj-impact__grid dt { margin-top: 10px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8b8b94; }

.pj-feat__pin { position: relative; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); padding: 90px 0 40px; }
.pj-feat__head { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 20px; }
.pj-feat__head .eyebrow { grid-column: 1 / -1; }
.pj-feat__head h2 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.pj-feat__count { font-family: var(--mono); font-size: 14px; color: #71717a; }
.pj-feat__count b { color: #fff; font-weight: 500; font-size: 28px; }
.pj-feat__track { display: flex; gap: 26px; align-items: center; width: max-content; padding-left: max(32px, (100vw - 1180px) / 2); will-change: transform; }
.pf { position: relative; flex: none; width: clamp(380px, 38vw, 560px); height: min(62vh, 520px); border-radius: 24px; overflow: hidden; background: #111; display: block; isolation: isolate; }
.pf__img { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.pf__img img { width: 100%; height: 100%; object-fit: cover; transition: filter .6s; filter: brightness(.6) saturate(1.05); }
.pf:hover .pf__img img { filter: brightness(.8) saturate(1.1); }
.pf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 35%, rgba(0,0,0,.88)); }
.pf__n { position: absolute; left: 22px; top: 18px; font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,.75); }
.pf__body { position: absolute; left: 24px; right: 24px; bottom: 22px; display: grid; gap: 6px; }
.pf__cat { font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #d4d4d8; }
.pf__t { font-size: clamp(26px, 2.6vw, 38px); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.pf__m { font-family: var(--mono); font-size: 12px; color: #d4d4d8; }
.pf__m b { color: var(--lime); font-weight: 500; }
.pf__go { margin-top: 8px; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; color: #000; font-size: 12.5px; font-weight: 800; transform: translateY(8px); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.pf__go svg { width: 14px; height: 14px; stroke-width: 2.2; }
.pf:hover .pf__go, .pf:focus-visible .pf__go { transform: none; opacity: 1; }
.pj-feat__bar { width: var(--wrap); margin: 0 auto; height: 2px; background: #1f1f23; border-radius: 2px; overflow: hidden; }
.pj-feat__bar i { display: block; height: 100%; background: linear-gradient(90deg, #fff, var(--lime)); transform-origin: 0 50%; transform: scaleX(0); }

.pj-arc { padding-top: clamp(60px, 10vh, 110px); }
.pj-arc__top { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; margin-bottom: 22px; }
.pj-arc__h { margin-top: 10px; font-size: clamp(32px, 4vw, 54px); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.pj-arc__n { padding: 2px 8px; border-radius: 6px; background: #1c1c1f; color: #fff; letter-spacing: .04em; }
.pj-arc__tools { display: flex; gap: 10px; align-items: center; }
.pj-arc__cats { margin-bottom: 26px; }
.pj-list { display: grid; }
.pj-it { position: relative; opacity: 0; transform: translateY(16px); }
.pj-list.is-in .pj-it { opacity: 1; transform: none; transition: opacity .6s var(--ease) var(--d), transform .7s var(--ease) var(--d); }
.pj-list--list .pj-it { border-bottom: 1px solid #18181b; }
.pj-it__a { display: grid; grid-template-columns: 64px 1fr auto auto; align-items: center; gap: 20px; padding: 24px 16px; border-radius: 16px; transition: background-color .3s; }
.pj-list--list .pj-it__a:hover { background: #0c0c0e; }
.pj-it__cover { display: none; }
.pj-it__n { font-size: 34px; font-weight: 900; letter-spacing: -.04em; color: #2a2a2e; transition: color .3s; }
.pj-it__a:hover .pj-it__n { color: #52525b; }
.pj-it__main { display: grid; gap: 6px; min-width: 0; }
.pj-it__t { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: clamp(19px, 1.9vw, 26px); font-weight: 800; letter-spacing: -.03em; }
.pj-it__t .badge { font-size: 9px; }
.pj-it__d { font-size: 13.5px; color: #8b8b94; max-width: 72ch; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.pj-it__m { font-family: var(--mono); font-size: 12px; color: var(--lime); white-space: nowrap; }
.pj-it__go { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #71717a; transition: color .3s, gap .4s var(--ease); }
.pj-it__go svg { width: 14px; height: 14px; }
.pj-it__a:hover .pj-it__go { color: #fff; gap: 10px; }
.pj-it__kg { position: absolute; right: 16px; bottom: 6px; font-size: 11px; color: #52525b; text-decoration: underline; text-underline-offset: 3px; }
.pj-it__kg:hover { color: #fff; }
.pj-list--grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pj-list--grid .pj-it__a { grid-template-columns: 1fr auto; grid-template-areas: "cover cover" "main main" "m go"; gap: 12px; padding: 12px 12px 16px; background: #0b0b0d; border: 1px solid var(--line); border-radius: 18px; height: 100%; align-content: start; transition: border-color .3s, transform .5s var(--ease); }
.pj-list--grid .pj-it__a:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pj-list--grid .pj-it__cover { grid-area: cover; display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #141416; }
.pj-list--grid .pj-it__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pj-list--grid .pj-it__a:hover .pj-it__cover img { transform: scale(1.06); }
.pj-list--grid .pj-it__n { display: none; }
.pj-list--grid .pj-it__main { grid-area: main; padding: 0 4px; }
.pj-list--grid .pj-it__t { font-size: 18px; }
.pj-list--grid .pj-it__d { -webkit-line-clamp: 2; }
.pj-list--grid .pj-it__m { grid-area: m; padding-left: 4px; }
.pj-list--grid .pj-it__go { grid-area: go; }
.pj-list--grid .pj-it__kg { right: 18px; bottom: auto; top: 18px; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.6); color: #e4e4e7; text-decoration: none; }
.pj-cover { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c) 70%, #fff 10%), var(--c) 60%); }
.pj-cover b { font-size: 26px; font-weight: 900; letter-spacing: -.04em; color: rgba(255,255,255,.9); }
.pj-preview { position: fixed; left: 0; top: 0; z-index: 60; width: 300px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; scale: .8; rotate: -4deg; transition: opacity .3s, scale .45s var(--ease), rotate .45s var(--ease); box-shadow: 0 30px 70px rgba(0,0,0,.7); }
.pj-preview.is-on { opacity: 1; scale: 1; rotate: 0deg; }
.pj-preview img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .pj-impact__grid { grid-template-columns: 1fr 1fr; }
  .pj-feat__pin { height: auto; padding: 60px 0 0; }
  .pj-feat__track { flex-direction: column; padding: 30px 16px 0; gap: 16px; width: auto; }
  .pf { width: 100%; height: 360px; }
  .pf__go { opacity: 1; transform: none; }
  .pj-feat__bar, .pj-feat__count { display: none; }
  .pj-arc__tools { width: 100%; }
  .searchbox { flex: 1; } .searchbox input, .searchbox input:focus { width: 100%; }
  .pj-arc__cats { display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; border-radius: 16px; }
  .pj-it__a { grid-template-columns: 40px 1fr; gap: 6px 12px; padding: 18px 6px; }
  .pj-it__n { font-size: 22px; grid-row: 1 / 3; }
  .pj-it__m { grid-column: 2; }
  .pj-it__go { display: none; }
  .pj-it__d { -webkit-line-clamp: 2; }
  .pj-list--grid { grid-template-columns: 1fr; }
  .pj-list--grid .pj-it__n { display: none; }
  .pj-list--grid .pj-it__go { display: inline-flex; }
  .pj-preview { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pj-row { animation: none; }
  .pj-feat__pin { height: auto; }
  .pj-feat__track { flex-wrap: wrap; justify-content: center; padding: 30px 16px 0; }
  .pj-it { opacity: 1; transform: none; }
}

/* ---------- project case study ---------- */
.pd2 { width: min(1080px, 100% - 2 * clamp(16px, 4vw, 48px)); margin: 0 auto; padding: 130px 0 40px; }
.pd2__head { display: grid; gap: 16px; max-width: 820px; }
.pd2__back { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #8b8b94; transition: color .3s, gap .4s var(--ease); }
.pd2__back svg { width: 15px; height: 15px; }
.pd2__back:hover { color: #fff; gap: 12px; }
.pd2__t { font-size: clamp(44px, 7vw, 104px); font-weight: 900; letter-spacing: -.055em; line-height: .9; text-transform: uppercase; }
.pd2__lead { font-size: clamp(16px, 1.5vw, 20px); color: #b4b4bb; max-width: 48ch; }
.pd2__status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--green); }
.pd2__hero { margin: 44px 0 0; border-radius: 22px; overflow: hidden; background: #0b0b0d; aspect-ratio: 16 / 8; border: 1px solid var(--line); }
.pd2__hero img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.pd2__hero.is-contain img { object-fit: contain; background: #000; }
.pd2__meta { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); margin-top: 36px; }
.pd2__meta dt { display: flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #71717a; }
.pd2__meta dt svg { width: 13px; height: 13px; }
.pd2__meta dd { margin: 6px 0 0; font-size: 15px; font-weight: 700; }
.pd2__body { display: grid; grid-template-columns: 1fr 300px; gap: clamp(30px, 5vw, 70px); margin-top: 54px; align-items: start; }
.pd2__sec { margin-bottom: 56px; scroll-margin-top: 110px; }
.pd2__sec h2 { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 18px; }
.pd2__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(74,222,128,.08); color: var(--green); border: 1px solid rgba(74,222,128,.2); }
.pd2__ic svg { width: 17px; height: 17px; }
.pd2__p { font-size: 16.5px; line-height: 1.7; color: #c4c4cc; }
.pd2__metrics { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pd2__metrics > div { padding: 20px; border-radius: 16px; background: #0b0b0d; border: 1px solid var(--line); }
.pd2__metrics dd { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; letter-spacing: -.04em; }
.pd2__metrics dt { margin-top: 4px; font-size: 12px; color: #8b8b94; }
.pd2__chart { margin-top: 16px; padding: 22px; border-radius: 16px; background: #0b0b0d; border: 1px solid var(--line); }
.pd2__chart > p { font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.pd2__chart ul { display: grid; gap: 10px; }
.pd2__chart li { display: grid; grid-template-columns: 170px 1fr 60px; align-items: center; gap: 12px; font-size: 12.5px; color: #a1a1aa; }
.pd2__chart li.is-top { color: #fff; font-weight: 700; }
.pd2__chart b { font-family: var(--mono); font-weight: 500; font-size: 12px; text-align: right; }
.pd2__chart li.is-top b { color: var(--lime); }
.pd2__bar { height: 8px; border-radius: 4px; background: #1c1c1f; overflow: hidden; }
.pd2__bar i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: #3f3f46; }
.pd2__chart li.is-top .pd2__bar i { background: linear-gradient(90deg, #a3e635, var(--lime)); }
.pd2__chart small { display: block; margin-top: 12px; font-size: 11.5px; color: #71717a; }
.pd2__steps { display: grid; gap: 10px; counter-reset: none; }
.pd2__steps li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: #0b0b0d; border: 1px solid var(--line); font-size: 15px; transition: border-color .3s, transform .45s var(--ease); }
.pd2__steps li:hover { border-color: var(--line-2); transform: translateX(6px); }
.pd2__steps b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--lime); }
.pd2__points { display: grid; gap: 12px; }
.pd2__points li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.6; color: #c4c4cc; }
.pd2__points li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--green); box-shadow: 0 0 10px rgba(74,222,128,.5); }
.pd2__shots { display: grid; gap: 16px; }
.pd2__shots figure { margin: 0; border-radius: 16px; overflow: hidden; background: #0b0b0d; border: 1px solid var(--line); }
.pd2__shots img { width: 100%; height: auto; }
.pd2__shots figcaption { padding: 12px 16px; font-size: 12.5px; color: #8b8b94; }
.pd2__side { position: sticky; top: 100px; display: grid; gap: 14px; }
.pd2__box { padding: 18px; border-radius: 18px; background: #0b0b0d; border: 1px solid var(--line); }
.pd2__lbl { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #a1a1aa; margin-bottom: 12px; }
.pd2__links { display: grid; gap: 8px; }
.pd2__btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; border-radius: 12px; background: #151517; border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.pd2__btn svg { width: 15px; height: 15px; }
.pd2__btn:hover { background: #1f1f22; transform: translateY(-2px); }
.pd2__btn.is-primary { background: #fff; color: #000; border-color: #fff; }
.pd2__btn.is-primary:hover { background: #e4e4e7; }
.pd2__tech { display: flex; flex-wrap: wrap; gap: 6px; }
.pd2__toc { display: grid; gap: 4px; }
.pd2__toc a { position: relative; display: block; padding: 6px 0 6px 16px; font-size: 13px; color: #8b8b94; transition: color .3s; }
.pd2__toc a::before { content: ""; position: absolute; left: 2px; top: 50%; width: 5px; height: 5px; border-radius: 50%; translate: 0 -50%; background: #3f3f46; transition: background-color .3s, box-shadow .3s; }
.pd2__toc a:hover, .pd2__toc a.is-on { color: #fff; }
.pd2__toc a.is-on::before { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.pd2__next { position: relative; display: grid; gap: 6px; margin-top: 30px; padding: 36px 30px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.pd2__next-l { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #a1a1aa; }
.pd2__next-t { display: flex; align-items: center; gap: 12px; font-size: clamp(28px, 4vw, 52px); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.pd2__next-t svg { width: .7em; height: .7em; transition: transform .5s var(--ease); }
.pd2__next:hover .pd2__next-t svg { transform: translateX(10px); }
.pd2__next-img { position: absolute; inset: 0; z-index: -1; opacity: .25; transition: opacity .6s, transform 1s var(--ease); }
.pd2__next-img img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px); }
.pd2__next:hover .pd2__next-img { opacity: .45; transform: scale(1.04); }
@media (max-width: 860px) {
  .pd2 { padding-top: 100px; }
  .pd2__meta { grid-template-columns: 1fr 1fr; }
  .pd2__body { grid-template-columns: 1fr; }
  .pd2__side { position: static; order: -1; }
  .pd2__metrics { grid-template-columns: 1fr; }
  .pd2__chart li { grid-template-columns: 110px 1fr 54px; }
  .pd2__hero { aspect-ratio: 4 / 3; }
}

/* ---------- experience page ---------- */
.xp-hero { height: 100svh; display: grid; place-items: center; overflow: hidden; }
.xp-hero__frame { position: relative; width: 78%; height: 68vh; border-radius: 30px; overflow: hidden; display: grid; place-items: center; background: #0b0b0d; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 60px 120px -40px rgba(0,0,0,.9); }
.xp-hero__bg { position: absolute; inset: -10%; display: grid; grid-template-columns: repeat(3, 1fr); filter: blur(40px) brightness(.45) saturate(1.3); transform: scale(1.2); }
.xp-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: drift 14s ease-in-out infinite alternate; }
.xp-hero__bg img:nth-child(2) { animation-delay: -5s; } .xp-hero__bg img:nth-child(3) { animation-delay: -9s; }
@keyframes drift { to { transform: scale(1.25) translate(4%, -3%); } }
.xp-hero__float { position: absolute; inset: 0; pointer-events: none; }
.xf { position: absolute; margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.6); opacity: 0; }
.xf img { width: 100%; height: 100%; object-fit: cover; }
.xf--1 { left: 8%; top: 12%; width: 17%; aspect-ratio: 4 / 3; }
.xf--2 { right: 8%; top: 10%; width: 19%; aspect-ratio: 16 / 10; }
.xf--3 { left: 14%; bottom: 8%; width: 16%; aspect-ratio: 16 / 9; }
.xf--4 { right: 15%; bottom: 10%; width: 15%; aspect-ratio: 16 / 9; }
.xp-hero__in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 22px; text-align: center; padding: 0 20px; }
.xp-hero .ptitle { font-size: clamp(56px, 12vw, 200px); }
.xp-hero__sub { font-family: var(--mono); font-size: clamp(10.5px, .95vw, 13px); letter-spacing: .24em; text-transform: uppercase; color: #c4c4cc; line-height: 1.9; }

.xp-orgs { padding: clamp(60px, 10vh, 110px) 0 20px; display: grid; gap: 26px; }
.marquee--orgs { mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee--orgs .marquee__track { gap: 56px; animation: mq 50s linear infinite; }
.marquee--orgs[data-dir="1"] .marquee__track { animation-direction: reverse; animation-duration: 58s; }
.marquee--orgs:hover .marquee__track { animation-play-state: paused; }
.org { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(17px, 1.8vw, 24px); font-weight: 800; letter-spacing: -.02em; color: #52525b; white-space: nowrap; transition: color .3s; }
.org svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.org__mono { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; border: 1.5px solid currentColor; font-style: normal; font-size: 14px; }
.org:hover { color: #e4e4e7; }

.xp-intro { position: relative; display: grid; justify-items: center; gap: 34px; padding: clamp(90px, 14vh, 160px) 20px clamp(40px, 8vh, 90px); text-align: center; overflow: hidden; }
.xp-intro__glow { position: absolute; left: 50%; top: 18%; width: min(560px, 90vw); aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle at 50% 30%, rgba(14,165,233,.35), rgba(14,165,233,.06) 45%, transparent 65%); pointer-events: none; }
.xp-intro__q { position: relative; max-width: 30ch; font-size: clamp(22px, 2.5vw, 32px); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; }
.xp-tabs { position: relative; }
.xp-tabs button { display: inline-flex; align-items: center; gap: 8px; }
.xp-tabs button svg { width: 15px; height: 15px; }
.xp-tabs button[aria-pressed="true"] { background: #0ea5e9; color: #fff; }

.xp-log { width: min(1080px, 100% - 2 * clamp(16px, 4vw, 48px)); margin: 0 auto; padding-bottom: clamp(60px, 10vh, 120px); }
.xp-log__head { text-align: center; display: grid; gap: 10px; margin-bottom: 60px; }
.xp-log__h { font-size: clamp(34px, 5vw, 72px); font-weight: 900; letter-spacing: -.05em; line-height: 1; color: #2a2a2e; background: linear-gradient(#fff, #fff) no-repeat 0 0 / 0% 100%; -webkit-background-clip: text; background-clip: text; }
.xp-log__head p { font-size: 14px; color: #71717a; }
.xp-log__body { transition: opacity .22s; }
.xp-log__body.is-swap { opacity: 0; }
.xy { display: grid; grid-template-columns: 250px 1fr; gap: 0 40px; }
.xy__year { position: relative; }
.xy__year b { position: sticky; top: 120px; display: block; padding-left: 34px; font-size: clamp(40px, 4vw, 56px); font-weight: 900; letter-spacing: -.04em; color: #3f3f46; }
.xy__dot { position: sticky; top: 146px; float: left; width: 11px; height: 11px; margin-top: 26px; border-radius: 50%; background: #3f3f46; }
.xy__line { position: absolute; left: 5px; top: 40px; bottom: 0; width: 1px; background: #1f1f23; }
.xy__line i { position: absolute; inset: 0; background: linear-gradient(#6366f1, #a855f7); transform-origin: 0 0; transform: scaleY(0); }
.xy__items { position: relative; border-left: 1px solid #1f1f23; padding-bottom: 50px; }
.xe { position: relative; padding: 4px 0 44px 30px; opacity: .55; transition: opacity .5s; }
.xe.is-active, .xe:hover { opacity: 1; }
.xe__node { position: absolute; left: -4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: #3f3f46; transition: background-color .4s, box-shadow .4s; }
.xe.is-active .xe__node { background: #a855f7; box-shadow: 0 0 12px #a855f7; }
.xe__head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.xe__head h3 { font-size: clamp(17px, 1.6vw, 20px); font-weight: 800; letter-spacing: -.02em; }
.xe__org { font-size: 14.5px; font-weight: 700; color: #e4e4e7; }
.xe__org span { font-weight: 500; color: #71717a; }
.xe__when { flex: none; padding: 4px 9px; border-radius: 6px; background: #18181b; border: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #a1a1aa; }
.xe__lead { margin-top: 14px; font-size: 15px; line-height: 1.6; color: #d4d4d8; }
.xe__pts { margin-top: 14px; display: grid; gap: 8px; }
.xe__pts li { position: relative; padding-left: 16px; font-size: 13.5px; color: #a1a1aa; line-height: 1.55; }
.xe__pts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; background: #52525b; }
.xe__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.xe__att { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.xe__att.is-clip > :nth-child(n+3) { display: none; }
.xe__att.is-open > :nth-child(n+3) { display: flex; }
.xatt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 70px 14px 14px; border-radius: 14px; background: #101012; border: 1px solid var(--line); text-align: left; transition: border-color .3s, transform .45s var(--ease), background-color .3s; overflow: hidden; }
.xatt:hover { border-color: var(--line-2); transform: translateY(-3px); background: #141416; }
.xatt__top { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #8b8b94; }
.xatt__top svg { width: 12px; height: 12px; }
.xatt b { font-size: 13.5px; font-weight: 800; }
.xatt small { font-size: 11.5px; color: #71717a; }
.xatt__logo { position: absolute; right: 12px; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--c); }
.xatt__logo svg { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.xatt--img { padding: 0; }
.xatt--img img { width: 100%; aspect-ratio: 1.6; object-fit: cover; object-position: 50% 30%; background: #fff; transition: transform .8s var(--ease); }
.xatt--img:hover img { transform: scale(1.05); }
.xatt--img span { padding: 10px 12px; font-size: 12.5px; font-weight: 700; }
.xatt--txt { padding: 14px; }
.xe__more { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #8b8b94; }
.xe__more svg { width: 12px; height: 12px; transition: transform .3s; }
.xe__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.xe__more:hover { color: #fff; }
@media (max-width: 860px) {
  .xp-hero { height: auto; padding: 90px 12px 20px; }
  .xp-hero__frame { width: 100%; height: 62svh; border-radius: 22px; }
  .xf { opacity: .8; }
  .xy { grid-template-columns: 1fr; }
  .xy__year { margin-bottom: 18px; }
  .xy__year b { position: static; padding-left: 0; font-size: 38px; }
  .xy__dot, .xy__line { display: none; }
  .xe { padding-left: 20px; opacity: 1; }
  .xe__head { flex-direction: column; gap: 8px; }
  .xe__att { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .xf { opacity: 1; } .xp-hero__bg img { animation: none; } .xe { opacity: 1; } .xp-log__h { color: #fff; } }

/* ---------- skills page ---------- */
.sk-hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: grid; place-items: center; }
.sk-orbit { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.sk-ico { position: absolute; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 16px; display: grid; place-items: center; background: #0e0e10; border: 1px solid var(--line); color: color-mix(in srgb, var(--c) 45%, #3f3f46); transform: scale(calc(1 - var(--z) * .14)); animation: floaty 6s ease-in-out var(--d) infinite; transition: color .4s, border-color .4s; opacity: calc(1 - var(--z) * .22); }
.sk-ico svg { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.sk-ico:hover { color: var(--c); border-color: color-mix(in srgb, var(--c) 50%, transparent); box-shadow: 0 0 24px color-mix(in srgb, var(--c) 25%, transparent); }
@keyframes floaty { 50% { translate: 0 -14px; } }
.sk-cube-wrap { position: absolute; left: 50%; top: 40%; translate: -50% -50%; display: grid; place-items: center; perspective: 1100px; }
.sk-cube-wrap > * { grid-area: 1 / 1; }
.sk-glow { width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(238,76,44,.32), rgba(109,63,192,.18) 40%, transparent 68%); filter: blur(30px); animation: hue 10s linear infinite; }
@keyframes hue { to { filter: blur(30px) hue-rotate(360deg); } }
.sk-cube { --s: clamp(150px, 15vw, 230px); transform: rotateX(-20deg) rotateY(30deg); }
.sk-face { background: linear-gradient(145deg, #fafafa, #d4d4d8); border: 2px solid rgba(0,0,0,.25); color: var(--c); }
.sk-face::after { background: rgba(255,255,255,.35); }
.sk-face svg { position: relative; z-index: 1; width: 42%; height: 42%; fill: currentColor; stroke: none; }
.sk-face b { font-size: calc(var(--s) * .07); }
.sk-hero__in { position: absolute; left: 0; right: 0; bottom: 9vh; display: grid; justify-items: center; gap: 14px; text-align: center; z-index: 2; padding: 0 16px; }
.sk-hero .ptitle { font-size: clamp(50px, 10vw, 170px); }
.sk-hero__sub { font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #a1a1aa; }

.sk-core .pill-tag { justify-self: center; font-size: 10px; letter-spacing: .24em; }
.sk-tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border-radius: 999px; background: #0d0d0f; border: 1px solid var(--line); max-width: 820px; margin: 0 auto 26px; }
.sk-tabs button { position: relative; z-index: 1; padding: 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: #a1a1aa; transition: color .35s; }
.sk-tabs button[aria-selected="true"] { color: #000; }
.sk-tabs__ink { position: absolute; left: 0; top: 5px; bottom: 5px; border-radius: 999px; background: #fff; transition: transform .5s var(--ease), width .5s var(--ease); }
.sk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.skc { padding: 20px; border-radius: 18px; background: #0b0b0d; border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; opacity: 0; transform: translateY(18px); transition: border-color .3s, background-color .3s; }
.sk-grid.is-in .skc { opacity: 1; transform: none; transition: opacity .6s var(--ease) var(--d), transform .7s var(--ease) var(--d), border-color .3s, background-color .3s; }
.skc:hover { border-color: var(--line-2); background: #0f0f11; }
.skc header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.skc h3 { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.skc__bar { height: 4px; border-radius: 4px; background: #1c1c1f; overflow: hidden; }
.skc__bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #6366f1, #a855f7); transition: width 1.2s var(--ease) calc(var(--d) + .2s); }
.sk-grid.is-in .skc__bar i { width: var(--w); }
.skc p { font-size: 13.5px; color: #a1a1aa; line-height: 1.55; }
.skc__used { font-size: 12px !important; color: #71717a !important; }
.skc__used b { color: #d4d4d8; font-weight: 700; margin-right: 4px; }
.sk-note { margin-top: 18px; text-align: center; font-size: 12px; color: #52525b; }

.sk-how__pin { height: 100svh; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 40px; overflow: hidden; padding: 80px 0 40px; }
.sk-how__head { width: var(--wrap); margin: 0 auto; display: grid; gap: 12px; }
.sk-how__head h2 { font-size: clamp(36px, 5vw, 72px); font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.sk-how__head h2::after { content: ""; display: block; width: 50px; height: 3px; margin-top: 18px; background: #fff; }
.sk-how__head p { max-width: 50ch; color: #8b8b94; font-size: 14.5px; }
.sk-how__track { display: flex; gap: 20px; width: max-content; padding-left: max(40px, (100vw - 1180px) / 2); align-items: stretch; }
.skh { position: relative; width: 300px; height: 380px; padding: 24px; border: 1px solid #1f1f23; background: #070708; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; isolation: isolate; transition: border-color .4s; }
.skh__img { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s, transform 1.2s var(--ease); transform: scale(1.1); }
.skh__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.35); }
.skh:hover { border-color: #3f3f46; }
.skh:hover .skh__img { opacity: 1; transform: none; }
.skh__ic { position: absolute; left: 24px; top: 24px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #3f3f46; }
.skh__ic svg { width: 18px; height: 18px; }
.skh__n { font-family: var(--mono); font-size: 11px; color: #71717a; }
.skh h3 { font-size: 24px; font-weight: 900; letter-spacing: -.035em; line-height: 1.05; text-transform: uppercase; }
.skh p { font-size: 13.5px; color: #a1a1aa; line-height: 1.55; }
.sk-box { padding: clamp(60px, 12vh, 140px) 0; }
@media (max-width: 860px) {
  .sk-ico { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 12px; }
  .sk-ico svg { width: 18px; height: 18px; }
  .sk-glow { width: 320px; height: 320px; }
  .sk-tabs { border-radius: 18px; grid-template-columns: 1fr; }
  .sk-tabs__ink { display: none; }
  .sk-tabs button[aria-selected="true"] { background: #fff; }
  .sk-grid { grid-template-columns: 1fr; }
  .sk-how__pin { height: auto; padding: 60px 0; }
  .sk-how__track { flex-direction: column; width: auto; padding: 0 16px; }
  .skh { width: 100%; height: auto; min-height: 220px; padding-top: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .sk-ico, .sk-glow { animation: none; }
  .sk-how__pin { height: auto; }
  .sk-how__track { flex-wrap: wrap; width: auto; justify-content: center; padding: 0 16px; }
  .skc { opacity: 1; transform: none; }
}

/* ---------- achievements page ---------- */
.ac-hero__pin { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: grid; place-items: center; }
.ac-hero__pin::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 50%, rgba(255,255,255,.06), transparent 70%); pointer-events: none; }
.ac-cards { position: absolute; inset: 0; perspective: 1400px; }
.acc { position: absolute; left: 50%; top: 50%; width: clamp(210px, 21vw, 320px); aspect-ratio: 1.37; margin: 0; translate: -50% -50%; filter: brightness(.5); }
.ac-static .acc { transform: translate(var(--x), var(--y)) rotate(var(--r)); }
.acc__in { display: block; width: 100%; height: 100%; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px -10px rgba(0,0,0,.85); animation: accFloat 7s ease-in-out calc(var(--i) * -1.1s) infinite; }
.acc__in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@keyframes accFloat { 50% { transform: translateY(-12px) rotate(1.5deg); } }
.ac-hero__in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; text-align: center; padding: 30px 40px; }
.ac-hero__in::before { content: ""; position: absolute; inset: -40px -80px; z-index: -1; background: radial-gradient(closest-side, rgba(0,0,0,.92), rgba(0,0,0,.6) 60%, transparent); }
.ac-hero__t { font-size: clamp(34px, 7.4vw, 118px); font-weight: 900; letter-spacing: -.05em; line-height: .9; display: grid; }
.ac-hero__p { max-width: 44ch; color: #c4c4cc; font-size: 15.5px; }
.ac-hero__go { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 700; transition: background-color .3s, color .3s; }
.ac-hero__go svg { width: 14px; height: 14px; }
.ac-hero__go:hover { background: #fff; color: #000; }

.ac-ms__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ms { position: relative; display: grid; gap: 6px; padding: 26px 24px; border-radius: 20px; background: #0b0b0d; border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .5s var(--ease); isolation: isolate; }
.ms::before { content: ""; position: absolute; inset: auto -30% -70% -30%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(212,240,74,.14), transparent); opacity: 0; transition: opacity .5s; }
.ms:hover { border-color: var(--line-2); transform: translateY(-4px); }
.ms:hover::before { opacity: 1; }
.ms__n { font-size: clamp(38px, 4.4vw, 60px); font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.ms__l { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.ms__s { font-size: 13.5px; color: #8b8b94; }
.ms__go { position: absolute; right: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background-color .3s, color .3s, transform .5s var(--ease); }
.ms__go svg { width: 14px; height: 14px; }
.ms:hover .ms__go { background: #fff; color: #000; transform: rotate(45deg); }

.ac-arc { width: min(1320px, 100% - 2 * clamp(16px, 3vw, 40px)); margin: 0 auto; padding: clamp(40px, 8vh, 90px) 0 clamp(60px, 10vh, 120px); display: grid; grid-template-columns: 300px 1fr; gap: 0; border-top: 1px solid var(--line); }
.ac-side { position: sticky; top: 90px; align-self: start; padding: 26px 26px 26px 0; display: grid; gap: 20px; }
.ac-side__lbl { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #a1a1aa; }
.ac-side__lbl .dot { background: #fff; box-shadow: none; }
.ac-side .searchbox input, .ac-side .searchbox input:focus { width: 100%; }
.ac-cats { display: grid; gap: 2px; }
.ac-cats button { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 14px; border-radius: 12px; text-align: left; font-size: clamp(18px, 1.7vw, 24px); font-weight: 900; letter-spacing: -.03em; color: #3f3f46; transition: color .3s, background-color .3s; }
.ac-cats button small { font-family: var(--mono); font-size: 11px; font-weight: 500; color: #52525b; }
.ac-cats button:hover { color: #a1a1aa; }
.ac-cats button[aria-pressed="true"] { color: #fff; background: #0e0e10; box-shadow: inset 3px 0 0 #fff; }
.ac-main { padding: 26px 0 0 26px; border-left: 1px solid var(--line); min-width: 0; }
.ac-main__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.ac-main__h { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.ac-grid--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ac-grid--list { display: grid; gap: 10px; }
.acg { border-radius: 18px; overflow: hidden; background: #0b0b0d; border: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: border-color .3s; }
.ac-grid.is-in .acg { opacity: 1; transform: none; transition: opacity .55s var(--ease) var(--d), transform .65s var(--ease) var(--d), border-color .3s; }
.acg:hover { border-color: var(--line-2); }
.acg__cover { position: relative; aspect-ratio: 2.1; overflow: hidden; background: linear-gradient(135deg, #1a1a1d, #0e0e10); }
.acg__cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: grayscale(.25) brightness(.85); transition: transform .8s var(--ease), filter .5s; }
.acg:hover .acg__cover img { transform: scale(1.05); filter: none; }
.acg__ph { display: grid; place-items: center; height: 100%; color: #3f3f46; }
.acg__ph svg { width: 44px; height: 44px; }
.acg__type { position: absolute; left: 12px; top: 12px; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.7); font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.acg__date { position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.7); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.acg__body { position: relative; padding: 16px 18px 18px; display: grid; gap: 4px; }
.acg__body h3 { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.acg__body p { font-size: 12.5px; color: #8b8b94; }
.acg__act { margin-top: 10px; justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #a1a1aa; transition: color .3s, gap .4s var(--ease); }
.acg__act svg { width: 12px; height: 12px; }
.acg__act:hover { color: #fff; gap: 10px; }
.acg__act.is-off { color: #3f3f46; }
.acg__verify { position: absolute; right: 18px; bottom: 18px; font-size: 11px; font-weight: 700; color: var(--lime); }
.ac-grid--list .acg { display: grid; grid-template-columns: 200px 1fr; }
.ac-grid--list .acg__cover { aspect-ratio: auto; min-height: 110px; }
@media (max-width: 860px) {
  .ac-hero__pin { height: auto; min-height: 0; padding: 110px 16px 60px; }
  .ac-cards { position: relative; inset: auto; height: 300px; margin-bottom: 20px; perspective: none; }
  .ac-static .acc { transform: translate(calc(var(--x) * .9), calc(var(--y) * .4)) rotate(var(--r)); width: 40vw; filter: brightness(.6); }
  .ac-ms__grid { grid-template-columns: 1fr 1fr; }
  .ac-arc { grid-template-columns: 1fr; border-top: 0; }
  .ac-side { position: static; padding: 0 0 20px; }
  .ac-cats { grid-template-columns: 1fr 1fr; }
  .ac-cats button { font-size: 16px; }
  .ac-main { padding: 0; border-left: 0; }
  .ac-grid--grid { grid-template-columns: 1fr; }
  .ac-grid--list .acg { grid-template-columns: 110px 1fr; }
}
@media (max-width: 560px) { .ac-ms__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .acc__in { animation: none; } .ac-hero__pin { height: auto; padding: 120px 0 60px; } .acg { opacity: 1; transform: none; } }

/* ---------- gallery page ---------- */
.gl-hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: grid; place-items: center; }
.gl-wave { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 80%; }
.gl-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, #000); pointer-events: none; }
.gl-hero__in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 26px; text-align: center; padding: 0 16px; margin-top: -8vh; }
.gl-hero__t { display: grid; justify-items: center; gap: 8px; font-size: clamp(48px, 8.6vw, 140px); font-weight: 900; letter-spacing: -.05em; line-height: .9; }
.gl-hero__t em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; color: #e4e4e7; }
.gl-hero__mid { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: #8b8b94; }
.gl-hero__q { font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.6vw, 21px); color: #d4d4d8; line-height: 1.45; }
.gl-hero__go { display: grid; justify-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: #8b8b94; }
.gl-hero__go svg { width: 16px; height: 16px; animation: bob2 1.8s ease-in-out infinite; }

.gl-works { width: min(1240px, 100% - 2 * clamp(16px, 4vw, 48px)); margin: 0 auto; padding: clamp(40px, 8vh, 90px) 0 clamp(60px, 10vh, 120px); }
.gl-works__top { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; padding-bottom: 22px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.gl-works__top h2 { margin-top: 8px; font-size: clamp(32px, 4vw, 54px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.gl-works__tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.gl-grid--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gl-grid--masonry { columns: 3 300px; column-gap: 16px; }
.gl-grid--masonry .gw { break-inside: avoid; margin-bottom: 16px; }
.gw { position: relative; display: block; width: 100%; text-align: left; border-radius: 18px; overflow: hidden; background: #0b0b0d; border: 1px solid var(--line); opacity: 0; transform: translateY(20px) scale(.98); transition: border-color .3s; }
.gl-grid.is-in .gw { opacity: 1; transform: none; transition: opacity .6s var(--ease) var(--d), transform .8s var(--ease) var(--d), border-color .3s; }
.gw:hover { border-color: var(--line-2); }
.gw__img { display: block; overflow: hidden; background: #000; aspect-ratio: 4 / 3; }
.gl-grid--masonry .gw__img { aspect-ratio: var(--ar); }
.gw__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: brightness(.85); }
.gw:hover .gw__img img { transform: scale(1.06); filter: none; }
.gw__cap { display: grid; gap: 3px; padding: 14px 16px 16px; }
.gw__k { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.gw__cap b { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.gw__cap small { font-size: 12px; color: #71717a; }
.gw__plus { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); color: #fff; opacity: 0; transform: scale(.7) rotate(-90deg); transition: opacity .3s, transform .5s var(--ease); }
.gw__plus svg { width: 16px; height: 16px; }
.gw:hover .gw__plus { opacity: 1; transform: none; }

.lb { position: fixed; inset: 0; z-index: 250; display: grid; grid-template-rows: 1fr auto; background: rgba(0,0,0,.94); backdrop-filter: blur(10px); opacity: 0; transition: opacity .35s; }
.lb.is-open { opacity: 1; }
.lb__stage { position: relative; overflow: hidden; display: grid; place-items: center; padding: 30px; cursor: zoom-in; }
.lb.is-zoom .lb__stage { cursor: zoom-out; }
.lb__stage img { max-width: 100%; max-height: calc(100svh - 160px); object-fit: contain; border-radius: 6px; transition: transform .35s var(--ease), opacity .25s; }
.lb.is-swap .lb__stage img { opacity: 0; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px clamp(16px, 3vw, 40px) 22px; border-top: 1px solid var(--line); }
.lb__k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.lb__t { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.lb__d { font-size: 13px; color: #a1a1aa; max-width: 70ch; }
.lb__ctl { display: flex; align-items: center; gap: 6px; flex: none; }
.lb__n { font-family: var(--mono); font-size: 12px; color: #a1a1aa; margin-right: 6px; }
.lb__btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background-color .3s, color .3s; }
.lb__btn svg { width: 18px; height: 18px; }
.lb__btn:hover { background: #fff; color: #000; }
@media (max-width: 860px) {
  .gl-grid--grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gl-grid--masonry { columns: 2 140px; column-gap: 10px; }
  .gw__cap { padding: 10px 12px 12px; } .gw__cap b { font-size: 13px; }
  .lb__bar { flex-direction: column; align-items: stretch; }
  .lb__ctl { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .gw { opacity: 1; transform: none; } }
.gl-hero__t .hl__in { gap: .22em; align-items: baseline; }
