:root {
  --ink: #09090b;
  --ink-soft: #3f3f46;
  --paper: #f7f4ed;
  --paper-2: #fffaf0;
  --night: #050506;
  --night-2: #111113;
  --line: rgba(9, 9, 11, 0.16);
  --line-dark: rgba(255, 255, 255, 0.18);
  --accent: #d83b2d;
  --focus: #2563eb;
  --max: 1160px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--paper-2);
  color: var(--ink);
  padding: 10px 14px;
  border: 1px solid var(--line);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 48px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(5, 5, 6, 0.76), rgba(5, 5, 6, 0));
}

.about-header {
  color: var(--ink);
  background: linear-gradient(to bottom, rgba(247, 244, 237, 0.92), rgba(247, 244, 237, 0));
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 900;
  min-height: 44px;
}

.brand-mark {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 28px rgba(216, 59, 45, 0.9);
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: currentColor;
  opacity: 0.84;
  font-size: 14px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-cta {
  border: 1px solid currentColor;
}

.section-dark,
.section-light {
  position: relative;
  overflow: hidden;
}

.section-dark {
  background: var(--night);
  color: #fff;
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px clamp(20px, 6vw, 80px) 80px;
}

.hero::after,
.manifesto::after,
.answers::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1040px;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(12px, 1.8vw, 14px);
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 28px;
  font-size: clamp(44px, 8.8vw, 112px);
  line-height: 0.96;
  font-weight: 900;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 900;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.25;
}

p {
  color: inherit;
  line-height: 1.8;
  font-size: clamp(16px, 1.5vw, 19px);
}

.hero-copy {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.2vw, 25px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: #f04b3b;
}

.button-ghost {
  border-color: currentColor;
  color: currentColor;
}

.network-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.net-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.32);
  stroke-width: 0.14;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drawNetLine 1.1s ease-out var(--ld, 0s) both;
}

.net-halo {
  fill: rgba(255, 255, 255, 0.055);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: netHaloAppear 0.8s ease-out var(--nd, 0s) forwards;
}

.net-node {
  fill: #fff;
  filter: drop-shadow(0 0 1.8px rgba(255, 255, 255, 0.9));
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation:
    netNodeAppear 0.55s ease-out var(--nd, 0s) forwards,
    netNodePulse 4s ease-in-out calc(var(--nd, 0s) + 0.55s) infinite;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.scroll-cue span {
  display: block;
  width: 100%;
  height: 22px;
  background: #fff;
  animation: scrollCue 1.8s ease-in-out infinite;
}

.section-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(92px, 12vw, 160px) 0;
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 96px);
}

.section-kicker {
  position: sticky;
  top: 110px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
}

.section-dark .section-kicker {
  color: var(--accent-2);
}

.section-kicker span {
  color: currentColor;
  opacity: 0.62;
}

.profile-panel,
.resume-content {
  max-width: 920px;
}

.lead {
  max-width: 800px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 23px);
}

.section-dark .lead,
.section-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 38px;
}

.tag-row span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  padding: 8px 12px;
  color: var(--ink-soft);
  font-weight: 700;
}

.highlight-grid,
.resume-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.highlight-grid article,
.resume-columns article {
  background: var(--paper);
  padding: 28px;
}

.highlight-grid span,
.timeline span {
  display: inline-block;
  margin-bottom: 18px;
  font-family: "Archivo", sans-serif;
  color: var(--accent);
  font-weight: 700;
}

.highlight-grid p,
.resume-columns p,
.lesson-list p,
.timeline p,
.answer-stack p,
.about-copy p {
  color: var(--ink-soft);
}

.statement-stack {
  max-width: 900px;
}

.statement-stack h2 {
  max-width: 880px;
}

.lesson-list {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.lesson-list article {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.contrast-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 44px);
  margin-top: 34px;
}

.contrast-block p {
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.timeline {
  position: relative;
  display: grid;
  gap: 28px;
  margin-top: 42px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: var(--line);
}

.timeline article {
  position: relative;
  padding-left: 34px;
}

.timeline article::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 10px;
  width: 11px;
  height: 11px;
  background: var(--accent);
  border-radius: 50%;
}

.answer-stack {
  display: grid;
  gap: 1px;
  margin-top: 34px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.answer-stack article {
  background: var(--night);
  padding: clamp(24px, 4vw, 42px);
}

.answers-feature {
  background:
    linear-gradient(135deg, rgba(216, 59, 45, 0.08), transparent 36%),
    linear-gradient(180deg, var(--paper-2), var(--paper));
}

.answers-feature h2 {
  color: var(--ink);
}

.answers-feature .answer-stack {
  background: rgba(9, 9, 11, 0.14);
  border-color: rgba(9, 9, 11, 0.18);
  box-shadow: 0 24px 80px rgba(9, 9, 11, 0.08);
}

.answers-feature .answer-stack article {
  background:
    linear-gradient(90deg, rgba(216, 59, 45, 0.08), transparent 34%),
    rgba(255, 250, 240, 0.9);
}

.answers-feature .answer-stack h3 {
  color: var(--ink);
}

.answers-feature .answer-stack p {
  color: var(--ink-soft);
}

.final-cta,
.about-closing {
  min-height: 72svh;
  display: grid;
  place-items: center;
  padding: 96px 20px;
}

.cta-inner {
  width: min(920px, 100%);
}

.cta-inner p {
  max-width: 760px;
}

.about-body {
  background: var(--paper-2);
}

.about-hero {
  min-height: 82svh;
  display: grid;
  align-items: end;
  padding: 130px clamp(20px, 6vw, 80px) 80px;
  background:
    linear-gradient(135deg, rgba(216, 59, 45, 0.12), transparent 34%),
    var(--paper-2);
}

.about-intro {
  width: min(980px, 100%);
}

.about-intro h1 {
  color: var(--ink);
  font-size: clamp(42px, 6.8vw, 86px);
}

.about-intro p {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 23px);
}

.about-section {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.about-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 0;
  display: grid;
  grid-template-columns: 180px minmax(0, 820px);
  gap: clamp(24px, 6vw, 90px);
}

.about-label {
  font-family: "Archivo", sans-serif;
  color: var(--accent);
  font-weight: 700;
}

.about-copy h2 {
  font-size: clamp(30px, 4vw, 58px);
}

/* Personal Atlas About Page */
.about-atlas {
  --atlas-ink: #11110f;
  --atlas-night: #141310;
  --atlas-night-2: #211f1a;
  --atlas-paper: #f6f0e4;
  --atlas-paper-2: #e6d8bf;
  --atlas-rust: #c24a32;
  --atlas-blue: #315f7c;
  --atlas-moss: #778266;
  --atlas-line: rgba(246, 240, 228, 0.18);
  --atlas-line-dark: rgba(17, 17, 15, 0.18);
  background: var(--atlas-night);
  color: var(--atlas-paper);
}

.about-atlas .about-header {
  color: var(--atlas-paper);
  background: linear-gradient(to bottom, rgba(20, 19, 16, 0.88), rgba(20, 19, 16, 0));
}

.about-atlas .nav-links a {
  color: var(--atlas-paper);
}

.atlas-main {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(246, 240, 228, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(246, 240, 228, 0.035) 1px, transparent 1px),
    var(--atlas-night);
  background-size: 88px 88px;
}

.atlas-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.62fr);
  align-items: end;
  gap: 3.5rem;
  padding: 9.5rem clamp(1.5rem, 6%, 5rem) 3.5rem;
  isolation: isolate;
}

.atlas-contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.74;
  color: rgba(246, 240, 228, 0.24);
}

.atlas-contours path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.atlas-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(194, 74, 50, 0.34), transparent 28%),
    linear-gradient(25deg, transparent 48%, rgba(119, 130, 102, 0.28) 82%),
    linear-gradient(180deg, #15130f 0%, #11110f 64%, #201e19 100%);
}

.atlas-hero-copy {
  max-width: 62rem;
  padding-bottom: 2rem;
}

.atlas-kicker {
  margin: 0 0 1rem;
  font-family: "Archivo", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--atlas-rust);
  letter-spacing: 0;
}

.atlas-hero h1 {
  margin: 0;
  font-family: "Archivo", "Noto Sans TC", sans-serif;
  font-size: 5rem;
  line-height: 1.06;
  color: var(--atlas-paper);
}

.atlas-title-line {
  display: block;
  white-space: nowrap;
}

.atlas-hero-copy p:not(.atlas-kicker) {
  max-width: 47rem;
  margin: 1.8rem 0 0;
  color: rgba(246, 240, 228, 0.82);
  font-size: 1.24rem;
  line-height: 1.78;
}

.atlas-hero-copy p:not(.atlas-kicker) + p {
  margin-top: 0.9rem;
}

.atlas-portrait {
  position: relative;
  margin: 0;
  align-self: center;
  width: min(100%, 26rem);
  justify-self: end;
  transform: rotate(2deg);
}

.atlas-portrait::before {
  content: "ROUTE / MATERIAL / RELATION";
  position: absolute;
  left: -2rem;
  top: 1.7rem;
  z-index: 2;
  padding: 0.55rem 0.7rem;
  background: var(--atlas-rust);
  color: var(--atlas-paper);
  font-family: "Archivo", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
}

.atlas-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5.4;
  object-fit: cover;
  border: 1px solid rgba(246, 240, 228, 0.32);
  filter: saturate(0.92) contrast(1.08);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.34);
}

.atlas-portrait figcaption {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.8rem;
  color: rgba(246, 240, 228, 0.74);
  font-size: 0.92rem;
  line-height: 1.45;
}

.atlas-portrait figcaption span {
  color: var(--atlas-paper);
  font-family: "Archivo", sans-serif;
  font-weight: 900;
}

.atlas-legend {
  position: absolute;
  left: clamp(1.5rem, 6%, 5rem);
  right: clamp(1.5rem, 6%, 5rem);
  bottom: 1.2rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--atlas-line);
  border-left: 1px solid var(--atlas-line);
}

.atlas-legend span {
  min-height: 3rem;
  display: flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-right: 1px solid var(--atlas-line);
  color: rgba(246, 240, 228, 0.76);
  font-family: "Archivo", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.atlas-section {
  position: relative;
  padding: 8rem clamp(1.5rem, 6%, 5rem);
}

.atlas-section-heading {
  display: grid;
  grid-template-columns: minmax(11rem, 0.34fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: end;
  max-width: 72rem;
  margin: 0 auto 3.5rem;
}

.atlas-section h2,
.studio-intro h2,
.manifesto-lead h2,
.ground-frame h2,
.atlas-closing h2 {
  margin: 0;
  font-family: "Archivo", "Noto Sans TC", sans-serif;
  font-size: 4.5rem;
  line-height: 1;
}

.atlas-body {
  background: var(--atlas-paper);
  color: var(--atlas-ink);
}

.atlas-body .atlas-kicker,
.atlas-studio .atlas-kicker,
.atlas-ground .atlas-kicker {
  color: var(--atlas-rust);
}

.body-photo-field {
  position: relative;
  max-width: 72rem;
  min-height: 34rem;
  margin: 0 auto;
  padding: 1.4rem;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--atlas-line-dark);
  background:
    linear-gradient(180deg, rgba(246, 240, 228, 0.9), rgba(246, 240, 228, 1)),
    repeating-linear-gradient(135deg, rgba(17, 17, 15, 0.04) 0 1px, transparent 1px 13px);
}

.body-photo-field::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 53%;
  z-index: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--atlas-rust), var(--atlas-blue), var(--atlas-moss));
  opacity: 0.58;
  transform: rotate(-2.5deg);
  transform-origin: left;
}

.body-marquee {
  position: absolute;
  inset: 1.25rem -5rem auto;
  z-index: 0;
  height: 11.5rem;
  overflow: hidden;
  opacity: 0.22;
  transform: rotate(-2deg);
  pointer-events: none;
}

.body-marquee::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--atlas-paper) 0%, transparent 18%, transparent 82%, var(--atlas-paper) 100%),
    linear-gradient(180deg, rgba(246, 240, 228, 0.1), rgba(246, 240, 228, 0.74));
}

.body-marquee-track {
  display: flex;
  width: max-content;
  gap: 0.8rem;
  animation: bodyPhotoDrift 54s ease-in-out infinite alternate;
  will-change: transform;
}

.body-marquee img {
  width: 18rem;
  height: 10.5rem;
  object-fit: cover;
  filter: saturate(0.8) contrast(0.92);
}

.body-marquee img:nth-child(2n) {
  width: 13.5rem;
}

.body-map {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  align-items: start;
  margin-top: 6.5rem;
  background: var(--atlas-line-dark);
}

.body-map article {
  position: relative;
  min-height: 30rem;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(246, 240, 228, 0.88), rgba(246, 240, 228, 0.98)),
    rgba(246, 240, 228, 0.92);
  box-shadow: 0 1.2rem 2.4rem rgba(17, 17, 15, 0.08);
}

.body-map article:nth-child(2) {
  margin-top: 2.6rem;
}

.body-map article:nth-child(3) {
  margin-top: 1.2rem;
}

.body-card-photo {
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--atlas-night);
}

.body-map article:nth-child(2) .body-card-photo {
  aspect-ratio: 1 / 1.05;
}

.body-card-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(0.88) contrast(0.95);
  transition: transform 700ms ease, filter 700ms ease;
}

.body-map article:hover .body-card-photo img {
  transform: scale(1.08);
  filter: saturate(0.98) contrast(1);
}

.body-card-copy {
  padding: 1.35rem 0.35rem 0.4rem;
}

.body-map span,
.studio-piece span,
.ground-values span {
  font-family: "Archivo", sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--atlas-rust);
}

.body-map h3,
.studio-piece h3 {
  margin: 0.9rem 0 1rem;
  font-size: 1.72rem;
  line-height: 1.25;
}

.body-map p,
.studio-intro p,
.studio-piece p,
.ground-frame p,
.atlas-closing h2 {
  line-height: 1.75;
}

.body-map p {
  margin: 0;
  color: rgba(17, 17, 15, 0.72);
}

@keyframes bodyPhotoDrift {
  from {
    transform: translate3d(-1.5rem, 0, 0);
  }

  to {
    transform: translate3d(-24rem, 0, 0);
  }
}

.atlas-studio {
  background:
    linear-gradient(180deg, #15130f 0%, #201e19 100%);
  color: var(--atlas-paper);
}

.studio-intro {
  max-width: 68rem;
  margin-bottom: 3rem;
}

.studio-intro p {
  max-width: 44rem;
  color: rgba(246, 240, 228, 0.74);
  font-size: 1.08rem;
}

.studio-wall {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1fr;
  grid-auto-rows: minmax(14rem, auto);
  gap: 1px;
  background: rgba(246, 240, 228, 0.2);
  border: 1px solid rgba(246, 240, 228, 0.2);
}

.studio-piece {
  position: relative;
  overflow: hidden;
  min-height: 18rem;
  padding: 1rem;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1rem;
  background: var(--atlas-night-2);
}

.studio-piece::before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 4;
  border: 1px solid rgba(246, 240, 228, 0.18);
  pointer-events: none;
}

.studio-piece::after {
  content: "";
  position: absolute;
  inset: auto -16% -28% 42%;
  z-index: 2;
  height: 55%;
  background: repeating-linear-gradient(90deg, rgba(246, 240, 228, 0.16) 0 1px, transparent 1px 18px);
  opacity: 0.42;
  transform: rotate(-18deg);
  pointer-events: none;
}

.studio-piece-large {
  grid-row: span 2;
  min-height: 34rem;
  background:
    linear-gradient(145deg, rgba(194, 74, 50, 0.34), transparent 54%),
    var(--atlas-night-2);
}

.studio-piece-mark {
  background:
    linear-gradient(135deg, rgba(49, 95, 124, 0.44), transparent 62%),
    #151b1e;
}

.studio-piece-photo {
  background:
    linear-gradient(155deg, rgba(119, 130, 102, 0.42), transparent 58%),
    #1b1e18;
}

.studio-piece-signal {
  grid-column: span 2;
  background:
    linear-gradient(115deg, rgba(246, 240, 228, 0.1), transparent 34%),
    #231a15;
}

.studio-media {
  position: relative;
  z-index: 1;
  min-height: 9.5rem;
  overflow: hidden;
  border: 1px solid rgba(246, 240, 228, 0.16);
  background: #0f0f0d;
}

.studio-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 15, 0.04), rgba(17, 17, 15, 0.34)),
    linear-gradient(90deg, rgba(17, 17, 15, 0.2), transparent 35%, rgba(17, 17, 15, 0.18));
  pointer-events: none;
}

.studio-piece-large .studio-media {
  min-height: 21rem;
}

.studio-piece-signal .studio-media {
  min-height: 11.5rem;
}

.studio-direct-image,
.studio-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.95) brightness(0.78);
  transition: transform 700ms ease, filter 700ms ease;
}

.studio-piece:hover .studio-direct-image,
.studio-piece:hover .studio-media:not(.studio-marquee) img {
  transform: scale(1.045);
  filter: saturate(0.92) contrast(1) brightness(0.86);
}

.studio-marquee {
  display: flex;
  align-items: stretch;
}

.studio-marquee-track {
  display: flex;
  width: max-content;
  gap: 0.72rem;
  padding: 0.72rem;
  animation: studioWorkDrift 48s ease-in-out infinite alternate;
  will-change: transform;
}

.studio-marquee-wide .studio-marquee-track {
  animation-duration: 64s;
}

.studio-marquee img {
  width: 8.4rem;
  height: 100%;
  min-height: 8rem;
  object-fit: cover;
}

.studio-marquee-wide img {
  width: 12rem;
}

.studio-marquee-wide img:nth-child(3),
.studio-marquee-wide img:nth-child(10) {
  width: 4.8rem;
  object-position: top center;
}

.studio-image-stack {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(246, 240, 228, 0.16);
}

.studio-image-stack img:first-child {
  grid-row: span 2;
}

.studio-piece-copy {
  position: relative;
  z-index: 3;
  padding: 0.4rem 0.35rem 0.3rem;
}

.studio-piece h3,
.studio-piece p,
.studio-piece span {
  position: relative;
}

.studio-piece p {
  max-width: 28rem;
  margin: 0;
  color: rgba(246, 240, 228, 0.72);
}

@keyframes studioWorkDrift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-22rem, 0, 0);
  }
}

.atlas-mind {
  min-height: 82svh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.94) 0 38%, rgba(17, 17, 15, 0.2) 38%),
    var(--atlas-paper-2);
  color: var(--atlas-ink);
}

.manifesto-grid {
  width: min(100%, 72rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.manifesto-lead {
  color: var(--atlas-paper);
}

.manifesto-list {
  display: grid;
  gap: 1px;
  background: var(--atlas-line-dark);
  border: 1px solid var(--atlas-line-dark);
}

.manifesto-list p {
  margin: 0;
  padding: 2rem;
  background: rgba(246, 240, 228, 0.92);
  color: rgba(17, 17, 15, 0.78);
  font-size: 1.16rem;
  line-height: 1.85;
}

.atlas-ground {
  background: var(--atlas-paper);
  color: var(--atlas-ink);
}

.ground-frame {
  position: relative;
  width: min(100%, 65rem);
  margin: 0 auto;
  padding: 4rem;
  border: 1px solid var(--atlas-line-dark);
  border-top: 3px solid var(--atlas-rust);
  background:
    linear-gradient(90deg, rgba(119, 130, 102, 0.16), transparent 46%),
    #fbf5e9;
}

.ground-frame p {
  max-width: 46rem;
  color: rgba(17, 17, 15, 0.74);
  font-size: 1.12rem;
}

.ground-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.ground-values span {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 0.9rem;
  border: 1px solid var(--atlas-line-dark);
  color: var(--atlas-ink);
}

.atlas-closing {
  padding: 8rem clamp(1.5rem, 6%, 5rem);
  background:
    linear-gradient(120deg, rgba(49, 95, 124, 0.34), transparent 48%),
    var(--atlas-night);
  color: var(--atlas-paper);
}

.atlas-closing-inner {
  width: min(100%, 58rem);
}

.atlas-button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding: 0.8rem 1.15rem;
  background: var(--atlas-rust);
  color: var(--atlas-paper);
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.atlas-button:hover {
  background: #a83f2d;
  transform: translateY(-1px);
}

@media (max-width: 1280px) {
  .atlas-hero {
    padding-top: 7.5rem;
  }

  .atlas-hero h1 {
    font-size: 4.5rem;
  }

  .atlas-section h2,
  .studio-intro h2,
  .manifesto-lead h2,
  .ground-frame h2,
  .atlas-closing h2 {
    font-size: 3.7rem;
  }
}

@media (max-width: 860px) {
  .atlas-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 7.5rem 1.25rem 5.5rem;
  }

  .atlas-hero h1 {
    font-size: 3rem;
  }

  .atlas-hero-copy p:not(.atlas-kicker) {
    font-size: 1.06rem;
  }

  .atlas-portrait {
    width: min(100%, 20rem);
    justify-self: start;
  }

  .atlas-legend {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
  }

  .atlas-section {
    padding: 5.5rem 1.25rem;
  }

  .atlas-section-heading,
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .atlas-section h2,
  .studio-intro h2,
  .manifesto-lead h2,
  .ground-frame h2,
  .atlas-closing h2 {
    font-size: 3rem;
  }

  .body-map,
  .studio-wall {
    grid-template-columns: 1fr;
  }

  .body-map {
    margin-top: 0;
  }

  .body-photo-field {
    min-height: auto;
    padding: 1rem;
  }

  .body-photo-field::after {
    display: none;
  }

  .body-marquee {
    position: relative;
    inset: auto;
    height: 7.25rem;
    margin: -0.2rem -1rem 1rem;
    transform: none;
    opacity: 0.2;
  }

  .body-map article,
  .body-map article:nth-child(2),
  .body-map article:nth-child(3) {
    min-height: auto;
    margin-top: 0;
    padding: 0.9rem;
  }

  .body-card-photo,
  .body-map article:nth-child(2) .body-card-photo {
    aspect-ratio: 16 / 10;
  }

  .body-card-copy {
    padding: 1.15rem 0.2rem 0.35rem;
  }

  .studio-piece-large,
  .studio-piece-signal {
    grid-column: auto;
    grid-row: auto;
    min-height: 20rem;
  }

  .studio-piece {
    gap: 0.85rem;
  }

  .studio-media,
  .studio-piece-large .studio-media,
  .studio-piece-signal .studio-media {
    min-height: 12.5rem;
  }

  .studio-marquee {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .studio-marquee::-webkit-scrollbar {
    display: none;
  }

  .studio-marquee-track {
    animation-duration: 58s;
  }

  .studio-marquee img {
    width: 9.5rem;
  }

  .studio-marquee-wide img {
    width: 11rem;
  }

  .atlas-mind {
    background:
      linear-gradient(180deg, rgba(17, 17, 15, 0.96) 0 31%, transparent 31%),
      var(--atlas-paper-2);
  }

  .ground-frame {
    padding: 2rem;
  }
}

@media (max-width: 560px) {
  .about-atlas .site-header {
    position: absolute;
  }

  .about-atlas .nav-links a {
    display: inline-flex;
  }

  .about-atlas .nav-links a:first-child {
    display: none;
  }

  .atlas-hero h1 {
    font-size: 1.95rem;
    line-height: 1.12;
  }

  .atlas-portrait::before {
    left: 0.8rem;
    top: 0.8rem;
  }

  .atlas-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atlas-section h2,
  .studio-intro h2,
  .manifesto-lead h2,
  .ground-frame h2,
  .atlas-closing h2 {
    font-size: 2.35rem;
  }

  .body-map h3,
  .studio-piece h3 {
    font-size: 1.35rem;
  }

  .manifesto-list p,
  .ground-frame p {
    font-size: 1rem;
  }
}

.resume-page,
.home-resume {
  --resume-bg: #101012;
  --resume-panel: #17171b;
  --resume-panel-2: #202028;
  --resume-text: #f5f0e8;
  --resume-muted: #aaa6a0;
  --resume-soft: #d2cbc1;
  --resume-line: rgba(245, 240, 232, 0.16);
  --resume-purple: #b7a0ff;
  --resume-purple-strong: #c9b9ff;
  background:
    radial-gradient(circle at 74% 18%, rgba(183, 160, 255, 0.14), transparent 30%),
    linear-gradient(135deg, #111113 0%, #0c0c0e 54%, #1b1a22 100%);
  color: var(--resume-text);
}

.home-resume {
  min-height: 100svh;
  overflow: visible;
  padding: clamp(92px, 10vw, 132px) clamp(20px, 6vw, 70px) clamp(64px, 8vw, 104px);
}

.resume-page .skip-link {
  background: var(--resume-text);
  color: var(--night);
  border-color: var(--resume-line);
}

.resume-header {
  color: var(--resume-text);
  background: linear-gradient(to bottom, rgba(16, 16, 18, 0.9), rgba(16, 16, 18, 0));
}

.resume-main {
  min-height: 100svh;
  padding: clamp(92px, 10vw, 132px) clamp(20px, 6vw, 70px) clamp(64px, 8vw, 104px);
}

.resume-layout {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: start;
}

.resume-profile {
  position: sticky;
  top: 112px;
  align-self: start;
  min-height: calc(100svh - 160px);
  display: flex;
  flex-direction: column;
}

.profile-photo {
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(245, 240, 232, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(183, 160, 255, 0.22), rgba(216, 59, 45, 0.18)),
    var(--resume-panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.profile-photo span {
  font-family: "Archivo", sans-serif;
  color: var(--resume-text);
  font-size: 28px;
  font-weight: 700;
}

.resume-kicker {
  margin: 0 0 10px;
  font-family: "Archivo", sans-serif;
  color: var(--resume-purple-strong);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.resume-profile h1,
.resume-profile .resume-name {
  margin-bottom: 18px;
  color: var(--resume-text);
  font-size: clamp(64px, 8vw, 122px);
  line-height: 0.88;
  letter-spacing: 0;
}

.resume-profile h1 small,
.resume-profile .resume-name small {
  display: block;
  margin-top: 8px;
  font-family: "Archivo", "Noto Sans TC", sans-serif;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 8px;
  margin: 4px 0 28px;
}

.profile-facts div,
.profile-tags span {
  border: 1px solid rgba(245, 240, 232, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.profile-facts div {
  min-width: 108px;
  padding: 9px 12px 11px;
}

.profile-facts div:nth-child(3) {
  grid-column: 1 / -1;
  width: max-content;
}

.profile-facts span {
  display: block;
  margin-bottom: 3px;
  color: var(--resume-purple-strong);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.profile-facts strong {
  display: block;
  color: var(--resume-soft);
  font-size: 17px;
  line-height: 1.25;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.profile-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  color: var(--resume-soft);
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.profile-summary {
  max-width: 560px;
  padding-top: 14px;
  border-top: 1px solid var(--resume-purple);
}

.profile-summary h2,
.profile-summary h3 {
  margin-bottom: 8px;
  color: var(--resume-text);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.25;
}

.profile-summary p {
  color: var(--resume-muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.85;
}

.profile-summary .profile-role {
  margin-bottom: 34px;
  color: rgba(245, 240, 232, 0.58);
  font-family: "Archivo", "Noto Sans TC", sans-serif;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.4;
}

.experience-panel {
  position: relative;
  padding-top: 2px;
}

.experience-panel > .resume-kicker {
  margin-bottom: 18px;
}

.experience-timeline {
  position: relative;
  padding-left: 34px;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--resume-purple), rgba(245, 240, 232, 0.12));
}

.experience-item {
  position: relative;
  padding-bottom: clamp(54px, 7vw, 92px);
}

.experience-item:last-child {
  padding-bottom: 20px;
}

.experience-dot {
  position: absolute;
  left: -34px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--resume-purple);
  box-shadow: 0 0 0 7px rgba(183, 160, 255, 0.08);
}

.experience-item h2,
.experience-item h3 {
  margin-bottom: 10px;
  color: var(--resume-text);
  font-size: clamp(46px, 5.6vw, 88px);
  line-height: 1.02;
}

.experience-item h3 + h4,
.experience-item h4 {
  margin-bottom: 10px;
  color: var(--resume-soft);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
}

.experience-meta,
.experience-date {
  color: var(--resume-muted);
  font-weight: 900;
}

.experience-meta {
  margin-bottom: 10px;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
}

.experience-date {
  margin-bottom: 30px;
  font-size: clamp(18px, 1.8vw, 24px);
}

.experience-item header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--resume-line);
}

.experience-item ul {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.experience-item li {
  position: relative;
  padding-left: 24px;
  color: var(--resume-soft);
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 700;
  line-height: 1.8;
}

.experience-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.86em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--resume-purple);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drawNetLine {
  from { stroke-dashoffset: 1; opacity: 0; }
  to   { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes netHaloAppear {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes netNodeAppear {
  0%   { opacity: 0; transform: scale(0); }
  65%  { opacity: 1; transform: scale(1.9); }
  100% { opacity: 0.8; transform: scale(1); }
}

@keyframes netNodePulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.8); }
}

@keyframes scrollCue {
  0% {
    transform: translateY(-24px);
  }
  100% {
    transform: translateY(60px);
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    gap: 4px;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 13px;
    padding: 0 8px;
  }

  .section-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .section-kicker {
    position: static;
  }

  .highlight-grid,
  .resume-columns,
  .contrast-block {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(38px, 11vw, 60px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 54px);
  }

  .resume-main {
    padding-top: 108px;
  }

  .resume-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .resume-profile {
    position: static;
    min-height: auto;
  }

  .resume-profile h1,
  .resume-profile .resume-name {
    font-size: clamp(58px, 18vw, 96px);
  }

  .resume-profile h1 small,
  .resume-profile .resume-name small {
    font-size: clamp(32px, 10vw, 54px);
  }

  .profile-summary {
    max-width: 100%;
  }

  .experience-item h2,
  .experience-item h3 {
    font-size: clamp(42px, 14vw, 72px);
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
    padding: 16px;
  }

  .brand {
    font-size: 14px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero,
  .about-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .button {
    width: 100%;
  }

  .highlight-grid article,
  .resume-columns article,
  .answer-stack article {
    padding: 22px;
  }

  .resume-header {
    position: fixed;
  }

  .resume-main {
    padding: 98px 18px 56px;
  }

  .resume-layout {
    gap: 44px;
  }

  .profile-photo {
    width: 118px;
  }

  .profile-facts {
    grid-template-columns: 1fr;
  }

  .profile-facts div,
  .profile-facts div:nth-child(3) {
    width: 100%;
  }

  .profile-summary {
    padding-left: 14px;
  }

  .experience-timeline {
    padding-left: 24px;
  }

  .experience-timeline::before {
    left: 3px;
  }

  .experience-dot {
    left: -25px;
  }

  .experience-item li {
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .body-marquee-track {
    animation: none !important;
    transform: none !important;
  }

  .body-card-photo img,
  .body-map article:hover .body-card-photo img {
    transform: none !important;
  }

  .studio-marquee-track {
    animation: none !important;
    transform: none !important;
  }

  .studio-direct-image,
  .studio-media img,
  .studio-piece:hover .studio-direct-image,
  .studio-piece:hover .studio-media:not(.studio-marquee) img {
    transform: none !important;
  }

  .net-line {
    animation: none;
    stroke-dashoffset: 0;
  }

  .net-node {
    animation: none;
    opacity: 0.75;
    transform: none;
  }

  .net-halo {
    animation: none;
    opacity: 1;
  }

  .js .step-stack article,
  .js .timeline-cards article,
  .js .three-points article,
  .js .community-case-grid article,
  .js .insight-list article,
  .js .compact-experience article,
  .js .north-star,
  .js .role-question,
  .js .metric-block {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 16:9 deck redesign */
html {
  scroll-snap-type: y mandatory;
}

.snap-page {
  background: #0b0b0d;
  color: #f6f1e8;
  font-family: "Noto Sans TC", "Archivo", system-ui, sans-serif;
}

.snap-page .deck-header {
  padding: 14px 32px;
  background: linear-gradient(to bottom, rgba(8, 8, 10, 0.88), rgba(8, 8, 10, 0));
}

.snap-page .brand {
  color: #f6f1e8;
  font-size: 16px;
}

.snap-page .nav-links a {
  font-size: 14px;
  font-weight: 700;
}

.snap-deck {
  isolation: isolate;
}

.snap-section {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.deck-dark {
  background:
    radial-gradient(circle at 82% 18%, rgba(183, 160, 255, 0.11), transparent 28%),
    linear-gradient(135deg, #09090b 0%, #101014 48%, #191821 100%);
  color: #f6f1e8;
}

.deck-light {
  background:
    linear-gradient(135deg, rgba(216, 59, 45, 0.055), transparent 36%),
    #f7f4ed;
  color: #0d0d10;
}

.snap-page .slide-frame {
  width: min(100vw, calc(100svh * 16 / 9));
  aspect-ratio: 16 / 9;
  max-height: 100svh;
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  padding: 7rem;
}

.snap-page .two-column {
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 5rem;
  align-items: center;
}

.slide-index,
.slide-kicker {
  font-family: "Archivo", sans-serif;
  color: #d83b2d;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.deck-dark .slide-index,
.deck-dark .slide-kicker {
  color: #c9b9ff;
}

.slide-index {
  align-self: start;
  padding-top: 0.4rem;
}

.slide-index span {
  display: block;
  margin-bottom: 0.55rem;
  opacity: 0.76;
}

.snap-page h1,
.snap-page h2,
.snap-page h3,
.snap-page h4,
.snap-page p {
  margin-top: 0;
  letter-spacing: 0;
}

.snap-page h1 {
  max-width: 66rem;
  margin-bottom: 2rem;
  color: #fffaf2;
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 1.02;
}

.snap-page h2 {
  max-width: 54rem;
  margin-bottom: 1.5rem;
  color: currentColor;
  font-size: 3.35rem;
  font-weight: 900;
  line-height: 1.12;
}

.snap-page h3 {
  margin-bottom: 0.55rem;
  color: currentColor;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.35;
}

.snap-page h4 {
  margin-bottom: 0.45rem;
  color: rgba(246, 241, 232, 0.82);
  font-size: 1.05rem;
  line-height: 1.35;
}

.snap-page p {
  max-width: 56rem;
  color: rgba(13, 13, 16, 0.72);
  font-size: 1rem;
  line-height: 1.85;
}

.deck-dark p {
  color: rgba(246, 241, 232, 0.72);
}

.hero-slide .slide-frame {
  justify-content: start;
}

.hero-slide .slide-kicker {
  margin-bottom: 2rem;
}

.hero-slide .hero-copy {
  max-width: 58rem;
  color: rgba(246, 241, 232, 0.72);
  font-size: 1.25rem;
  line-height: 1.8;
}

.profile-grid {
  grid-template-columns: 0.92fr 1.08fr;
  gap: 4rem;
  align-content: start;
  align-items: start;
  padding-top: 5.1rem;
}

.profile-card {
  min-width: 0;
  align-self: start;
}

.profile-heading {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) clamp(8.5rem, 10vw, 10.5rem);
  gap: clamp(1rem, 2vw, 1.45rem);
  align-items: start;
  margin-bottom: 1.35rem;
}

.profile-title-block {
  min-width: 0;
  padding-top: 0.45rem;
}

.snap-page .profile-photo {
  width: 100%;
  max-width: 10.5rem;
  aspect-ratio: auto;
  justify-self: end;
  margin: 0;
  border-radius: 8px;
}

.snap-page .profile-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.profile-card .resume-kicker {
  margin-bottom: 0.9rem;
  color: #c9b9ff;
  font-size: 0.82rem;
}

.profile-card .resume-name {
  margin-bottom: 0;
  color: #fffaf2;
  font-size: 4.4rem;
  line-height: 0.92;
}

.profile-card .resume-name small {
  display: block;
  margin-top: 0.45rem;
  font-family: "Archivo", "Noto Sans TC", sans-serif;
  font-size: 2.25rem;
  line-height: 1;
  white-space: nowrap;
}

.snap-page .profile-facts {
  grid-template-columns: repeat(3, minmax(0, max-content));
  margin: 0 0 1.4rem;
}

.snap-page .profile-facts div {
  min-width: 7.1rem;
  padding: 0.65rem 0.75rem;
}

.snap-page .profile-facts div:nth-child(3) {
  grid-column: auto;
  width: auto;
}

.snap-page .profile-facts span {
  font-size: 0.78rem;
}

.snap-page .profile-facts strong {
  font-size: 1rem;
}

.snap-page .profile-tags {
  margin-bottom: 1rem;
}

.snap-page .profile-tags span {
  min-height: 2.2rem;
  border-radius: 7px;
  font-size: 0.84rem;
}

.work-method {
  width: min(100%, 36.5rem);
  margin-bottom: 1.3rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(246, 241, 232, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.method-label {
  display: block;
  margin-bottom: 0.58rem;
  color: #c9b9ff;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
}

.work-method ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.38rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-method li {
  display: inline-flex;
  align-items: center;
  color: rgba(246, 241, 232, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.45;
  white-space: nowrap;
}

.work-method li:not(:last-child)::after {
  content: "→";
  margin: 0 0.55rem;
  color: #b7a0ff;
  font-family: "Archivo", sans-serif;
  font-weight: 900;
}

.snap-page .profile-note {
  max-width: 36.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: 4px;
  background: rgba(183, 160, 255, 0.08);
  color: rgba(246, 241, 232, 0.62);
  font-size: 0.88rem;
  line-height: 1.62;
}

.compact-experience {
  position: relative;
  display: grid;
  gap: 1.2rem;
  max-height: min(40rem, calc(100svh - 12rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-left: 2rem;
  padding-right: 0.8rem;
  border-left: 1px solid rgba(183, 160, 255, 0.55);
  scrollbar-color: rgba(183, 160, 255, 0.72) rgba(246, 241, 232, 0.08);
  scrollbar-width: thin;
}

.compact-experience:focus-visible {
  outline: 2px solid rgba(183, 160, 255, 0.85);
  outline-offset: 0.45rem;
}

.compact-experience::-webkit-scrollbar {
  width: 0.45rem;
}

.compact-experience::-webkit-scrollbar-track {
  background: rgba(246, 241, 232, 0.08);
  border-radius: 999px;
}

.compact-experience::-webkit-scrollbar-thumb {
  background: rgba(183, 160, 255, 0.72);
  border-radius: 999px;
}

.compact-experience article {
  position: relative;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(246, 241, 232, 0.14);
}

.compact-experience article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.compact-experience .experience-dot {
  left: -2.31rem;
  top: 0.45rem;
}

.compact-experience h3 {
  font-size: 2.55rem;
  line-height: 1.08;
}

.compact-experience h4 {
  font-size: 1.3rem;
}

.compact-experience p,
.compact-experience strong,
.compact-experience li {
  color: rgba(246, 241, 232, 0.72);
  font-size: 0.88rem;
  line-height: 1.58;
}

.compact-experience p {
  margin-bottom: 0.75rem;
}

.compact-experience p:last-child {
  margin-bottom: 0;
}

.compact-experience strong {
  display: block;
  margin: 0.3rem 0 0.62rem;
  color: #f6f1e8;
}

.compact-experience ul {
  display: grid;
  gap: 0.36rem;
  margin: 0;
  padding-left: 1.1rem;
}

.community-ops-slide {
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(245, 238, 226, 0.92)),
    #fffaf0;
}

.community-ops-frame {
  grid-template-columns: 8rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    "index copy"
    "index cases";
  align-content: center;
  align-items: start;
  gap: clamp(1.35rem, 2.2vw, 2rem) clamp(2.2rem, 4vw, 4.5rem);
  padding: clamp(5rem, 6vw, 6.25rem);
}

.community-ops-frame .slide-index {
  grid-area: index;
}

.community-ops-copy {
  grid-area: copy;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(18rem, 0.58fr);
  grid-template-areas:
    "kicker lead"
    "title lead";
  column-gap: clamp(2rem, 3.4vw, 4rem);
  align-items: end;
}

.community-ops-copy .slide-kicker {
  grid-area: kicker;
  margin-bottom: 0.75rem;
}

.community-ops-copy h2 {
  grid-area: title;
  max-width: 48rem;
  margin-bottom: 0;
  color: #09090b;
  font-size: clamp(2.25rem, 3.15vw, 3.45rem);
  line-height: 1.12;
}

.community-ops-copy p:not(.slide-kicker) {
  grid-area: lead;
  max-width: 28rem;
  margin-bottom: 0;
  color: rgba(9, 9, 11, 0.72);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.75;
}

.community-case-grid {
  grid-area: cases;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  border: 1px solid rgba(9, 9, 11, 0.16);
  background: rgba(9, 9, 11, 0.14);
}

.community-case-grid article {
  min-width: 0;
  min-height: 21rem;
  padding: clamp(1.2rem, 1.55vw, 1.5rem);
  background: rgba(255, 250, 240, 0.9);
}

.community-case-grid span {
  display: block;
  margin-bottom: 0.8rem;
  color: #d83b2d;
  font-family: "Archivo", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
}

.community-case-grid h3 {
  margin-bottom: 0.38rem;
  color: #09090b;
  font-size: clamp(1.65rem, 2vw, 2.35rem);
  line-height: 1.08;
}

.external-title-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  cursor: pointer;
  transition: color 180ms ease;
}

.external-title-link svg {
  width: 0.72em;
  height: 0.72em;
  flex: 0 0 auto;
  color: #d83b2d;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
  transform: translateY(0.02em);
  transition: transform 180ms ease;
}

.external-title-link:hover,
.external-title-link:focus-visible {
  color: #d83b2d;
}

.external-title-link:hover svg,
.external-title-link:focus-visible svg {
  transform: translate(0.08em, -0.08em);
}

.community-case-grid h4 {
  margin-bottom: 0.9rem;
  color: rgba(9, 9, 11, 0.74);
  font-size: clamp(0.94rem, 1vw, 1.04rem);
  line-height: 1.35;
}

.community-case-grid p {
  margin-bottom: 0.68rem;
  color: rgba(9, 9, 11, 0.68);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.66;
}

.community-case-grid p:last-child {
  margin-bottom: 0;
}

.insight-list {
  display: grid;
  border: 1px solid rgba(9, 9, 11, 0.2);
}

.motivation-slide {
  background:
    linear-gradient(135deg, rgba(216, 59, 45, 0.075), transparent 34%),
    linear-gradient(180deg, #fffaf0 0%, #f7f4ed 100%);
}

.motivation-copy {
  max-width: 57rem;
}

.motivation-copy .slide-kicker {
  margin-bottom: 1rem;
}

.motivation-copy h2 {
  max-width: 54rem;
  margin-bottom: 1rem;
}

.motivation-copy p {
  max-width: 54rem;
  margin-bottom: 0.9rem;
  line-height: 1.72;
}

.motivation-copy .north-star {
  max-width: 52rem;
  padding: 1rem 1.2rem;
  background: rgba(216, 59, 45, 0.11);
  color: rgba(13, 13, 16, 0.86);
  font-weight: 800;
  border-radius: 2px;
}

.role-question {
  max-width: 54rem;
  margin-top: 1.35rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid rgba(9, 9, 11, 0.18);
  background: rgba(255, 250, 240, 0.78);
}

.role-question span {
  display: block;
  margin-bottom: 0.65rem;
  color: #d83b2d;
  font-family: "Archivo", "Noto Sans TC", sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.role-question p {
  margin-bottom: 0;
  color: #0d0d10;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.62;
}

.observation-frame {
  grid-template-columns: 8.5rem minmax(0, 0.92fr) minmax(22rem, 0.88fr);
  gap: 3rem;
  align-items: center;
  padding: 5.2rem;
}

.observation-copy {
  min-width: 0;
}

.observation-copy h2 {
  max-width: 42rem;
  margin-bottom: 1.1rem;
  font-size: 2.45rem;
}

.observation-scroll {
  max-height: 23.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.9rem;
  scrollbar-color: rgba(183, 160, 255, 0.72) rgba(246, 241, 232, 0.08);
  scrollbar-width: thin;
}

.observation-scroll::-webkit-scrollbar {
  width: 0.42rem;
}

.observation-scroll::-webkit-scrollbar-track {
  background: rgba(246, 241, 232, 0.08);
  border-radius: 999px;
}

.observation-scroll::-webkit-scrollbar-thumb {
  background: rgba(183, 160, 255, 0.72);
  border-radius: 999px;
}

.observation-scroll p {
  margin-bottom: 0.82rem;
  color: rgba(246, 241, 232, 0.72);
  font-size: 0.95rem;
  line-height: 1.68;
}

.observation-scroll a {
  color: #c9b9ff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.community-shot {
  min-width: 0;
  max-height: min(36rem, calc(100svh - 10rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 0.7rem;
  border: 1px solid rgba(246, 241, 232, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  scrollbar-color: rgba(183, 160, 255, 0.72) rgba(246, 241, 232, 0.08);
  scrollbar-width: thin;
}

.community-shot::-webkit-scrollbar {
  width: 0.42rem;
}

.community-shot::-webkit-scrollbar-track {
  background: rgba(246, 241, 232, 0.08);
  border-radius: 999px;
}

.community-shot::-webkit-scrollbar-thumb {
  background: rgba(183, 160, 255, 0.72);
  border-radius: 999px;
}

.community-shot img {
  width: 100%;
  display: block;
  aspect-ratio: 1.57;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  background:
    linear-gradient(135deg, rgba(183, 160, 255, 0.2), rgba(216, 59, 45, 0.14)),
    #111827;
}

.community-shot img:nth-of-type(2) {
  margin-top: 0.7rem;
}

.community-shot figcaption {
  min-height: 22rem;
  display: grid;
  place-items: center;
  padding: 2rem;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(183, 160, 255, 0.2), rgba(216, 59, 45, 0.14)),
    #111827;
  color: rgba(246, 241, 232, 0.72);
  font-weight: 900;
  text-align: center;
}

.community-shot figcaption[hidden] {
  display: none;
}

.thinking-slide.deck-light {
  background:
    linear-gradient(135deg, rgba(216, 59, 45, 0.065), transparent 36%),
    linear-gradient(180deg, #fffaf0 0%, #f7f4ed 100%);
}

.thought-copy {
  max-width: 58rem;
}

.thought-copy h2 {
  max-width: 54rem;
}

.thought-copy p {
  max-width: 54rem;
}

.thought-scroll {
  max-height: min(31rem, calc(100svh - 14rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 1rem;
  scrollbar-color: rgba(216, 59, 45, 0.68) rgba(9, 9, 11, 0.08);
  scrollbar-width: thin;
}

.deck-dark .thought-scroll {
  scrollbar-color: rgba(183, 160, 255, 0.72) rgba(246, 241, 232, 0.08);
}

.thought-scroll::-webkit-scrollbar {
  width: 0.42rem;
}

.thought-scroll::-webkit-scrollbar-track {
  background: rgba(9, 9, 11, 0.08);
  border-radius: 999px;
}

.deck-dark .thought-scroll::-webkit-scrollbar-track {
  background: rgba(246, 241, 232, 0.08);
}

.thought-scroll::-webkit-scrollbar-thumb {
  background: rgba(216, 59, 45, 0.68);
  border-radius: 999px;
}

.deck-dark .thought-scroll::-webkit-scrollbar-thumb {
  background: rgba(183, 160, 255, 0.72);
}

.thought-scroll p {
  margin-bottom: 0.9rem;
  line-height: 1.78;
}

.thought-lead {
  padding: 1.05rem 1.35rem;
  background: rgba(216, 59, 45, 0.1);
  color: rgba(13, 13, 16, 0.88);
  font-weight: 900;
  border-radius: 2px;
}

.deck-dark .thought-lead {
  background: rgba(183, 160, 255, 0.1);
  color: rgba(246, 241, 232, 0.88);
}

.step-stack {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(246, 241, 232, 0.16);
  background: rgba(246, 241, 232, 0.14);
}

.step-stack article {
  padding: 1.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
}

.step-stack span {
  display: block;
  margin-bottom: 0.65rem;
  color: #c9b9ff;
  font-family: "Archivo", "Noto Sans TC", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.step-stack h3 {
  font-size: 1.35rem;
}

.step-stack p,
.step-stack li {
  color: rgba(246, 241, 232, 0.72);
  font-size: 0.88rem;
  line-height: 1.68;
}

.step-stack ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.85rem 0 0.85rem;
  padding-left: 1.1rem;
}

.metric-block {
  max-width: 54rem;
  padding: 2rem;
  border: 1px solid rgba(9, 9, 11, 0.16);
  background: rgba(255, 250, 240, 0.78);
}

.metric-block p {
  margin-bottom: 1rem;
  color: rgba(13, 13, 16, 0.76);
  font-size: 1.05rem;
  line-height: 1.82;
}

.metric-block p:first-child {
  color: #0d0d10;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.65;
}

.metric-block p:last-child {
  margin-bottom: 0;
}

.metric-block strong {
  color: #d83b2d;
}

.insight-list article {
  padding: 1.65rem 2rem;
  border-bottom: 1px solid rgba(9, 9, 11, 0.14);
}

.insight-list article:last-child {
  border-bottom: 0;
}

.insight-list p {
  margin-bottom: 0;
  font-size: 1rem;
}

.three-points,
.timeline-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(9, 9, 11, 0.18);
  background: rgba(9, 9, 11, 0.14);
}

.three-points article,
.timeline-cards article {
  min-height: 14rem;
  padding: 1.5rem;
  background: rgba(255, 250, 240, 0.82);
}

.three-points span,
.timeline-cards span {
  display: block;
  margin-bottom: 1rem;
  color: #d83b2d;
  font-family: "Archivo", sans-serif;
  font-weight: 900;
}

.three-points p,
.timeline-cards p {
  font-size: 1rem;
}

.dark-points {
  border-color: rgba(246, 241, 232, 0.18);
  background: rgba(246, 241, 232, 0.16);
}

.dark-points article {
  background: rgba(255, 255, 255, 0.04);
}

.quote-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.quote-pair p {
  min-height: 14rem;
  padding: 1.7rem;
  border-top: 2px solid #b7a0ff;
  background: rgba(255, 255, 255, 0.04);
}

.snap-page .hero-actions {
  margin-top: 2rem;
}

.snap-page .button {
  min-height: 2.85rem;
  padding: 0.75rem 1rem;
  border-radius: 0;
}

.snap-page .button-primary {
  background: #d83b2d;
}

.snap-page .button-ghost {
  border-color: rgba(246, 241, 232, 0.72);
}

@media (max-width: 1280px) {
  .snap-page .slide-frame {
    padding: 5rem;
  }

  .snap-page h1 {
    font-size: 3.85rem;
  }

  .snap-page h2 {
    font-size: 2.75rem;
  }

  .profile-card .resume-name {
    font-size: 3.5rem;
  }

  .profile-card .resume-name small {
    font-size: 2rem;
  }

  .compact-experience h3 {
    font-size: 2.05rem;
  }

  .community-ops-frame {
    grid-template-columns: 6rem minmax(0, 1fr);
    align-content: start;
    gap: 1.35rem 2rem;
    padding: 5.4rem 4.5rem 4rem;
  }

  .community-ops-copy {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "kicker"
      "title"
      "lead";
    row-gap: 0.8rem;
  }

  .community-ops-copy h2 {
    font-size: clamp(2.05rem, 3.2vw, 2.8rem);
  }

  .community-ops-copy p:not(.slide-kicker) {
    max-width: 44rem;
  }

  .community-case-grid article {
    min-height: 18rem;
  }

  .community-case-grid p {
    line-height: 1.62;
  }
}

@media (max-width: 860px) {
  html {
    scroll-snap-type: y proximity;
  }

  .snap-section {
    min-height: 100svh;
    padding: 0;
  }

  .snap-page .slide-frame {
    width: 100%;
    min-height: 100svh;
    max-height: none;
    aspect-ratio: auto;
    padding: 6rem 1.25rem 2.5rem;
  }

  .snap-page .two-column,
  .profile-grid,
  .observation-frame,
  .community-ops-frame,
  .quote-pair,
  .three-points,
  .timeline-cards {
    grid-template-columns: 1fr;
  }

  .snap-page h1 {
    font-size: 2.55rem;
  }

  .snap-page h2 {
    font-size: 2rem;
  }

  .slide-index {
    position: static;
  }

  .profile-card .resume-name {
    font-size: 3rem;
  }

  .profile-card .resume-name small {
    font-size: 1.7rem;
  }

  .profile-heading {
    grid-template-columns: minmax(0, 1fr) clamp(7.5rem, 36vw, 9.5rem);
    gap: 1rem;
  }

  .compact-experience {
    max-height: none;
    overflow: visible;
    padding-left: 1.35rem;
    padding-right: 0;
  }

  .community-ops-frame {
    width: min(100%, 24rem);
    grid-template-areas:
      "index"
      "copy"
      "cases";
    justify-self: start;
    gap: 1.35rem;
    padding-top: 6rem;
  }

  .community-ops-copy {
    max-width: 100%;
    width: min(100%, 21.5rem);
    min-width: 0;
  }

  .community-ops-copy h2 {
    max-width: 100%;
    font-size: 1.65rem;
    line-height: 1.22;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .community-ops-copy p:not(.slide-kicker) {
    max-width: 100%;
    line-height: 1.68;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .community-case-grid {
    width: min(100%, 21.5rem);
    grid-template-columns: 1fr;
  }

  .community-case-grid article {
    min-height: auto;
    padding: 1.2rem;
  }

  .community-case-grid h3 {
    font-size: 1.72rem;
    overflow-wrap: anywhere;
  }

  .community-case-grid p {
    overflow-wrap: anywhere;
  }

  .role-question {
    padding: 1rem;
  }


  .observation-frame {
    gap: 1.25rem;
  }

  .observation-copy h2 {
    font-size: 1.75rem;
  }

  .observation-scroll {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .community-shot {
    max-height: none;
    overflow: visible;
    padding: 0.45rem;
  }

  .thought-scroll {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .metric-block {
    padding: 1.2rem;
  }

  .metric-block p,
  .metric-block p:first-child {
    font-size: 1rem;
  }
}

/* ── 深淺翻轉後的配色修正 ── */

/* Motivation → dark：覆蓋 motivation-slide 的亮色自訂背景 */
.deck-dark.motivation-slide {
  background:
    radial-gradient(circle at 82% 18%, rgba(183, 160, 255, 0.11), transparent 28%),
    linear-gradient(135deg, #09090b 0%, #101014 48%, #191821 100%);
}

.deck-dark .north-star {
  background: rgba(216, 59, 45, 0.12);
  color: rgba(246, 241, 232, 0.88);
}

.deck-dark .role-question {
  border-color: rgba(246, 241, 232, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.deck-dark .role-question p {
  color: rgba(246, 241, 232, 0.92);
}

/* Observation → light：文字、連結、圖框改為亮色版 */
.deck-light .observation-scroll p {
  color: rgba(13, 13, 16, 0.72);
}

.deck-light .observation-scroll a {
  color: #d83b2d;
  text-decoration-color: rgba(216, 59, 45, 0.5);
}

.deck-light .community-shot {
  border-color: rgba(9, 9, 11, 0.14);
  background: rgba(9, 9, 11, 0.03);
}

/* Thinking 02 → light：step-stack 改為亮色版 */
.deck-light .step-stack {
  border-color: rgba(9, 9, 11, 0.16);
  background: rgba(9, 9, 11, 0.06);
}

.deck-light .step-stack article {
  background: rgba(255, 250, 240, 0.88);
}

.deck-light .step-stack span {
  color: #d83b2d;
}

.deck-light .step-stack h3 {
  color: #0d0d10;
}

.deck-light .step-stack p,
.deck-light .step-stack li {
  color: rgba(13, 13, 16, 0.72);
}

/* ── 呼吸感：輕量投影片的視覺加重 ── */

/* Slide 07 — Thinking 03「指標」：讓 h2 撐滿、metric-block 變主角 */
#thinking-metrics .thought-copy {
  max-width: 64rem;
}

#thinking-metrics .thought-copy h2 {
  font-size: clamp(2.8rem, 4.4vw, 4.4rem);
  max-width: 56rem;
  line-height: 1.08;
  margin-bottom: 2rem;
}

#thinking-metrics .metric-block {
  max-width: 56rem;
  padding: 2.4rem 2.8rem;
  border: 1px solid rgba(246, 241, 232, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

#thinking-metrics .metric-block p:first-child {
  font-size: clamp(1.1rem, 1.65vw, 1.3rem);
  font-weight: 900;
  line-height: 1.55;
  color: rgba(246, 241, 232, 0.92);
}

#thinking-metrics .metric-block p:last-child {
  font-size: 0.9rem;
  color: rgba(246, 241, 232, 0.56);
}

/* Slide 09 — Why Me：h2 撐成主視覺，段落降格為補充 */
#why .slide-copy h2 {
  max-width: 54rem;
  font-size: clamp(3rem, 5.2vw, 5.2rem);
  line-height: 1.04;
  margin-bottom: 2.2rem;
}

#why .slide-copy p {
  max-width: 50rem;
  color: rgba(246, 241, 232, 0.64);
  line-height: 1.82;
}

@media (max-width: 860px) {
  #thinking-metrics .thought-copy h2 {
    font-size: 1.85rem;
  }

  #thinking-metrics .metric-block {
    padding: 1.2rem 1.4rem;
  }

  #thinking-metrics .metric-block p:first-child {
    font-size: 0.95rem;
  }

  #why .slide-copy h2 {
    font-size: 2rem;
  }
}

/* ── Micro-animations: stagger reveals ── */

.js .step-stack article {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.js .reveal.is-visible .step-stack article { opacity: 1; transform: none; }
.js .reveal.is-visible .step-stack article:nth-child(1) { transition-delay: 100ms; }
.js .reveal.is-visible .step-stack article:nth-child(2) { transition-delay: 260ms; }
.js .reveal.is-visible .step-stack article:nth-child(3) { transition-delay: 420ms; }

.js .timeline-cards article,
.js .three-points article {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 480ms ease-out, transform 480ms ease-out;
}
.js .reveal.is-visible .timeline-cards article,
.js .reveal.is-visible .three-points article { opacity: 1; transform: none; }
.js .reveal.is-visible .timeline-cards article:nth-child(1),
.js .reveal.is-visible .three-points article:nth-child(1) { transition-delay: 80ms; }
.js .reveal.is-visible .timeline-cards article:nth-child(2),
.js .reveal.is-visible .three-points article:nth-child(2) { transition-delay: 220ms; }
.js .reveal.is-visible .timeline-cards article:nth-child(3),
.js .reveal.is-visible .three-points article:nth-child(3) { transition-delay: 360ms; }

.js .community-case-grid article {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.js .reveal.is-visible .community-case-grid article { opacity: 1; transform: none; }
.js .reveal.is-visible .community-case-grid article:nth-child(1) { transition-delay: 80ms; }
.js .reveal.is-visible .community-case-grid article:nth-child(2) { transition-delay: 220ms; }
.js .reveal.is-visible .community-case-grid article:nth-child(3) { transition-delay: 360ms; }

.js .insight-list article {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 450ms ease-out, transform 450ms ease-out;
}
.js .reveal.is-visible .insight-list article { opacity: 1; transform: none; }
.js .reveal.is-visible .insight-list article:nth-child(1) { transition-delay: 60ms; }
.js .reveal.is-visible .insight-list article:nth-child(2) { transition-delay: 190ms; }
.js .reveal.is-visible .insight-list article:nth-child(3) { transition-delay: 320ms; }

.js .compact-experience article {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 420ms ease-out, transform 420ms ease-out;
}
.js .reveal.is-visible .compact-experience article { opacity: 1; transform: none; }
.js .reveal.is-visible .compact-experience article:nth-of-type(1) { transition-delay: 200ms; }
.js .reveal.is-visible .compact-experience article:nth-of-type(2) { transition-delay: 380ms; }

.js .north-star,
.js .role-question,
.js .metric-block {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.js .reveal.is-visible .north-star {
  opacity: 1;
  transform: none;
  transition-delay: 260ms;
}
.js .reveal.is-visible .role-question {
  opacity: 1;
  transform: none;
  transition-delay: 420ms;
}
.js .reveal.is-visible .metric-block {
  opacity: 1;
  transform: none;
  transition-delay: 200ms;
}

@media (max-width: 560px) {
  .about-atlas .nav-links a {
    display: inline-flex;
  }

  .about-atlas .nav-links a:first-child {
    display: none;
  }
}

/* ── Inline Contact Block ── */

.inline-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 1.4rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.inline-contact-label {
  width: 100%;
  margin-bottom: 0.2rem;
  font-family: "Archivo", sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.inline-contact-item {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 160ms ease;
}

a.inline-contact-item:hover {
  color: var(--ink);
}

/* Atlas theme */
.inline-contact-atlas {
  border-top-color: var(--atlas-line);
}

.inline-contact-atlas .inline-contact-label {
  color: var(--atlas-rust);
}

.inline-contact-atlas .inline-contact-item {
  color: rgba(246, 240, 228, 0.58);
}

.inline-contact-atlas a.inline-contact-item:hover {
  color: var(--atlas-paper);
}

/* ── Atlas Page: Contour draw-in animation ── */

@keyframes atlasContourDraw {
  from {
    stroke-dashoffset: 1;
    opacity: 0;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

.atlas-contours path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: atlasContourDraw 2.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.atlas-contours path:nth-child(1) { animation-delay: 0.08s; }
.atlas-contours path:nth-child(2) { animation-delay: 0.26s; }
.atlas-contours path:nth-child(3) { animation-delay: 0.46s; }
.atlas-contours path:nth-child(4) { animation-delay: 0.68s; }
.atlas-contours path:nth-child(5) { animation-delay: 0.9s; }

/* ── Atlas Page: Kicker letter-spacing ── */

.atlas-kicker {
  letter-spacing: 0.08em;
}

/* ── Atlas Page: Stagger reveals ── */

/* Body map – cards slide up sequentially */
.js .body-map article {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 580ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 580ms cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal.is-visible .body-map article { opacity: 1; transform: none; }
.js .reveal.is-visible .body-map article:nth-child(1) { transition-delay: 60ms; }
.js .reveal.is-visible .body-map article:nth-child(2) { transition-delay: 220ms; }
.js .reveal.is-visible .body-map article:nth-child(3) { transition-delay: 380ms; }

/* Manifesto list – paragraphs sweep in from left
   NOTE: .manifesto-list itself carries .reveal, so use .manifesto-list.is-visible */
.js .manifesto-list p {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 520ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}
.js .manifesto-list.is-visible p { opacity: 1; transform: none; }
.js .manifesto-list.is-visible p:nth-child(1) { transition-delay: 80ms; }
.js .manifesto-list.is-visible p:nth-child(2) { transition-delay: 240ms; }
.js .manifesto-list.is-visible p:nth-child(3) { transition-delay: 400ms; }

/* Studio wall – pieces fade up, staggered */
.js .studio-piece {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 640ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 640ms cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal.is-visible .studio-piece { opacity: 1; transform: none; }
.js .reveal.is-visible .studio-piece:nth-child(1) { transition-delay: 40ms; }
.js .reveal.is-visible .studio-piece:nth-child(2) { transition-delay: 160ms; }
.js .reveal.is-visible .studio-piece:nth-child(3) { transition-delay: 280ms; }
.js .reveal.is-visible .studio-piece:nth-child(4) { transition-delay: 400ms; }

/* Ground values – tags pop up one by one */
.js .ground-values span {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal.is-visible .ground-values span { opacity: 1; transform: none; }
.js .reveal.is-visible .ground-values span:nth-child(1) { transition-delay: 80ms; }
.js .reveal.is-visible .ground-values span:nth-child(2) { transition-delay: 190ms; }
.js .reveal.is-visible .ground-values span:nth-child(3) { transition-delay: 300ms; }
.js .reveal.is-visible .ground-values span:nth-child(4) { transition-delay: 410ms; }

/* ── Atlas Page: Micro-interactions polish ── */

/* Body map article hover – lift with shadow */
.body-map article {
  transition: box-shadow 320ms ease, transform 320ms ease;
}
.body-map article:hover {
  box-shadow: 0 1.8rem 3.6rem rgba(17, 17, 15, 0.14);
  transform: translateY(-3px);
}

/* Studio piece cursor affordance */
.studio-piece {
  cursor: default;
}

/* Atlas legend – subtle hover brightness */
.atlas-legend span {
  transition: color 200ms ease, background 200ms ease;
}
.atlas-legend span:hover {
  color: var(--atlas-paper);
  background: rgba(246, 240, 228, 0.06);
}

/* Atlas closing button – more prominent hover */
.atlas-button {
  letter-spacing: 0.04em;
}

/* Ground values tag hover */
.ground-values span {
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.ground-values span:hover {
  background: rgba(194, 74, 50, 0.08);
  border-color: var(--atlas-rust);
  color: var(--atlas-rust);
}

/* ── Atlas Page: Reduced-motion overrides ── */

@media (prefers-reduced-motion: reduce) {
  .atlas-contours path {
    animation: none !important;
    stroke-dashoffset: 0 !important;
    opacity: 1 !important;
  }

  .js .body-map article,
  .js .manifesto-list.is-visible p,
  .js .studio-piece,
  .js .ground-values span {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .body-map article:hover {
    transform: none !important;
  }
}
