:root {
  --ink: #181715;
  --muted: #6d6a64;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --line: rgba(24, 23, 21, 0.12);
  --accent: #b6573a;
  --accent-dark: #763c2e;
  --gold: #d8a85f;
  --moss: #596655;
  --sky: #d7e1df;
  --shadow: 0 20px 60px rgba(24, 23, 21, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
}

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

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

.site-header-solid {
  position: sticky;
  color: var(--ink);
  background: rgba(247, 244, 238, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-header-solid .nav-cta {
  border-color: var(--line);
}

.brand,
.main-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.16);
}

.main-nav {
  gap: clamp(12px, 2.4vw, 32px);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 190px;
  display: grid;
  gap: 2px;
  padding: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.dropdown-menu a {
  padding: 10px 12px;
  color: var(--ink);
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--paper);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-cta {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(182, 87, 58, 0.2), transparent 42%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.26) 60%, rgba(0, 0, 0, 0.08));
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.08) contrast(1.06);
}

.hero-content {
  width: min(880px, calc(100% - 40px));
  margin: 0 clamp(20px, 6vw, 80px) clamp(120px, 16vh, 170px);
  color: #fff;
}

.hero-impact h1 {
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f5c3ad;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-proof {
  position: absolute;
  right: clamp(20px, 5vw, 64px);
  bottom: clamp(22px, 5vw, 48px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 1px;
  width: min(460px, calc(100% - 40px));
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-proof div {
  padding: 16px;
  color: #fff;
}

.hero-proof strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

.attention-strip {
  display: flex;
  gap: clamp(22px, 6vw, 86px);
  overflow: hidden;
  padding: 18px clamp(20px, 5vw, 64px);
  color: #fff;
  background: var(--ink);
  white-space: nowrap;
}

.attention-strip span {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.02em;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
}

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

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 1120px;
  margin: 0 auto 32px;
}

.intro-section {
  background: var(--paper);
}

.series-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.series-image-grid {
  width: min(1320px, 100%);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border: 0;
  gap: 16px;
}

.series-grid article,
.series-card {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.series-card {
  display: flex;
  flex-direction: column;
  transition: background 180ms ease, transform 180ms ease;
}

.series-card:hover,
.series-card:focus-visible {
  background: #fff;
  transform: translateY(-4px);
}

.series-card strong {
  margin-top: auto;
  color: var(--accent-dark);
  font-size: 0.92rem;
}

.image-card {
  position: relative;
  min-height: 430px;
  justify-content: flex-end;
  overflow: hidden;
  border: 0;
  color: #fff;
  background: #222;
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.08) 62%);
}

.image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.image-card > span,
.image-card h3,
.image-card p,
.image-card strong {
  position: relative;
  z-index: 2;
}

.image-card:hover img,
.image-card:focus-visible img {
  transform: scale(1.08);
}

.image-card span,
.image-card p {
  color: rgba(255, 255, 255, 0.78);
}

.image-card h3 {
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
}

.image-card strong {
  color: #ffd6c1;
}

.series-grid span {
  display: block;
  margin-bottom: 56px;
  color: var(--accent);
  font-weight: 900;
}

.series-grid p {
  color: var(--muted);
}

.portfolio-section {
  background: #fff;
}

.page-portfolio {
  padding-top: 54px;
}

.page-hero {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 64px) clamp(40px, 6vw, 70px);
  background: var(--paper);
}

.page-hero > * {
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.page-hero-image {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  padding-top: clamp(64px, 8vw, 96px);
}

.page-hero-image > * {
  width: auto;
}

.page-hero-image img {
  width: 100%;
  height: clamp(340px, 48vw, 560px);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 7rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.portfolio-intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0 clamp(20px, 5vw, 64px);
  background: var(--line);
}

.portfolio-intro article {
  padding: 24px;
  background: #fff;
}

.portfolio-intro span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.portfolio-intro strong {
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.portfolio-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.active,
.filter-link.active {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.filter-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

.gallery {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.work-card {
  grid-column: span 4;
  min-width: 0;
  border: 0;
  padding: 0;
  color: #fff;
  background: #222;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  box-shadow: 0 16px 40px rgba(24, 23, 21, 0.12);
}

.work-card.wide {
  grid-column: span 8;
  aspect-ratio: 16 / 9;
}

.work-card.tall {
  grid-row: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.03) 62%);
}

.work-card:hover img,
.work-card:focus-visible img {
  transform: scale(1.055);
}

.work-info {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
}

.work-info p {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
}

.work-info h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
}

.impact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 7vw, 96px);
  background: var(--ink);
  color: #fff;
}

.impact-copy {
  max-width: 680px;
}

.impact-copy h2 {
  color: #fff;
}

.impact-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.impact-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.impact-list article {
  padding: clamp(22px, 4vw, 36px);
  background: #24221f;
}

.impact-list span {
  color: var(--gold);
  font-weight: 900;
}

.impact-list h3 {
  margin-top: 22px;
  color: #fff;
}

.impact-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.social-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: #fff;
}

.social-section > div:first-child {
  max-width: 720px;
}

.social-section p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.social-grid {
  display: grid;
  gap: 16px;
}

.social-grid article {
  padding: clamp(24px, 4vw, 36px);
  color: #fff;
  background: var(--accent-dark);
  box-shadow: 0 16px 40px rgba(24, 23, 21, 0.12);
}

.social-grid article:nth-child(2) {
  background: var(--moss);
}

.social-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: #ffd6c1;
  font-weight: 900;
}

.social-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.journal-section {
  background: var(--paper);
}

.section-heading > p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.journal-grid {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.journal-grid article {
  background: #fff;
  box-shadow: 0 16px 40px rgba(24, 23, 21, 0.1);
}

.journal-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.journal-grid span,
.booking-grid span,
.payment-flow span {
  display: inline-flex;
  margin: 24px 24px 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.journal-grid h3,
.journal-grid p {
  margin-left: 24px;
  margin-right: 24px;
}

.journal-grid p {
  margin-bottom: 28px;
  color: var(--muted);
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  background: #fff;
}

.booking-section > div:first-child {
  max-width: 650px;
}

.booking-section p:not(.eyebrow),
.payment-card p {
  color: var(--muted);
  font-size: 1.06rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.booking-grid article {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 24px 24px;
  background: var(--paper);
  border-top: 4px solid var(--accent);
}

.booking-grid h3 {
  margin-bottom: 10px;
}

.booking-grid p {
  color: var(--muted);
}

.booking-grid .button {
  margin-top: auto;
}

.button.dark {
  color: #fff;
  background: var(--ink);
}

.payment-hero {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 64px) clamp(42px, 6vw, 72px);
  background: var(--paper);
}

.payment-hero > * {
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.payment-hero h1 {
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 7rem);
}

.payment-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.payment-section {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 6vw, 72px);
  background: #fff;
}

.payment-flow {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.payment-flow article,
.payment-card {
  padding: clamp(24px, 4vw, 36px);
  background: var(--paper);
}

.payment-flow span {
  margin: 0 0 20px;
}

.payment-flow p {
  margin-bottom: 0;
  color: var(--muted);
}

.payment-card {
  align-self: start;
  background: var(--ink);
  color: #fff;
}

.payment-card h2 {
  color: #fff;
}

.payment-card p {
  color: rgba(255, 255, 255, 0.72);
}

.payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: var(--sky);
}

.about-image {
  min-height: 560px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.about-copy {
  max-width: 680px;
}

.about-copy > p:not(.eyebrow),
.contact-section p {
  color: var(--muted);
  font-size: 1.06rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 34px 0 0;
}

.stats div {
  padding-top: 18px;
  border-top: 1px solid rgba(24, 23, 21, 0.2);
}

.stats dt {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.stats dd {
  margin: 8px 0 0;
  color: var(--muted);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--moss);
  color: #fff;
}

.contact-section .eyebrow {
  color: #ffcdb8;
}

.contact-section p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(12, 12, 10, 0.86);
}

.lightbox.open {
  display: grid;
}

.lightbox-panel {
  width: min(1120px, 100%);
  max-height: 90vh;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.lightbox-panel img {
  width: 100%;
  height: min(76vh, 760px);
  object-fit: cover;
  background: #111;
}

.lightbox-panel figcaption {
  padding: 28px;
  align-self: end;
}

.lightbox-category {
  color: var(--accent);
  font-weight: 900;
}

.lightbox-meta {
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

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

  .main-nav {
    max-width: 320px;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .dropdown-menu {
    left: auto;
    right: 0;
    transform: translate(0, 8px);
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    transform: translate(0, 0);
  }

  .series-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-heading,
  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters {
    justify-content: flex-start;
  }

  .work-card,
  .work-card.wide {
    grid-column: span 6;
    aspect-ratio: 4 / 5;
  }

  .about-section,
  .impact-section,
  .social-section,
  .booking-section,
  .payment-section,
  .page-hero-image,
  .lightbox-panel {
    grid-template-columns: 1fr;
  }

  .portfolio-intro,
  .journal-grid,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin-bottom: 150px;
  }

  .about-image,
  .about-image img {
    min-height: 380px;
  }

  .lightbox-panel img {
    height: 58vh;
  }
}

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

  .site-header-solid {
    position: sticky;
  }

  .main-nav {
    gap: 8px 12px;
    font-size: 0.82rem;
  }

  .dropdown-menu {
    min-width: 168px;
  }

  .nav-cta {
    padding: 5px 10px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px 54px;
  }

  h1 {
    font-size: 4.15rem;
  }

  .section {
    padding: 54px 18px;
  }

  .series-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .series-grid article,
  .series-card {
    min-height: 160px;
  }

  .image-card {
    min-height: 330px;
  }

  .series-grid span {
    margin-bottom: 24px;
  }

  .hero-proof {
    left: 18px;
    right: 18px;
    width: auto;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-proof div {
    padding: 12px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px 138px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .attention-strip {
    gap: 28px;
    overflow-x: auto;
  }

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

  .work-card,
  .work-card.wide {
    grid-column: auto;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-panel figcaption {
    padding: 20px;
  }

  .page-hero-image img {
    height: 300px;
  }
}
