/* =====================================================
   NO VISIBLE SCROLLBAR (page still scrolls normally)
===================================================== */
html { scrollbar-width: none; -ms-overflow-style: none; }

html::-webkit-scrollbar,body::-webkit-scrollbar { width: 0; height: 0; display: none; }


/* =====================================================
   LOGO
===================================================== */
.brand img { height: 54px; width: auto; display: block; filter: brightness(1.22) drop-shadow(0 0 12px rgba(242,217,138,.28)); }

.snav-brand img { height: 40px; width: auto; display: block; filter: brightness(1.22) drop-shadow(0 0 8px rgba(242,217,138,.25)); }

#loader img { height: 110px; width: auto; filter: brightness(1.2) drop-shadow(0 0 22px rgba(242,217,138,.3)); animation: markIn .8s var(--ease-out) both; }

@media (max-width: 960px) { .brand img { height: 46px; }
 }


/* =====================================================
   HERO ON SHORT SCREENS (laptops, zoomed browsers): everything must fit in view
===================================================== */
.hero { min-height: 440px; }

@media (min-width: 961px) and (max-height: 760px) {
  .nav { padding-top: 16px; padding-bottom: 16px; }

  .role { top: max(70px, 11svh); }

  .title { top: max(98px, 17svh); }

  .photo img { height: clamp(300px, 80svh, 940px); }

  .copy { bottom: max(84px, 19svh); }

  .lede { margin-bottom: 16px; }

  .skills { padding-bottom: clamp(12px, 3svh, 24px); }

  .skill { padding-top: 2px; padding-bottom: 2px; }

}

html.rm .skills-track { animation: none; }


/* =====================================================
   STICKY NAV
===================================================== */
.snav { position: fixed; inset: 0 0 auto 0; z-index: 900; visibility: hidden; transform: translateY(-110%);
  background: rgba(8,9,12,.72); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,.07); box-shadow: 0 10px 30px -14px rgba(0,0,0,.7);
  transition: transform .45s var(--ease-out), visibility 0s linear .45s; will-change: transform; }

.snav.is-on { visibility: visible; transform: none; transition-delay: 0s; }

.snav.is-on.is-hidden { transform: translateY(-110%); }

.snav-in { max-width: 1320px; margin: 0 auto; height: 60px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.snav-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .98rem; white-space: nowrap; }

.snav-brand svg { width: 26px; height: 26px; }

.snav-links { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); font-size: .88rem; font-weight: 500; }

.snav-links a { position: relative; padding: 8px 16px; border-radius: 999px; color: rgba(255,255,255,.68); white-space: nowrap; transition: color .25s, background .25s; }

.snav-links a::after { display: none; }

.snav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }

.snav-links a.is-active { color: #14110a; background: linear-gradient(135deg, #f7ecc4, #e6c76f); font-weight: 600; }

.snav-cta { padding: 9px 20px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: #14110a; background: linear-gradient(135deg, #f7ecc4, #e6c76f); white-space: nowrap; transition: transform .3s var(--ease-out), box-shadow .3s; }

.snav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -8px rgba(242,217,138,.6); }

.snav-bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, #f2d98a, #e6c76f); transform-origin: left; transform: scaleX(0); }

.snav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 860px) {
  .snav-in { height: 54px; gap: 12px; }

  .snav-brand span,.snav-cta { display: none; }

  .snav-links { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; gap: 2px; padding: 4px; margin-right: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); }

  .snav-links::-webkit-scrollbar { display: none; }

}

.sec-head[id] { scroll-margin-top: 32px; }
   /* nav is hidden after a jump, so only a small gap is needed */

/* hero: two buttons fit in one row */
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-cta .btn-solid,.hero-cta .btn-ghost { padding: 14px 22px; font-size: .95rem; }

@media (max-width: 960px) { .hero-cta { justify-content: center; }
 }

[data-cv][hidden],[data-cv-view][hidden] { display: none !important; }

.ct-cvs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.ct-cvs .btn-ghost,.ct-cvs .btn-solid { padding: 12px 20px; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; }


/* =====================================================
   STATS + SERVICES
===================================================== */
.stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 clamp(34px, 5vw, 56px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); overflow: hidden; }

.stats li { padding: clamp(22px, 3vw, 34px) 18px; text-align: center; border-left: 1px solid var(--line); }

.stats li:first-child { border-left: 0; }

.stats b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.1; letter-spacing: -.02em; background: linear-gradient(135deg, #fff6dc, #e6c76f); -webkit-background-clip: text; background-clip: text; color: transparent; }

.stats span { display: block; margin-top: 8px; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.6); }


.sv-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.sv-grid > li { display: flex; }

.tk-card[data-group="web"] { --g: #6cb4ff; }

.sv-grid .tk-desc { margin-bottom: 20px; }

.sv-built { position: relative; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }

.sv-built > span { display: block; margin-bottom: 10px; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.5); }

.sv-built ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }

.sv-built a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .78rem; color: var(--text); border: 1px solid color-mix(in srgb, var(--g, #f2d98a) 50%, transparent); background: color-mix(in srgb, var(--g, #f2d98a) 10%, transparent); transition: background .25s, color .25s; }

.sv-built a::after { content: "\2197"; font-size: .85em; opacity: .7; }

.sv-built a:hover,.sv-built a:focus-visible { background: var(--g, #f2d98a); color: #14110a; outline: none; }

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

.sv-incl { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 26px; padding: 18px 22px; border-radius: 18px; border: 1px dashed rgba(242,217,138,.35); background: linear-gradient(90deg, rgba(242,217,138,.06), transparent 70%); }

.sv-incl p { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

.sv-incl ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }

.sv-incl li { padding: 6px 14px; border-radius: 999px; font-size: .86rem; color: rgba(255,255,255,.85); border: 1px solid var(--line); background: rgba(255,255,255,.04); }

@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); }
 .stats li:nth-child(3) { border-left: 0; }
 .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
 }

@media (max-width: 600px) {
  .sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

  .sv-grid .tk-card { min-height: 0; padding: 18px 14px 16px; border-radius: 18px; }

  .sv-grid .tk-card h4 { font-size: .92rem; }

  .sv-grid .tk-desc { font-size: .8rem; line-height: 1.45; margin-bottom: 14px; }

  .sv-built { padding-top: 12px; }

  .sv-built a { font-size: .7rem; padding: 4px 9px; }

  .sv-incl { padding: 16px; }

}


/* =====================================================
   EXPERIENCE CARD
===================================================== */
.xp { padding: clamp(24px, 3.4vw, 44px); border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); }

.xp-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }

.xp-co { display: flex; align-items: center; gap: 16px; }

.xp-logo { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; font: 700 1.4rem var(--display); color: #14110a; background: linear-gradient(135deg, #f7ecc4, #e6c76f); }

.xp-name { font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: -.01em; }

.xp-loc { display: inline-flex; align-items: center; gap: 7px; margin-top: 5px; font-size: .92rem; color: rgba(255,255,255,.66); }

.xp-loc svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.xp-role { font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.7rem); letter-spacing: -.015em; line-height: 1.25; margin-bottom: 10px; }

.xp-sum { max-width: 70ch; color: rgba(255,255,255,.72); line-height: 1.65; }

.xp-label { margin: 28px 0 16px; display: flex; align-items: center; gap: 14px; font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }

.xp-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(242,217,138,.4), transparent); }

.xp .chips { margin-top: 24px; }


/* =====================================================
   HERO NAV (top bar over the hero): clean, matches the sticky nav
===================================================== */
.nav { padding-top: 22px; padding-bottom: 22px; }

.nav .brand { font-family: var(--display); font-size: 1rem; font-weight: 600; letter-spacing: 0; gap: 10px; }

.nav .brand img { height: 42px; }

.nav .btn-outline {
  padding: 11px 22px; font-size: .88rem; font-weight: 600; color: #14110a; border: 0;
  background: linear-gradient(135deg, #f7ecc4, #e6c76f); box-shadow: 0 8px 24px -10px rgba(242,217,138,.55);
}

.nav .btn-outline:hover { background: linear-gradient(135deg, #fff3cf, #f0d27c); color: #14110a; box-shadow: 0 12px 30px -10px rgba(242,217,138,.8); }

@media (min-width: 961px) {
  .nav .links {
    gap: 2px; padding: 4px; border-radius: 999px; font-size: .88rem;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }

  .nav .links a { padding: 9px 17px; border-radius: 999px; opacity: 1; color: rgba(255,255,255,.78); transition: color .25s, background .25s; }

  .nav .links a::after { display: none; }

  .nav .links a:hover { color: #fff; background: rgba(255,255,255,.09); }

}

@media (max-width: 960px) {
  .nav .brand img { height: 36px; }

  .nav .btn-outline { padding: 9px 16px; font-size: .82rem; }

}


/* =====================================================
   RESUME VIEWER
===================================================== */
html.rv-lock,html.rv-lock body { overflow: hidden; }

.rv { position: fixed; inset: 0; z-index: 9000; display: flex; flex-direction: column; background: rgba(5,6,8,.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .25s ease; }

.rv[hidden] { display: none; }

.rv.is-open { opacity: 1; }

.rv-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(14px, 3vw, 32px);
  padding-top: max(12px, env(safe-area-inset-top, 0px)); background: rgba(10,11,14,.9); border-bottom: 1px solid rgba(255,255,255,.08); }

.rv-title { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }

.rv-title b { font-size: 1rem; font-weight: 600; color: #fff; }

.rv-title span { font-size: .78rem; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rv-actions { display: flex; align-items: center; gap: 10px; }

.rv-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-size: .86rem; font-weight: 600; white-space: nowrap; transition: transform .25s var(--ease-out), box-shadow .25s, background .25s; }

.rv-dl { color: #14110a; background: linear-gradient(135deg, #f7ecc4, #e6c76f); }

.rv-dl:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -8px rgba(242,217,138,.6); }

.rv-open { color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }

.rv-open:hover { background: rgba(255,255,255,.13); }

.rv-x { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); cursor: pointer; transition: background .25s; }

.rv-x:hover { background: rgba(255,255,255,.14); }

.rv :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.rv-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: clamp(14px, 3vw, 34px) clamp(10px, 3vw, 32px) 40px; outline: none; scrollbar-width: thin; scrollbar-color: rgba(242,217,138,.35) transparent; }

.rv-pages { display: flex; flex-direction: column; align-items: center; gap: 22px; }

.rv-page { margin: 0; width: min(860px, 100%); border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px -30px #000, 0 0 0 1px rgba(255,255,255,.08); aspect-ratio: 1241 / 1755; }

.rv-page.is-loading { background: linear-gradient(110deg, #1a1b20 30%, #24262d 50%, #1a1b20 70%); background-size: 200% 100%; animation: rvShim 1.2s linear infinite; }

.rv-page img { display: block; width: 100%; height: auto; }

.rv-note { text-align: center; margin: 22px 0 0; font-size: .85rem; color: rgba(255,255,255,.55); }

.rv-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

@keyframes rvShim { to { background-position: -200% 0; } }
@media (max-width: 560px) {
  .rv-open { display: none; }

  .rv-title span { display: none; }

  .rv-btn { padding: 9px 14px; font-size: .82rem; }

}


/* =====================================================
   CLEANER SECTIONS: toolkit panel, experience rows, education timeline, contact links
===================================================== */
/* toolkit: one panel, three columns (no card grid, no filters) */
.cap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  background: linear-gradient(170deg, rgba(255,255,255,.045), rgba(255,255,255,.01)); }

.cap-col { padding: clamp(24px, 3vw, 38px); }

.cap-col + .cap-col { border-left: 1px solid var(--line); }

.cap-col h4 { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }

.cap-col h4 em { font-style: normal; font-weight: 500; font-size: .8rem; color: rgba(255,255,255,.5); margin-left: -6px; }

.cap-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(242,217,138,.35); background: rgba(242,217,138,.09); }

.cap-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.cap-col ul { list-style: none; display: grid; gap: 20px; }

.cap-col li { position: relative; display: grid; gap: 3px; padding-left: 20px; }

.cap-col li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(242,217,138,.55); }

.cap-col li b { font-weight: 600; font-size: .98rem; }

.cap-col li span { font-size: .88rem; line-height: 1.55; color: rgba(255,255,255,.62); }

@media (max-width: 900px) { .cap { grid-template-columns: 1fr; }
 .cap-col + .cap-col { border-left: 0; border-top: 1px solid var(--line); }
 }


/* education: single timeline */
.tl { max-width: 980px; margin: 0 auto; }

.tl-list { list-style: none; position: relative; }

.tl-list::before { content: ""; position: absolute; left: 215px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(180deg, rgba(242,217,138,.6), rgba(242,217,138,.08)); }

.tl-row { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 46px; padding: 22px 0; }

.tl-row::before { content: ""; position: absolute; left: 211px; top: 30px; width: 9px; height: 9px; border-radius: 50%; background: #0b0c10; border: 2px solid var(--gold); }

.tl-row.is-now::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(242,217,138,.16); }

.tl-when { padding-top: 3px; text-align: right; font-size: .88rem; font-weight: 500; letter-spacing: .02em; color: rgba(255,255,255,.62); }

.tl-row.is-now .tl-when { color: var(--gold); }

.tl-body h4 { font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.35; letter-spacing: -.01em; margin-bottom: 6px; }

.tl-where { font-size: .95rem; color: rgba(255,255,255,.78); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }

.tl-where span { color: rgba(255,255,255,.5); }

.tl-now { display: inline-flex; align-items: center; gap: 7px; margin-left: 6px; padding: 3px 11px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: #9cc4ff; background: rgba(96,165,250,.1); border: 1px solid rgba(96,165,250,.3); }

.tl-now i { width: 6px; height: 6px; border-radius: 50%; background: #60a5fa; }

@media (max-width: 700px) {
  .tl-list::before { left: 4px; }

  .tl-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0 18px 28px; }

  .tl-row::before { left: 0; top: 24px; }

  .tl-when { text-align: left; padding: 0; }

}


/* contact: compact social links instead of more cards */
.ct-social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }

.ct-soc { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; font-size: .9rem; font-weight: 500; border: 1px solid var(--line); background: rgba(255,255,255,.035); transition: border-color .3s, background .3s, transform .3s var(--ease-out); }

.ct-soc svg { width: 17px; height: 17px; fill: currentColor; color: var(--gold); }

.ct-soc:hover,.ct-soc:focus-visible { border-color: rgba(242,217,138,.55); background: rgba(242,217,138,.08); transform: translateY(-2px); outline: none; }

.ct-loc { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: .85rem; color: rgba(255,255,255,.55); }

.ct-loc svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 560px) { .ct-loc { margin-left: 0; width: 100%; }
 }

.tl-where span::before { content: "· "; }

@media (max-width: 700px) { .tl-where span { flex-basis: 100%; margin-top: -2px; }
 .tl-where span::before { content: none; }
 .tl-now { margin-left: 0; }
 }

