/* ==========================================================================
   CHGU Photography — Black & Gold
   ========================================================================== */

:root {
  --ink: #070707;
  --ink-soft: #0b0b0a;
  --ink-2: #101010;
  --cream: #f1ece2;
  --muted: #9b9488;
  --gold: #c8a25a;
  --gold-bright: #e8cf9a;
  --gold-deep: #8f6f33;

  --line: rgba(200, 162, 90, 0.18);
  --line-soft: rgba(241, 236, 226, 0.1);
  --line-strong: rgba(200, 162, 90, 0.4);

  --font-serif: "Cormorant Garamond", "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --font-cn: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --font-sans: "Helvetica Neue", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --section-y: clamp(88px, 12vw, 168px);
}

/* Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--gold);
  color: #0a0a09;
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

/* Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
  scroll-margin-top: 90px;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 90px);
}

.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.section__title {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.32;
  letter-spacing: 0.04em;
  color: var(--cream);
}

.section__lead {
  justify-self: end;
  max-width: 400px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2.05;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.eyebrow__dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
}

.eyebrow--center {
  justify-content: center;
}

.gold-text {
  background: linear-gradient(100deg, var(--gold-bright) 0%, var(--gold) 48%, #a07d3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 34px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  line-height: 1;
  text-transform: uppercase;
  overflow: hidden;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}

.btn > span {
  position: relative;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.55s var(--ease);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.btn:hover,
.btn:focus-visible {
  color: var(--ink);
}

.btn--solid {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn--solid::before {
  background: var(--gold-bright);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  border-color: var(--gold-bright);
}

.btn--ghost {
  padding: 12px 22px;
  font-size: 10px;
  letter-spacing: 0.2em;
  border-color: rgba(200, 162, 90, 0.45);
}

.btn__arrow {
  font-size: 13px;
  letter-spacing: 0;
  transition: transform 0.4s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(200, 162, 90, 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.3s;
}

.icon-btn:hover:not(:disabled) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.icon-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.16em;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}

.link-arrow:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.link-arrow span {
  transition: transform 0.4s var(--ease);
}

.link-arrow:hover span {
  transform: translate(3px, -3px);
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 24px;
  z-index: 400;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 16px;
}

/* Icons
   ========================================================================== */

/* Iconify 圖示以內嵌 <symbol> sprite 呈現（Lucide + Simple Icons），
   顏色一律跟著 currentColor，不產生額外請求。 */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  pointer-events: none;
}

.icon--sm {
  width: 0.9em;
  height: 0.9em;
}

/* 各區尺寸 */

.btn > .icon {
  position: relative;
  z-index: 1;
}

.btn > .icon--btn {
  width: 13px;
  height: 13px;
}

.icon-btn .icon {
  width: 15px;
  height: 15px;
}

.lightbox__close .icon {
  width: 18px;
  height: 18px;
}

.service__num .icon {
  width: 21px;
  height: 21px;
  opacity: 0.85;
}

.step h3 .icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.pillars h3 .icon {
  width: 13px;
  height: 13px;
}

.work__view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.work__view .icon {
  width: 11px;
  height: 11px;
  transition: transform 0.4s var(--ease);
}

.work:hover .work__view .icon,
.work:focus-visible .work__view .icon {
  transform: translate(2px, -2px);
}

.contact__info dt .icon {
  width: 12px;
  height: 12px;
}

.mobile-menu__foot a,
.contact__info dt {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Preloader
   ========================================================================== */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background:
    radial-gradient(80% 60% at 50% 42%, #12100c 0%, #070707 68%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.75s var(--ease), visibility 0.75s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  transition: transform 0.9s var(--ease), opacity 0.5s var(--ease);
}

.preloader.is-done .preloader__inner {
  opacity: 0;
  transform: translateY(-16px) scale(0.97);
}

.preloader__mark {
  width: auto;
  height: clamp(76px, 10vw, 112px);
  mix-blend-mode: screen;
  animation: preloadPulse 2.6s var(--ease) infinite;
}

@keyframes preloadPulse {
  0%, 100% { opacity: 0.5; filter: drop-shadow(0 0 0 rgba(200, 162, 90, 0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 18px rgba(200, 162, 90, 0.35)); }
}

.preloader__label {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  animation: preloadFade 2.6s var(--ease) infinite;
}

@keyframes preloadFade {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

.preloader__track {
  position: relative;
  width: clamp(140px, 18vw, 220px);
  height: 1px;
  background: rgba(241, 236, 226, 0.12);
  overflow: hidden;
}

.preloader__track::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(232, 207, 154, 0.42), transparent);
  animation: trackSweep 1.9s var(--ease) infinite;
}

@keyframes trackSweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(340%); }
}

.preloader__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  box-shadow: 0 0 12px rgba(200, 162, 90, 0.65);
  transition: width 0.5s var(--ease);
}

.is-preloading {
  overflow: hidden;
}

/* Grain
   ========================================================================== */

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 7, 7, 0.84);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 92px;
  transition: height 0.45s var(--ease);
}

.site-header.is-scrolled .header__inner {
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand__logo {
  width: auto;
  height: 54px;
  mix-blend-mode: screen;
  transition: opacity 0.35s, height 0.45s var(--ease);
}

.brand:hover .brand__logo {
  opacity: 0.75;
}

.site-header.is-scrolled .brand__logo {
  height: 44px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
}

.nav__link {
  position: relative;
  padding: 6px 0;
  color: rgba(241, 236, 226, 0.78);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  transition: color 0.35s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--ease);
}

.nav__link:hover {
  color: var(--cream);
}

.nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(200, 162, 90, 0.35);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1px;
  margin-left: -9px;
  background: var(--cream);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}

.burger span:nth-child(1) {
  top: 19px;
}

.burger span:nth-child(2) {
  top: 24px;
}

.menu-open .burger span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.menu-open .burger span:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Mobile menu
   ========================================================================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 118px var(--gutter) 40px;
  overflow-y: auto;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(200, 162, 90, 0.12), transparent 60%),
    #070707;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
}

.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-cn);
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1.5;
  color: var(--cream);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}

.mobile-menu__nav a span {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.mobile-menu__nav a:hover {
  color: var(--gold);
}

.menu-open .mobile-menu__nav a {
  opacity: 1;
  transform: none;
}

.menu-open .mobile-menu__nav a:nth-child(1) { transition-delay: 0.08s; }
.menu-open .mobile-menu__nav a:nth-child(2) { transition-delay: 0.14s; }
.menu-open .mobile-menu__nav a:nth-child(3) { transition-delay: 0.2s; }
.menu-open .mobile-menu__nav a:nth-child(4) { transition-delay: 0.26s; }
.menu-open .mobile-menu__nav a:nth-child(5) { transition-delay: 0.32s; }

.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 48px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.mobile-menu__foot a:hover {
  color: var(--gold);
}

/* Hero
   ========================================================================== */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 130px 0 150px;
  overflow: hidden;
  background: #000;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero__slide.is-active img {
  animation: kenburns 12s ease-out forwards;
}

@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.12); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(7, 7, 7, 0.1) 0%, rgba(7, 7, 7, 0.55) 70%, rgba(7, 7, 7, 0.92) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.82) 0%, rgba(7, 7, 7, 0.3) 32%, rgba(7, 7, 7, 0.5) 66%, var(--ink) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  text-align: center;
}

.hero__title {
  margin-top: 26px;
  font-family: var(--font-serif);
  font-size: clamp(46px, 8.6vw, 118px);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: 0.07em;
}

.hero__line {
  display: block;
}

.hero__line--gold {
  background: linear-gradient(100deg, #f4e3bd 0%, var(--gold) 46%, #a5823f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  margin-top: 34px;
  color: rgba(241, 236, 226, 0.82);
  font-size: 12px;
  letter-spacing: 0.3em;
}

.hero__desc {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
}

.hero__ui {
  position: absolute;
  right: var(--gutter);
  bottom: 42px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.hero__dots {
  display: flex;
  gap: 7px;
}

.hero__dot {
  position: relative;
  width: 34px;
  height: 18px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.hero__dot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(241, 236, 226, 0.28);
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s;
}

.hero__dot.is-active::before {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(200, 162, 90, 0.55);
  transform: scaleY(2);
}

.hero__nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero__count {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.22em;
}

.hero__count i {
  margin: 0 7px;
  color: rgba(241, 236, 226, 0.3);
  font-style: normal;
}

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 42px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll i {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2.4s var(--ease) infinite;
  transform-origin: top;
}

@keyframes scrollLine {
  0% { transform: scaleY(0.2); opacity: 0.3; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(10px); opacity: 0; }
}

.hero__scroll:hover {
  color: var(--gold);
}

/* Marquee
   ========================================================================== */

.marquee {
  position: relative;
  z-index: 2;
  padding: 20px 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee span {
  color: rgba(241, 236, 226, 0.55);
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee i {
  color: var(--gold);
  font-size: 8px;
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* About
   ========================================================================== */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.about__media {
  position: relative;
  z-index: 1;
}

.about__media::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  right: -18px;
  bottom: -18px;
  border: 1px solid rgba(200, 162, 90, 0.28);
  pointer-events: none;
}

.frame {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}

.frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
  transition: transform 1.2s var(--ease);
}

.about__media:hover .frame img {
  transform: scale(1.03);
}

.about__tag {
  position: absolute;
  right: -18px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 12px;
  border-left: 1px solid var(--line-strong);
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.about__tag span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.24em;
}

.about__copy .section__title {
  margin-top: 18px;
}

.about__copy > p {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 2.1;
}

.about__quote {
  margin-top: 32px;
  padding-left: 22px;
  border-left: 1px solid var(--gold);
  color: rgba(241, 236, 226, 0.86);
  font-family: var(--font-cn);
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.pillars {
  margin-top: 40px;
  border-top: 1px solid var(--line-soft);
}

.pillars li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.pillars__num {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.pillars h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.pillars p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

/* Services
   ========================================================================== */

.services__list {
  border-top: 1px solid var(--line-soft);
}

.service {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1.25fr) minmax(0, 0.8fr) 56px;
  gap: clamp(16px, 3vw, 48px);
  align-items: center;
  padding: clamp(26px, 3.4vw, 42px) 8px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.5s var(--ease);
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(200, 162, 90, 0.07), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.service:hover::before {
  opacity: 1;
}

.service__num {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.service__main h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-cn);
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.service__main h3 span {
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.service__main p {
  max-width: 480px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.95;
}

.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.12em;
}

.service__tags li {
  position: relative;
}

.service__tags li + li::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  width: 3px;
  height: 3px;
  background: var(--gold-deep);
  transform: translateY(-50%) rotate(45deg);
}

.service__arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
  font-size: 14px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease);
}

.service:hover .service__arrow {
  background: var(--gold);
  color: var(--ink);
  transform: rotate(-45deg);
}

/* Works
   ========================================================================== */

.works {
  overflow: hidden;
}

.works__nav {
  display: flex;
  gap: 10px;
}

.works__track {
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);
  padding: 4px var(--gutter) 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.works__track::-webkit-scrollbar {
  display: none;
}

.work {
  position: relative;
  flex: 0 0 clamp(280px, 34vw, 520px);
  padding: 0;
  border: 1px solid rgba(241, 236, 226, 0.08);
  background: var(--ink-2);
  overflow: hidden;
  scroll-snap-align: start;
  cursor: zoom-in;
  text-align: left;
}

.work img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.92);
  transition: transform 1s var(--ease), filter 0.6s var(--ease);
}

.work::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0) 55%);
  pointer-events: none;
}

.work__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: rgba(241, 236, 226, 0.75);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.8;
  transform: translateY(5px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.work__meta span:last-child {
  color: var(--gold);
}

.work:hover img,
.work:focus-visible img {
  transform: scale(1.055);
  filter: saturate(1) brightness(1);
}

.work:hover .work__meta,
.work:focus-visible .work__meta {
  opacity: 1;
  transform: none;
}

.works__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
}

.works__note {
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

/* Process
   ========================================================================== */

.process__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}

.process__grid::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 162, 90, 0.45), rgba(200, 162, 90, 0.06));
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
}

.step__num {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.12em;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s;
}

.step:hover .step__num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.step h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--cream);
  font-family: var(--font-cn);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

/* Contact
   ========================================================================== */

.contact__panel {
  position: relative;
  padding: clamp(36px, 6vw, 82px);
  border: 1px solid var(--line);
  background:
    radial-gradient(110% 90% at 82% 0%, rgba(200, 162, 90, 0.14), transparent 58%),
    var(--ink-soft);
  overflow: hidden;
}

.contact__panel > * {
  position: relative;
  z-index: 1;
}

.contact__watermark {
  position: absolute;
  right: -30px;
  bottom: -60px;
  z-index: 0;
  width: clamp(220px, 30vw, 360px);
  height: auto;
  opacity: 0.055;
  mix-blend-mode: screen;
  pointer-events: none;
}

.contact__title {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(34px, 5.5vw, 68px);
  line-height: 1.28;
  letter-spacing: 0.05em;
}

.contact__lead {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2.05;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.contact__info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 60px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.contact__info dt {
  color: var(--gold);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.contact__info dd {
  margin-top: 7px;
  color: var(--cream);
  font-size: 13.5px;
  letter-spacing: 0.04em;
}

.contact__info a:hover {
  color: var(--gold);
}

/* Footer
   ========================================================================== */

.footer {
  position: relative;
  padding: clamp(52px, 6.5vw, 76px) 0 24px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(200, 162, 90, 0.05), transparent 62%),
    #050505;
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(36px, 7vw, 104px);
  align-items: start;
}

/* 品牌 */
.footer__logo {
  display: inline-block;
  width: fit-content;
}

.footer__logo img {
  display: block;
  width: auto;
  height: 52px;
  mix-blend-mode: screen;
  transition: opacity 0.35s var(--ease);
}

.footer__tagline {
  margin-top: 22px;
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.footer__desc {
  margin-top: 10px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
}

/* 右側三欄 */
.footer__label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(200, 162, 90, 0.8);
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.footer__col {
  min-width: 96px;
}

.footer__label::before {
  content: "";
  width: 12px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  color: rgba(241, 236, 226, 0.72);
  font-size: 12.5px;
  letter-spacing: 0.12em;
}

.footer__links a {
  display: inline-block;
  transition: color 0.35s var(--ease), transform 0.35s var(--ease);
}

.footer__links--social a {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.footer__links--social .icon {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin-top: 4px;
  color: var(--gold);
}

.footer__socialText {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.45;
}

.footer__socialText span:last-child {
  color: rgba(155, 148, 136, 0.8);
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* 底部資訊列 */
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: clamp(30px, 3.6vw, 46px);
  padding-top: 20px;
  border-top: 1px solid rgba(241, 236, 226, 0.08);
}

.footer__copy {
  color: rgba(155, 148, 136, 0.6);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

.footer__sep {
  margin: 0 0.6em;
  color: rgba(200, 162, 90, 0.45);
}

.footer__barEnd {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* 製作者署名：最小字級 + 低對比，hover 才亮起 */
.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(155, 148, 136, 0.6);
  font-size: 10px;
  letter-spacing: 0.06em;
  transition: color 0.35s var(--ease);
}

/* HALPHAS 字標以遮色片重新上色，跟隨頁尾色調，不需額外圖檔 */
.footer__mark {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(200, 162, 90, 0.22);
  border-radius: 50%;
  transition: border-color 0.35s var(--ease);
}

.footer__mark::after {
  content: "";
  position: absolute;
  inset: 4px 6px;
  background-color: rgba(200, 162, 90, 0.75);
  -webkit-mask: url("../../img/logo/halphas-icon.png") no-repeat center / contain;
  mask: url("../../img/logo/halphas-icon.png") no-repeat center / contain;
  transition: background-color 0.35s var(--ease);
}

.footer__creditBrand {
  color: rgba(200, 162, 90, 0.85);
  transition: color 0.35s var(--ease);
}

.footer__credit:hover,
.footer__credit:focus-visible {
  color: rgba(241, 236, 226, 0.85);
}

.footer__credit:hover .footer__mark,
.footer__credit:focus-visible .footer__mark {
  border-color: rgba(200, 162, 90, 0.6);
}

.footer__credit:hover .footer__mark::after,
.footer__credit:focus-visible .footer__mark::after {
  background-color: var(--gold);
}

.footer__credit:hover .footer__creditBrand,
.footer__credit:focus-visible .footer__creditBrand {
  color: var(--gold);
}

.footer__toTop {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(200, 162, 90, 0.26);
  border-radius: 50%;
  color: rgba(200, 162, 90, 0.85);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.footer__toTop .icon {
  width: 13px;
  height: 13px;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--gold);
  transform: translateX(3px);
}

.footer__links--social a:hover,
.footer__links--social a:focus-visible {
  transform: none;
}

.footer__logo:hover img,
.footer__logo:focus-visible img {
  opacity: 0.7;
}

.footer__toTop:hover,
.footer__toTop:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* Lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 2vw, 30px);
  padding: clamp(60px, 8vw, 90px) clamp(12px, 3vw, 40px) clamp(30px, 5vw, 60px);
  background: rgba(4, 4, 4, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__figure {
  position: relative;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s var(--ease);
}

.lightbox__figure img.is-in {
  animation: lightboxIn 0.6s var(--ease) both;
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: none; }
}

.lightbox__figure.is-loading img {
  opacity: 0.32;
}

.lightbox__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(200, 162, 90, 0.24);
  border-top-color: var(--gold);
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: spin 0.9s linear infinite;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.lightbox__figure.is-loading .lightbox__loader {
  opacity: 1;
  visibility: visible;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.lightbox__figure figcaption {
  color: var(--gold);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 26px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.35s, color 0.35s;
}

.lightbox__close:hover {
  background: var(--gold);
  color: var(--ink);
}

.lightbox__nav {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.35s, color 0.35s;
}

.lightbox__nav:hover {
  background: var(--gold);
  color: var(--ink);
}

.lightbox__nav--prev { grid-column: 1; }
.lightbox__nav--next { grid-column: 3; }

/* Media loading state
   ========================================================================== */

.media-loading {
  position: relative;
  background: var(--ink-2);
}

.media-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 26%,
    rgba(200, 162, 90, 0.14) 44%,
    rgba(241, 236, 226, 0.08) 52%,
    transparent 74%
  );
  transform: translateX(-100%);
  animation: mediaSweep 1.7s linear infinite;
  pointer-events: none;
}

@keyframes mediaSweep {
  to { transform: translateX(100%); }
}

.media-loading > img {
  opacity: 0;
}

.media-ready > img {
  animation: mediaIn 0.9s var(--ease) both;
}

@keyframes mediaIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.pillars li:nth-child(2) { --d: 0.08s; }
.pillars li:nth-child(3) { --d: 0.16s; }

.process__grid .step:nth-child(2) { --d: 0.08s; }
.process__grid .step:nth-child(3) { --d: 0.16s; }
.process__grid .step:nth-child(4) { --d: 0.24s; }

/* Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .header__inner {
    height: 84px;
  }

  .nav {
    gap: 20px;
  }

  .about__grid {
    gap: 56px;
  }
}

@media (max-width: 980px) {
  .nav,
  .header__cta {
    display: none;
  }

  .burger {
    display: block;
  }

  .section__head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section__lead {
    justify-self: start;
    max-width: 520px;
    padding-bottom: 0;
  }

  .section__head--row {
    align-items: flex-end;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .about__media {
    width: min(100%, 520px);
  }

  .service {
    grid-template-columns: 48px minmax(0, 1fr) 42px;
    gap: 18px;
  }

  .service__tags {
    grid-column: 2;
    margin-top: 4px;
  }

  .service__arrow {
    grid-column: 3;
    grid-row: 1;
    width: 38px;
    height: 38px;
  }

  .process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }

  .process__grid::before {
    display: none;
  }

  .footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 40px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 118px 0 132px;
  }

  .hero__sub {
    letter-spacing: 0.2em;
  }

  .hero__scroll {
    display: none;
  }

  .hero__ui {
    left: var(--gutter);
    right: var(--gutter);
    bottom: 26px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero__dots {
    gap: 3px;
  }

  .hero__dot {
    width: 26px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
    margin-inline: auto;
    margin-top: 36px;
  }

  .btn {
    padding: 15px 26px;
  }

  .works__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .work {
    flex: 0 0 78vw;
  }

  .contact__info {
    gap: 22px 40px;
  }

  .lightbox {
    grid-template-columns: 1fr;
    padding: 76px 16px 96px;
  }

  .lightbox__figure {
    grid-column: 1;
  }

  .lightbox__figure img {
    max-height: 66vh;
  }

  .lightbox__nav {
    position: absolute;
    bottom: 26px;
  }

  .lightbox__nav--prev {
    left: calc(50% - 62px);
    grid-column: 1;
  }

  .lightbox__nav--next {
    right: calc(50% - 62px);
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  .section__head--row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .works__nav {
    align-self: flex-end;
  }

  .service {
    grid-template-columns: 34px minmax(0, 1fr);
    padding-block: 26px;
  }

  .service__arrow {
    display: none;
  }

  .service__tags {
    grid-column: 2;
  }

  .service__main h3 {
    gap: 8px;
  }

  .service__main h3 span {
    width: 100%;
  }

  .process__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 0 18px;
    align-items: start;
  }

  .step__num {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .step h3 {
    margin-top: 8px;
  }

  .step p {
    margin-top: 6px;
  }

  .contact__actions .btn {
    width: 100%;
  }

  .footer {
    padding-top: 48px;
  }

  .footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__links {
    gap: 9px;
  }

  .footer__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer__copy {
    line-height: 1.9;
  }

  .footer__barEnd {
    width: 100%;
    justify-content: space-between;
  }

  .footer__credit {
    gap: 8px;
  }

  .footer__mark {
    width: 26px;
    height: 26px;
  }
}

/* Touch & press feedback
   ========================================================================== */

/* 觸控裝置沒有 hover，全站互動補上 :active，讓每個元件點下去都有回應 */

.btn,
.icon-btn,
.work,
.hero__dot,
.burger,
.lightbox__close,
.lightbox__nav,
.footer__toTop {
  touch-action: manipulation;
}

.btn:active::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.btn:active {
  color: var(--ink);
}

.btn:active .btn__arrow {
  transform: translateX(4px);
}

.btn--solid:active {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.btn:active,
.icon-btn:active:not(:disabled),
.footer__toTop:active {
  transform: scale(0.97);
}

.icon-btn:active:not(:disabled),
.lightbox__close:active,
.lightbox__nav:active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.link-arrow:active {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.link-arrow:active span {
  transform: translate(3px, -3px);
}

.brand:active .brand__logo {
  opacity: 0.72;
}

.nav__link:active,
.mobile-menu__nav a:active,
.mobile-menu__foot a:active,
.contact__info a:active,
.footer__links a:active {
  color: var(--gold);
}

.hero__scroll:active {
  color: var(--gold);
}

.about__media:active .frame img {
  transform: scale(1.03);
}

.service:active::before {
  opacity: 1;
}

.service:active .service__arrow {
  background: var(--gold);
  color: var(--ink);
  transform: rotate(-45deg);
}

.work:active img {
  transform: scale(1.055);
  filter: saturate(1) brightness(1);
}

.work:active .work__meta {
  opacity: 1;
  transform: none;
}

.work:active .work__view .icon {
  transform: translate(2px, -2px);
}

.step:active .step__num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.footer__credit:active {
  color: var(--gold);
}

.footer__credit:active .footer__mark {
  border-color: rgba(200, 162, 90, 0.6);
}

.footer__credit:active .footer__mark::after {
  background-color: var(--gold);
}

.footer__credit:active .footer__creditBrand {
  color: var(--gold);
}

.footer__toTop:active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* 觸控裝置：把原本只有 hover 才看得到的資訊改為常駐 */
@media (hover: none) {
  .work__meta {
    opacity: 0.92;
    transform: none;
  }
}

/* Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__slide.is-active img {
    animation: none;
    transform: scale(1.02);
  }

  .preloader {
    display: none;
  }

  .media-loading::before {
    display: none;
  }
}
