:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #20211f;
  --muted: #777a73;
  --line: #d9dad3;
  --accent: #65796b;
  --page-gutter: clamp(24px, 6.35vw, 88px);
  --ease: cubic-bezier(.22, .72, .19, 1);
  font-family: "DM Sans", sans-serif;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #090909;
  --ink: #f5f5f5;
  --muted: #999999;
  --line: #292929;
  --accent: #5797ff;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1.65; transition: background-color .35s ease, color .35s ease; }
::selection { color: var(--paper); background: var(--accent); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 8px 12px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.site-header { position: absolute; z-index: 5; top: 0; right: 0; padding: 16px 20px; }
.theme-toggle { display: grid; width: 36px; height: 36px; place-items: center; border: 0; background: transparent; cursor: pointer; transition: color .2s ease; }
.theme-toggle:hover { color: var(--accent); }
.theme-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.theme-icon-sun { display: none; }
.theme-icon-moon { display: block; }
:root[data-theme="dark"] .theme-icon-sun { display: block; }
:root[data-theme="dark"] .theme-icon-moon { display: none; }

.intro { position: relative; min-height: 100svh; overflow: hidden; }
.intro-frame { position: relative; width: calc(100% - 80px); min-height: 100svh; margin-inline: 40px; }
.intro-scene { position: relative; width: min(100%, 480px); margin-left: 0; margin-right: auto; padding-top: clamp(100px, 18svh, 170px); padding-bottom: 110px; }
.greeting { width: min(280px, 100%); }
.hello { width: 280px; max-width: 100%; margin: 0; opacity: 0; line-height: 0; }
.hello svg { display: block; width: 100%; height: auto; overflow: visible; }
.hello path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro-kicker { margin: 0; color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.5; text-align: center; opacity: 0; }
.intro-kicker strong { color: #2681ff; }
.about-copy { margin-top: 56px; opacity: 0; transform: translateX(-24px); }
.intro-heading { margin: 0 0 10px; font-size: 24px; font-weight: 600; line-height: 1.3; }
.intro-statement { max-width: 400px; margin: 0; color: var(--muted); font-size: 16px; font-weight: 400; line-height: 1.55; }
.intro-statement strong { color: var(--ink); font-weight: 600; }
.hand-underlined { position: relative; display: inline-block; white-space: nowrap; }
.hand-underline { position: absolute; left: -2%; bottom: -5px; width: 104%; height: 9px; overflow: visible; pointer-events: none; }
.hand-underline path { fill: none; stroke: #e5a331; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro.is-static .hand-underline path { stroke-dashoffset: 0; }
body[data-intro]:not([data-intro="complete"]) .site-header { visibility: hidden; opacity: 0; pointer-events: none; }
:root:not([data-intro-complete="true"]) body[data-intro]:not([data-intro="complete"]) .icon-dock,
:root:not([data-intro-complete="true"]) body[data-intro]:not([data-intro="complete"]) .corner-note { visibility: hidden; pointer-events: none; }
.site-header { transition: opacity .6s ease; }
.intro.is-static .hello, .intro.is-static .intro-kicker, .intro.is-static .about-copy { opacity: 1; }
.intro.is-static .hello path { stroke-dashoffset: 0; }
.intro.is-static .greeting, .intro.is-static .intro-scene, .intro.is-static .intro-kicker, .intro.is-static .about-copy { transform: none; }
.intro.is-refresh .hello path { stroke-dashoffset: 0; }
.intro.is-refresh .intro-kicker, .intro.is-refresh .about-copy { opacity: 1; transform: none; }
.content-view { width: min(calc(100% - 80px), 900px); min-height: 100svh; margin-inline: 40px; padding-block: 80px 120px; }
#work.content-view, #projects.content-view, #blog.content-view { margin-inline: auto; }
.view-heading { margin-bottom: 44px; }
.view-heading h1 { margin: 0; font-size: 36px; line-height: 1.2; font-weight: 600; }
.view-heading p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.collection-heading { margin: 0 0 24px; font-size: 17px; font-weight: 600; }
.empty-state { margin: 0; padding-block: 20px; color: var(--muted); font-size: 14px; }
.blog-feedback { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.blog-feedback p { margin: 0; }
.blog-retry { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--ink) 6%, transparent); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 12%, transparent); cursor: pointer; font-size: 22px; transition: color .25s var(--ease), background-color .25s var(--ease); }
.blog-retry:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 12%, transparent); }
.entry-list { display: grid; gap: 14px; }
.entry-card {
  position: relative; display: block; padding: 22px; overflow-wrap: anywhere;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 22px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ink) 9%, transparent), transparent 42%, color-mix(in srgb, var(--ink) 5%, transparent)),
    color-mix(in srgb, var(--paper) 52%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  backdrop-filter: blur(22px) saturate(1.7);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ink) 16%, transparent),
    inset 0 -1px 1px color-mix(in srgb, var(--paper) 45%, transparent),
    0 10px 26px -10px rgb(0 0 0 / .3),
    0 2px 6px rgb(0 0 0 / .1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.entry-card::before { content: ""; position: absolute; inset: 1px; border-radius: inherit; background: linear-gradient(to bottom, color-mix(in srgb, var(--ink) 7%, transparent), transparent 55%); opacity: .5; pointer-events: none; }
.entry-card:hover {
  border-color: color-mix(in srgb, var(--ink) 24%, transparent);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ink) 22%, transparent),
    inset 0 -1px 1px color-mix(in srgb, var(--paper) 45%, transparent),
    0 16px 34px -10px rgb(0 0 0 / .38),
    0 3px 10px rgb(0 0 0 / .14);
  transform: translateY(-3px);
}
.project-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.project-card-header .entry-title { padding-top: 5px; }
.project-action { position: relative; display: grid; flex: 0 0 36px; width: 36px; height: 36px; margin: -5px -5px 0 0; place-items: center; border-radius: 999px; color: var(--muted); transition: color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease); }
.project-action:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 9%, transparent); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 14%, transparent); }
.project-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.external-arrow { font-size: 24px; line-height: 1; }
.entry-title { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 600; }
.entry-description { margin: 7px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); white-space: pre-line; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.entry-tags span { padding: 3px 10px; border: 1px solid color-mix(in srgb, var(--ink) 11%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--ink) 6%, transparent); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 8%, transparent); color: var(--muted); font-size: 11px; }
.post-card { padding: 24px; }
.post-card .entry-title { font-size: 20px; }
.entry-date { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; }
.reader-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; font-size: 13px; }
.reader-back { color: var(--muted); }
.reader-back:hover, .reader-source:hover { text-decoration: underline; text-underline-offset: 4px; }
.reader-source { display: inline-flex; gap: 8px; align-items: center; min-height: 36px; padding: 5px 14px; border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--ink) 6%, transparent); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 12%, transparent); }
.reader-heading { margin-bottom: 32px; }
.reader-heading h1 { margin: 0; font-size: 36px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.article-cover { display: block; width: 100%; max-height: 460px; object-fit: contain; margin-bottom: 32px; }
.article-body { max-width: 760px; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.article-body p { margin: 0 0 20px; min-height: 1em; }
.article-body ul, .article-body ol { padding-left: 26px; margin-block: 20px; }
.article-body li p { margin-bottom: 8px; }
.article-body blockquote { margin: 24px 0; padding-left: 20px; border-left: 3px solid var(--line); color: var(--muted); }
.article-body pre { margin-block: 24px; padding: 18px; border: 1px solid var(--line); border-radius: 4px; overflow-x: auto; font-size: 13px; line-height: 1.65; }
.article-body code { font-family: "Cascadia Code", Consolas, monospace; }
.article-body :not(pre) > code { padding: 2px 5px; background: color-mix(in srgb, var(--ink) 7%, var(--paper)); border-radius: 3px; }
.article-body img { display: block; max-width: 100%; height: auto; margin-block: 24px; }
.article-body hr { margin-block: 30px; border: 0; border-top: 1px solid var(--line); }
.experience-list { --timeline-line: color-mix(in srgb, var(--ink) 32%, var(--paper)); padding-left: 12px; }
.experience-entry { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 28px; padding: 0 0 42px 28px; border-left: 2px solid var(--timeline-line); overflow-wrap: anywhere; }
.experience-marker { position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border: 2px solid var(--timeline-line); border-radius: 50%; background: var(--paper); }
.experience-marker:hover { background: #888888; border-color: #888888; }
.experience-entry:last-child { padding-bottom: 0; border-left-color: transparent; }
.experience-period { margin: 0; color: color-mix(in srgb, var(--ink) 80%, var(--paper)); font-size: 14px; font-weight: 500; line-height: 1.7; }
.experience-details .entry-description { color: color-mix(in srgb, var(--ink) 72%, var(--paper)); font-size: 15px; line-height: 1.7; }
.entry-organization { margin: 3px 0 10px; color: var(--muted); font-size: 14px; }

#stack.content-view { margin-inline: auto; }
.stack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 14px; margin-bottom: 44px; }
.stack-grid:last-child { margin-bottom: 0; }
.stack-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 24px 14px 18px;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 22px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ink) 9%, transparent), transparent 42%, color-mix(in srgb, var(--ink) 5%, transparent)),
    color-mix(in srgb, var(--paper) 52%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  backdrop-filter: blur(22px) saturate(1.7);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ink) 16%, transparent),
    inset 0 -1px 1px color-mix(in srgb, var(--paper) 45%, transparent),
    0 10px 26px -10px rgb(0 0 0 / .3),
    0 2px 6px rgb(0 0 0 / .1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.stack-tile::before { content: ""; position: absolute; inset: 1px; border-radius: inherit; background: linear-gradient(to bottom, color-mix(in srgb, var(--ink) 7%, transparent), transparent 55%); opacity: .5; pointer-events: none; }
.stack-tile:hover {
  border-color: color-mix(in srgb, var(--ink) 24%, transparent);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ink) 22%, transparent),
    inset 0 -1px 1px color-mix(in srgb, var(--paper) 45%, transparent),
    0 16px 34px -10px rgb(0 0 0 / .38),
    0 3px 10px rgb(0 0 0 / .14);
  transform: translateY(-3px);
}
.stack-icon { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 3px 6px rgb(0 0 0 / .2)); transition: transform .25s var(--ease); }
.stack-tile:hover .stack-icon { transform: scale(1.08); }
:root[data-theme="dark"] .stack-icon-mono { filter: invert(1) drop-shadow(0 3px 6px rgb(0 0 0 / .2)); }
.stack-name { color: var(--ink); font-size: 13px; font-weight: 500; text-align: center; }

.leave-dialog {
  max-width: 400px; padding: 34px 32px; margin: auto; text-align: center;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 28px; color: var(--ink);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ink) 9%, transparent), transparent 42%, color-mix(in srgb, var(--ink) 5%, transparent)),
    color-mix(in srgb, var(--paper) 72%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  backdrop-filter: blur(22px) saturate(1.7);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ink) 16%, transparent),
    inset 0 -1px 1px color-mix(in srgb, var(--paper) 45%, transparent),
    0 24px 60px -16px rgb(0 0 0 / .5),
    0 4px 14px rgb(0 0 0 / .15);
}
.leave-dialog::backdrop { background: rgb(0 0 0 / .4); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.leave-dialog h2 { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.3; }
.leave-dialog p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.leave-actions { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.leave-stay, .leave-continue {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 999px; font-size: 14px; font-weight: 500; background: color-mix(in srgb, var(--ink) 6%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 14%, transparent);
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.leave-stay:hover, .leave-continue:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); transform: translateY(-1px); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 20%, transparent), 0 4px 12px rgb(0 0 0 / .18); }
.leave-continue { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 20%, transparent); }
.leave-continue:hover { background: color-mix(in srgb, var(--accent) 32%, transparent); }

.error-main { display: grid; min-height: 100svh; place-items: center; padding: var(--page-gutter); }
.error-card {
  position: relative; max-width: 420px; padding: 48px 40px; text-align: center;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 28px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ink) 9%, transparent), transparent 42%, color-mix(in srgb, var(--ink) 5%, transparent)),
    color-mix(in srgb, var(--paper) 52%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  backdrop-filter: blur(22px) saturate(1.7);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ink) 16%, transparent),
    inset 0 -1px 1px color-mix(in srgb, var(--paper) 45%, transparent),
    0 18px 44px -12px rgb(0 0 0 / .4),
    0 3px 10px rgb(0 0 0 / .12);
}
.error-card::before { content: ""; position: absolute; inset: 1px; border-radius: inherit; background: linear-gradient(to bottom, color-mix(in srgb, var(--ink) 7%, transparent), transparent 55%); opacity: .5; pointer-events: none; }
.error-code { margin: 0; font-family: "Allura", cursive; font-size: 92px; line-height: 1; color: var(--accent); }
.error-title { margin: 14px 0 0; font-size: 24px; font-weight: 600; line-height: 1.3; }
.error-message { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.error-home {
  position: relative; display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 10px 22px;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 999px; font-size: 14px; font-weight: 500;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 14%, transparent);
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.error-home:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); transform: translateY(-1px); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 20%, transparent), 0 4px 12px rgb(0 0 0 / .18); }

.icon-dock {
  position: fixed; z-index: 8; bottom: 16px; left: 50%;
  display: flex; align-items: center; gap: 3px; padding: 7px;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 999px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ink) 9%, transparent), transparent 42%, color-mix(in srgb, var(--ink) 5%, transparent)),
    color-mix(in srgb, var(--paper) 52%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  backdrop-filter: blur(22px) saturate(1.7);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ink) 16%, transparent),
    inset 0 -1px 1px color-mix(in srgb, var(--paper) 45%, transparent),
    0 12px 32px -8px rgb(0 0 0 / .35),
    0 2px 8px rgb(0 0 0 / .12);
  transform: translateX(-50%);
}
.icon-dock::before { content: ""; position: absolute; inset: 1px; border-radius: inherit; background: linear-gradient(to bottom, color-mix(in srgb, var(--ink) 7%, transparent), transparent 55%); opacity: .5; pointer-events: none; }

.corner-notes { display: contents; }
.corner-note {
  position: fixed; z-index: 7; bottom: 21px; margin: 0;
  padding: 7px 14px;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 999px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ink) 7%, transparent), transparent 50%),
    color-mix(in srgb, var(--paper) 52%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ink) 12%, transparent),
    0 6px 16px -6px rgb(0 0 0 / .25);
  color: var(--muted); font-size: 11.5px; line-height: 1.4; white-space: nowrap;
}
.site-copyright { left: 16px; }
.visit-note { right: 16px; }
.dock-link { position: relative; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 999px; color: var(--muted); transition: color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.dock-link:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 9%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 14%, transparent), inset 0 -1px 2px rgb(0 0 0 / .08);
  transform: translateY(-1px);
}
.dock-link:active { transform: translateY(0) scale(.96); }
.dock-link[aria-current="page"] {
  color: var(--ink);
  background: linear-gradient(to bottom, color-mix(in srgb, var(--ink) 13%, transparent), color-mix(in srgb, var(--ink) 7%, transparent));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 20%, transparent), inset 0 -1px 2px rgb(0 0 0 / .1), 0 1px 4px rgb(0 0 0 / .15);
}
.dock-link[href="https://github.com/Snow-6313"] { margin-left: 9px; }
.dock-link[href="https://github.com/Snow-6313"]::before { content: ""; position: absolute; left: -6px; top: 50%; width: 1px; height: 22px; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ink) 22%, transparent), transparent); transform: translateY(-50%); }
.dock-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

::view-transition-old(root) { animation: none; z-index: 1; }
::view-transition-new(root) { z-index: 2; animation: theme-reveal .8s cubic-bezier(.74, 0, .15, 1) both; }
@keyframes theme-reveal { from { clip-path: circle(0 at var(--theme-origin-x, 50vw) var(--theme-origin-y, 50vh)); } to { clip-path: circle(var(--theme-reveal-radius, 150vmax) at var(--theme-origin-x, 50vw) var(--theme-origin-y, 50vh)); } }

@media (max-width: 1100px) {
  .icon-dock { max-width: calc(100% - 16px); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .corner-notes {
    position: fixed; z-index: 7; bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    left: 16px; right: 16px;
    display: flex; align-items: stretch; justify-content: center; gap: 8px;
    pointer-events: none;
  }
  .corner-note { position: static; flex: 1; min-width: 0; max-width: 300px; align-content: center; white-space: normal; overflow-wrap: anywhere; text-align: center; pointer-events: auto; }
  .content-view { padding-bottom: calc(190px + env(safe-area-inset-bottom, 0px)); }
  .intro-scene { padding-bottom: calc(190px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 700px) {
  :root { --page-gutter: 24px; }
  .site-header { padding: 18px var(--page-gutter); }
  .intro-scene { width: calc(100% - 24px); margin-right: 0; padding-top: 100px; }
  .greeting { width: min(260px, 100%); }
  .hello { width: 260px; }
  .intro-kicker { font-size: 20px; }
  .about-copy { margin-top: 48px; }
  .intro-heading { font-size: 23px; }
  .intro-statement { max-width: 380px; font-size: 16px; }
  .content-view { width: calc(100% - 48px); margin-inline: 24px; padding-top: 90px; }
  .view-heading h1 { font-size: 32px; }
  .reader-heading h1 { font-size: 28px; }
  .reader-actions { gap: 12px; font-size: 12px; }
  .experience-entry { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-left: 20px; }
  .stack-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
  .dock-link { width: 38px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}