:root {
  --cream: #fff8e8;
  --paper: #fffdf7;
  --ink: #173b45;
  --muted: #577078;
  --coral: #ef704f;
  --orange: #ef8f45;
  --yellow: #f6c64d;
  --mint: #9cc6a3;
  --teal: #176f70;
  --sky: #92ced8;
  --line: rgba(23, 59, 69, 0.16);
  --shadow: 0 22px 60px rgba(72, 64, 44, 0.12);
  --radius-lg: 34px;
  --radius-md: 22px;
  --shell: min(1160px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 20%, rgba(246, 198, 77, 0.1), transparent 28rem),
    var(--cream);
  font-family:
    "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1160px, calc(100vw - 36px));
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  background: rgba(255, 253, 247, 0.83);
  box-shadow: 0 10px 38px rgba(34, 55, 53, 0.1);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition:
    top 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  top: 8px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 12px 42px rgba(34, 55, 53, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px 13px 18px 13px;
  color: white;
  background: var(--coral);
  box-shadow: inset 0 -3px 0 rgba(117, 49, 33, 0.16);
  font-size: 1.2rem;
  font-weight: 900;
  transform: rotate(-4deg);
}

.brand-name {
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(239, 112, 79, 0.1);
  outline: none;
}

.menu-button {
  display: none;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(850px, 100svh);
  overflow: hidden;
  align-items: center;
  background: #f9e3b8;
}

.hero-art,
.hero-art img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art img {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 246, 221, 0.97) 0%, rgba(255, 246, 221, 0.82) 26%, transparent 58%),
    linear-gradient(0deg, rgba(23, 59, 69, 0.12), transparent 26%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin: 62px auto 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 13px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-family:
    "Arial Rounded MT Bold", "Noto Sans TC", "PingFang TC", sans-serif;
  font-size: clamp(4rem, 7.4vw, 7.6rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--coral);
  font-style: normal;
  white-space: nowrap;
}

.hero-intro {
  max-width: 480px;
  margin: 30px 0 0;
  color: #36565e;
  font-size: clamp(1.03rem, 1.4vw, 1.22rem);
  font-weight: 650;
}

.primary-link {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  padding: 0 11px 0 24px;
  border-radius: 18px;
  color: white;
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(23, 59, 69, 0.22);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.primary-link span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--ink);
  background: var(--yellow);
}

.primary-link:hover {
  box-shadow: 0 17px 35px rgba(23, 59, 69, 0.3);
  transform: translateY(-3px);
}

.hero-sticker {
  position: absolute;
  z-index: 2;
  right: clamp(30px, 5vw, 80px);
  bottom: 42px;
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border: 1px solid rgba(23, 59, 69, 0.2);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.76);
  backdrop-filter: blur(8px);
  transform: rotate(8deg);
}

.hero-sticker::before,
.hero-sticker::after {
  position: absolute;
  width: 68px;
  height: 1px;
  content: "";
  background: rgba(23, 59, 69, 0.18);
}

.hero-sticker::before {
  top: 30px;
}

.hero-sticker::after {
  bottom: 30px;
}

.hero-sticker span {
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.hero-sticker strong {
  color: var(--coral);
  font-size: 1.25rem;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
  padding: 130px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(260px, 0.72fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading .eyebrow {
  margin-bottom: 6px;
}

.section-heading h2 {
  margin: 0;
  font-family:
    "Arial Rounded MT Bold", "Noto Sans TC", "PingFang TC", sans-serif;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  letter-spacing: -0.07em;
  line-height: 1;
}

.section-note {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.94rem;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.interest-card {
  position: relative;
  display: grid;
  min-height: 520px;
  overflow: hidden;
  grid-template-rows: 1.18fr 0.82fr;
  border: 1px solid rgba(23, 59, 69, 0.12);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.interest-visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.letters-visual {
  background: #f29a7f;
}

.letters-visual span,
.numbers-visual span {
  position: absolute;
  display: grid;
  place-items: center;
  font-family: "Arial Rounded MT Bold", "Arial Black", sans-serif;
  font-weight: 900;
  line-height: 1;
}

.letters-visual span:nth-child(1) {
  top: 27px;
  left: 8%;
  color: var(--paper);
  font-size: 12rem;
  transform: rotate(-8deg);
}

.letters-visual span:nth-child(2) {
  right: 12%;
  bottom: 17px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  color: var(--yellow);
  background: var(--teal);
  font-size: 7.5rem;
  transform: rotate(9deg);
}

.letters-visual span:nth-child(3) {
  top: 23px;
  right: 11%;
  color: var(--ink);
  font-size: 4.8rem;
  transform: rotate(12deg);
}

.letters-visual span:nth-child(4) {
  bottom: 18px;
  left: 10%;
  color: rgba(23, 59, 69, 0.42);
  font-size: 4rem;
  transform: rotate(-13deg);
}

.numbers-visual {
  background: var(--sky);
}

.numbers-visual::before {
  position: absolute;
  top: -95px;
  right: -55px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.numbers-visual span:nth-child(1) {
  bottom: 17px;
  left: 7%;
  color: var(--ink);
  font-size: 9rem;
  transform: rotate(6deg);
}

.numbers-visual span:nth-child(2) {
  top: 16px;
  left: 35%;
  color: var(--paper);
  font-size: 6rem;
  transform: rotate(-9deg);
}

.numbers-visual span:nth-child(3) {
  right: 8%;
  bottom: 13px;
  color: var(--yellow);
  font-size: 10rem;
  transform: rotate(5deg);
}

.numbers-visual span:nth-child(4) {
  top: 105px;
  left: 47%;
  width: 66px;
  height: 66px;
  border-radius: 18px;
  color: var(--paper);
  background: var(--coral);
  font-size: 3.3rem;
  transform: rotate(8deg);
}

.interest-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 35px 38px 40px;
}

.card-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.interest-copy h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.interest-copy > p:not(.card-kicker) {
  margin: 17px 0 0;
  color: var(--muted);
}

.interest-card--numbers .card-kicker {
  color: var(--teal);
}

.lego-visual {
  background: #f4c84d;
}

.lego-visual span {
  position: absolute;
  display: block;
  border-radius: 7px;
  box-shadow:
    inset -9px -9px 0 rgba(23, 59, 69, 0.12),
    0 10px 0 rgba(23, 59, 69, 0.08);
}

.lego-visual span::before,
.lego-visual span::after {
  position: absolute;
  top: -13px;
  width: 26px;
  height: 17px;
  border-radius: 6px 6px 2px 2px;
  background: inherit;
  box-shadow: inset -4px -4px 0 rgba(23, 59, 69, 0.1);
  content: "";
}

.lego-visual span::before {
  left: 16px;
}

.lego-visual span::after {
  right: 16px;
}

.lego-visual span:nth-child(1) {
  bottom: 36px;
  left: 9%;
  width: 150px;
  height: 72px;
  background: var(--coral);
  transform: rotate(-4deg);
}

.lego-visual span:nth-child(2) {
  bottom: 33px;
  left: 37%;
  width: 130px;
  height: 112px;
  background: var(--teal);
  transform: rotate(2deg);
}

.lego-visual span:nth-child(3) {
  right: 8%;
  bottom: 35px;
  width: 125px;
  height: 84px;
  background: var(--paper);
  transform: rotate(5deg);
}

.lego-visual span:nth-child(4) {
  top: 45px;
  left: 24%;
  width: 115px;
  height: 68px;
  background: var(--sky);
  transform: rotate(8deg);
}

.lego-visual span:nth-child(5) {
  top: 40px;
  right: 20%;
  width: 105px;
  height: 86px;
  background: #335e9b;
  transform: rotate(-7deg);
}

.minecraft-visual {
  background:
    linear-gradient(180deg, #8acbd6 0 51%, transparent 51%),
    #795438;
}

.minecraft-visual::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 49%;
  background:
    linear-gradient(90deg, transparent 0 24.5%, rgba(255, 255, 255, 0.1) 25% 25.5%, transparent 26% 74.5%, rgba(255, 255, 255, 0.1) 75% 75.5%, transparent 76%),
    linear-gradient(0deg, #795438 0 48%, rgba(255, 255, 255, 0.1) 49% 50%, #8bb65e 51% 100%);
  content: "";
}

.minecraft-visual span {
  position: absolute;
  z-index: 2;
  display: block;
  width: 74px;
  height: 74px;
  box-shadow:
    inset -8px -8px 0 rgba(23, 59, 69, 0.12),
    0 8px 0 rgba(23, 59, 69, 0.08);
}

.minecraft-visual span:nth-child(1) {
  bottom: 30px;
  left: 8%;
  background: #8bb65e;
}

.minecraft-visual span:nth-child(2) {
  bottom: 30px;
  left: calc(8% + 74px);
  background: #6c9c55;
}

.minecraft-visual span:nth-child(3) {
  right: 10%;
  bottom: 30px;
  background: #d7b36d;
}

.minecraft-visual span:nth-child(4) {
  top: 41px;
  right: 18%;
  width: 58px;
  height: 58px;
  background: var(--paper);
  opacity: 0.88;
}

.minecraft-visual span:nth-child(5) {
  top: 88px;
  left: 20%;
  width: 45px;
  height: 45px;
  background: var(--paper);
  opacity: 0.75;
}

.minecraft-visual span:nth-child(6) {
  right: 28%;
  bottom: 104px;
  width: 60px;
  height: 60px;
  background: var(--coral);
  transform: rotate(8deg);
}

.interest-card--lego .card-kicker {
  color: #b36a18;
}

.interest-card--minecraft .card-kicker {
  color: #568143;
}

.creations {
  border-top: 1px solid var(--line);
}

.creation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.creation-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  align-self: start;
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 16px 42px rgba(72, 64, 44, 0.1);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.creation-card:hover {
  z-index: 2;
  box-shadow: 0 23px 50px rgba(72, 64, 44, 0.16);
  transform: translateY(-8px) rotate(0);
}

.creation-card--featured {
  grid-column: auto;
}

.creation-card--wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.creation-card--wide .creation-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px);
}

.creation-card--wide .creation-caption h3 {
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
}

.works-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.66);
}

.works-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.works-cta a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.works-cta a span {
  font-size: 1.15rem;
  transition: transform 160ms ease;
}

.works-cta a:hover span {
  transform: translateX(4px);
}

.creation-photo {
  min-height: 390px;
  overflow: hidden;
  background: #739b45;
}

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

.creation-photo--ice-cream {
  min-height: 420px;
  background: #8c5aa6;
}

.creation-photo--ice-cream img {
  height: 420px;
  object-fit: contain;
}

.creation-placeholder {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
  overflow: hidden;
}

.creation-card--coral .creation-placeholder {
  background: #f3a18a;
}

.creation-card--blue .creation-placeholder {
  background: #9ed5dc;
}

.creation-card--yellow .creation-placeholder {
  background: #f7d877;
}

.creation-caption {
  min-height: 120px;
  padding: 24px 26px 27px;
}

.creation-caption span {
  color: var(--coral);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.creation-caption h3 {
  margin: 7px 0 0;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.creation-caption p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.scribble {
  position: absolute;
  border: 18px solid var(--paper);
  border-radius: 48% 52% 44% 56%;
}

.scribble-one {
  width: 210px;
  height: 150px;
  transform: rotate(28deg);
}

.scribble-two {
  width: 140px;
  height: 220px;
  border-color: var(--teal);
  border-width: 13px;
  transform: rotate(-18deg);
}

.paper-star {
  position: relative;
  z-index: 2;
  color: var(--yellow);
  font-size: 5rem;
  filter: drop-shadow(0 8px 0 rgba(121, 77, 47, 0.12));
  transform: rotate(-10deg);
}

.blocks {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}

.blocks span {
  width: 62px;
  height: 105px;
  border-radius: 5px;
  background: var(--coral);
  box-shadow:
    inset -8px -8px 0 rgba(110, 56, 42, 0.11),
    0 8px 0 rgba(23, 59, 69, 0.08);
}

.blocks span:nth-child(2) {
  height: 165px;
  background: var(--yellow);
}

.blocks span:nth-child(3) {
  height: 135px;
  background: var(--teal);
}

.blocks span:nth-child(4) {
  height: 82px;
  background: var(--paper);
}

.idea-ray {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 4px dashed rgba(23, 59, 69, 0.28);
  border-radius: 50%;
}

.idea-bulb {
  position: relative;
  z-index: 2;
  display: grid;
  width: 130px;
  height: 150px;
  place-items: center;
  border-radius: 58% 58% 42% 42%;
  color: var(--paper);
  background: var(--coral);
  box-shadow: inset -10px -9px 0 rgba(112, 47, 34, 0.12);
  font: 900 4rem/1 "Arial Rounded MT Bold", sans-serif;
  transform: rotate(7deg);
}

.idea-bulb::after {
  position: absolute;
  bottom: -29px;
  width: 69px;
  height: 42px;
  border-radius: 0 0 13px 13px;
  background: var(--teal);
  content: "";
}

.moments {
  padding-top: 160px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 50%;
  height: 3px;
  background: var(--coral);
  content: "";
}

.timeline-item {
  position: relative;
  min-height: 280px;
  padding: 54px 60px 25px 0;
}

.timeline-item + .timeline-item {
  padding-left: 60px;
  border-left: 1px solid var(--line);
}

.timeline-marker {
  position: absolute;
  top: -20px;
  left: 0;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--coral);
  box-shadow: 0 0 0 8px var(--cream);
}

.timeline-item + .timeline-item .timeline-marker {
  left: 60px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.timeline-item time,
.timeline-time {
  color: var(--teal);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.timeline-time {
  margin: 0;
}

.timeline-item h3 {
  margin: 15px 0 10px;
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  letter-spacing: -0.04em;
}

.timeline-item > p:last-child {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.closing {
  position: relative;
  display: flex;
  min-height: 610px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 110px 24px;
  text-align: center;
  background: var(--teal);
}

.closing::before,
.closing::after {
  position: absolute;
  bottom: -180px;
  width: 660px;
  height: 360px;
  border-radius: 50% 50% 0 0;
  content: "";
}

.closing::before {
  left: -190px;
  background: #125b5e;
  transform: rotate(11deg);
}

.closing::after {
  right: -240px;
  background: #2f8480;
  transform: rotate(-12deg);
}

.closing-sun {
  position: absolute;
  top: 60px;
  right: 11%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow:
    0 0 0 18px rgba(246, 198, 77, 0.09),
    0 0 0 36px rgba(246, 198, 77, 0.05);
}

.closing > *:not(.closing-sun) {
  position: relative;
  z-index: 2;
}

.closing p {
  margin: 0;
  color: var(--yellow);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.closing h2 {
  margin: 22px 0 36px;
  color: var(--paper);
  font-family:
    "Arial Rounded MT Bold", "Noto Sans TC", "PingFang TC", sans-serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  letter-spacing: -0.075em;
  line-height: 1.08;
}

.closing a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  padding: 20px max(24px, calc((100vw - 1160px) / 2));
  color: rgba(255, 253, 247, 0.68);
  background: #0f4c4f;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.site-footer p {
  margin: 0;
}

.site-footer span {
  color: var(--yellow);
}

.works-page {
  min-height: 100svh;
  padding-top: 1px;
}

.works-hero {
  position: relative;
  display: flex;
  min-height: 550px;
  overflow: hidden;
  align-items: flex-end;
  padding: 160px max(24px, calc((100vw - 1160px) / 2)) 82px;
  background:
    radial-gradient(circle at 78% 28%, rgba(246, 198, 77, 0.75) 0 7%, transparent 7.3%),
    radial-gradient(circle at 86% 60%, rgba(239, 112, 79, 0.68) 0 10%, transparent 10.3%),
    radial-gradient(circle at 68% 72%, rgba(146, 206, 216, 0.9) 0 15%, transparent 15.3%),
    #f6dfad;
}

.works-hero::after {
  position: absolute;
  right: 7%;
  bottom: -160px;
  width: 430px;
  height: 430px;
  border: 42px solid rgba(23, 111, 112, 0.72);
  border-radius: 45% 55% 48% 52%;
  content: "";
  transform: rotate(18deg);
}

.works-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.works-hero h1 {
  margin: 0;
  font-family:
    "Arial Rounded MT Bold", "Noto Sans TC", "PingFang TC", sans-serif;
  font-size: clamp(4rem, 8vw, 8rem);
  letter-spacing: -0.08em;
  line-height: 0.98;
}

.works-hero__intro {
  max-width: 540px;
  margin: 28px 0 0;
  color: #36565e;
  font-size: 1.04rem;
  font-weight: 650;
}

.works-stats {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.works-stats span {
  padding: 8px 13px;
  border: 1px solid rgba(23, 59, 69, 0.13);
  border-radius: 99px;
  background: rgba(255, 253, 247, 0.55);
  font-size: 0.7rem;
  font-weight: 850;
}

.works-collection {
  width: var(--shell);
  margin: 0 auto;
  padding: 110px 0;
}

.collection-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.collection-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
  letter-spacing: -0.065em;
  line-height: 1;
}

.collection-heading p:last-child {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.works-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.work-tile {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(23, 59, 69, 0.1);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 16px 38px rgba(72, 64, 44, 0.1);
}

.work-tile__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9dfcb;
}

.work-tile__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.work-tile:hover .work-tile__image img {
  transform: scale(1.025);
}

.work-tile figcaption {
  padding: 20px 22px 23px;
}

.work-tile figcaption span {
  color: var(--coral);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.work-tile figcaption h3 {
  margin: 7px 0 0;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.semester-collection {
  width: var(--shell);
  margin: 0 auto 120px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.semester-collection summary {
  display: grid;
  min-height: 150px;
  cursor: pointer;
  grid-template-columns: 1fr auto 44px;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  list-style: none;
}

.semester-collection summary::-webkit-details-marker {
  display: none;
}

.semester-collection summary small {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.semester-collection summary strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.collection-count {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.summary-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--coral);
  font-size: 1.4rem;
  transition: transform 220ms ease;
}

.semester-collection[open] .summary-icon {
  transform: rotate(45deg);
}

.semester-gallery {
  padding: 16px 0 62px;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

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

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

@media (max-width: 860px) {
  :root {
    --shell: min(100% - 34px, 680px);
  }

  .site-header {
    min-height: 60px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 0.76rem;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
    font-size: 0.72rem;
    font-weight: 850;
  }

  .menu-button__icon {
    display: grid;
    gap: 5px;
  }

  .menu-button__icon span {
    display: block;
    width: 21px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] .menu-button__icon span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-button__icon span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    visibility: hidden;
    background: rgba(255, 253, 247, 0.96);
    box-shadow: 0 18px 40px rgba(34, 55, 53, 0.16);
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero {
    min-height: 800px;
    align-items: start;
  }

  .hero-art,
  .hero-art img {
    top: auto;
    height: 56%;
  }

  .hero-art img {
    object-position: 68% center;
  }

  .hero-shade {
    background: linear-gradient(180deg, #fff1d2 0%, #fff1d2 43%, rgba(255, 241, 210, 0.1) 67%);
  }

  .hero-copy {
    margin-top: 145px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 15vw, 5.8rem);
  }

  .hero-intro {
    max-width: 390px;
    margin-top: 22px;
    font-size: 1rem;
  }

  .primary-link {
    margin-top: 26px;
  }

  .hero-sticker {
    right: 18px;
    bottom: 24px;
    width: 84px;
    height: 84px;
  }

  .hero-sticker::before {
    top: 23px;
  }

  .hero-sticker::after {
    bottom: 23px;
  }

  .hero-sticker::before,
  .hero-sticker::after {
    width: 51px;
  }

  .section-shell {
    padding: 94px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 40px;
  }

  .section-note {
    grid-column: auto;
  }

  .interest-grid {
    grid-template-columns: 1fr;
  }

  .interest-card {
    min-height: 0;
    grid-template-columns: 0.9fr 1.1fr;
    grid-template-rows: none;
  }

  .interest-visual {
    min-height: 300px;
  }

  .creation-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .collection-heading {
    display: block;
  }

  .collection-heading p:last-child {
    margin-top: 16px;
  }

  .creation-card,
  .creation-card:nth-child(2),
  .creation-card:nth-child(3) {
    display: grid;
    grid-template-columns: minmax(180px, 0.9fr) 1.1fr;
    transform: none;
  }

  .creation-card--featured {
    grid-column: auto;
  }

  .creation-card--wide {
    grid-column: auto;
  }

  .creation-photo {
    min-height: 270px;
  }

  .creation-photo img {
    height: 100%;
    min-height: 270px;
  }

  .creation-placeholder {
    min-height: 270px;
  }

  .creation-caption {
    display: flex;
    min-height: auto;
    flex-direction: column;
    justify-content: center;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 38px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .timeline::before {
    top: 0;
    width: 3px;
    height: 50%;
  }

  .timeline-item,
  .timeline-item + .timeline-item {
    min-height: 0;
    padding: 0 0 16px 50px;
    border: 0;
  }

  .timeline-marker,
  .timeline-item + .timeline-item .timeline-marker {
    top: -5px;
    left: -20px;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .site-header {
    top: 10px;
    width: calc(100vw - 20px);
    padding-left: 10px;
  }

  .brand-name {
    display: none;
  }

  .hero {
    min-height: 740px;
  }

  .hero-copy {
    margin-top: 120px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 16.5vw, 4.8rem);
  }

  .hero-art,
  .hero-art img {
    height: 53%;
  }

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

  .section-heading h2 {
    font-size: 2.65rem;
  }

  .interest-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .interest-visual {
    min-height: 250px;
  }

  .interest-copy {
    padding: 34px 26px 38px;
  }

  .creation-card,
  .creation-card:nth-child(2),
  .creation-card:nth-child(3) {
    grid-template-columns: 1fr;
  }

  .creation-placeholder {
    min-height: 250px;
  }

  .creation-photo,
  .creation-photo img {
    min-height: 250px;
  }

  .creation-caption {
    min-height: 112px;
  }

  .closing {
    min-height: 530px;
  }

  .closing p {
    max-width: 250px;
    line-height: 1.8;
  }

  .site-footer {
    min-height: 110px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    text-align: center;
  }

  .works-hero {
    min-height: 500px;
    padding-top: 130px;
    padding-bottom: 60px;
  }

  .works-hero::after {
    right: -330px;
    bottom: -190px;
  }

  .works-gallery {
    grid-template-columns: 1fr;
  }

  .semester-collection summary {
    grid-template-columns: 1fr 40px;
    gap: 12px;
  }

  .collection-count {
    grid-column: 1;
    grid-row: 2;
  }

  .summary-icon {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .works-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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

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