@import url('base.css');

/* ===== Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== Base ===== */
html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: #FFF;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    padding: 0px var(--space-16) 0px;
    height: 80px;
    background: transparent;
    box-shadow: none;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.is-scrolled {
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
}

.brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.brand-logo{
    height:60px;
}

.brand-logo--light {
    display: none;
}

.page-home .site-header:not(.is-scrolled):not(.is-nav-open) .brand-logo--light {
    display: block;
}

.page-home .site-header:not(.is-scrolled):not(.is-nav-open) .brand-logo--dark {
    display: none;
}

.brand-text {
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--text-white);
    letter-spacing: 0.1em;
}

.brand-sub {
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--text-white-60);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ===== Navigation ===== */
.main-nav {
    display: flex;
    align-items: center;
    gap: 100px;
}

.main-nav-menu {
    display: flex;
    align-items: center;
    gap: inherit;
}

.main-nav a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: var(--text-lg);
    font-weight: 500;
    letter-spacing: 0.1em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    position: relative;
    transition: transform var(--transition-bounce),
                opacity var(--transition-base);
    height: 80px;
}

.page-home .site-header:not(.is-scrolled):not(.is-nav-open) .main-nav a {
    color: #fff;
    text-shadow: var(--shadow-text);
}

.main-nav a:not(.active):hover {
    transform: scale(1.18);
    opacity: 0.9;
}

.main-nav a.active:hover {
    transform: none;
}

.menu-toggle {
    display: none;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: var(--brand-navy);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* 影片背景 */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
}

/* 半透明暗色遮罩，讓文字更清晰 */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: calc(var(--z-base) + 1);
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.32) 55%,
        rgba(0, 0, 0, 0.08) 100%
    );
}

.hero-content {
    position: relative;
    z-index: calc(var(--z-base) + 2);
    padding-left: 9%;
    max-width: 900px;
    padding-bottom:10vh;
}

/* 中文文字區塊 */
.hero-zh {
    margin-bottom: 36px;
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.18em;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: var(--shadow-text);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-white-80);
    font-weight: 400;
    letter-spacing: 0.4em;
    line-height: 2;
    text-shadow: var(--shadow-sm);
}

/* 英文文字區塊 */
.hero-en {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-en span {
    display: block;
    font-size: var(--text-4xl);
    font-weight: 500;
    color: var(--brand-gold);
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-shadow: var(--shadow-text);
}

/* ===== Vision Section ===== */
.vision {
    background: #fff;
    width: 100vw;
    display: grid;
    grid-template-columns: 13fr 25fr;
}

.vision-left {
    padding: 160px 60px 160px 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vision-label {
    display: block;
    font-size: var(--text-5xl);
    font-weight: 500;
    color: var(--brand-gold);
    line-height: 1;
}

.vision-text {
    margin-top: 28px;
}

.vision-heading {
    font-size: var(--text-xl);
    font-weight: 600;
    color: #472b16;
    line-height: 1.9;
    margin-bottom: 24px;
    letter-spacing: 0.4rem;
}

.vision-body p {
    font-size: var(--text-sm);
    color: #555;
    line-height: 2.1;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.vision-body p:last-child {
    margin-bottom: 0;
}

.vision-cta {
    margin-top: auto;
    padding-top: 48px;
    display: flex;
    justify-content: flex-end;
}

/* ===== 了解更多按鈕（深色版，亮色背景使用） ===== */
/* 與 .pf-card-link 同一設計語彙：膠囊外框 + 圖片播放鈕 */
.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #472b16;
    text-decoration: none;
    font-size: var(--text-xs);
    font-weight: bold;
    letter-spacing: 0.18em;
    white-space: nowrap;
    line-height: 1;
    padding: 2px 1px 2px 20px;
    border: 1px solid #472b16;
    border-radius: 50px;
    background: transparent;
    transition: color var(--transition-base), border-color var(--transition-base);
    width: fit-content;
}

.btn-more::after {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-image: url("../images/brown.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    color: transparent;
    font-size: 0;
    line-height: 1;
    letter-spacing: 0;
    transition: transform var(--transition-base);
}

.btn-more:hover {
    color: var(--brand-gold);
    border-color: var(--brand-gold);
}

.btn-more:hover::after {
    transform: translateX(4px);
}

.vision-right {
    position: relative;
    min-height: 560px;
    padding: 160px 0px 160px 8%;
    display: flex;
}

.vision-img-frame {
    position: relative;
    flex: 1;
    align-self: stretch;
    overflow: hidden;
}

.vision-img {
    --vision-parallax-buffer: clamp(150px, 10vw, 180px);
    --vision-parallax-extra: clamp(300px, 20vw, 360px);
    display: block;
    position: absolute;
    top: calc(0px - var(--vision-parallax-buffer));
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100% + var(--vision-parallax-extra));
    object-fit: cover;
    transform: translate3d(0, var(--vision-parallax-y, 0px), 0);
    transform-origin: center;
    will-change: transform;
}

.bg-parallax {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-image: none;
}

.bg-parallax::after {
    content: '';
    position: absolute;
    inset: var(--bg-parallax-inset, -12% 0);
    z-index: 0;
    pointer-events: none;
    background-color: transparent;
    background-image: var(--bg-parallax-image);
    background-size: var(--bg-parallax-size, cover);
    background-position: var(--bg-parallax-position, center);
    background-repeat: var(--bg-parallax-repeat, no-repeat);
    transform: translate3d(0, var(--bg-parallax-y, 0px), 0) scale(var(--bg-parallax-scale, 1.04));
    transform-origin: center;
    will-change: transform;
}

/* ===== Promise Section ===== */
.promise {
    position: relative;
    width: 100vw;
    height: 100vh;
    --bg-parallax-image: url('../images/BG01.png');
    --bg-parallax-position: center;
    --bg-parallax-scale: 1.08;
    background-color: var(--brand-navy);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.promise-inner {
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    bottom: 40px;
    z-index: 1;
    display: flex;
    align-items: stretch;
}

.promise-panel {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    padding: 52px 52px 52px 13rem;
}

.promise-titles {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap:3rem;
}

.promise-label {
    display: block;
    font-size: var(--text-5xl);
    font-weight: 500;
    color: var(--brand-gold);
    line-height: 1;
}

.promise-sub {
    color: var(--text-white);
    font-size: var(--text-xl);
    letter-spacing: 0.12em;
    margin-top: 14px;
    font-weight: 600;
}

.promise-mid {
    color: var(--brand-gold);
    font-size: var(--text-4xl);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.03em;
    margin-top: 14px;
}

.promise-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-right:10rem;
}

.promise-content p {
    color: var(--text-white-80);
    font-size: var(--text-sm);
    line-height: 2;
    letter-spacing: 0.06em;
}

.promise-attribution {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.promise-attr-line {
    display: block;
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.promise-attr-name {
    color: var(--text-white);
    font-size: var(--text-xs);
    letter-spacing: 0.2em;
    white-space: nowrap;
}

.promise-vertical {
    flex: 0 0 170px;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: rgba(255, 255, 255);
    font-size: var(--text-2xl);
    letter-spacing: 0.25em;
    padding: 0 40px;
    font-weight: 500;
}

/* ===== Values Section ===== */
.values {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background: #fff;
    padding: 0 7%;
}

.values-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 52px 20px;
    gap: 10px;
}

.values-item:last-child {
    border-right: none;
}

.values-zh {
    font-size: var(--text-xl);
    font-weight: 600;
    color: #472b16;
    letter-spacing: 0.18em;
}

.values-en {
    font-size: var(--text-3xl);
    /* font-weight: 500; */
    color: var(--brand-gold);
    /* letter-spacing: 0.06em; */
    line-height: 1;
}

/* ===== Timeless Section ===== */
.timeless,
.newsroom {
    --home-left-gutter: clamp(72px, 10vw, 192px);
}

.timeless {
    display: grid;
    grid-template-columns: 2fr 5fr;
    grid-template-rows: auto auto;
    background: #fff;
    padding: 0 4% 0 var(--home-left-gutter);
}

.timeless-top-left {
    grid-column: 2;
    grid-row: 1;
    padding: 88px 9% 80px 0px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.timeless-top-right {
    grid-column: 1;
    grid-row: 1;
    background-image: url('../images/timeless-top.jpg');
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.timeless-label {
    display: block;
    font-size: var(--text-5xl);
    font-weight: 500;
    color: var(--brand-gold);
    line-height: 1;
}

.timeless-sub {
    font-size: var(--text-xl);
    font-weight: 600;
    color: #472b16;
    letter-spacing: 0.3em;
    margin-top: 22px;
}

.timeless-desc {
    font-size: var(--text-lg);
    color: #444;
    line-height: 2.2;
    letter-spacing: 0.06em;
    margin-top: 18px;
}

/* ── 左下：選單 ── */
.timeless-menu {
    grid-column: 1;
    grid-row: 2;
    padding: 52px 36px 52px 0;
    overflow-y: auto;
}

.timeless-cat {
    margin-bottom: 32px;
}

.timeless-cat:last-child {
    margin-bottom: 0;
}

.timeless-cat-title {
    font-size: var(--text-xl);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #472b16;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.timeless-project-list {
    list-style: none;
}

.timeless-project {
    font-size: var(--text-lg);
    color: #000;
    cursor: pointer;
    letter-spacing: 0.08em;
    border-left: 2px solid transparent;
    white-space: nowrap;
    transition: color var(--transition-base), border-color var(--transition-base), padding-left var(--transition-base);
}

.timeless-project:hover,
.timeless-project.active {
    color: var(--brand-gold);
}

/* ── 右下：圖片面板 ── */
.timeless-panel {
    grid-column: 2;
    grid-row: 2;
    position: relative;
    display: flex;
    flex-direction: column;
}

.timeless-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
    flex: 1;
}

.timeless-img {
    width: 100%;
    height: 100%;
    background-color: var(--brand-navy-mid);
    background-size: cover;
    background-position: center;
    transition: background-image var(--transition-slow);
}
.timeless-img img{
    width:100%;
}

.timeless-project-badge {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 2;
    background: var(--brand-gold);
    color: #1a1a1a;
    font-size: var(--text-lg);
    font-weight: 600;
    /* letter-spacing: 0.15em; */
    padding: 3px 13px 0px;
}

.timeless-info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75));
    display: flex;
    align-items: stretch;
    min-height: 110px;
}

.timeless-info-left {
    flex: 1;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeless-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.timeless-tag {
    background: #fff;
    color: #1a1a1a;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.14em;
    padding: 4px 14px;
}

.timeless-info-desc {
    color: var(--text-white-80);
    font-size: var(--text-xs);
    line-height: 1.85;
    letter-spacing: 0.06em;
}

.timeless-info-right {
    display: flex;
    align-items: flex-end;
    padding: 24px 40px;
    flex-shrink: 0;
}

/* 了解更多按鈕（亮色版，深色背景使用） */
.btn-more-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: var(--text-xs);
    font-weight: bold;
    letter-spacing: 0.18em;
    white-space: nowrap;
    line-height: 1;
    padding: 2px 1px 2px 20px;
    border: 1px solid #fff;
    border-radius: 50px;
    background: transparent;
    transition: color var(--transition-base), border-color var(--transition-base);
}

.btn-more-light::after {
    content: '\25B6';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    color: #1a1a1a;
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0;
    padding-left: 2px;
    transition: transform var(--transition-base), background var(--transition-base), color var(--transition-base);
}

.btn-more-light:hover {
    color: var(--brand-gold);
    border-color: var(--brand-gold);
}

.btn-more-light:hover::after {
    transform: translateX(4px);
    background: var(--brand-gold);
    color: #fff;
}

/* ===== Newsroom Section ===== */
.newsroom {
    display: grid;
    grid-template-columns: 1fr 100px;
    width: 100vw;
    height: 100vh;
    background: #fff;
    overflow: hidden;
}

/* ── 左側 ── */
.newsroom-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 0 5% 0 var(--home-left-gutter);
    gap: 30px;
}

/* 標題列 */
.newsroom-header {
    display: flex;
    align-items: baseline;
    gap: 28px;
    padding: 0 0 24px;
    flex-shrink: 0;
}

.newsroom-label {
    font-size: var(--text-5xl);
    font-weight: 500;
    color: var(--brand-gold);
    line-height: 1;
}

.newsroom-sub {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: #472b16;
    letter-spacing: 0.18em;
}

/* 主體：選單 + 卡片 */
.newsroom-body {
    display: grid;
    grid-template-columns: 160px 1fr;
    overflow: hidden;
    flex-shrink: 0;
}

/* 選單 */
.newsroom-nav {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    gap: 10px;
    flex-shrink: 0;
}

.nr-tab {
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: var(--text-lg);
    color: #472b16;
    letter-spacing: 0.12em;
    padding: 5px 12px 5px 14px;
    border-left: 2px solid transparent;
    transition: color var(--transition-base), border-color var(--transition-base);
    white-space: nowrap;
}

.nr-tab:hover,
.nr-tab.active {
    color: #1a1a1a;
    background: #472b16;
    color: #fff;
    display: flex;
    border-radius: 50px;
    align-items: center;
}

.nr-tab-arrow {
    display: inline-block;
    font-size: 0.55em;
    color: #fff;
    margin-right: 6px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.nr-tab:hover .nr-tab-arrow,
.nr-tab.active .nr-tab-arrow {
    opacity: 1;
}

/* 卡片列 */
.newsroom-cards {
    display: flex;
    flex-direction: column;
    padding: 16px 0 16px 5rem;
    gap: 30px;
    overflow-y: auto;
}

.nr-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    text-decoration: auto;
}

.nr-card:last-child {
    border-bottom: none;
}

.nr-card-img {
    background-color: var(--gray-200);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    align-self: stretch;
}

.nr-card-info {
    padding: 0px 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: flex-start;
    min-height: 110px;
}

.nr-date {
    display: block;
    color: #1a1a1a;
    font-size: var(--text-sm);
    letter-spacing: 0.18em;
}

.nr-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.06em;
    line-height: 1.6;
    display: flex;
    align-items: baseline;
    gap: 0;
    transition: gap 0.3s ease;
}

.nr-title::before {
    content: '▶';
    font-size: 0.6em;
    color: #8b7a50;
    flex-shrink: 0;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.3s ease, opacity 0.3s ease, margin-right 0.3s ease;
    margin-right: 0;
}

.nr-card:hover .nr-title {
    gap: 6px;
}

.nr-card:hover .nr-title::before {
    max-width: 1em;
    opacity: 1;
    margin-right: 0;
}

.nr-desc {
    font-size: var(--text-base);
    color: #666;
    line-height: 1.9;
    letter-spacing: 0.04em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── 右側直列文字 ── */
.newsroom-right {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: var(--text-2xl);
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: 0.25em;
    background: #fff;
}

/* ===== Witness Section ===== */
.witness {
    background: #fff;
    padding: 60px 0 80px;
    position: relative;
    height:300px;
}

.witness-tagline {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.1;
    position: absolute;
    right: 9%;
    top: -33%;
}

.witness-tagline span {
    display: block;
    font-size: var(--text-5xl);
    font-weight: 500;
    color: var(--brand-gold);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.witness-newsroom-line {
    display: none;
}

/* ===== Main ===== */
.site-main {
    min-height: 0;
}

/* ===== Footer ===== */
.site-footer {
    width: 100%;
    background: #472b16 url('../images/footer-bg.png') center center / cover no-repeat;
    padding: 4rem 8rem;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

.footer-brand {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex-shrink: 0;
}
.footer-logo{
    width:180px;
}
.footer-brand-text {
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--brand-gold);
    letter-spacing: 0.15em;
    line-height: 1;
}

.footer-brand-sub {
    font-size: var(--text-xs);
    font-weight: 400;
    color: rgba(212, 175, 55, 0.6);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.footer-info-main {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.80);
    letter-spacing: 0.08em;
    line-height: 1.6;
    display: flex;
    gap:10px;
    font-weight: 300;
}
.footer-info-main-title{
    font-weight: 600;
    letter-spacing: 0.08em;
}

.footer-phone,
.footer-phone:visited,
.footer-phone:hover,
.footer-phone:active {
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-decoration: none;
}

.footer-info-copy {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.40);
    letter-spacing: 0.06em;
}


/* ============================================================
   About Page  (/about)
   ============================================================ */

/* ── Body 背景覆寫 ── */
.page-about {
    background: #fff;
    --about-left-gutter: clamp(72px, 8vw, 160px);
}

/* ── Header：白底深色 ── */
.page-about .site-header,
.page-portfolio .site-header,
.page-project-detail .site-header,
.page-renewal .site-header,
.page-contact .site-header {
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

/* header-inner 改為 stretch，讓 nav 撐滿 header 高度 */
.page-about .header-inner,
.page-portfolio .header-inner,
.page-project-detail .header-inner,
.page-renewal .header-inner,
.page-contact .header-inner {
    align-items: stretch;
}

/* Brand logo 保持垂直置中 */
.page-about .brand,
.page-portfolio .brand,
.page-project-detail .brand,
.page-renewal .brand,
.page-contact .brand {
    align-items: center;
}

/* Nav 文字改為深色；各 a 撐滿高度以便底線貼齊 header 下緣 */
.page-about .main-nav,
.page-portfolio .main-nav,
.page-project-detail .main-nav,
.page-renewal .main-nav,
.page-contact .main-nav {
    align-items: stretch;
    --active-nav-line-left: -36px;
    --active-nav-line-width: 160px;
}

.page-about .main-nav a,
.page-portfolio .main-nav a,
.page-project-detail .main-nav a,
.page-renewal .main-nav a,
.page-contact .main-nav a {
    display: flex;
    align-items: center;
    position: relative;
    color: #1a1a1a;
    transition: transform var(--transition-bounce), opacity var(--transition-base);
}

.page-about .main-nav a:hover,
.page-portfolio .main-nav a:hover,
.page-project-detail .main-nav a:hover,
.page-renewal .main-nav a:hover,
.page-contact .main-nav a:hover {
    opacity: 0.6;
}

/* 粗橫線：貼齊 header 下緣，僅出現在目前頁籤底下 */
.page-about .main-nav a.active,
.page-portfolio .main-nav a.active,
.page-project-detail .main-nav a.active,
.page-renewal .main-nav a.active,
.page-contact .main-nav a.active {
    color: #1a1a1a;
}

.page-about .main-nav a.active::after,
.page-portfolio .main-nav a.active::after,
.page-project-detail .main-nav a.active::after,
.page-renewal .main-nav a.active::after,
.page-contact .main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--active-nav-line-left);
    right: 0;
    height: 5px;
    background: #1a1a1a;
    border-radius: 2px 2px 0 0;
    width: var(--active-nav-line-width);
}
.page-contact .site-main{
    background: #f4f4f4;
}

@media (prefers-reduced-motion: reduce) {
    .vision-img,
    .bg-parallax::after,
    .pf-parallax-frame > .pf-parallax-img,
    .news-detail-content .news-content-parallax-img,
    .news-content-parallax-img {
        transform: none;
        will-change: auto;
    }
}

/* ── About Intro Section ── */
.about-intro {
    display: grid;
    grid-template-columns: 3fr 2fr;
    background: #f5f5f5;
    padding-top:80px;
}

/* 左側文字欄 */
.about-intro-left {
    padding: 140px 80px 100px var(--about-left-gutter);
    display: flex;
    flex-direction: column;
}

/* 大標題 BEGINNING */
.about-intro-title-block {
    margin-bottom: 56px;
}

.about-intro-en {
        display: block;
    font-size: var(--text-5xl);
    font-weight: 500;
    color: var(--brand-gold);
    letter-spacing: 0.em;
    line-height: 1;
}

/* 下方：副標題 + 內文，2:3 比例 */
.about-intro-body {
    flex: 1;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 48px;
    align-items: start;
}

/* 副標題（左下） */
.about-intro-sub {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
}

.about-intro-sub p {
    font-size: var(--text-xl);
    font-weight: 700;
    color: #472b16;
    letter-spacing: 0.2em;
    line-height: 1.5;
}

/* 段落內文（右下） */
.about-intro-text p {
    font-size: var(--text-sm);
    color: #000;
    line-height: 2.2;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.about-intro-text p:last-child {
    margin-bottom: 0;
}

/* 右側圖片欄：貼齊視窗右緣，高度隨左側撐高 */
.about-intro-right {
    overflow: hidden;
    height: 540px;
    padding: 140px 0px 0px;
    display: flex;
}

.about-intro-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-intro-img-frame {
    width: 100%;
    height: 100%;
}

.about-parallax-frame {
    position: relative;
    overflow: hidden;
}

.about-parallax-frame > .about-parallax-img {
    --about-parallax-scale: 1;
    display: block;
    position: absolute;
    inset: -12% 0;
    width: 100%;
    height: 124%;
    object-fit: cover;
    object-position: center;
    transform: translate3d(0, var(--about-parallax-y, 0px), 0) scale(var(--about-parallax-scale));
    transform-origin: center;
    will-change: transform;
}

.about-parallax-float {
    transform: translate3d(0, var(--about-parallax-y, 0px), 0);
    will-change: transform;
}

/* ── About Lineage Section（第二屏） ── */
.about-lineage {
    width: 100%;
    min-height: 340px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
}

.about-lineage-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px var(--about-left-gutter);
}

/* 右向正三角形：clip-path 產生等邊三角形
   等邊條件：width:height ≈ 1:1.155（即 W=60 → H≈70） */
.about-lg-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width:140px;
}

.about-lg-arrow::after {
    content: '';
    display: block;
    width: 60px;
    height: 70px;
    background: #bcb2a8;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    flex-shrink: 0;
}

/* 白色圓形節點 */
.about-lg-node {
    flex: 0 0 auto;
    width: 220px;
    height: 220px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-lg-logo {
    width: 45px;
    height: auto;
    object-fit: contain;
}

.about-lg-year {
    font-size: var(--text-sm);
    color: #888;
    letter-spacing: 0.12em;
    font-family: var(--font-sans);
    margin-top: 2px;
}

.about-lg-name {
    font-size: var(--text-xl);
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: 0.15em;
    line-height: 1;
}

/* ============================================================
   About Values Grid Section（第三屏）
   ============================================================ */
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #f5f5f5;
    gap: 45px;
    padding: 100px var(--about-left-gutter);
}

/* ── 卡片 ── */
.av-card {
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    height: 400px
}

/* ── 上方區塊 (3/5)：文字 + 斜線 ── */
.av-upper {
    flex: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 0;
}

/* 上左：文字欄 */
.av-ul {
    display: flex;
    flex-direction: column;
    padding: 28px 0px 20px;
    min-height: 0;
}

/* 上左上：數字 + 標題 */
.av-ul-top {
    flex: 1;
    display: flex;
    align-items: stretch;
    gap: 14px;
}

.av-num {
    display: flex;
    align-items: center;
    font-size: var(--text-5xl);
    font-weight: 500;
    color: var(--brand-gold);
    /* font-family: var(--font-en-serif); */
    line-height: 1;
    flex-shrink: 0;
    height: 90px;
}

.av-titles {
        display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    height: 90px;
}

.av-title-zh {
    font-size: var(--text-lg);
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.12em;
    line-height: 1.3;
}

.av-title-en {
    font-size: var(--text-2xl);
    color: var(--brand-gold);
    font-weight: 500;
    text-transform: uppercase;
}

/* 上左下：內容文字 */
.av-ul-body {
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding-top: 10px;
}

.av-ul-body p {
    font-size: var(--text-sm);
    color: #0a0a0a;
    line-height: 2.1;
    letter-spacing: 0.05em;
}

/* 上右：右上→左下黑色斜線 */
.av-ur {
    margin:30px;
    background: center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cline x1='100' y1='0' x2='0' y2='100' stroke='%231a1a1a' stroke-width='1.5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

/* ── 下方區塊 (2/5)：圖片 ── */
.av-lower {
    flex: 2;
    position: relative;
    background-color: #c8c4be;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.av-lower::before {
    content: '';
    position: absolute;
    inset: -12% 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translate3d(0, var(--about-parallax-y, 0px), 0);
    will-change: transform;
}

/* ============================================================
   About Craft Section（第四屏）
   ============================================================ */
.about-craft {
    background: #fff;
    overflow: hidden;
}

/* ── 大標題 ── */
.ac-heading {
    padding: 72px var(--about-left-gutter) 0;
}

.ac-h-line1 {
    display: block;
    font-size: var(--text-5xl);
    font-weight: 500;
    color: var(--brand-gold);
    line-height: 1;
}

.ac-h-line2 {
    display: block;
    font-size: clamp(96px, 14vw, 200px);
    font-weight: 500;
    color: var(--brand-gold);
    letter-spacing: 0.02em;
    line-height: 0.78;
    margin-top: -8px;
}

/* ── 主體：左右等寬 ── */
.ac-body {
    margin-top:3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* ── 下左 ── */
.ac-left {
    display: flex;
    flex-direction: column;
}

/* 下左上：文字（高度 1:1 上半） */
.ac-left-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0px var(--about-left-gutter) 40px;
}

.ac-text-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: #472b16;
    letter-spacing: 0.3em;
    margin-bottom: 18px;
    line-height: 1.6;
}

.ac-text-desc {
    font-size: var(--text-sm);
    color: #1a1a1a;
    line-height: 2.1;
    letter-spacing: 0.05em;
}

/* 下左下：縮圖格（高度 1:1 下半） */
.ac-left-thumbs {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 6px;
    padding: 16px var(--about-left-gutter);
}

.ac-thumb {
    position: relative;
    border: 2px solid transparent;
    background: none;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    min-height: 0;
    transition: border-color var(--transition-base);
}

.ac-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.ac-thumb:hover img {
    --about-parallax-scale: 1.08;
}

.ac-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.50);
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.ac-thumb.active::after {
    opacity: 0;
}

.ac-thumb.active {
    border-color: var(--brand-gold);
}

.ac-thumb-label {
    display: none;
}

/* ── 下右 ── */
.ac-right {
    display: flex;
    flex-direction: column;
    padding: 0px var(--about-left-gutter) 0px 0px;
}

/* 下右上：主圖（13:10 比例） */
.ac-right-img {
    flex: none;
    aspect-ratio: 13 / 10;
    overflow: hidden;
    min-height: 0;
    background: var(--gray-200);
}

.ac-right-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.22s ease;
}

.ac-right-img img.ac-img-fade {
    opacity: 0;
}

/* 下右下：資訊欄（比例 1） */
.ac-right-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 32px;
    gap: 8px;
    min-height: 170px;
    overflow: hidden;
}

.ac-info-title {
    font-size: var(--text-xl);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.4;
    flex-shrink: 0;
}
.ac-info-title span{
    font-size: var(--text-xl);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.4;
    flex-shrink: 0;
    color: #888;

}

.ac-info-desc {
    font-size: var(--text-base);
    line-height: 1.9;
    letter-spacing: 0.04em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* =============================================================
   About Page · 第五屏：結語（about-witness）
   ============================================================= */
.about-witness {
    background: #fff;
    padding: 60px var(--about-left-gutter) 80px;
    position: relative;
    height:400px;
}

.about-witness-tagline {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.1;
    position: absolute;
    right: var(--about-left-gutter);
}

.about-witness-tagline span {
    display: block;
    font-size: var(--text-5xl);
    font-weight: 500;
    color: var(--brand-gold);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .about-parallax-frame > .about-parallax-img,
    .about-parallax-float,
    .av-lower::before {
        transform: none;
        will-change: auto;
    }
}

/* =============================================================
   Portfolio Page（作品鑑賞）
   ============================================================= */

/* ── Header：白底深色（同 about 頁） ── */
.page-portfolio {
    background: #fff;
}

/* ── 整體版型：一屏左 1 / 右 3 ── */
.portfolio {
    display: grid;
    grid-template-columns: 1fr 3fr;
    min-height: 100vh;
    background: #f5f5f5;
    padding-top: 80px; /* 補 header 高度 */
}

/* ── 左側導覽列 ── */
.portfolio-nav {
    display: flex;
    flex-direction: column;
    padding: 60px 44px 60px 10%;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.portfolio-nav-label {
    display: block;
    font-size: var(--text-5xl);
    font-weight: 500;
    color: var(--brand-gold);
    letter-spacing: 0.1em;
    line-height: 1;
    margin-bottom: 44px;
}

.portfolio-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* ALL 按鈕 - 深棕色膠囊 */
.pf-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #4b2b18;
    border: none;
    border-radius: 999px;
    padding: 4px 5px 4px 22px;
    cursor: pointer;
    min-height: 22px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.18em;
    transition: background var(--transition-base), box-shadow var(--transition-base);
    width: 112px;
    text-align: left;
}

.pf-all-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-left: 8px;
    background-image: url("../images/white.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: 50%;
    font-size: 0;
    transition: transform var(--transition-base);
    line-height: 1;
}

.pf-all.pf-all-active,
.pf-all:hover {
    background: #4b2b18;
    box-shadow: 0 2px 8px rgba(75, 43, 24, 0.14);
    color: #fff;
}

.pf-all-active span:first-child {
    width: 100%;
    text-align: center;
}

/* 子選單 */
.pf-sub-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
    overflow: hidden;
    border-left: none;
    margin-top: 0;
    width: 112px;
}

.pf-sub-menu[hidden] {
    display: none !important;
}

.pf-cat-btn {
    background: #fff;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 5px 16px;
    cursor: pointer;
    min-height: 22px;
    font-size: 12px;
    line-height: 1.2;
    color: #3c3128;
    letter-spacing: 0.12em;
    text-align: center;
    transition: background var(--transition-base), box-shadow var(--transition-base), color var(--transition-base);
    white-space: nowrap;
    width: 100%;
}

.pf-cat-btn:hover,
.pf-cat-btn.pf-cat-active {
    background: #4b2b18;
    box-shadow: 0 2px 8px rgba(75, 43, 24, 0.14);
    color: #fff;
}

/* ── 右側作品區 ── */
.portfolio-main {
    padding: 60px 7% 60px 52px;
    /*overflow-y: auto;*/
    /*height: calc(100vh - 80px);*/
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 36px;
}

/* ── 作品卡片 ── */
.pf-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: transform var(--transition-base);
}

.pf-card-image-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.pf-card-image-link:focus-visible {
    outline: 2px solid var(--brand-gold);
    outline-offset: 4px;
}

.pf-card:hover {
    transform: translateY(-4px);
}

/* 正方形圖片區 */
.pf-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--gray-200);
    flex-shrink: 0;
}

.pf-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.pf-parallax-frame {
    position: relative;
    overflow: hidden;
}

.pf-parallax-frame > .pf-parallax-img {
    --pf-parallax-scale: 1;
    position: absolute;
    inset: -12% 0;
    width: 100%;
    height: 124%;
    object-fit: cover;
    object-position: center;
    transform: translate3d(0, var(--pf-parallax-y, 0px), 0) scale(var(--pf-parallax-scale, 1));
    transform-origin: center;
    will-change: transform;
}

.pf-card:hover .pf-card-img img:not(.pf-parallax-img) {
    transform: scale(1.06);
}

.pf-card:hover .pf-parallax-img {
    --pf-parallax-scale: 1.06;
}

/* 卡片資訊區 */
.pf-card-body {
    padding: 18px 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 標題列：標題 + 了解更多 同一行 */
.pf-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pf-card-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.08em;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}

.pf-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #472b16;
    text-decoration: none;
    font-size: var(--text-xs);
    font-weight: bold;
    letter-spacing: 0.18em;
    white-space: nowrap;
    line-height: 1;
    border: none;
    padding: 2px 1px 2px 20px;
    transition: color var(--transition-base);
    flex-shrink: 0;
    border: 1px solid #472b16;
    border-radius: 50px;
}
.pf-card-link .pf-card-more{
    padding-top:4px;
}

/* 將原本箭頭 span 改造為圖片播放鈕 */
.pf-link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-image: url("../images/brown.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-size: 0;
    color: transparent;
    letter-spacing: 0;
    transition: transform var(--transition-base), background-image var(--transition-base);
}

.pf-card-link:hover {
    color: var(--brand-gold);
}

.pf-card-link:hover .pf-link-arrow {
    transform: translateX(4px);
    background-image: url("../images/yello.png");
}

/* 標籤列 */
.pf-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pf-tag {
    display: flex;
    align-items: center;
    padding: 5px 12px 0px;
    border: 1px solid #472b16;
    color: #FFF;
    font-size: var(--text-sm);
    font-weight: 900;
    letter-spacing: 0.08em;
    border-radius: 2px;
    transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
    background-color: #472b16;
}

/* =============================================================
   作品明細頁  .page-project-detail
   ============================================================= */

/* ── 上方：輪播 Hero ──────────────────────────── */
.page-project-detail .site-main {
    padding-top: 0;
}

.pd-hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #1a1a1a;
}

/* 輪播容器 */
.pd-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 橫向等高圖片帶 */
.pd-strip {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* 單張投影片 */
.pd-slide {
    flex-shrink: 0;
    height: 100%;
    width: auto;
}

.pd-slide img {
    height: 100%;
    width: auto;
    display: block;
    max-width: none;
}

/* 左右箭頭 */
.pd-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 1.5px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    background: rgba(0,0,0,0.25);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-base), border-color var(--transition-base);
    padding: 0;
}

.pd-arrow:hover {
    background: rgba(0,0,0,0.55);
    border-color: #fff;
}

.pd-arrow--prev { left: 32px; }
.pd-arrow--next { right: 32px; } /* 避開右側資訊面板 */

/* 圓點指示器 */
.pd-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.pd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-base);
}

.pd-dot.is-active {
    background: #fff;
    transform: scale(1.3);
}

/* 手機版輪播圓點容器（桌機隱藏，RWD 顯示） */
.pd-dots-mobile {
    display: none;
    justify-content: center;
    gap: 10px;
    padding: 12px 0 10px;
    background: #ececec;
}

.pd-dot-m {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.20);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-base);
}

.pd-dot-m.is-active {
    background: #111;
    transform: scale(1.3);
}

/* ── 右下角：白色資訊面板 ─────────────────────── */
.pd-info-panel {
    position: absolute;
    bottom: 0;
    right: 10rem;
    z-index: 5;
    width: 320px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 36px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pd-info-panel--mobile {
    display: none;
}

.pd-info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.pd-info-item:first-child {
    padding-top: 0;
}

.pd-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pd-info-label {
    font-size: var(--text-md);
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #1a1a1a;
    text-transform: uppercase;
}

.pd-info-value {
    font-size: var(--text-base);
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.45;
    letter-spacing: 0.04em;
}

.pd-info-value a {
    color: inherit;
    text-decoration: none;
}

.pd-info-value a:hover {
    color: var(--brand-gold);
}

/* ── 下方：作品資訊區 ────────────────────────── */
.pd-detail {
    display: flex;
    background: #fff;
    justify-content: center;
}

/* 左：大標題（跨兩列） */
.pd-detail-left {
    grid-area: title;
    padding: 64px 48px 64px 10%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-big-title {
    font-size: var(--text-2xl);
    font-weight: 600;
    line-height: 1.2;
    color: #472b16;
    letter-spacing: 0.06em;
}
.pd-detail-right{
    max-width:600px;
}

.pd-big-subtitle {
    font-size: var(--text-sm);
    font-weight: 400;
    color: #999;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* 右上：標籤區（與左側大標題同高） */
.pd-detail-tags-area {
    padding: 64px 8% 10px 48px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.pd-detail-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px 0px;
    border: 1px solid #472b16;
    border-radius: 2px;
    background: #472b16;
    color: #fff;
    font-size: var(--text-base);
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* 右下：說明內文 */
.pd-detail-body {
    padding: 10px 8% 64px 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

/* =============================================================
   Renewal Page（都更專區）
   ============================================================= */

.page-renewal {
    background: #fff;
}

.page-renewal .site-main {
    padding-top: 80px; /* 補 header 高度 */
}

/* ── 第一屏：滿版 Banner ── */
.renewal-banner {
    position: relative;
    width: 100%;
    min-height: 480px;
    --bg-parallax-image: url('../images/guy-rides-roller-skates-asphalt-track-against-red-wallBK.jpg');
    --bg-parallax-position: center center;
    --bg-parallax-scale: 1.08;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.renewal-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.renewal-banner-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.renewal-banner-title {
    font-size: var(--text-5xl);
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.3em;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    margin: 0;
}

/* ── 第二屏：頁籤區 ── */
.renewal-section {
    width: 100%;
    background: #f5f5f5;
}

/* 頁籤列：3 個方形頁籤均分寬度 */
.renewal-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

.renewal-tab {
    appearance: none;
    border: 0;
    cursor: pointer;
    padding: 28px 12px;
    font-size: var(--text-2xl);
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1.4;
    background: #472b16;
    color: #fff;
    border-radius: 0;
    transition: background var(--transition-base), color var(--transition-base);
}

.renewal-tab:hover {
    opacity: 0.92;
}

.renewal-tab.is-active {
    background: #f5f5f5;
    color: #472b16;
    cursor: default;
}

/* 頁籤內容 */
.renewal-tab-panels {
    width: 100%;
}

.renewal-tab-panel {
    width: 100%;
    padding:5rem 8rem;
}

.renewal-placeholder {
    padding: 120px 24px;
    text-align: center;
    color: #888;
    font-size: var(--text-lg);
    letter-spacing: 0.1em;
}

/* ── 都更流程：6 區塊（上下兩列、左中右三欄） ── */
.renewal-process {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap:4rem;
}

.renewal-process-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
}

.renewal-process-block {
    padding: 48px 37px 56px;
    background: #fff;
    border-right: 1px solid #fbf7ec;
    display: flex;
    flex-direction: column;
}

/* 移除每列最後一欄右邊框 */
.renewal-process-block:last-child {
    border-right: 0;
}

/* 兩列之間用淡色分隔線 */
.renewal-process-row + .renewal-process-row {
    border-top: 1px solid #fbf7ec;
}

.renewal-process-title {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: #472b16;
    letter-spacing: 0.2em;
    line-height: 1.4;
    margin: 0 0 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #d9d9d9;
}

.renewal-process-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.renewal-process-list li {
    font-size: var(--text-base);
    line-height: 1.9;
    color: #1a1a1a;
    letter-spacing: 0.04em;
}

/* ── RWD ── */
@media (max-width: 1023px) {
    .renewal-banner-title {
        font-size: var(--text-4xl);
        letter-spacing: 0.25em;
    }

    .renewal-tab {
        font-size: var(--text-xl);
        padding: 22px 10px;
        letter-spacing: 0.15em;
    }

    .renewal-process-title {
        font-size: var(--text-xl);
    }
}

@media (max-width: 767px) {
    .renewal-banner {
        height: 60vh;
        min-height: 360px;
    }

    .renewal-banner-title {
        font-size: var(--text-3xl);
        letter-spacing: 0.2em;
    }

    .renewal-tab {
        font-size: var(--text-base);
        padding: 18px 6px;
        letter-spacing: 0.1em;
    }

    /* 在小螢幕上每列改為單欄堆疊 */
    .renewal-process-row {
        grid-template-columns: 1fr;
    }

    .renewal-process-block {
        border-right: 0;
        border-bottom: 1px solid #fbf7ec;
        padding: 32px 24px 36px;
    }

    .renewal-process-block:last-child {
        border-bottom: 0;
    }
}

.pd-detail-body p {
    font-size: var(--text-base);
    line-height: 1.9;
    color: #1a1a1a;
    letter-spacing: 0.05em;
}

/* =============================================================
   Renewal - 都更案例（嵌入 tab 內，沿用 .portfolio / .pf-* 樣式）
   ============================================================= */

/* 在 tab 內時，移除 portfolio 的 100vh 與 padding-top */
.renewal-cases.portfolio {
    min-height: 0;
    padding-top: 0;
    background: #f5f5f5;
}

/* 左側 nav：解除 sticky 與固定高度 */
.renewal-cases .portfolio-nav {
    position: static;
    height: auto;
    overflow: visible;
    padding: 60px 44px 60px 10%;
}

/* 右側內容：解除高度限制與 scroll */
.renewal-cases .portfolio-main {
    height: auto;
    overflow: visible;
    padding: 60px 7% 60px 52px;
}

/* =============================================================
   Renewal - 常見問題（FAQ）
   ============================================================= */

.renewal-faq {
    background: #f5f5f5;
    padding: 80px 10% 100px;
    color: #1a1a1a;
}

.faq-block {
    margin-bottom: 56px;
}

.faq-block:last-child {
    margin-bottom: 0;
}

.faq-heading {
    font-size: var(--text-xl);
    font-weight: 600;
    color: #472b16;
    letter-spacing: 0.12em;
    line-height: 1.4;
    margin: 0 0 18px;
}

/* 比較表 */
.faq-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.faq-mobile-compare {
    display: none;
}

.faq-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    background: transparent;
    table-layout: fixed;
}

.faq-table th,
.faq-table td {
    border: 0;
    padding: 10px 20px;
    font-size: var(--text-base);
    line-height: 1.45;
    letter-spacing: 0;
    color: #111111;
    text-align: center;
    vertical-align: middle;
    background: transparent;
    font-weight: 400;
}

.faq-table th:not(:last-child),
.faq-table td:not(:last-child) {
    border-right: 6px solid #f5f5f5;
}

.faq-table thead th {
    font-weight: 700;
    font-size: var(--text-lg);
    background: #ffffff;
    color: #111111;
}

.faq-table tbody tr:nth-child(odd) td,
.faq-table tbody tr:nth-child(odd) th {
    background: #e9e9e9;
}

.faq-table tbody tr:nth-child(even) td,
.faq-table tbody tr:nth-child(even) th {
    background: #ffffff;
    color: #111111;
}

/* 第一欄（項目）較窄、稍粗體 */
.faq-table tbody th {
    font-weight: 700;
    width: 12%;
    padding-right: 12px;
    padding-left: 12px;
    white-space: nowrap;
}

.faq-table thead th:first-child {
    width: 12%;
    padding-right: 12px;
    padding-left: 12px;
    white-space: nowrap;
}

/* FAQ 條列 */
.faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-list li {
    position: relative;
    padding-left: 28px;
    font-size: var(--text-base);
    line-height: 1.9;
    color: #1a1a1a;
    letter-spacing: 0.04em;
}

.faq-list li::before {
    content: '➜';
    position: absolute;
    left: 0;
    top: 0;
    color: #472b16;
    font-weight: 700;
}

.faq-list a {
    color: #472b16;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-base);
}

.faq-list a:hover {
    color: var(--brand-gold);
}

.faq-sep {
    margin: 0 8px;
    color: #888;
}

/* RWD */
@media (max-width: 1023px) {
    .renewal-cases .portfolio-nav {
        padding: 40px 24px 24px 6%;
    }

    .renewal-cases .portfolio-main {
        padding: 40px 6% 60px 24px;
    }

    .renewal-faq {
        padding: 60px 6% 80px;
    }
}

@media (max-width: 767px) {
    /* 都更案例：左右改上下堆疊 */
    .renewal-cases.portfolio {
        grid-template-columns: 1fr;
    }

    .renewal-cases .portfolio-nav {
        padding: 32px 6% 0;
    }

    .renewal-cases .portfolio-main {
        padding: 24px 6% 60px;
    }

    .renewal-cases .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* FAQ */
    .renewal-faq {
        padding: 48px 6% 64px;
    }

    .faq-heading {
        font-size: var(--text-lg);
    }

    .faq-table th,
    .faq-table td {
        padding: 10px 12px;
        font-size: var(--text-sm);
    }

    .faq-table thead th {
        font-size: var(--text-base);
    }

    .faq-table tbody th {
        width: 26%;
    }

    .faq-table thead th:first-child {
        width: 26%;
    }
}




/* ============================================================
   News Page  (/news)
   ============================================================ */

/* ── Body 背景套用前台白底（沿用 about/portfolio 同款 header 規則） ── */
.page-news,
.page-news-detail {
    background: #fff;
}

/* 沿用其它白色頁面的 header 樣式 */
.page-news .site-header,
.page-news-detail .site-header {
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

.page-news .header-inner,
.page-news-detail .header-inner {
    align-items: stretch;
}

.page-news .brand,
.page-news-detail .brand {
    align-items: center;
}

.page-news .main-nav,
.page-news-detail .main-nav {
    align-items: stretch;
}

.page-news .main-nav a,
.page-news-detail .main-nav a {
    display: flex;
    align-items: center;
    position: relative;
    color: #1a1a1a;
    transition: transform var(--transition-bounce), opacity var(--transition-base);
}

.page-news .main-nav a:hover,
.page-news-detail .main-nav a:hover {
    opacity: 0.6;
}

.page-news .main-nav a.active,
.page-news-detail .main-nav a.active {
    color: #1a1a1a;
}

.page-news .main-nav a.active::after,
.page-news-detail .main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -36px;
    right: 0;
    height: 5px;
    background: #1a1a1a;
    border-radius: 2px 2px 0 0;
    width: 160px;
}

/* ── News Page 整體版面 ── */
.news-page {
    padding: 160px 9% 100px;
    min-height: 70vh;
}

.news-page-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* 標題區 */
.news-page-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-page-label {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--brand-gold);
    letter-spacing: 0.18em;
    line-height: 1;
    margin-bottom: 14px;
}

.news-page-title {
    font-size: var(--text-4xl);
    font-weight: 500;
    color: #472b16;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.news-page-sub {
    font-size: var(--text-base);
    color: #666;
    letter-spacing: 0.18em;
}

/* 分類列 */
.news-page-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e0d8;
}

.news-page-nav .news-tab {
    display: inline-block;
    padding: 8px 22px;
    font-size: var(--text-base);
    color: #472b16;
    letter-spacing: 0.12em;
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid #d8cfbf;
    transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.news-page-nav .news-tab:hover {
    background: #f5efe2;
    color: #1a1a1a;
}

.news-page-nav .news-tab.active {
    background: #472b16;
    color: #fff;
    border-color: #472b16;
}

/* 列表 */
.news-empty {
    text-align: center;
    padding: 80px 24px;
    color: #888;
    font-size: var(--text-lg);
    letter-spacing: 0.1em;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.news-item {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 36px;
    padding: 24px;
    background: #fff;
    border: 1px solid #ece6d9;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(71, 43, 22, 0.12);
    border-color: var(--brand-gold);
}

.news-item-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: var(--gray-200);
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

.news-item-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 0;
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.news-item-date {
    font-size: var(--text-sm);
    color: #888;
    letter-spacing: 0.18em;
}

.news-item-cat {
    display: inline-block;
    padding: 3px 12px;
    font-size: var(--text-xs);
    color: #fff;
    background: var(--brand-gold);
    border-radius: 50px;
    letter-spacing: 0.12em;
}

.news-item-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.news-item-desc {
    font-size: var(--text-sm);
    color: #555;
    line-height: 1.9;
    letter-spacing: 0.04em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-more {
    margin-top: auto;
    font-size: var(--text-sm);
    color: var(--brand-gold);
    letter-spacing: 0.12em;
}

/* 分頁 */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.news-pagination .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    min-width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border-radius: 0;
    transition: background var(--transition-base), color var(--transition-base);
    user-select: none;
}

.news-pagination .page-btn:hover {
    background: #b8b1a8;
    color: #111;
}

.news-pagination .page-btn.active {
    background: #b8b1a8;
    color: #111;
    cursor: default;
}

.news-pagination .page-btn.disabled {
    color: #111;
    cursor: default;
    background: #fff;
}

.news-pagination .page-btn.disabled:hover {
    background: #fff;
    color: #111;
}

.news-pagination .page-prev,
.news-pagination .page-next {
    font-size: 0;
}

.news-pagination .page-prev {
    margin-right: 8px;
}

.news-pagination .page-next {
    margin-left: 8px;
}

.news-pagination .page-prev::before,
.news-pagination .page-next::before {
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
}

.news-pagination .page-prev::before {
    content: '\2039';
}

.news-pagination .page-next::before {
    content: '\203A';
}

.news-pagination .page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #111;
    padding: 0;
}

/* ============================================================
   News Detail Page  (/news/{slug})
   ============================================================ */

.news-detail {
    padding: 160px 9% 100px;
}

.news-detail-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.news-detail-back {
    text-align: left;
    margin-bottom: 32px;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #472b16;
    text-decoration: none;
    font-size: var(--text-base);
    letter-spacing: 0.1em;
    transition: opacity var(--transition-base);
}

.news-back-link:hover {
    opacity: 0.6;
}

.news-back-arrow {
    font-size: var(--text-xl);
    line-height: 1;
}

.news-detail-img {
    margin: 0 0 36px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--gray-200);
}

.news-detail-img.pf-parallax-frame {
    aspect-ratio: 16 / 9;
}

.news-detail-img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.news-detail-img.pf-parallax-frame > .pf-parallax-img {
    height: 124%;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.news-detail-date {
    font-size: var(--text-base);
    color: #888;
    letter-spacing: 0.2em;
}

.news-detail-cat {
    display: inline-block;
    padding: 4px 14px;
    font-size: var(--text-xs);
    color: #fff;
    background: var(--brand-gold);
    border-radius: 50px;
    letter-spacing: 0.12em;
}

.news-detail-title {
    font-size: var(--text-3xl);
    font-weight: 500;
    color: #472b16;
    line-height: 1.2;
    margin-bottom: 40px;
    text-align: left;
}

.news-detail-content {
    text-align: left;
}

.news-detail-content p,
.news-detail-content div,
.news-detail-content li,
.news-detail-content blockquote,
.news-detail-content td,
.news-detail-content th {
    font-size: var(--text-base);
    color: #1a1a1a;
    font-weight: 200;
    line-height: 2.1;
    letter-spacing: 0.05em;
}

.news-detail-content p,
.news-detail-content div {
    margin-bottom: 20px;
}

.news-detail-content p:last-child,
.news-detail-content div:last-child,
.news-detail-content figure:last-child,
.news-detail-content table:last-child,
.news-detail-content blockquote:last-child {
    margin-bottom: 0;
}

.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4 {
    color: #472b16;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.08em;
    margin: 34px 0 16px;
}

.news-detail-content h2 { font-size: var(--text-2xl); }
.news-detail-content h3 { font-size: var(--text-xl); }
.news-detail-content h4 { font-size: var(--text-lg); }

.news-detail-content ul,
.news-detail-content ol {
    margin: 0 0 24px 1.4em;
    padding: 0;
}

.news-detail-content li { margin-bottom: 8px; }

.news-detail-content .text-size-sm { font-size: 0.9em; }
.news-detail-content .text-size-md { font-size: 1em; }
.news-detail-content .text-size-lg { font-size: 1.18em; }
.news-detail-content .text-size-xl { font-size: 1.36em; }
.news-detail-content .text-font-sans { font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif; }
.news-detail-content .text-font-serif { font-family: 'Noto Serif TC', 'PMingLiU', serif; }
.news-detail-content .text-font-kai { font-family: 'DFKai-SB', 'KaiTi', '標楷體', serif; }

.news-detail-content blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    border-left: 4px solid var(--brand-gold);
    background: #faf6ec;
}

.news-detail-content a {
    color: #5a351f;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.news-detail-content figure { margin: 34px 0; }

.news-content-parallax-frame {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: var(--gray-200);
}

.news-detail-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.news-detail-content .news-content-parallax-img {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    transform: translate3d(0, var(--pf-parallax-y, 0px), 0) scale(1.18);
    transform-origin: center;
    will-change: transform;
}

.news-detail-content figcaption {
    margin-top: 10px;
    color: #777;
    font-size: var(--text-sm);
    line-height: 1.7;
    letter-spacing: 0.08em;
    text-align: center;
}

.news-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
}

.news-detail-content th,
.news-detail-content td {
    border: 1px solid rgba(71, 43, 22, 0.18);
    padding: 10px 12px;
    vertical-align: top;
}

.news-detail-content th {
    background: #faf6ec;
    color: #472b16;
    font-weight: 600;
}

.news-detail-content hr {
    border: 0;
    border-top: 1px solid rgba(71, 43, 22, 0.18);
    margin: 34px 0;
}

/* ── RWD ── */
@media (max-width: 767px) {
    .news-page,
    .news-detail {
        padding: 120px 5% 60px;
    }
    .news-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .news-item-img {
        aspect-ratio: 16 / 9;
    }
    .news-page-title {
        font-size: var(--text-2xl);
    }
    .news-detail-title {
        font-size: var(--text-2xl);
    }
}


/* ============================================================
   Construction Page  (/construction)  — 沿用作品鑑賞版型
   ============================================================ */

/* Body 背景 */
.page-construction,
.page-construction-detail {
    background: #fff;
}

/* 沿用 portfolio 白底 header 樣式 */
.page-construction .site-header,
.page-construction-detail .site-header {
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

.page-construction .header-inner,
.page-construction-detail .header-inner {
    align-items: stretch;
}

.page-construction .brand,
.page-construction-detail .brand {
    align-items: center;
}

.page-construction .main-nav,
.page-construction-detail .main-nav {
    align-items: stretch;
}

.page-construction .main-nav a,
.page-construction-detail .main-nav a {
    display: flex;
    align-items: center;
    position: relative;
    color: #1a1a1a;
    transition: transform var(--transition-bounce), opacity var(--transition-base);
}

.page-construction .main-nav a:hover,
.page-construction-detail .main-nav a:hover {
    opacity: 0.6;
}

.page-construction .main-nav a.active,
.page-construction-detail .main-nav a.active {
    color: #1a1a1a;
}

.page-construction .main-nav a.active::after,
.page-construction-detail .main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -36px;
    right: 0;
    height: 5px;
    background: #1a1a1a;
    border-radius: 2px 2px 0 0;
    width: 160px;
}

/* 空狀態 */
.pf-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #999;
    padding: 80px 24px;
    font-size: var(--text-lg);
    letter-spacing: 0.1em;
}


/* =============================================================
   Contact Page（聯繫我們）
   ============================================================= */
.page-contact {
    background: #fff;
}

.contact {
    padding-top: 80px;
    --bg-parallax-image: url('../images/聯絡我們背景.png');
    --bg-parallax-size: auto;
    --bg-parallax-position: right 120px;
    --bg-parallax-repeat: no-repeat;
    --bg-parallax-inset: -8% 0;
    --bg-parallax-scale: 1;
    background-color: #f4f4f4;
    background-repeat: no-repeat;
    background-position: right 120px;
}

.contact-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 120px;
    padding-top:5rem;
}

/* ── 左側主要內容 ── */
.contact-left {
    padding: 80px 6% 80px 9%;
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: var(--text-5xl);
    font-weight: 500;
    color: var(--brand-gold);
    letter-spacing: 0.06em;
    line-height: 1;
    text-align: left;
    margin-bottom: 28px;
}
.contact-content {
    padding:0px 8rem;
}
.contact-heading {
    font-size: var(--text-2xl);
    font-weight: 500;
    color: #472b16;
    letter-spacing: 0.05em;
    line-height: 1.4;
    margin-bottom: 28px;
}

.contact-desc {
    font-size: var(--text-lg);
    color: #1a1a1a;
    line-height: 2;
    letter-spacing: 0.05em;
    margin-bottom: 48px;
    max-width: 1100px;
    font-weight: 700;
}

/* ── 圖 + 表單區（寬度比 2:1） ── */
.contact-block {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.contact-map {
    width: 100%;
    min-height: 460px;
    background: #ddd;
    overflow: hidden;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
}

/* ── 右側直列文字 ── */
.contact-right {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 0;
}

.contact-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: var(--text-2xl);
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.25em;
    white-space: nowrap;
}

/* ── 表單 ── */
.contact-form {
    background: #ececec;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cf-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cf-row-block {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.cf-label {
    color: #472b16;
    font-size: var(--text-base);
    font-weight: 500;
    letter-spacing: 0.1em;
}

.cf-input {
    flex: 1;
    width: 100%;
    border: 1px solid #cfcfcf;
    background: #fff;
    color: #472b16;
    font-size: var(--text-base);
    font-family: var(--font-sans);
    padding: 8px 12px;
    line-height: 1.5;
    outline: none;
    transition: border-color var(--transition-base);
}

.cf-input:focus {
    border-color: #472b16;
}

.cf-textarea {
    resize: vertical;
    min-height: 110px;
}

.cf-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.cf-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #472b16;
    font-size: var(--text-sm);
    cursor: pointer;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}

.cf-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #472b16;
    flex-shrink: 0;
}

.cf-privacy-link {
    color: #472b16;
    text-decoration: none;
    margin-left: 2px;
}

.cf-privacy-link:hover {
    opacity: 0.75;
}

.cf-submit {
    background: #472b16;
    color: #fff;
    border: none;
    padding: 10px 36px;
    font-size: var(--text-base);
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-base);
}

.cf-submit:hover {
    background: #2d1c0d;
}

.cf-submit:active {
    transform: scale(0.97);
}

.cf-submit:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
}

/* =============================================================
   隱私權聲明 Modal
   ============================================================= */
.privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-modal[hidden] {
    display: none !important;
}

.privacy-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.privacy-modal-dialog {
    position: relative;
    background: #fff;
    width: min(640px, 92vw);
    max-height: 86vh;
    border-radius: 4px;
    padding: 32px 36px;
    overflow-y: auto;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    color: #472b16;
}

.privacy-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #472b16;
    cursor: pointer;
}

.privacy-modal-title {
    font-size: var(--text-2xl);
    font-weight: 500;
    margin-bottom: 16px;
    color: #472b16;
    letter-spacing: 0.1em;
}

.privacy-modal-body {
    font-size: var(--text-base);
    line-height: 1.9;
    color: #472b16;
}

.privacy-modal-body ol {
    padding-left: 1.4em;
    margin: 12px 0;
}

.privacy-modal-body li {
    margin-bottom: 6px;
}

.privacy-modal-footer {
    margin-top: 20px;
    text-align: right;
}

/* =============================================================
   Opportunities Section（聯繫我們第二屏，沿用 witness 結構）
   ============================================================= */
.opportunities {
    background: #f4f4f4;
    padding: 60px 0 80px;
    position: relative;
    height: 360px;
}

.opportunities-tagline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    position: absolute;
    right: 4%;
    top: -20%;
}

.opportunities-tagline span {
    display: block;
    font-size: var(--text-5xl);
    font-weight: 500;
    color: var(--brand-gold);
    letter-spacing: 0.04em;
    white-space: nowrap;
}


/* ============================================================
   News Page  (/news)  — 沿用首頁 newsroom 版型的覆寫
   ============================================================ */

/* 列表頁需可隨內容延伸（首頁是 100vh），改成自然高度並可滾動 */
.newsroom.newsroom--page {
    height: auto;
    overflow: visible;
    padding-top: 80px; /* 預留 header 空間 */
    grid-template-columns: none;
    background:#f5f5f5;
}

.newsroom--page .newsroom-left {
    justify-content: flex-start;
    padding-top: 8rem;
    padding-bottom: 60px;
}

.newsroom--page .newsroom-body {
    grid-template-columns: 180px 1fr;
}

/* 列表頁的卡片區可隨內容增高，不固定高度 */
.newsroom--page .newsroom-cards {
    overflow: visible;
    gap: 20px;
}

/* 分類由 button 變為 <a>，需重置文字裝飾 */
.newsroom--page .newsroom-nav {
    gap: 12px;
    padding: 0;
    align-items: flex-start;
}

.newsroom--page .nr-tab {
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 144px;
    min-height: 35px;
    padding: 8px 18px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #5b341f;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.16em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}

.newsroom--page .nr-tab:hover,
.newsroom--page .nr-tab.active {
    background: #5a351f;
    color: #fff;
    box-shadow: none;
}

.newsroom--page .nr-tab::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #fff;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity var(--transition-base);
}

.newsroom--page .nr-tab:hover::before,
.newsroom--page .nr-tab.active::before {
    opacity: 1;
}

/* 卡片：列表頁變成連結，需處理連結預設樣式與 hover 互動 */
.newsroom--page .nr-card {
    text-decoration: none;
    color: inherit;
    padding-bottom: 20px;
    transition: transform var(--transition-base), background var(--transition-base);
}

.newsroom--page .nr-card:hover {
    transform: translateX(4px);
    background: #faf6ec;
}

.newsroom--page .nr-card:hover .nr-title {
    color: var(--brand-gold);
}

.newsroom--page .nr-card-img {
    min-height: 100px;
    background-color: var(--gray-200);
}

.newsroom--page .nr-title {
    transition: color var(--transition-base);
}

/* 空狀態 */
.nr-empty {
    padding: 80px 24px;
    text-align: center;
    color: #888;
    font-size: var(--text-base);
    letter-spacing: 0.1em;
}

/* 分頁置於卡片下方，置中 */
.newsroom--page .news-pagination {
    margin: 32px 0 0;
}

/* RWD：手機版圖片放大、選單轉橫向 */
@media (max-width: 767px) {
    .newsroom.newsroom--page {
        grid-template-columns: 1fr;
        padding-top: 80px;
    }
    .newsroom--page .newsroom-left {
        padding: 20px 5% 60px;
    }
    .newsroom--page .newsroom-body {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .newsroom--page .newsroom-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    .newsroom--page .newsroom-cards {
        padding: 0;
    }
    .newsroom--page .nr-card {
        grid-template-columns: 100px 1fr;
    }
    .newsroom--page .newsroom-right {
        display: none;
    }
}


/* =============================================================
   在建工程明細頁  .page-construction-detail  (cd- 前綴)
   ============================================================= */

.page-construction-detail .site-main {
    padding-top: 0;
}

/* ── Hero 輪播 ───────────────────────────────── */
.cd-hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #1a1a1a;
}

.cd-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 橫向圖片帶 */
.cd-strip {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.cd-slide {
    flex-shrink: 0;
    height: 100%;
    width: auto;
}

.cd-slide img {
    height: 100%;
    width: auto;
    display: block;
    max-width: none;
}

/* 左右箭頭 */
.cd-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-base), border-color var(--transition-base);
    padding: 0;
}

.cd-arrow:hover {
    background: rgba(0, 0, 0, 0.55);
    border-color: #fff;
}

.cd-arrow--prev { left: 32px; }
.cd-arrow--next { right: 32px; }

/* 圓點指示器 */
.cd-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.cd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-base);
}

.cd-dot.is-active {
    background: #fff;
    transform: scale(1.3);
}

/* 手機版輪播圓點容器（桌機隱藏，RWD 顯示） */
.cd-dots-mobile {
    display: none;
    justify-content: center;
    gap: 10px;
    padding: 12px 0 10px;
    background: #f2f2f2;
}

.cd-dot-m {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.20);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-base);
}

.cd-dot-m.is-active {
    background: #111;
    transform: scale(1.3);
}

/* ── 右下角：白色資訊面板 ─────────────────────── */
.cd-info-panel {
    position: absolute;
    bottom: 0;
    right: 10rem;
    z-index: 5;
    width: 320px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 36px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cd-info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.cd-info-item:first-child { padding-top: 0; }
.cd-info-item:last-child  { border-bottom: none; padding-bottom: 0; }

.cd-info-label {
    font-size: var(--text-md);
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #1a1a1a;
    text-transform: uppercase;
}

.cd-info-value {
    font-size: var(--text-base);
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.45;
    letter-spacing: 0.04em;
}

.cd-info-value a { color: inherit; text-decoration: none; }
.cd-info-value a:hover { color: var(--brand-gold); }

/* ── 作品資訊區 ───────────────────────────────── */
.cd-detail {
    display: flex;
    background: #f5f5f5;
    justify-content: center;
    padding:5rem 0;
}

.cd-detail-left {
    padding: 0px 48px 64px 10%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cd-big-title {
    font-size: var(--text-2xl);
    font-weight: 500;
    line-height: 1.2;
    color: #472b16;
    letter-spacing: 0.06em;
}

.cd-detail-right {
    display: flex;
    flex-direction: column;
}

.cd-detail-tags-area {
    
}

/* ── 規格表 ─────────────────────────────────── */
.cd-spec-table {
    width: 100%;
    padding: 0px 30px 0px 30px;
    display: flex;
    flex-direction: column;
    background: #fff;
    min-width: 800px;
}

.cd-spec-row {
    display: flex;
    align-items: baseline;
    padding: 17px 0px;
    border-bottom: 1px solid #e8e0d5;
}

.cd-spec-row:last-child {
    border-bottom: none;
}

.cd-spec-label {
    flex: 0 0 110px;
    font-size: var(--text-base);
    font-weight: 700;
    color: #472b16;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.cd-spec-label::after {
    content: '：';
}

.cd-spec-value {
    flex: 1;
    font-size: var(--text-base);
    color: #333;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

.cd-detail-body {
    padding: 10px 8% 64px 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

.cd-detail-body p {
    font-size: var(--text-base);
    line-height: 1.9;
    color: #444;
    letter-spacing: 0.05em;
    width: 100%;
}

/* ── 年度進度表 ───────────────────────────────── */
.cd-progress {
    padding: 0px 8rem 8rem;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
}

.cd-progress-inner {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap:3px
}

/* 頁籤列 */
.cd-tabs-bar {
    display: flex;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap:3px;
}

.cd-tab {
    flex: 1;
    appearance: none;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    padding: 18px 16px;
    font-size: var(--text-xl);
    font-weight: 600;
    line-height: 1.4;
    background: #bcb2a8;
    color: #472b16;
    transition: background var(--transition-base), color var(--transition-base);
}

.cd-tab:last-child { border-right: 0; }

.cd-tab:hover {
    background: #FFF;
}

.cd-tab.is-active {
    background: #FFF;
}

/* 頁籤內容 */
.cd-tab-panels { 
    flex: 1; 
    background:#f5f5f5;
}

.cd-tab-panel {
    display: none;
    padding: 0;
}

.cd-tab-panel.is-active { display: block; }

.cd-prog-sections {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cd-prog-section {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 64px 8%;
    background: #fff;
}

/* 內容排版：左（2）右（3）比例 */
.cd-prog-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* 左：輪播圖片 */
.cd-prog-slider {
    flex: 0 0 min(40%, 430px);
    position: relative;
    width: min(40%, 430px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
    border-radius: 2px;
}

/* 橫向圖片帶 */
.cd-prog-strip {
    display: flex;
    flex-direction: row;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.cd-prog-slide {
    flex: 0 0 100%;
    height: 100%;
}

.cd-prog-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 小輪播箭頭 */
.cd-prog-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition-base);
}

.cd-prog-arrow:hover { background: rgba(0, 0, 0, 0.6); }
.cd-prog-arrow--prev { left: 12px; }
.cd-prog-arrow--next { right: 12px; }

/* 小圓點 */
.cd-prog-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 3;
}

.cd-prog-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-base);
}

.cd-prog-dot.is-active {
    background: #fff;
    transform: scale(1.3);
}

/* 右：文字說明 */
.cd-prog-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.cd-prog-title {
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--brand-gold);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0;
    padding-bottom: 10px;
}

.cd-prog-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cd-prog-list li {
    position: relative;
    font-size: var(--text-base);
    line-height: 1.75;
    color: #1a1a1a;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cd-prog-list li::before {
    content: none;
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 10px;
    height: 1px;
    background: var(--brand-gold);
}

/* ── RWD ──────────────────────────────────────── */
@media (max-width: 1023px) {
    .cd-tabs-bar { flex-wrap: wrap; }

    .cd-tab {
        flex: 0 0 50%;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .cd-tab:nth-child(2n) { border-right: 0; }

    .cd-tab-panel { padding: 0; }

    .cd-prog-section {
        flex-direction: column;
        align-items: stretch;
        gap: 36px;
        padding: 48px 6%;
    }

    .cd-prog-content {
        flex-direction: column;
        gap: 36px;
    }

    .cd-prog-slider {
        flex: none;
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 767px) {
    .cd-info-panel {
        position: static;
        width: 100%;
        background: rgba(255, 255, 255, 0.92);
        right: auto;
    }

    .cd-detail { flex-direction: column; }

    .cd-detail-left { padding: 40px 6% 20px; }

    .cd-detail-tags-area { padding: 0 6% 10px; }

    .cd-detail-body { padding: 10px 6% 48px; }

    .cd-tabs-bar { flex-direction: column; }

    .cd-tab {
        flex: none;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .cd-tab-panel { padding: 0; }

    .cd-prog-section { padding: 36px 5%; }
}
