:root {
  --paper: #f5f1e8;
  --paper-deep: #ebe3d4;
  --ink: #111b22;
  --ink-soft: #38434a;
  --gold: #a77a2f;
  --gold-light: #cfb783;
  --red: #a82222;
  --line: rgba(17, 27, 34, 0.18);
  --serif: "Songti TC", "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif;
  --sans: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--gold-light); color: var(--ink); }

.site-header {
  position: sticky; top: 0; z-index: 50; height: 88px; padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(245, 241, 232, 0.94); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.wordmark { display: inline-flex; align-items: baseline; gap: 15px; font: 800 31px/1 var(--serif); letter-spacing: .08em; }
.wordmark span { font: 600 9px/1.2 var(--sans); letter-spacing: .24em; color: var(--gold); }
.site-header nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 52px); font-size: 14px; letter-spacing: .08em; }
.site-header nav a { position: relative; padding: 33px 0; }
.site-header nav a::after { content: ""; position: absolute; left: 0; bottom: 24px; width: 0; height: 1px; background: var(--red); transition: width .25s; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { width: 100%; }
.menu-button { display: none; border: 0; background: transparent; padding: 12px; }

.hero { min-height: 690px; display: grid; grid-template-columns: 49% 51%; border-bottom: 1px solid var(--line); }
.hero-copy { padding: clamp(72px, 9vw, 138px) 7vw 86px 5vw; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { margin: 0 0 24px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { margin: 0; white-space: nowrap; font: 800 clamp(42px, 4.2vw, 78px)/1.08 var(--serif); letter-spacing: -.055em; }
.red-rule { display: block; width: 30px; height: 3px; background: var(--red); margin: 36px 0 24px; }
.hero-lede { max-width: 660px; margin: 0; color: #465159; font: 500 clamp(14px, .95vw, 17px)/1.95 var(--sans); letter-spacing: .035em; }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 38px; }
.primary-button { display: inline-flex; align-items: center; gap: 38px; padding: 16px 20px; background: var(--ink); color: var(--paper); font-size: 13px; letter-spacing: .1em; transition: background .25s, transform .25s; }
.primary-button:hover { background: var(--gold); transform: translateY(-2px); }
.text-link { font-size: 13px; border-bottom: 1px solid var(--ink); padding: 10px 0; }
.text-link span { margin-left: 12px; }
.hero-visual { position: relative; min-height: 690px; overflow: hidden; background-image: linear-gradient(90deg, rgba(17,27,34,.05), rgba(17,27,34,.1)), url('hong-kong-harbour.jpg'); background-size: cover; background-position: center; filter: saturate(.25) contrast(1.05); }
.hero-visual::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 23%; background: linear-gradient(105deg, var(--paper) 0 46%, transparent 47%); }
.hero-visual::after { content: ""; position: absolute; right: 14%; top: 0; width: 1px; height: 100%; background: var(--gold-light); transform: skewX(-17deg); opacity: .9; }
.hero-credit { position: absolute; right: 25px; bottom: 24px; padding: 11px 14px; color: #fff; background: rgba(17,27,34,.72); font-size: 9px; line-height: 1.6; letter-spacing: .18em; }
.viewfinder { position: absolute; inset: 9% 8% 10% 19%; border: 1px solid rgba(255,255,255,.28); border-left: 0; }
.viewfinder::before, .viewfinder::after { content: ""; position: absolute; width: 35px; height: 35px; border-color: white; opacity: .7; }
.viewfinder::before { top: -1px; right: -1px; border-top: 2px solid; border-right: 2px solid; }
.viewfinder::after { bottom: -1px; left: -1px; border-bottom: 2px solid; border-left: 2px solid; }
.viewfinder span { position: absolute; top: 14px; right: 15px; color: white; font-size: 9px; letter-spacing: .15em; }
.viewfinder span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-right: 8px; }

.metrics { padding: 0 5vw; min-height: 126px; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: #faf8f3; }
.metrics div { display: flex; align-items: center; justify-content: center; gap: 18px; border-right: 1px solid var(--line); }
.metrics div:first-child { border-left: 1px solid var(--line); }
.metrics strong { font: 700 clamp(36px, 3.3vw, 58px)/1 var(--serif); }
.metrics sup { font: 600 .42em/1 var(--sans); color: var(--gold); vertical-align: super; }
.metrics span { color: var(--ink-soft); font-size: 12px; line-height: 1.5; letter-spacing: .06em; }

.section { padding: 115px 5vw; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 48px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading h2, .about-title h2 { margin: 0; font: 800 clamp(42px, 4.4vw, 72px)/1.08 var(--serif); letter-spacing: -.04em; }
.section-heading > p { margin: 0 0 5px; color: var(--ink-soft); font: 400 14px/1.8 var(--serif); text-align: right; }

.featured { background: #faf8f3; }
.featured-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: repeat(2, minmax(260px, 1fr)); gap: 16px; min-height: 610px; }
.featured-card { overflow: hidden; background: var(--ink); }
.featured-card:first-child { grid-row: span 2; }
.card-preview { position: relative; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; text-align: left; background: var(--ink); color: white; overflow: hidden; }
.card-preview img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.35) contrast(1.05); transition: transform .7s ease, filter .5s; }
.card-preview:hover img { transform: scale(1.035); filter: saturate(.65) contrast(1.05); }
.image-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,27,34,.03) 20%, rgba(17,27,34,.88) 100%); }
.story-index { position: absolute; left: 25px; top: 22px; font: 600 11px/1 var(--sans); letter-spacing: .12em; }
.story-tag { position: absolute; right: 20px; top: 18px; padding: 8px 10px; background: rgba(245,241,232,.92); color: var(--ink); font-size: 10px; letter-spacing: .08em; }
.story-copy { position: absolute; left: 28px; right: 28px; bottom: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.story-copy time { margin-bottom: 10px; color: var(--gold-light); font-size: 11px; letter-spacing: .1em; }
.story-copy strong { max-width: 780px; font: 700 clamp(20px, 2.2vw, 34px)/1.35 var(--serif); }
.card-2 .story-copy strong, .card-3 .story-copy strong { font-size: clamp(17px, 1.6vw, 24px); }
.story-copy > span { margin-top: 18px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.5); font-size: 11px; letter-spacing: .08em; }

.archive { background: var(--paper); }
.archive-heading { margin-bottom: 24px; }
.archive-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0 26px; }
.year-tabs { display: flex; gap: 7px; }
.year-tabs button { border: 1px solid var(--line); background: transparent; padding: 9px 16px; color: var(--ink-soft); cursor: pointer; font-size: 12px; transition: all .2s; }
.year-tabs button:hover, .year-tabs button.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.search-box { position: relative; width: min(320px, 100%); }
.search-box input { width: 100%; border: 0; border-bottom: 1px solid var(--ink); padding: 10px 28px 10px 0; outline: none; background: transparent; font-size: 13px; }
.search-box > span:last-child { position: absolute; right: 2px; top: 6px; font-size: 22px; }
.story-list { border-top: 2px solid var(--ink); }
.story-row { min-height: 80px; display: grid; grid-template-columns: 48px 105px minmax(0, 1fr) 145px 35px; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.story-row:hover { background: rgba(207,183,131,.13); padding: 0 8px; }
.row-number { color: rgba(17,27,34,.42); font: 500 10px/1 var(--sans); }
.story-row time { color: var(--gold); font: 700 12px/1 var(--sans); }
.story-row button { border: 0; background: transparent; padding: 22px 0; text-align: left; color: var(--ink); cursor: pointer; font: 600 clamp(15px, 1.3vw, 19px)/1.55 var(--serif); }
.story-row button:hover { color: var(--red); }
.row-tag { justify-self: start; padding: 5px 8px; border: 1px solid var(--line); color: var(--ink-soft); font-size: 10px; white-space: nowrap; }
.story-row > a { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); font-size: 15px; transition: all .2s; }
.story-row > a:hover { background: var(--ink); color: white; }
.empty-state { padding: 80px 0; text-align: center; color: var(--ink-soft); }

.about-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; padding: 130px 5vw; background: var(--ink); color: var(--paper); }
.about-title { position: sticky; top: 130px; align-self: start; }
.about-title .eyebrow { color: var(--gold-light); }
.reporter-photo { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(245,241,232,.24); background: #18242b; }
.reporter-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.62) contrast(1.06); transition: filter .45s ease, transform .7s ease; }
.reporter-photo:hover img { filter: saturate(.9) contrast(1.03); transform: scale(1.018); }
.reporter-photo figcaption { position: absolute; right: 0; bottom: 0; padding: 10px 12px; background: rgba(17,27,34,.84); color: rgba(245,241,232,.82); font: 600 9px/1.25 var(--sans); letter-spacing: .11em; }
.reporter-portrait { width: min(78%, 330px); aspect-ratio: 1 / 1; margin-top: 52px; }
.reporter-portrait img { object-position: center center; }
.reporter-field { aspect-ratio: 16 / 9; margin-bottom: 48px; }
.reporter-field img { object-position: center 54%; }
.about-copy > .lead { margin: 0 0 26px; font: 600 clamp(23px, 2.4vw, 36px)/1.55 var(--serif); }
.about-copy > p:not(.lead) { max-width: 720px; margin: 0; color: rgba(245,241,232,.7); font: 400 16px/2 var(--serif); }
.skill-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(245,241,232,.25); border-left: 1px solid rgba(245,241,232,.25); }
.skill-grid div { min-height: 190px; padding: 28px; border-right: 1px solid rgba(245,241,232,.25); border-bottom: 1px solid rgba(245,241,232,.25); }
.skill-grid span { display: block; color: var(--gold-light); font-size: 10px; letter-spacing: .12em; }
.skill-grid strong { display: block; margin: 24px 0 12px; font: 700 22px/1 var(--serif); }
.skill-grid p { margin: 0; color: rgba(245,241,232,.58); font-size: 12px; line-height: 1.8; }

.experience-section { padding: 120px 5vw; background: #faf8f3; }
.experience-section .section-heading { margin-bottom: 0; }
.timeline { margin-left: 22%; border-left: 1px solid var(--gold); }
.timeline article { position: relative; min-height: 145px; display: grid; grid-template-columns: 180px 1fr; gap: 40px; padding: 30px 0 30px 45px; border-bottom: 1px solid var(--line); }
.timeline article::before { content: ""; position: absolute; left: -5px; top: 37px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold); box-shadow: 0 0 0 5px #faf8f3; }
.timeline time { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.timeline h3 { margin: 0 0 10px; font: 700 24px/1.3 var(--serif); }
.timeline p { margin: 0; color: var(--ink-soft); font-size: 13px; }

footer#contact { padding: 110px 5vw 35px; background: #d8c391; color: var(--ink); }
footer#contact .eyebrow { color: var(--ink); }
footer#contact h2 { margin: 0 0 55px; font: 800 clamp(55px, 7.5vw, 118px)/.98 var(--serif); letter-spacing: -.055em; }
.contact-link { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font: 600 clamp(18px, 2.2vw, 32px)/1 var(--serif); }
.contact-link span { font-family: var(--sans); transition: transform .2s; }
.contact-link:hover span { transform: translate(4px, -4px); }
.footer-bottom { margin-top: 90px; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .1em; }

.preview-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 28px; background: rgba(8,13,17,.82); backdrop-filter: blur(12px); }
.preview-modal { width: min(1180px, 96vw); height: min(820px, 92vh); display: grid; grid-template-rows: auto 1fr auto; background: var(--paper); box-shadow: 0 30px 90px rgba(0,0,0,.45); }
.preview-modal > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.preview-modal header p { margin: 0 0 7px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.preview-modal header h2 { max-width: 920px; margin: 0; font: 700 clamp(18px, 2vw, 28px)/1.4 var(--serif); }
.preview-modal header button { width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-size: 25px; line-height: 1; }
.iframe-wrap { position: relative; overflow: hidden; background: #e9e3d7; }
.iframe-fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--ink-soft); }
.iframe-fallback span { font: 800 45px/1 var(--serif); color: var(--ink); }
.iframe-fallback p { font-size: 12px; }
.iframe-wrap iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; background: white; }
.modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 14px 28px; border-top: 1px solid var(--line); }
.modal-footer p { margin: 0; color: var(--ink-soft); font-size: 11px; }
.modal-footer a { padding: 11px 16px; background: var(--ink); color: white; font-size: 12px; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .site-header { height: 72px; }
  .wordmark { font-size: 25px; }
  .menu-button { display: grid; gap: 6px; z-index: 2; }
  .menu-button span { width: 25px; height: 1px; background: var(--ink); }
  .site-header nav { display: none; position: absolute; inset: 72px 0 auto; padding: 25px 5vw; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 0; }
  .site-header nav.open { display: flex; }
  .site-header nav a { width: 100%; padding: 14px 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 590px; padding: 90px 6vw 65px; }
  .hero-visual { min-height: 430px; }
  .metrics { grid-template-columns: repeat(2, 1fr); padding: 0 4vw; }
  .metrics div { min-height: 110px; border-bottom: 1px solid var(--line); }
  .featured-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 430px 300px; }
  .featured-card:first-child { grid-column: span 2; grid-row: auto; }
  .about-section { grid-template-columns: 1fr; }
  .about-title { position: static; }
  .reporter-portrait { width: min(52vw, 330px); }
  .timeline { margin-left: 0; }
  .story-row { grid-template-columns: 42px 90px 1fr 35px; }
  .row-tag { display: none; }
}

@media (max-width: 680px) {
  .wordmark span { display: none; }
  .hero-copy { min-height: 520px; padding-top: 70px; }
  .hero h1 { font-size: clamp(32px, 9.6vw, 50px); }
  .hero-lede br { display: none; }
  .hero-actions { width: 100%; align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-visual { min-height: 330px; }
  .hero-visual::before { width: 16%; }
  .metrics strong { font-size: 35px; }
  .metrics span { font-size: 10px; }
  .metrics div { gap: 10px; }
  .section { padding: 85px 5vw; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading > p { text-align: left; }
  .featured-grid { display: flex; flex-direction: column; min-height: 0; }
  .featured-card { height: 330px; }
  .archive-tools { align-items: stretch; flex-direction: column; }
  .year-tabs { overflow-x: auto; padding-bottom: 4px; }
  .year-tabs button { flex: 0 0 auto; }
  .search-box { width: 100%; }
  .story-row { min-height: 95px; grid-template-columns: 70px 1fr 32px; gap: 10px; padding: 10px 0; }
  .story-row:hover { padding: 10px 5px; }
  .row-number { display: none; }
  .story-row time { align-self: start; padding-top: 15px; }
  .story-row button { padding: 10px 0; font-size: 15px; }
  .about-section { padding: 90px 5vw; }
  .reporter-portrait { width: 72%; margin-top: 38px; }
  .reporter-field { margin-top: 10px; margin-bottom: 36px; }
  .skill-grid { grid-template-columns: 1fr; }
  .skill-grid div { min-height: 155px; }
  .experience-section { padding: 85px 5vw; }
  .timeline article { grid-template-columns: 1fr; gap: 12px; padding-left: 30px; }
  .timeline h3 { font-size: 20px; }
  footer#contact { padding-top: 85px; }
  footer#contact h2 { font-size: clamp(48px, 15vw, 76px); }
  .contact-link { font-size: 17px; }
  .preview-backdrop { padding: 0; }
  .preview-modal { width: 100%; height: 100%; }
  .preview-modal > header { padding: 18px; }
  .modal-footer { padding: 12px 18px; }
  .modal-footer p { display: none; }
  .modal-footer a { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
