:root {

  --bg: var(--rw-paper, #f6eee3); --fg: var(--rw-ink, #251f1b); --muted: var(--rw-muted, #68594d); --accent: var(--rw-land, #ff573f); --border: var(--rw-rule, #d7c9b9);
  --panel: var(--rw-paper-2, #e9ded0); --rule-strong: var(--rw-rule-strong, #b9a999);
  --sans: var(--rw-font-sans, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif);
  --serif: var(--rw-font-serif, "Noto Serif TC", "Songti TC", PMingLiU, Georgia, serif);

  --mono: var(--rw-font-mono, "Roboto Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace);

  --gutter: clamp(22px, 5vw, 80px); --header-height: 72px;

  --ease: var(--rw-ease, cubic-bezier(.2, 0, 0, 1));

  color: var(--fg); background: var(--bg); font-family: var(--sans); color-scheme: light; -webkit-font-smoothing: antialiased;

}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: var(--header-height); scroll-behavior: smooth; }

body { margin: 0; }

button, h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }

button, input { font: inherit; }
h1, h2 { font-family: var(--serif); }

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

button { border: 0; background: none; color: inherit; cursor: pointer; }

button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

svg { display: block; }

ul { list-style: none; }

[hidden] { display: none !important; }

::selection { background: var(--accent); color: var(--fg); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }

#main:focus { outline: none; }

.mono { font-family: var(--mono); font-size: 12px; line-height: 1.5; font-weight: 400; letter-spacing: .02em; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip-link { position: fixed; top: 12px; left: 20px; z-index: 100; padding: 14px 20px; color: var(--bg); background: var(--fg); transform: translateY(-180%); }

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

.site-header { height: var(--header-height); position: sticky; top: 0; z-index: 30; background: var(--bg); }

.header-inner { height: 100%; margin-inline: var(--gutter); display: flex; gap: 24px; align-items: center; border-bottom: 1px solid var(--border); }

.brand { display: inline-flex; align-items: baseline; min-height: 44px; padding-top: 7px; font-size: 28px; font-weight: 800; letter-spacing: -.08em; }

.brand > span { color: var(--fg); }
.brand small { font-size: 20px; }

nav { display: flex; gap: 16px; margin-left: auto; }

nav a { position: relative; min-width: 44px; min-height: 44px; display: grid; place-items: center; font-size: 13px; }

nav a::after { content: ''; position: absolute; bottom: 5px; left: 8px; width: 16px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease); }

nav a:hover::after, nav a[aria-current='location']::after { transform: scaleX(1); }

.motion-toggle { min-height: 44px; display: flex; align-items: center; gap: 8px; font-size: 11px; padding-left: 20px; border-left: 1px solid var(--border); }

.motion-icon { width: 9px; height: 10px; border-inline: 2px solid var(--fg); }

.motion-toggle[aria-pressed='false'] .motion-icon { border: 0; width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid var(--fg); }

.reading-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; pointer-events: none; }

.reading-progress > span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

.action-icon { width: 18px; height: 18px; display: inline-block; flex-shrink: 0; transition: transform 180ms var(--ease); }

a:hover .action-icon--up-right { transform: translate(2px,-2px); }

a:hover .action-icon--down { transform: translateY(3px); }

.intro-scene { min-height: calc(100svh - var(--header-height)); background: var(--panel); }
.intro-shell { padding-inline: var(--gutter); display: flex; flex-direction: column; min-height: calc(100svh - var(--header-height)); overflow: clip; }

.intro-stage { flex: 1; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 10%; padding-block: 40px; }

.intro-type { transform-origin: 30% 60%; }

.intro-type-inner { display: flex; align-items: baseline; transform: translate3d(var(--pointer-x,0px),var(--pointer-y,0px),0); transition: transform 500ms var(--ease); }

.hero-glyph { font-size: min(39vw, 60svh); font-weight: 900; letter-spacing: -.1em; line-height: 1.15; }

.hero-stop { width: clamp(28px,3.4vw,50px); height: clamp(28px,3.4vw,50px); display: block; background: var(--accent); margin-left: 10px; transform: translateY(-2.5vw); }

.intro-name { padding-top: 3%; }

.intro-name-index { color: var(--muted); display: block; margin-bottom: 20px; }

.intro-name h1 { font-size: clamp(25px, 2.6vw, 40px); font-weight: 400; line-height: 1.3; letter-spacing: -.035em; }

.intro-name h1 > span { display: block; font-size: clamp(30px, 4vw, 60px); font-weight: 600; letter-spacing: -.065em; margin-top: 10px; }

.intro-role { margin-top: 28px; font-size: 21px; line-height: 1.5; }

.intro-promise { margin-top: 8px; font-size: 17px; line-height: 1.75; max-width: 21em; color: var(--rw-ink-2, #51443c); }

.intro-aside { display: inline-block; margin-top: 27px; font-size: 13px; line-height: 1.6; padding-bottom: 6px; border-bottom: 2px solid var(--accent); color: var(--muted); }

.intro-bottom { display: flex; align-items: center; justify-content: space-between; min-height: 70px; border-top: 1px solid var(--border); }

.intro-bottom > span { color: var(--muted); }

.intro-bottom a, .scene-skip, .replay-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; font-size: 13px; }

.scene-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }

.identity-scene { --accent: var(--rw-accent, #792f42); background: var(--panel); color: var(--fg); }
.identity-stage { padding: 25px var(--gutter) 45px; position: relative; isolation: isolate; overflow: clip; }

.identity-stage .scene-topline { color: var(--muted); position: relative; z-index: 4; }
.question-kicker { display: block; color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.identity-question { padding-block: 75px 60px; }

.identity-question h2 { letter-spacing: -.065em; line-height: .98; font-weight: 600; }

.identity-question h2 > span { display: block; }

.identity-question h2 > span:first-child { font-size: clamp(110px, 23vw, 340px); }

.identity-question h2 > span:last-child { font-size: clamp(52px, 9vw, 135px); color: var(--accent); margin-top: 18px; }

.identity-layer { padding-block: 60px; border-top: 1px solid var(--rule-strong); }
.layer-type > span { display: block; }

.layer-type > span:first-child { font-size: clamp(70px, 19vw, 280px); font-weight: 600; letter-spacing: -.075em; line-height: 1; }

.layer-type > span:last-child { margin-top: 25px; font-size: 20px; font-weight: 400; color: var(--accent); line-height: 1.5; }

.layer-caption { margin-top: 32px; font-size: 17px; line-height: 1.8; color: var(--rw-ink-2, #51443c); max-width: 27em; }
.identity-controls, .identity-progress, .identity-turn { display: none; }

.is-animated .identity-scene { height: 250svh; }

.is-animated .identity-stage { position: sticky; top: var(--header-height); height: calc(100svh - var(--header-height)); min-height: 0; }

.is-animated .identity-question { position: absolute; inset: 17% var(--gutter) auto; padding: 0; }

.is-animated .identity-question h2 > span:first-child { font-size: min(23vw, 32svh); }

.is-animated .identity-question h2 > span:last-child { font-size: min(9vw, 14svh); }

.is-animated .identity-layers { position: absolute; inset: 0; pointer-events: none; }

.is-animated .identity-layer { position: absolute; inset: 22% var(--gutter) 105px; border: 0; padding: 0; visibility: hidden; }

.is-animated .layer-type > span:first-child { font-size: min(22vw, 34svh); }

.is-animated .layer-type > span:last-child { margin-left: 12%; margin-top: 28px; font-size: 20px; }

.is-animated .layer-caption { position: absolute; right: 0; bottom: 0; width: 40%; margin: 0; }

.is-animated .identity-controls { display: flex; position: absolute; bottom: 24px; left: var(--gutter); gap: 25px; z-index: 5; }

.identity-controls button { display: flex; align-items: center; gap: 10px; min-width: 70px; min-height: 44px; color: var(--muted); font-size: 13px; border-bottom: 2px solid transparent; }
.identity-controls button[aria-pressed='true'] { color: var(--fg); border-color: var(--accent); }
.is-animated .identity-progress { display: block; position: absolute; inset: auto 0 0; height: 2px; }

.identity-progress > span { display: block; height: 100%; background: var(--accent); transform-origin: left; }

.is-animated .identity-turn { display: block; position: absolute; inset: 0; background: var(--bg); z-index: 6; pointer-events: none; transform: translateY(103%); }

.works-scene { padding: 50px var(--gutter) 80px; }

.works-heading { margin-block: 48px 65px; }

.works-heading h2 { font-size: clamp(30px, 4.1vw, 60px); line-height: 1.4; letter-spacing: -.05em; font-weight: 500; }

.works-heading p { color: var(--muted); margin-top: 18px; font-size: 15px; }

.work-row { display: grid; grid-template-columns: 1.5fr 1fr; align-items: start; gap: 6%; padding-block: 34px 60px; border-top: 1px solid var(--border); }

.work-row:last-child { padding-bottom: 0; }

.work-image { position: relative; display: block; overflow: hidden; background: var(--rw-paper-2, #e9ded0); }

.work-image img { display: block; width: 100%; height: auto; }

.work-image .work-detail-image { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.025); transition: opacity 250ms ease, transform 450ms var(--ease); }

.work-copy > .mono { color: var(--muted); }

.work-copy h3 { font-size: clamp(40px, 4.2vw, 62px); font-weight: 600; letter-spacing: -.06em; line-height: 1.3; margin-block: 14px 22px; }

.work-copy h3 a { display: inline-flex; align-items: center; gap: 25px; }

.work-copy h3 .action-icon { width: 25px; height: 25px; color: var(--rw-accent, #792f42); }
.work-task { font-size: 18px; line-height: 1.6; }

.work-note { margin-top: 14px; font-size: 16px; line-height: 1.85; color: var(--rw-ink-2, #51443c); max-width: 27em; }

.work-context { margin-top: 26px; max-width: 29em; font-size: 15px; line-height: 1.8; }

.work-context > div { display: grid; grid-template-columns: 2em 1fr; gap: 18px; margin-top: 13px; }

.work-context dt { font-size: 13px; line-height: 2.05; color: var(--muted); }

.work-context dd { color: var(--rw-ink-2, #51443c); }

.links-scene { padding: 40px var(--gutter) 70px; background: var(--rw-ink, #251f1b); color: var(--bg); }
.links-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12%; margin-top: 40px; }

.links-layout h2 { font-size: clamp(25px, 2.8vw, 40px); line-height: 1.65; font-weight: 400; letter-spacing: -.03em; }

.direct-link { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding-block: 20px; border-top: 1px solid var(--rw-rule-heavy, #7b6556); }
.direct-link:last-child { border-bottom: 1px solid var(--rw-rule-heavy, #7b6556); }
.direct-name { font-size: clamp(22px, 2.4vw, 36px); font-weight: 600; letter-spacing: -.035em; }

.direct-description { grid-row: 2; grid-column: 1; color: var(--rw-rule, #d7c9b9); font-size: 14px; }
.direct-link .action-icon { grid-column: 2; grid-row: 1 / 3; width: 25px; height: 25px; }

.direct-link:hover .direct-name { color: var(--rw-land, #ff573f); }
.ending-scene { padding: 80px var(--gutter) 25px; overflow: clip; }

.ending-stage { min-height: 65svh; display: flex; flex-direction: column; justify-content: space-between; }

.ending-content h2 > span { display: block; }

.ending-content h2 > span:first-child { font-size: clamp(95px, 22vw, 330px); line-height: 1.15; font-weight: 700; letter-spacing: -.095em; transform-origin: left center; }

.ending-content h2 > span:last-child { font-size: clamp(28px, 3.5vw, 50px); font-weight: 400; letter-spacing: -.04em; margin: 30px 0 0 30%; }

.ending-aside { font-size: 14px; margin: 20px 0 45px 30%; }

.ending-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; }

.ending-bottom > span { color: var(--muted); }

.ending-contact { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: 18px; }

.ending-contact .action-icon { color: var(--rw-accent, #792f42); width: 23px; height: 23px; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin: 0 var(--gutter); padding-block: 25px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }

@media (hover: hover) and (pointer: fine) {

  .is-animated .work-image:hover .work-detail-image, .is-animated .work-image:focus-visible .work-detail-image { opacity: 1; transform: scale(1); }

}

@media (max-width: 760px) {

  :root { --header-height: 64px; }

  .header-inner { gap: 12px; }

  .brand { font-size: 25px; }

  .brand small { font-size: 17px; }

  nav { gap: 4px; }

  nav a { font-size: 12px; min-width: 36px; }

  .motion-toggle { padding-left: 12px; }

  .motion-label { display: none; }

  .intro-stage { grid-template-columns: 1fr; gap: 15px; padding-block: 20px 30px; align-content: center; }

  .hero-glyph { font-size: 73vw; line-height: 1.1; }

  .hero-stop { width: 7vw; height: 7vw; margin-left: 9px; transform: translateY(-5vw); }

  .intro-name { padding: 0; }

  .intro-name-index { margin-bottom: 12px; font-size: 11px; }

  .intro-name h1 { font-size: 23px; }

  .intro-name h1 > span { font-size: 9vw; margin-top: 4px; }

  .intro-role { font-size: 17px; margin-top: 18px; }

  .intro-promise { font-size: 15px; margin-top: 6px; }

  .intro-aside { font-size: 12px; margin-top: 18px; }

  .intro-bottom { min-height: 60px; }

  .intro-bottom a, .scene-skip, .replay-link { font-size: 12px; gap: 16px; }

  .mono { font-size: 11px; }

  .identity-stage { padding-top: 20px; }

  .identity-question { padding-block: 50px; }

  .identity-question h2 > span:first-child { font-size: 38vw; }

  .identity-question h2 > span:last-child { font-size: 13.5vw; }

  .question-kicker { font-size: 12px; }

  .identity-layer { padding-block: 40px; }

  .layer-type > span:first-child { font-size: 23vw; }

  .layer-type > span:last-child { font-size: 16px; margin-top: 24px; }

  .layer-caption { font-size: 16px; margin-top: 25px; white-space: pre-line; }

  .is-animated .identity-scene { height: 235svh; }

  .is-animated .identity-question { top: 23%; }

  .is-animated .identity-question h2 > span:first-child { font-size: 38vw; }

  .is-animated .identity-question h2 > span:last-child { font-size: 13.5vw; margin-top: 20px; }

  .is-animated .identity-layer { top: 28%; bottom: 110px; }

  .is-animated .layer-type > span:first-child { font-size: 23vw; }

  .is-animated .layer-type > span:last-child { font-size: 16px; margin-left: 0; margin-top: 24px; }

  .is-animated .layer-caption { position: static; width: 100%; font-size: 16px; margin-top: 45px; }

  .is-animated .layer-web .layer-type > span:first-child { font-size: 33vw; }

  .is-animated .layer-domain .layer-type > span:first-child { font-size: 36vw; }

  .is-animated .identity-controls { gap: 18px; bottom: 22px; }

  .identity-controls button { gap: 8px; min-width: 63px; }

  .works-scene { padding-block: 35px 50px; }

  .works-heading { margin-block: 30px 35px; }

  .works-heading h2 { font-size: 28px; }

  .works-heading p { font-size: 14px; margin-top: 12px; }

  .work-row { grid-template-columns: 1fr; gap: 22px; padding-block: 24px 36px; }

  .work-copy h3 { font-size: 38px; margin-block: 8px 14px; }

  .work-task { font-size: 17px; }

  .work-note { font-size: 15px; margin-top: 10px; white-space: pre-line; }

  .work-context { font-size: 14px; margin-top: 20px; }

  .work-context > div { gap: 16px; margin-top: 12px; }

  .work-context dt { font-size: 12px; }

  .work-context dd { white-space: pre-line; }

  .links-scene { padding-block: 30px 45px; }

  .links-layout { grid-template-columns: 1fr; gap: 25px; margin-top: 25px; }

  .links-layout h2 { font-size: 24px; }

  .links-layout h2 br { display: none; }

  .direct-name { font-size: 26px; }

  .direct-description { font-size: 14px; line-height: 1.6; }

  .ending-scene { padding-top: 55px; }

  .ending-stage { min-height: 55svh; }

  .ending-content h2 > span:first-child { font-size: 26vw; }

  .ending-content h2 > span:last-child { font-size: 7vw; margin: 25px 0 0 12%; }

  .ending-aside { font-size: 12px; margin: 20px 0 40px 12%; }

  .ending-bottom { gap: 20px; }

  .site-footer { font-size: 11px; gap: 12px; }

  .site-footer > span:last-child { display: none; }

}

@media (max-height: 600px) {

  .intro-stage { grid-template-columns: 1fr 1fr; }

  .hero-glyph { font-size: 35vw; }

  .intro-name { padding: 0; }

  .intro-name h1 > span { font-size: 4vw; }

}

html:not(.is-animated) { scroll-behavior: auto; }

html:not(.is-animated) .intro-type-inner, html:not(.is-animated) .action-icon, html:not(.is-animated) .work-detail-image { transition: none; }

@media (prefers-reduced-motion: reduce) {

  html { scroll-behavior: auto; }

  *, *::before, *::after { transition: none !important; }

}

