﻿/* Version: V5.2.6 / Editor v2 / Maintenance 20261008 | Copyright (c) 2026 yostudio. All rights reserved. */
:root {
  font-size: clamp(12px, .833333333vw, 64px);
  --accent: #2FA9EE;
  --background: #f1f7fc;
  --sidebar-bg: #102840;
  --foreground: #111;
  --muted: #777;
  --sidebar-width: 25.625rem;
  --entry-plane-top: 58.8125rem;
  --entry-plane-bottom: 28.8125rem;
  --page-transition-duration: 480ms;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  margin: 0;
  width: auto;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial,"Noto Sans TC","Microsoft JhengHei",sans-serif;
  line-height: 1.6;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
}

button:disabled {
  opacity: .35;
  cursor: default;
}

img {
  max-width: 100%;
  height: auto;
}

a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #112e51;
  outline-offset: 5px;
}

::selection {
  background: #122c40;
  color: white;
}

.skip-link {
  position: fixed;
  top: -6.25rem;
  left: 0.75rem;
  z-index: 30;
  padding: 0.75rem;
  background: white;
}

.skip-link:focus {
  top: 0.75rem;
}

.category-layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  height: 100%;
}

@media (max-width:900px) {
  :root { font-size:16px; }

  html, body {
    height: auto;
  }

  .category-layout {
    display: block;
    height: auto;
  }

}

.category-sidebar {
  color: #bfd1e3;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--sidebar-bg);
  height: 100%;
  width: auto;
  padding: 2.5rem 1.75rem 1.25rem 2.75rem;
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2.5vh, 1.5rem);
}

.brand {
  color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.0625rem;
}

.brand img {
  width: 3.375rem;
  object-fit: contain;
  flex-shrink: 0;
}

.brand small {
  font-size: 0.75rem;
  letter-spacing: 0.075rem;
  font-weight: 500;
  max-width: 6.25rem;
  line-height: 1.4;
  margin-left: 0.75rem;
  border-left: 6px solid white;
  padding-left: 0.5rem;
}

@media (max-width:900px) {
  .category-sidebar {
    height: auto;
    padding: max(1.5rem,env(safe-area-inset-top)) 1.25rem 1.25rem;
    gap: 1.375rem;
    overflow: visible;
  }

  .brand {
    font-size: 1.5rem;
  }

  .brand img {
    width: 2.75rem;
  }

  .brand small {
    font-size: 0.625rem;
    margin-left: 0;
    border-left-width: 3px;
  }

}

@media (min-width:901px) and (max-height:800px) {
  .category-sidebar {
    padding-top: clamp(1rem,3vh,1.5rem);
    padding-bottom: 1rem;
    gap: clamp(0.5rem,1.6vh,0.75rem);
  }

  .brand {
    font-size: 1.625rem;
  }

  .brand small {
    font-size: 0.625rem;
    border-left-width: 3px;
  }

}

.category-nav {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: -0.5rem;
}

.category-switcher {
  touch-action: pan-y;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  margin-bottom: 0.625rem;
  padding-bottom: 0.375rem;
  border-bottom: 4px solid currentColor;
}

.category-nav>a, .category-group>a {
  transition: color var(--page-transition-duration) ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 0;
  line-height: 1.4;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.0375rem;
}

.category-switcher .eyebrow {
  min-width: 0;
  height: 3rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: 0.05rem;
}

.category-switch-controls {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  align-self: center;
}

.category-switch-controls button {
  display: grid;
  place-items: center;
  width: 1.875rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.category-next-icon {
  filter: brightness(0) invert(1);
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.category-switch-controls button:hover {
  opacity: .7;
}

.category-groups {
  display: grid;
  flex: 1;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
}

.category-group {
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.category-group[hidden] {
  display: none;
}

.category-group[data-group-title^="DIGITAL"]>a {
  font-size: 1.25rem;
}

.category-nav small {
  font-size: 0.75rem;
  letter-spacing: 0;
  font-weight: 400;
  opacity: .68;
  padding-top: 0.8125rem;
}

.nav-arrow {
  margin-left: 0;
  font-size: 1.25rem;
  opacity: 0;
  transform: translate(-0.3125rem,0.3125rem);
  transition: .2s;
}

.category-nav a:hover .nav-arrow, .category-nav a:focus-visible .nav-arrow {
  opacity: 1;
  transform: none;
}

.category-nav .about-link {
  margin-top: 1.25rem;
  gap: 0.75rem;
  font-size: 1.5625rem;
}

.category-nav .about-link small {
  font-size: 0.875rem;
}

.category-nav a[aria-current="page"] {
  color: white;
}

@media (max-width:900px) {
  .category-nav {
    flex: none;
    margin: 0;
  }

  .category-switcher .eyebrow {
    height: auto;
    min-height: 2.75rem;
    font-size: 0.875rem;
  }

  .category-switch-controls button {
    width: 2.75rem;
    height: 2.75rem;
  }

  .category-groups {
    flex: none;
    grid-template-rows: auto;
  }

  .category-group {
    display: flex;
    gap: 0.625rem;
    overflow: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 0.5rem;
  }

  .category-group > a {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.1875rem;
    min-height: 5rem;
    padding: 0.625rem 0.875rem;
    border: 1px solid #bfd1e340;
    font-size: 1.125rem;
  }

  .category-group[data-group-title^="DIGITAL"] > a {
    font-size: 1rem;
  }

  .category-group > a[aria-current="page"] {
    background: #244966;
    border-color: #79bce8;
  }

  .category-group small {
    padding: 0;
    font-size: 0.6875rem;
  }

  .category-group .nav-arrow {
    display: none;
  }

  .category-nav .about-link {
    font-size: 1.125rem;
    margin-top: 0.5rem;
    min-height: 2.75rem;
  }

}

@media (min-width:901px) and (max-height:800px) {
  .category-switcher .eyebrow {
    min-height: 1.75rem;
    height: auto;
    font-size: 0.875rem;
  }

  .category-group > a {
    padding: 0.3125rem 0;
  }

  .category-nav .about-link {
    margin-top: 0.625rem;
    font-size: 1.3125rem;
  }

}

@media (min-width:901px) and (max-height:640px) {
  .category-nav {
    flex: none;
  }

  .category-groups {
    flex: none;
    grid-template-rows: auto;
  }

  .category-group {
    overflow-y: visible;
  }

}

.site-footer {
  flex-shrink: 0;
  display: block;
  margin-top: 0;
  max-width: 30rem;
  padding: 0;
  border: 0;
  font-size: 0.75rem;
  color: #bfd1e3;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.contact-unset {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
  color: #fff;
  cursor: pointer;
}

a.contact-unset:hover {
  opacity: 1;
}

.contact-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  object-fit: contain;
  text-align: center;
}

.contact-icon-dark {
  filter: brightness(0) invert(1);
}

.footer-tagline {
  display: block;
  font-size: 1rem;
}

.footer-copyright {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  font-size: 0.75rem;
}

.mobile-footer {
  display: none;
}

@media (max-width:900px) {
  .category-sidebar > .site-footer {
    display: none;
  }

  .mobile-footer {
    color: #bfd1e3;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.5rem 1.25rem max(1.5rem,env(safe-area-inset-bottom));
    background: var(--sidebar-bg);
    font-size: 0.75rem;
  }

}

@media (min-width:901px) and (max-height:800px) {
  .contact-links {
    flex-direction: row;
    gap: 0.5rem 0.875rem;
    margin-bottom: 0.625rem;
  }

  .contact-unset {
    font-size: 0.75rem;
    gap: 0.375rem;
  }

  .contact-icon {
    width: 1rem;
    height: 1rem;
    flex-basis: 1rem;
  }

  .footer-tagline {
    font-size: 0.8125rem;
  }

  .footer-copyright {
    font-size: 0.6875rem;
  }

}

.container {
  --muted: #61758a;
  color: #152c42;
  background: linear-gradient(135deg,#f7fbff,#eaf3fb);
  transition: opacity var(--page-transition-duration) ease;
  height: 100%;
  min-width: 0;
  overflow: auto;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 3rem 3rem 4.5rem;
}

.page-heading {
  margin-bottom: 2.8125rem;
}

.category-breadcrumb {
  position: relative;
  z-index: 5;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.category-breadcrumb > ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-breadcrumb > ol > li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
}

.category-breadcrumb > ol > li + li::before {
  content: "/";
  color: #91a8bb;
}

.breadcrumb-item {
  position: relative;
  min-width: 0;
}

.breadcrumb-item > summary, .breadcrumb-home {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.375rem;
  list-style: none;
  cursor: pointer;
  transition: color 160ms ease,background 160ms ease;
}

.breadcrumb-item > summary::-webkit-details-marker {
  display: none;
}

.breadcrumb-item > summary > span:first-child {
  overflow-wrap: anywhere;
}

.breadcrumb-item > summary[aria-current="page"] {
  font-weight: 700;
}

.breadcrumb-item > summary:hover, .breadcrumb-item[open] > summary, .breadcrumb-home:hover {
  color: #102840;
  background: #d9e8f5;
}

.breadcrumb-arrow {
  flex-shrink: 0;
  color: #61758a;
  transition: transform 160ms ease;
}

.breadcrumb-item[open] .breadcrumb-arrow {
  transform: rotate(180deg);
}

.breadcrumb-dropdown {
  position: absolute;
  top: calc(100% + 0.375rem);
  left: 0;
  z-index: 10;
  width: 18rem;
  max-height: min(20rem,45vh);
  margin: 0;
  padding: 0.375rem;
  overflow: auto;
  overscroll-behavior: contain;
  list-style: none;
  border: 1px solid #c9dcec;
  border-radius: 0.5rem;
  background: #f7fbff;
  box-shadow: 0 0.75rem 2rem #10284024;
  scrollbar-width: thin;
  animation: breadcrumb-open 160ms ease both;
}

.breadcrumb-dropdown a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  overflow-wrap: anywhere;
}

.breadcrumb-dropdown a:hover, .breadcrumb-dropdown a:focus-visible {
  background: #e3eef8;
}

.breadcrumb-dropdown a[aria-current="page"] {
  color: #102840;
  background: #d9e8f5;
  font-weight: 700;
}

@keyframes breadcrumb-open {
  from { opacity: 0; transform: translateY(-0.25rem); }
  to { opacity: 1; transform: translateY(0); }
}

.page-heading h1 {
  font-size: 3.5rem;
  line-height: 1.25;
  letter-spacing: -0.09375rem;
}

.page-heading p {
  color: var(--muted);
}

@media (max-width:900px) {
  .container {
    height: auto;
    overflow: visible;
    padding: 1.875rem 1.25rem 3rem;
  }

  .page-heading {
    margin-bottom: 1.625rem;
  }

  .page-heading h1 {
    font-size: clamp(1.875rem,6vw,2.75rem);
    letter-spacing: -0.0625rem;
    margin: 1.125rem 0;
  }

}

@media (min-width:901px) and (max-height:800px) {
  .container {
    padding: clamp(1.5rem,5vh,2.5rem) clamp(1.5rem,3vw,3rem) 2.5rem;
  }

  .page-heading {
    margin-bottom: 1.75rem;
  }

  .page-heading h1 {
    font-size: clamp(2.125rem,6.2vh,3rem);
    margin: 1.125rem 0;
  }

}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(min(100%,18.75rem),1fr));
  gap: 1.5625rem;
}

.project-card>img, .cover-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  height: auto;
}

.cover-placeholder {
  display: grid;
  place-content: center;
  background: var(--sidebar-bg);
  color: #bfd1e3;
  font-size: 1.375rem;
}

.card-copy {
  padding: 1.375rem;
}

.card-copy h2 {
  font-size: 1.3125rem;
  line-height: 1.4;
}

.card-copy p {
  color: var(--muted);
  font-size: 0.875rem;
}

.read-more {
  font-size: 0.75rem;
}

.empty {
  padding: 3.125rem 0;
  grid-column: 1/-1;
  color: var(--muted);
}

.project-card {
  background: #ffffff;
  border: 1px solid #d5e2ee;
  transition: transform .2s;
  overflow: hidden;
  transition: transform 240ms ease,box-shadow 240ms ease;
}

.project-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.75rem 2rem #10284018;
}

.project-card:active {
  transform: scale(.985);
}

.project-card.is-arriving {
  animation: card-arrive 440ms both;
  animation-delay: var(--card-delay,0ms);
}

@keyframes card-arrive {
  from {
    opacity: 0;
    transform: translateY(1.125rem);
  }

  to {
    opacity: 1;
    transform: none;
  }

}

@media (max-width:900px) {
  .project-grid {
    gap: 1.25rem;
  }

  .card-copy {
    padding: 1.25rem;
  }

  .card-copy h2 {
    font-size: 1.375rem;
  }

}

@media (min-width:1231px) and (max-width:1470px) {
  :root {
    --entry-plane-top: 25.625rem;
    --entry-plane-bottom: 25.625rem;
  }

}

.leave-category .category-layout::before, .restore-category .category-layout::before, .enter-category.history-category .category-layout::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--sidebar-bg);
  pointer-events: none;
  clip-path: polygon(0 0, var(--entry-plane-top) 0, var(--entry-plane-bottom) 100%, 0 100%);
}

.enter-category.history-category .category-layout::before {
  animation: category-plane-contract 480ms cubic-bezier(.4, 0, .2, 1) both;
}

.leave-category .category-layout::before {
  animation: category-plane-expand var(--page-transition-duration) cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes category-plane-expand {
  from {
    clip-path: polygon(0 0, var(--sidebar-width) 0, var(--sidebar-width) 100%, 0 100%);
  }

  to {
    clip-path: polygon(0 0, var(--entry-plane-top) 0, var(--entry-plane-bottom) 100%, 0 100%);
  }

}

@keyframes category-plane-contract {
  from {
    clip-path: polygon(0 0, var(--entry-plane-top) 0, var(--entry-plane-bottom) 100%, 0 100%);
  }

  to {
    clip-path: polygon(0 0, var(--sidebar-width) 0, var(--sidebar-width) 100%, 0 100%);
  }

}

.leave-category .category-sidebar, .leave-category .container, .restore-category .category-sidebar, .restore-category .container, .enter-category .category-sidebar, .enter-category .container {
  position: relative;
  z-index: 1;
}

.enter-category .category-sidebar > *, .enter-category .container {
  animation: category-content-enter 480ms ease both;
}

@keyframes category-content-enter {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

.category-sidebar > * {
  transition: opacity var(--page-transition-duration) ease;
}

.leave-category .category-sidebar > *, .leave-category .container {
  opacity: 0;
}

.restore-category .category-sidebar > *, .restore-category .container {
  opacity: 0;
  transition: none;
}

@media (max-width:900px) {
  .leave-category .category-layout::before, .restore-category .category-layout::before, .enter-category.history-category .category-layout::before {
    display: none;
  }

  .leave-category .category-layout {
    transition: opacity var(--page-transition-duration) ease;
    opacity: 0;
  }

}

.page-leave body {
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.page-enter body {
  animation: page-content-enter 360ms ease both;
}

@keyframes page-content-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}

@media (prefers-reduced-motion:reduce) {
  .category-nav>a, .category-group>a {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }

}
