:root {
  --paper: #EFEBE3;
  --ink: #121212;
  --acc: #F4A711;
  --muted: #8A857C;
  --line: rgba(18, 18, 18, 0.12);

  --serif: 'Instrument Serif', 'Noto Serif TC', serif;
  --sans: 'Inter Tight', 'Noto Sans TC', sans-serif;
  --mono: 'Geist Mono', 'Noto Sans TC', monospace;
  --zhs: 'Noto Serif TC', serif;
  --zh: 'Noto Sans TC', sans-serif;

  --gut: clamp(20px, 6vw, 120px);
  --col: 160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; }
.acc { color: var(--acc); }
.dim { opacity: 0.45; }
.wrap { position: relative; max-width: 1600px; margin: 0 auto; padding: 0 var(--gut); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); margin-right: 10px; vertical-align: 1px; }
.dot--blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- background micro-motion ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg__blob {
  position: absolute; width: 1300px; height: 1300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 167, 17, 0.13), transparent 60%);
  left: 40%; top: -30%;
  animation: blob 26s ease-in-out infinite alternate;
}
@keyframes blob {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-38vw, 20vh); }
  66% { transform: translate(8vw, 45vh); }
  100% { transform: translate(-20vw, 10vh); }
}
.bg__move { position: absolute; inset: 0 calc(-2 * var(--col)) 0 0; animation: gridDrift 40s linear infinite; }
.bg__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: var(--col) 100%;
  opacity: 0.75;
}
@keyframes gridDrift { to { transform: translateX(calc(-2 * var(--col))); } }
.bg__marks { position: absolute; inset: 0; }
.bg__marks b {
  position: absolute; width: 13px; height: 13px; margin: -6px 0 0 -6px; color: var(--ink);
  animation: twinkle 3.4s ease-in-out infinite;
}
.bg__marks b::before, .bg__marks b::after { content: ""; position: absolute; background: currentColor; }
.bg__marks b::before { left: 6px; top: 0; width: 1px; height: 13px; }
.bg__marks b::after { top: 6px; left: 0; height: 1px; width: 13px; }
@keyframes twinkle { 0%, 100% { opacity: 0.08; } 50% { opacity: 0.45; } }

.grain {
  position: fixed; inset: -100px; z-index: 50; pointer-events: none; opacity: 0.08; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.8s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-37px, 21px); } 40% { transform: translate(24px, -43px); }
  60% { transform: translate(-12px, 38px); } 80% { transform: translate(41px, 9px); } 100% { transform: translate(0, 0); }
}

/* one continuous paper layer behind every paper section; dark/hot sections cover it */
main { position: relative; }
main::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><filter id='p' x='0' y='0'><feTurbulence type='fractalNoise' baseFrequency='.035 .06' numOctaves='5' seed='3' stitchTiles='stitch'/><feDiffuseLighting lighting-color='%23fff' surfaceScale='1.6'><feDistantLight azimuth='45' elevation='58'/></feDiffuseLighting></filter><rect width='600' height='600' filter='url(%23p)'/></svg>");
  background-size: 600px 600px;
  mix-blend-mode: multiply; opacity: 0.24;
}

/* ---------- chrome ---------- */
.chrome {
  position: sticky; top: 0; z-index: 40;
  font: 400 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.chrome__inner { max-width: 1600px; margin: 0 auto; padding: 18px var(--gut); display: flex; justify-content: space-between; align-items: center; gap: 16px; white-space: nowrap; }
.chrome__prog { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--acc); transform-origin: left; transform: scaleX(0); }
body.is-dark .chrome { background: color-mix(in srgb, var(--ink) 80%, transparent); color: var(--paper); border-color: rgba(239, 235, 227, 0.12); }
body.is-hot .chrome { background: color-mix(in srgb, var(--acc) 85%, transparent); color: var(--ink); border-color: rgba(18, 18, 18, 0.18); }
body.is-hot .chrome .dot, body.is-hot .chrome__prog { background: var(--ink); }

.foot {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; pointer-events: none;
  display: flex; justify-content: space-between; padding: 0 var(--gut) 18px;
  font-size: 11px; letter-spacing: 0.14em; mix-blend-mode: difference; color: #EFEBE3;
}
.foot .dot { background: #EFEBE3; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(80px, 12vw, 180px) 0; }
.sec--dark { background: var(--ink); color: var(--paper); --line: rgba(239, 235, 227, 0.08); }
.sec--hot { background: var(--acc); color: var(--ink); overflow: hidden; }
.sec--dark::before, .sec--hot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: var(--col) 100%;
}
.sec--hot::before { background-image: linear-gradient(90deg, rgba(18, 18, 18, 0.12) 1px, transparent 1px); }

.kick { font: 500 13px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: clamp(28px, 4vw, 56px); }
.kick b { color: var(--acc); font-weight: 500; }
.kick--hot b { color: var(--paper); }

/* line mask reveal */
.ln { display: block; overflow: hidden; padding: 0 0.04em 0.08em; margin: 0 -0.04em -0.08em; }
.ln .up { display: inline-block; transform: translateY(110%); transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
.in .ln .up { transform: none; }
.in .ln:nth-child(2) .up { transition-delay: 0.1s; }
.in .ln:nth-child(3) .up { transition-delay: 0.2s; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-x { transform: scaleX(0); transform-origin: left; transition: transform 1.3s cubic-bezier(0.83, 0, 0.17, 1) 0.2s; }
.reveal-x.in { transform: none; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(56px, 8vw, 120px); min-height: calc(100svh - 50px); display: flex; align-items: center; }
.hero .wrap { width: 100%; }
.hero__top { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); margin-bottom: clamp(8px, 1.5vw, 20px); }
.hero__top .kick { margin: 0; }

.avatar { position: relative; width: clamp(47px, 5.04vw, 71px); aspect-ratio: 1; flex: none; }
.avatar__img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: grayscale(0.15) contrast(1.02); background: #d9d3c8; }
.avatar__ring { position: absolute; inset: -7px; width: calc(100% + 14px); height: calc(100% + 14px); animation: spin 18s linear infinite; }
.avatar__ring circle { fill: none; stroke: var(--acc); stroke-width: 1.2; stroke-dasharray: 44 8 3 8; vector-effect: non-scaling-stroke; }
.avatar__live { position: absolute; right: 3%; bottom: 5%; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); border: 2px solid var(--paper); }
.avatar__live::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--acc); animation: ping 1.8s ease-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { from { transform: scale(1); opacity: 0.8; } to { transform: scale(2.4); opacity: 0; } }

.hero__name { font: 400 clamp(92px, 21vw, 360px)/0.9 var(--serif); letter-spacing: -0.02em; white-space: nowrap; margin-left: -0.04em; }
.hero__name i { font-style: italic; color: var(--acc); }
.hero__name .ln { padding-top: 0.12em; margin-top: -0.12em; }
.hero__name .c { display: inline-block; animation: nameFloat 6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.45s); transition: color 0.35s, font-style 0.35s; }
.hero__name .c:hover { color: var(--acc); font-style: italic; }
.hero__name .c--dot { animation: dotPulse 2.2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; transform-origin: 30% 85%; }
@keyframes nameFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.035em); } }
@keyframes dotPulse { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.35) translateY(-0.04em); } }
.hero__zh {
  position: absolute; right: var(--gut); top: 0;
  writing-mode: vertical-rl; font: 900 clamp(64px, 7vw, 118px)/1 var(--zhs); letter-spacing: 0.12em;
  opacity: 0; transform: translateY(-30px); transition: opacity 1s 0.5s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}
.hero.in .hero__zh { opacity: 1; transform: none; }

.rule { height: 1px; background: currentColor; opacity: 0.35; margin: clamp(28px, 3.5vw, 48px) 0 clamp(20px, 2.5vw, 34px); max-width: 1320px; }
.hero__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; max-width: 1320px; }
.hero__role { font: 500 clamp(24px, 3vw, 48px)/1.15 var(--sans); letter-spacing: -0.01em; }
.hero__role .acc { padding: 0 0.3em; }
.hero__meta { font-size: 13px; opacity: 0.6; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px, 2.4vw, 32px); font-size: 13px; }
.hero__tags li { border: 1px solid currentColor; border-radius: 999px; padding: 0.55em 1.1em; line-height: 1; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.hero__tags li:hover { background: var(--acc); border-color: var(--acc); }
.hero__contact { display: flex; flex-wrap: wrap; gap: 10px 40px; margin-top: clamp(28px, 3vw, 44px); font-size: 14px; letter-spacing: 0.06em; text-transform: none; }
.hero__contact span, .contact__ct span { display: inline-block; width: 52px; opacity: 0.45; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.hero__contact a, .contact__ct a { background: linear-gradient(var(--acc), var(--acc)) 0 100% / 0 1px no-repeat; transition: background-size 0.4s; }
.hero__contact a:hover, .contact__ct a:hover { background-size: 100% 1px; }

/* ---------- about ---------- */
.statement { font: 900 clamp(40px, 7.6vw, 150px)/1.18 var(--zhs); letter-spacing: 0.01em; }
.statement .em { position: relative; display: inline-block; color: var(--acc); }
.statement .ul { position: absolute; left: 0; right: 0; bottom: 0.08em; height: 0.075em; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform 0.8s cubic-bezier(0.83, 0, 0.17, 1) 0.9s; }
.statement.in .ul { transform: none; }
.statement__en { font: italic 400 clamp(24px, 3vw, 54px)/1.15 var(--serif); color: var(--muted); margin-top: clamp(16px, 2vw, 28px); }

.nums { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 9vw, 140px); border-top: 1px solid var(--line); }
.num { padding: clamp(24px, 3vw, 40px) clamp(16px, 2.5vw, 40px) 0 0; }
.num + .num { border-left: 1px solid var(--line); padding-left: clamp(16px, 2.5vw, 40px); }
.num__n { font: 400 clamp(96px, 14vw, 240px)/1 var(--serif); letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.num__n sup { font-size: 0.42em; vertical-align: top; position: relative; top: 0.25em; color: var(--acc); margin-left: 0.04em; }
.num__z { font: 700 clamp(18px, 1.9vw, 30px)/1.3 var(--zh); margin-top: clamp(14px, 2vw, 28px); }
.num__s { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.6; }
.num.reveal:nth-child(2) { transition-delay: 0.12s; }
.num.reveal:nth-child(3) { transition-delay: 0.24s; }

.profile { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 80px); margin-top: clamp(64px, 8vw, 120px); max-width: 1320px; margin-left: auto; }
.profile p { font: 400 clamp(15px, 1.15vw, 18px)/2 var(--zh); color: #3a3833; }
.profile p:first-child::first-letter { font: 900 3.2em/0.9 var(--zhs); float: left; margin: 0.08em 0.1em 0 0; color: var(--acc); }

/* ---------- experience ---------- */
.exp__list { display: flex; flex-direction: column; }
.job { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 80px); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid rgba(239, 235, 227, 0.14); }
.job:last-child { border-bottom: 1px solid rgba(239, 235, 227, 0.14); }
.job__ghost {
  position: absolute; right: -0.04em; top: 50%; transform: translateY(-50%);
  font: italic 400 clamp(180px, 26vw, 460px)/1 var(--serif); letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(239, 235, 227, 0.12); pointer-events: none; user-select: none;
  transition: -webkit-text-stroke-color 0.5s;
}
.job:hover .job__ghost { -webkit-text-stroke-color: rgba(244, 167, 17, 0.45); }
.job__head { position: relative; display: flex; flex-direction: column; gap: clamp(20px, 2.5vw, 36px); }
.job__yr { font: italic 400 clamp(64px, 9vw, 170px)/1 var(--serif); letter-spacing: -0.02em; white-space: nowrap; }
.job__logo { align-self: flex-start; width: auto; height: clamp(46px, 5vw, 76px); opacity: 0.9; }
.job__logo--tall { height: clamp(70px, 7.5vw, 116px); }
.job__body { position: relative; align-self: end; }
.job__co { font: 900 clamp(30px, 3.6vw, 64px)/1.2 var(--zhs); }
.job__ro { color: var(--acc); font-size: 13px; letter-spacing: 0.14em; margin-top: 14px; }
.job__pts { margin-top: clamp(18px, 2vw, 28px); display: flex; flex-direction: column; gap: 10px; }
.job__pts li { position: relative; padding-left: 26px; font: 400 clamp(15px, 1.1vw, 17px)/1.85 var(--zh); color: rgba(239, 235, 227, 0.68); }
.job__pts li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 14px; height: 1px; background: var(--acc); }


/* ---------- skills ---------- */
.skills { padding: clamp(72px, 9vw, 140px) 0; }
.marquee { display: flex; flex-direction: column; gap: clamp(4px, 1vw, 16px); margin: 0 0 clamp(40px, 5vw, 72px); }
.marquee__row { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; will-change: transform; animation: marq 28s linear infinite; }
.marquee__row--2 .marquee__track { animation-direction: reverse; animation-duration: 34s; }
.marquee__row--3 .marquee__track { animation-duration: 40s; }
.marquee__row--1, .marquee__row--2 { font: 800 clamp(56px, 9vw, 150px)/1.05 var(--sans); letter-spacing: -0.045em; }
.marquee__row--3 { font: italic 400 clamp(76px, 13vw, 230px)/1 var(--serif); color: var(--paper); letter-spacing: -0.02em; }
.marquee em { font: italic 400 1.08em/1 var(--serif); letter-spacing: -0.01em; padding: 0 0.12em; }
.marquee .sep { display: inline-block; width: 0.3em; height: 0.3em; border-radius: 50%; background: currentColor; align-self: center; margin: 0 0.45em; }
.marquee .tag { display: inline-block; align-self: center; font: 500 clamp(14px, 1.6vw, 30px)/1 var(--mono); letter-spacing: 0.1em; font-style: normal; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 0.4em 0.6em; margin: 0 0.9em 0 0.35em; }
@keyframes marq { to { transform: translateX(-50%); } }
.skills__foot { font: 500 clamp(17px, 1.7vw, 28px)/1.5 var(--zh); }
.skills__foot b { font-size: 13px; margin-right: 18px; vertical-align: 3px; font-weight: 500; }

/* ---------- education + off the clock ---------- */
.off { padding-bottom: 0; }
.off__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(56px, 7vw, 120px); align-items: start; }
.edu__list { display: flex; flex-direction: column; }
.edu__list li { display: grid; grid-template-columns: auto 1fr; column-gap: 28px; row-gap: 6px; padding: clamp(26px, 3vw, 44px) 0; border-top: 1px solid var(--line); }
.edu__list li:last-child { border-bottom: 1px solid var(--line); }
.edu__yr { grid-row: span 2; font: italic 400 clamp(44px, 5vw, 84px)/1 var(--serif); letter-spacing: -0.02em; min-width: 3.4em; }
.edu__deg { font: 900 clamp(22px, 2.3vw, 38px)/1.3 var(--zhs); align-self: end; }
.edu__sch { align-self: start; }
.edu__sch { font-size: 12px; color: var(--muted); }

.clock { position: relative; }
.clock__zh { font: 900 clamp(38px, 4.3vw, 76px)/1.25 var(--zhs); }
.clock__en { font: italic 400 clamp(24px, 2.5vw, 44px)/1.1 var(--serif); color: var(--acc); margin-top: clamp(16px, 2vw, 28px); }

.route { width: 100%; height: clamp(140px, 16vw, 240px); margin-top: clamp(40px, 5vw, 72px); overflow: visible; }
.route__area { fill: color-mix(in srgb, var(--acc) 11%, transparent); opacity: 0; transition: opacity 1.2s 2.4s; }
.route__line { fill: none; stroke: var(--acc); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: stroke-dashoffset 3.2s cubic-bezier(0.65, 0, 0.35, 1); }
.route__dot { fill: var(--acc); opacity: 0; }
.route.in .route__area { opacity: 1; }
.route.in .route__dot { opacity: 1; transition: opacity 0.3s 3.1s; }

/* ---------- contact ---------- */
.contact { padding-bottom: clamp(120px, 14vw, 200px); }
.contact__big { font: 400 clamp(60px, 10vw, 180px)/1 var(--serif); letter-spacing: -0.02em; }
.contact__big i { color: var(--acc); }
.contact__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: clamp(48px, 6vw, 96px); }
.contact__who { font: 500 clamp(18px, 1.8vw, 30px)/1.4 var(--sans); }
.contact__who span { font-family: var(--zhs); font-weight: 900; margin-right: 14px; }
.contact__ct { margin-top: 18px; font-size: clamp(14px, 1.3vw, 20px); letter-spacing: 0.04em; text-transform: none; line-height: 2; }
.contact__ct span { width: 70px; }
.otw { display: inline-flex; align-items: center; font-size: 14px; letter-spacing: 0.16em; border: 1px solid rgba(239, 235, 227, 0.4); border-radius: 999px; padding: 16px 26px; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.otw:hover { background: var(--acc); border-color: var(--acc); color: var(--ink); }
.otw:hover .dot { background: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .job { grid-template-columns: 1fr; }
  .job__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .off__grid { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; margin-left: 0; }
}

@media (max-width: 700px) {
  :root { --col: 25vw; }
  .chrome__mid { display: none; }
  .foot { display: none; }
  .hero { min-height: auto; }
  .hero__top { position: relative; top: -20px; }
  .hero__zh { position: static; writing-mode: horizontal-tb; font-size: 40px; letter-spacing: 0.3em; margin-top: 14px; }
  .hero__name { font-size: 24vw; }
  .hero__role { font-size: 5.6vw; white-space: nowrap; }
  .hero__contact { flex-direction: column; }
  .nums { grid-template-columns: 1fr; }
  .num { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: end; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .num + .num { border-left: 0; padding-left: 0; }
  .num__n { grid-row: span 2; font-size: 96px; min-width: 1.5em; }
  .num__z { margin-top: 0; }
  .job__ghost { top: 34px; transform: none; font-size: 150px; }
  .job__yr { font-size: 60px; }
  .edu__list li { grid-template-columns: 1fr; row-gap: 10px; }
  .edu__yr { grid-row: auto; font-size: 48px; }
  .edu__deg { align-self: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ln .up, .reveal, .reveal-x, .hero__zh { transform: none !important; opacity: 1 !important; }
  .statement .ul { transform: none !important; }
}

/* portfolio header inside the résumé chrome */
.chrome__inner.pf { font: 500 14px/1 'Inter Tight', 'Noto Sans TC', sans-serif; letter-spacing: 0; text-transform: none; padding-top: 14px; padding-bottom: 14px; display: grid; grid-template-columns: 1fr auto 1fr; }
.pf-brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.pf-brand img { width: 34px; height: 34px; transition: transform .5s; }
.pf-brand:hover img { transform: rotate(-12deg) scale(1.06); }
.pf-nav { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: color-mix(in srgb, currentColor 9%, transparent); font-size: 11.2px; }
.pf-nav a { color: inherit; text-decoration: none; padding: 8px 13px; border-radius: 999px; transition: background .2s, color .2s; }
.pf-nav a:hover { background: var(--acc); }
.pf-nav a[aria-current] { background: var(--ink); color: var(--paper); }
body.is-dark .pf-nav a[aria-current] { background: var(--paper); color: var(--ink); }
.pf-status { justify-self: end; display: flex; align-items: center; font-size: 13px; color: inherit; text-decoration: none; }
@media (max-width: 1100px) { .chrome__inner.pf { grid-template-columns: auto 1fr; } .pf-nav { justify-self: end; } .pf-status { display: none; } }
@media (max-width: 720px) { .pf-brand span { display: none; } }

/* dark theme */
:root { --paper: #0f0e0d; --ink: #efebe3; --muted: #8d877c; --line: rgba(239, 235, 227, 0.1); }
.sec--dark { --ink: #1a1815; --paper: #efebe3; }
.sec--hot { --ink: #121212; --paper: #efebe3; }
main::before { mix-blend-mode: soft-light; opacity: .5; }
.grain { mix-blend-mode: screen; filter: invert(1); opacity: .09; }
body.is-dark .chrome { background: color-mix(in srgb, #1a1815 85%, transparent); color: #efebe3; }
body.is-hot .chrome { color: #121212; }
body.is-dark .pf-nav a[aria-current] { background: #efebe3; color: #121212; }
.pf-nav a:hover { color: #121212; }
.profile p { color: #e6e1d6; }
