:root {
  color-scheme: light;
  --ink: #17171c;
  --soft-ink: #41414a;
  --line: rgba(23, 23, 28, .18);
  --page-accent: #255fff;
  --paper: #f9f7f1;
  --bg-a: 0, 144, 245;
  --bg-b: 230, 214, 221;
  --bg-c: 234, 176, 69;
  --sky-ink: 23, 23, 28;
  --sky-muted: 65, 65, 74;
  --night: 0;
  --display: "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --body: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  position: relative;
  isolation: isolate;
  background: #c3ddff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body[data-theme="hero"] { --page-accent: #255fff; }
body[data-theme="journey"] { --page-accent: #e1572d; }
body[data-theme="work"] { --page-accent: #087d69; }
body[data-theme="lab"] { --page-accent: #6747da; }
body[data-theme="media"] { --page-accent: #b92e61; }
body[data-theme="contact"] { --page-accent: #1768d6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: linear-gradient(to bottom, rgb(var(--bg-a)), rgb(var(--bg-b)), rgb(var(--bg-c)));
  contain: strict;
}
.atmosphere-frame { position: absolute; inset: 0; will-change: opacity; transform: translateZ(0); }
.ambient-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: .42;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  pointer-events: none;
}
.ambient-clouds { position: fixed; inset: 0; z-index: -2; pointer-events: none; mask: url("./cloud-mask.webp") center / cover no-repeat; -webkit-mask: url("./cloud-mask.webp") center / cover no-repeat; }
.star-field { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.star-field { opacity: 0; will-change: transform, opacity; }
.star-field .sky-star { width: var(--star-size); height: var(--star-size); border-radius: 50%; background: #fff; opacity: var(--star-alpha); filter: drop-shadow(0 0 3px rgba(255,255,255,.35)); }
.star-field span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  color: rgba(31,35,50,.42);
  font-size: var(--s);
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(255,255,255,.35));
}
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: 30;
  background: radial-gradient(circle, rgba(255,255,255,.3), transparent 68%);
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: opacity .3s ease;
}
.site-header {
  position: fixed;
  inset: 1.25rem clamp(1rem, 4vw, 4.5rem) auto;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 4rem;
  padding: .7rem 1.25rem;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 .7rem 2.4rem rgba(27,39,64,.1);
  backdrop-filter: blur(10px);
  transition: box-shadow .5s ease, border-color .5s ease;
  overflow: hidden;
}
.scroll-progress { position: absolute; inset: auto 0 0; height: 2px; background: var(--page-accent); transform: scaleX(0); transform-origin: left center; transition: background .55s ease; }
.brand { font-weight: 760; letter-spacing: -.045em; font-size: 1rem; }
.brand span { color: var(--page-accent); transition: color .55s ease; }
nav { display: flex; gap: clamp(1rem, 2.4vw, 2.4rem); }
nav a { position: relative; color: #34343b; font-size: .84rem; transition: color .2s, transform .2s; }
nav a:hover, nav a:focus-visible { color: var(--page-accent); transform: translateY(-1px); }
nav a::after { content: ""; position: absolute; left: 50%; bottom: -.55rem; width: .28rem; height: .28rem; border-radius: 50%; background: var(--page-accent); opacity: 0; transform: translate(-50%, .25rem); transition: .25s ease; }
nav a[aria-current="true"] { color: var(--page-accent); }
nav a[aria-current="true"]::after { opacity: 1; transform: translate(-50%, 0); }
.header-status { justify-self: end; display: flex; align-items: center; gap: .85rem; }
.chapter-status { color: var(--page-accent); font-size: .68rem; letter-spacing: .08em; transition: color .55s ease; }
.signal-toggle {
  border: 0;
  color: var(--ink);
  background: transparent;
  letter-spacing: .1em;
  font-size: .64rem;
  cursor: pointer;
  white-space: nowrap;
}
.signal-toggle span { display: inline-block; width: .48rem; height: .48rem; border-radius: 50%; background: var(--page-accent); box-shadow: 0 0 14px var(--page-accent); margin-right: .45rem; transition: .55s ease; }
.signal-toggle[aria-pressed="false"] span { background: #9c9ca3; box-shadow: none; }

.hero {
  min-height: 100svh;
  padding: clamp(8rem, 16vh, 11rem) clamp(1.25rem, 7vw, 7.5rem) 3rem;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
}
.hero::after {
  content: none;
}
.eyebrow, .section-head > p, .contact > p:first-child { color: var(--page-accent); font-size: .73rem; letter-spacing: .18em; font-weight: 760; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 650; letter-spacing: -.055em; line-height: .96; }
h1 { margin: auto 0; text-align: center; }
h1 small { display: block; font-family: var(--body); font-size: clamp(1.4rem, 3vw, 2.8rem); font-weight: 500; letter-spacing: -.04em; }
h1 span { display: block; margin-top: .1em; font-family: var(--serif); font-style: italic; font-size: clamp(5.2rem, 13vw, 13rem); font-weight: 500; letter-spacing: -.075em; line-height: .85; }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; margin-top: 3rem; gap: 2rem; }
.hero-bottom > p { max-width: 39rem; color: #28282e; font-size: clamp(1rem, 1.3vw, 1.22rem); margin: 0; }
.round-link { display: grid; place-items: center; width: 8rem; height: 8rem; border: 1px solid rgba(23,23,28,.3); border-radius: 50%; color: var(--ink); font-size: .8rem; background: rgba(255,255,255,.3); transition: .25s ease; }
.round-link span { font-size: 1.3rem; }
.round-link:hover { border-color: var(--page-accent); color: var(--page-accent); background: rgba(255,255,255,.7); transform: rotate(-6deg); }
.signal-map { position: absolute; inset: 34% 0 auto; height: 20rem; z-index: -1; opacity: .9; }
.signal-map svg { width: 100%; height: 100%; }
.path { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.path.ghost { stroke: rgba(23,23,28,.11); }
.path.active { stroke: #245bd9; stroke-dasharray: 8 12; animation: signal 16s linear infinite; }
.node { position: absolute; color: rgba(23,23,28,.64); font-size: .68rem; letter-spacing: .1em; }
.node span { display: block; color: #214cae; font-size: .6rem; }
.n1 { left: 12%; top: 43%; }.n2 { left: 38%; top: 51%; }.n3 { left: 69%; top: 40%; }.n4 { right: 8%; top: 25%; }
@keyframes signal { to { stroke-dashoffset: -400; } }

.intro-strip { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 2rem; align-items: center; margin: 0 clamp(1.25rem, 7vw, 7.5rem); padding: 1.2rem 0; font-size: .76rem; letter-spacing: .09em; }
.intro-strip p, .intro-strip span { color: #5d594d; margin: 0; }.intro-strip span { text-align: right; }
.section { min-height: 92svh; padding: clamp(6rem, 12vw, 11rem) clamp(1.25rem, 7vw, 7.5rem); }
.section-head { display: grid; grid-template-columns: 1fr 3fr; gap: 2rem; align-items: start; }
.section-head p { margin: .6rem 0 0; }
.section-head h2, .contact h2 { font-size: clamp(2.8rem, 6.2vw, 6.8rem); }

.journey { --page-accent: #c7482a; background: transparent; }
.journey-stage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 9rem); margin-top: 8rem; align-items: center; }
.chapter { color: #b6341d; font-size: .8rem; letter-spacing: .12em; }
.journey-copy h3 { font-size: clamp(2.4rem, 4vw, 4.8rem); margin: 1.2rem 0 2rem; }
.journey-copy p { color: #5c3f38; max-width: 34rem; }
.photo-memory { transform: rotate(2.5deg); transition: transform .45s ease; }
.photo-memory:hover { transform: rotate(0deg) translateY(-.6rem); }
.photo-frame { position: relative; aspect-ratio: 4/3; background: linear-gradient(145deg, rgba(255,255,255,.76), rgba(255,241,211,.42)); border: 1px solid rgba(118,47,26,.22); display: flex; flex-direction: column; justify-content: space-between; padding: 1.4rem; box-shadow: 0 2rem 5rem rgba(119,62,35,.16); }
.photo-frame::before, .photo-frame::after { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid rgba(118,47,26,.14); background: rgba(255,255,255,.24); }
.photo-frame::before { transform: rotate(-4deg) translate(-1rem, .5rem); }
.photo-frame::after { transform: rotate(3deg) translate(1rem, .65rem); }
.photo-frame span { color: #b6341d; font-size: .7rem; letter-spacing: .15em; }
.photo-frame p { max-width: 14rem; color: #6e4e43; }
.photo-memory small { display: block; margin-top: .8rem; color: #79594f; }

.work-section { --page-accent: #087d69; background: transparent; color: var(--ink); }
.featured-case { margin-top: 7rem; border-top: 1px solid var(--line); }
.case-meta { padding: 1rem 0; display: flex; justify-content: space-between; font-size: .7rem; letter-spacing: .14em; color: #42665f; }
.case-title { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding: 4rem 0 5rem; border-block: 1px solid var(--line); }
.case-title > p { font-size: .78rem; letter-spacing: .12em; color: #08715f; }
.case-title h3 { font-size: clamp(3rem, 6vw, 6.8rem); }
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.case-grid > div { padding: 2rem 1.4rem 3rem 0; border-right: 1px solid var(--line); }
.case-grid > div:not(:first-child) { padding-left: 1.4rem; }
.case-grid > div:last-child { border-right: 0; }
.case-grid span { color: #08715f; font-size: .72rem; letter-spacing: .13em; }
.case-grid p { color: #36564f; font-size: .9rem; }

.lab-preview { --page-accent: #6747da; background: transparent; }
.workflow { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 6rem; border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.workflow > div { padding: 2rem 1.5rem 2.5rem; min-height: 14rem; border-right: 1px solid var(--line); transition: background .25s, transform .25s; }
.workflow > div:last-child { border-right: 0; }
.workflow > div:hover { background: rgba(255,255,255,.33); transform: translateY(-.5rem); }
.workflow span { color: #5230c3; font-size: .7rem; }.workflow strong { display: block; margin: 2.8rem 0 .7rem; font-size: 1.25rem; }.workflow p { margin: 0; color: #494267; font-size: .9rem; }
.lab-console { margin: 3rem 0 0 auto; width: min(100%, 760px); border: 1px solid rgba(38,26,83,.25); background: rgba(255,255,255,.58); box-shadow: 0 2rem 6rem rgba(69,48,130,.15); backdrop-filter: blur(12px); }
.console-top { height: 2.8rem; display: flex; align-items: center; gap: .4rem; padding: 0 1rem; border-bottom: 1px solid var(--line); }
.console-top span { width: .55rem; height: .55rem; border-radius: 50%; background: #b2a8d9; }.console-top span:first-child { background: #6747da; }.console-top b { margin-left: auto; font-size: .65rem; letter-spacing: .12em; color: #5f587b; }
.lab-console > p { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; margin: 0; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); color: #37304d; }
.lab-console > p:last-child { border-bottom: 0; }.lab-console i { color: #5230c3; font-style: normal; font-size: .75rem; }

.media-section { --page-accent: #b92e61; background: transparent; }
.media-grid { display: grid; grid-template-columns: 2fr 1fr; margin-top: 7rem; border-top: 1px solid var(--line); }
.media-intro { grid-row: span 3; padding: 4rem 4rem 4rem 0; border-right: 1px solid var(--line); }
.media-intro > span, .media-card > span { color: #a42151; font-size: .7rem; letter-spacing: .14em; }
.media-intro h3 { font-size: clamp(2.5rem, 4vw, 4.8rem); margin: 2rem 0; }.media-intro p { color: #6d3d49; max-width: 33rem; }
.media-card { padding: 2rem; border-bottom: 1px solid var(--line); transition: background .25s, padding-left .25s; }
.media-card:hover { background: rgba(255,255,255,.28); padding-left: 2.5rem; }.media-card strong { display: block; margin: .9rem 0 1.6rem; font-size: 1.05rem; }.media-card small { color: #754552; }

.contact { --page-accent: #1768d6; min-height: 88svh; padding: clamp(7rem, 14vw, 14rem) clamp(1.25rem, 7vw, 7.5rem) 5rem; display: flex; flex-direction: column; background: transparent; }
.contact h2 { max-width: 950px; margin: auto 0 3rem; }
.contact-note { color: #4e5b68; max-width: 34rem; }
.back-to-top { align-self: flex-end; display: flex; align-items: center; gap: 1.1rem; padding: .7rem .8rem .7rem 1.25rem; border: 1px solid rgba(23,23,28,.18); border-radius: 999px; background: rgba(255,255,255,.35); color: #1768d6; font-size: .8rem; transition: .25s ease; }
.back-to-top b { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: rgba(255,255,255,.75); font-size: 1rem; }
.back-to-top:hover { transform: translateY(-.25rem); background: rgba(255,255,255,.58); }
footer { padding: 1.5rem clamp(1.25rem, 4vw, 4rem); display: flex; justify-content: space-between; color: #55586a; font-size: .7rem; letter-spacing: .1em; }

.reveal { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
body.signal-off .path.active, body.signal-off .node, body.signal-off .cursor-glow, body.signal-off .star-field { opacity: 0; }
body { color: rgb(var(--sky-ink)); }
.hero-bottom > p, .journey-copy p, .case-grid p, .workflow p, .media-intro p, .media-card small, .contact-note, footer, .intro-strip p, .intro-strip span, .photo-memory small { color: rgb(var(--sky-muted)); }
.work-section, .round-link { color: rgb(var(--sky-ink)); }
.section-head > p, .contact > p:first-child, .chapter, .case-meta, .case-title > p, .case-grid span, .workflow span, .media-intro > span, .media-card > span { color: rgb(var(--sky-muted)); }
.site-header { color: #17171c; }
.workflow { background: rgba(255,255,255,.1); }
.workflow, .lab-console { backdrop-filter: none; }
@media (max-width: 760px) { .site-header nav { backdrop-filter: blur(10px); } }
.featured-case, .case-title, .case-grid > div, .media-grid, .media-intro, .media-card { border-color: rgba(var(--sky-ink), .2); }
.signal-off .star-field { visibility: hidden; }

@media (max-width: 900px) { .chapter-status { display: none; } }
@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; inset: .75rem .75rem auto; min-height: 3.6rem; overflow: visible; }
  .site-header nav { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; display: flex; justify-content: center; gap: clamp(.85rem, 5vw, 1.6rem); padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.58); border-radius: 999px; background: rgba(255,255,255,.78); box-shadow: 0 .7rem 2.4rem rgba(27,39,64,.12); backdrop-filter: blur(22px) saturate(140%); }
  .site-header nav a { font-size: .72rem; white-space: nowrap; }
  .site-header nav a::after { bottom: -.35rem; }
  .scroll-progress { bottom: -.1rem; }
  .brand { font-size: .92rem; }
  .hero { padding-top: 7rem; }.hero-bottom { align-items: start; flex-direction: column; }.round-link { width: 6.5rem; height: 6.5rem; align-self: flex-end; }
  h1 span { font-size: clamp(4.6rem, 25vw, 8rem); }
  .signal-map { top: 30%; }.node { display: none; }
  .intro-strip { grid-template-columns: 1fr; gap: .25rem; }.intro-strip span { text-align: left; }
  .section { min-height: auto; }
  .section-head { grid-template-columns: 1fr; }.journey-stage { grid-template-columns: 1fr; margin-top: 5rem; }
  .case-title { grid-template-columns: 1fr; }.case-grid { grid-template-columns: 1fr 1fr; }.case-grid > div:nth-child(2) { border-right: 0; }.case-grid > div:nth-child(n) { padding: 1.5rem; border-bottom: 1px solid var(--line); }
  .workflow { grid-template-columns: 1fr 1fr; }.workflow > div:nth-child(2) { border-right: 0; }.workflow > div { border-bottom: 1px solid var(--line); }
  .media-grid { grid-template-columns: 1fr; }.media-intro { grid-row: auto; border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); }
  footer { flex-direction: column; gap: .5rem; padding-bottom: 5.5rem; }
}
@media (max-width: 470px) {
  .signal-toggle { font-size: 0; }
  .signal-toggle span { margin: 0; }
  .case-grid, .workflow { grid-template-columns: 1fr; }
  .case-grid > div, .workflow > div { border-right: 0; }
}
/* Personal journal: retain the original sky and scroll animation. */
h2, h3 { line-height: 1.14; letter-spacing: -.04em; }
nav a { font-size: .9rem; }
.life-hero h1 em { display: block; margin-top: 1.8rem; font: 400 clamp(1.3rem, 2.5vw, 2rem)/1.5 var(--body); letter-spacing: .32em; padding-left: .32em; font-style: normal; }
.life-hero .eyebrow { color: #243d58; font-size: .875rem; }
.life-hero .signal-map { opacity: .45; }
.intro-strip { font-size: .875rem; letter-spacing: .02em; border-bottom: 1px solid rgba(var(--sky-ink), .15); }
.intro-strip strong { font-weight: 500; }
.section-head > p, .contact > p:first-child { font-size: .875rem; }
figure { margin: 0; }
.about-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(3rem, 7vw, 8rem); margin-top: 5rem; align-items: start; }
.journal-copy { max-width: 39rem; font-size: clamp(1.06rem, 1.5vw, 1.35rem); line-height: 2; color: rgb(var(--sky-ink)); }
.journal-copy p { margin: 0 0 2rem; }
.portrait-memory { padding: .8rem .8rem 1.1rem; background: rgba(255,255,255,.75); border-radius: 3px; margin-top: 1rem; box-shadow: 0 1rem 3rem rgba(17,43,77,.12); }
.portrait-memory img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 40%; }
.portrait-memory figcaption { display: flex; justify-content: space-between; gap: 1rem; margin: 1rem .3rem 0; color: #41414a; font-size: 1rem; }
.portrait-memory small { font-size: .875rem; }
.work-memory { display: grid; grid-template-columns: minmax(0, .8fr) 1.2fr; gap: clamp(3rem, 7vw, 8rem); margin: 7rem 0 0; align-items: center; }
.work-memory figure { max-width: 25rem; }
.work-memory img { width: 100%; height: auto; max-height: 30rem; object-fit: cover; border-radius: 3px; display: block; }
.work-memory figcaption { font-size: .875rem; margin-top: .8rem; color: rgb(var(--sky-muted)); }
.memory-label { font-size: .875rem; color: rgb(var(--sky-muted)); }
.work-memory h3 { font-size: clamp(2rem, 4vw, 4rem); margin-bottom: 1.8rem; }
.work-memory div > p:last-child { color: rgb(var(--sky-muted)); font-size: 1rem; line-height: 1.9; }
.moment-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 5rem); margin-top: 5rem; align-items: start; }
.moment-card figure { position: relative; }
.moment-card img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }
.stage-card { margin-top: 9rem; }
.stage-card img { aspect-ratio: 4/5; object-position: center 35%; }
.moment-card figcaption { position: absolute; bottom: 1rem; left: 1rem; font-size: .875rem; padding: .3rem .75rem; background: rgba(255,255,255,.9); border-radius: 999px; color: #17171c; }
.moment-copy { padding-top: 1.5rem; }
.moment-tag { font-size: .875rem; color: rgb(var(--sky-muted)); }
.moment-copy h3 { font-size: clamp(1.7rem, 2.6vw, 3rem); line-height: 1.3; margin: 1rem 0 1.2rem; }
.moment-copy p { color: rgb(var(--sky-muted)); line-height: 1.9; }
.moment-stats { display: flex; gap: 3rem; margin: 1.7rem 0 .5rem; }
.moment-stats strong { display: block; font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2.5rem); line-height: 1.3; }
.moment-stats span, .stats-note { display: block; font-size: .875rem; color: rgb(var(--sky-muted)); }
.text-link { display: inline-flex; gap: 1.3rem; border-bottom: 1px solid currentColor; padding-bottom: .25rem; margin-top: 1.8rem; }
.life-lab { min-height: 85svh; }
.current-note { position: relative; display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; margin-top: 5rem; padding: 2.5rem 0 8rem; border-block: 1px solid rgba(var(--sky-ink), .2); }
.current-heading span { font-size: .875rem; color: rgb(var(--sky-muted)); }
.current-heading h3 { font-size: clamp(2rem, 3vw, 3.8rem); margin-top: 1.5rem; }
.current-body { font-size: 1.1rem; line-height: 1.9; color: rgb(var(--sky-muted)); }
.current-body p { margin: 0 0 1.2rem; }
.virtual-avatar { position: absolute; width: 5.5rem; height: 5.5rem; object-fit: cover; border-radius: 50%; bottom: 1.4rem; right: 0; }
.life-contact h2 { margin: 3rem 0 2rem; }
.life-contact .contact-note { max-width: 42rem; font-size: 1.1rem; line-height: 1.9; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 6rem); margin: 3rem 0; }
.contact-row { display: grid; grid-template-columns: 4rem 1fr auto; align-items: center; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(var(--sky-ink), .2); }
.contact-row > span { font-size: .875rem; color: rgb(var(--sky-muted)); }
.contact-row strong { font-weight: 500; font-size: clamp(.95rem, 1.3vw, 1.15rem); overflow-wrap: anywhere; }
.contact-row b { font-weight: 400; }
.copy-contact { color: inherit; border: 1px solid rgba(var(--sky-ink), .3); background: transparent; border-radius: 999px; padding: .3rem .7rem; font-size: .875rem; cursor: pointer; transition: background .2s ease; }
.copy-contact:hover { background: rgba(255,255,255,.15); }
.copy-status { min-height: 1.6rem; font-size: .875rem; color: rgb(var(--sky-muted)); }
.qr-links { display: flex; align-items: start; gap: 1.3rem; }
.qr-links a { flex: 1; min-width: 0; position: relative; }
.qr-links img { width: 100%; height: auto; display: block; border-radius: 4px; transform-origin: bottom right; transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease; }
.qr-links a:first-child img { transform-origin: bottom left; }
.qr-links a:focus-visible { z-index: 5; }
.qr-links a:focus-visible img { transform: scale(1.65); box-shadow: 0 1rem 3rem rgba(0,0,0,.3); }
@media (hover: hover) and (pointer: fine) {
  .qr-links a:hover { z-index: 5; }
  .qr-links a:hover img { transform: scale(1.65); box-shadow: 0 1rem 3rem rgba(0,0,0,.3); }
}
.experience-gallery { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 5rem); margin-top: 4rem; align-items: start; }
.experience-photo img { display: block; width: 100%; height: auto; border-radius: 3px; }
.experience-photo figcaption { margin-top: .8rem; font-size: .875rem; color: rgb(var(--sky-muted)); }
.badge-photo { margin-top: 4rem; }
.qr-links span { display: block; margin-top: .7rem; font-size: .875rem; color: rgb(var(--sky-muted)); }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
footer { font-size: .875rem; letter-spacing: .02em; }
@media (max-width: 760px) {
  .site-header nav a { font-size: .875rem; }
  .about-layout, .work-memory, .moment-grid, .current-note, .contact-grid { grid-template-columns: 1fr; }
  .about-layout, .moment-grid { gap: 3rem; margin-top: 3rem; }
  .portrait-memory { max-width: 26rem; width: 85%; justify-self: center; }
  .work-memory { margin-top: 4rem; gap: 2rem; }
  .experience-gallery { grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
  .badge-photo { margin-top: 0; width: 85%; margin-left: auto; }
  .qr-links a:focus-visible img { transform: none; }
  .work-memory figure { width: 80%; max-width: 22rem; }
  .stage-card { margin-top: 1rem; }
  .stage-card figure { width: 85%; margin-left: auto; }
  .current-note { gap: 2rem; padding-top: 2rem; margin-top: 3rem; }
  .life-contact { padding-top: 6rem; }
  .contact-grid { gap: 1.5rem; }
  .qr-links { max-width: 24rem; }
  .contact-row { grid-template-columns: 3.5rem 1fr auto; gap: .5rem; }
  .life-hero h1 span { line-height: 1; }
  .site-header nav { backdrop-filter: blur(10px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
