/* Shared foundation */
:root {
    --green: #263b30;
    --ink: #28362e;
    --paper: #f5f3ed;
    --muted: #73776d;
    --line: #d8dacf;
    --gold: #b0946a;
    --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    line-height: 1.9;
}
a {
    color: inherit;
    text-decoration: none;
}
button, input, select, textarea {
    font: inherit;
}
button, a, input, select, textarea, summary {
    -webkit-tap-highlight-color: transparent;
}
button, summary {
    cursor: pointer;
}
button {
    color: inherit;
}
img {
    display: block;
    width: 100%;
    object-fit: cover;
}
h1, h2, h3, p {
    margin-top: 0;
}
h1, h2 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.55;
}
h1 {
    font-size: clamp(36px, 4.5vw, 68px);
    letter-spacing: .08em;
}
h2 {
    font-size: clamp(28px, 2.7vw, 42px);
    letter-spacing: .055em;
    margin-bottom: 28px;
}
h3 {
    font-size: 20px;
    font-weight: 700;
}
p {
    line-height: 2;
}
small {
    font-size: 13px;
}
small, .muted {
    color: var(--muted);
}
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 5px;
}
[hidden] {
    display: none !important;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}
.skip-link {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 100;
    background: white;
    padding: 12px;
}
.skip-link:focus {
    top: 10px;
}
.section {
    padding: 100px 6%;
}
.eyebrow {
    display: block;
    font-size: 13px;
    letter-spacing: .22em;
    font-weight: 600;
    margin-bottom: 22px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    min-height: 50px;
    border: 1px solid #a5ab9d;
    padding: 10px 24px;
    background: transparent;
    font-size: 15px;
    letter-spacing: .1em;
    transition: background .25s, color .25s;
}
.button:hover {
    background: var(--green);
    color: white;
}
.button span {
    font-size: 21px;
}
.button.light {
    color: #fff;
    border-color: #ffffff70;
}
.button.light:hover {
    background: #f5f3ed;
    color: var(--green);
}
.site-header {
    height: 96px;
    padding: 0 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: var(--paper);
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid var(--line);
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.brand img {
    width: 238px;
    height: 80px;
    object-fit: contain;

}
.brand > span {
    font-family: var(--font-sans);
    font-size: 25px;
    letter-spacing: .18em;
    line-height: 1.4;
}
.brand small {
    display: block;
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: .17em;
}
.site-header nav {
    display: flex;
    gap: 27px;
}
.site-header nav a {
    font-size: 15px;
    position: relative;
    padding: 15px 0;
}
.site-header nav a::after {
    content: '';
    position: absolute;
    bottom: 7px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green);
    transition: width .2s;
}
.site-header nav a:hover::after, .site-header nav a[aria-current]::after {
    width: 100%;
}
.header-phone {
    font-size: 13px;
    border-left: 1px solid var(--line);
    padding-left: 25px;
    white-space: nowrap;
}
.header-phone span {
    margin-left: 20px;
}
.menu-toggle {
    display: none;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 48px;
}
.section-heading h2 {
    margin: 0;
}
.section-heading .button {
    flex-shrink: 0;
}
.product-image {
    overflow: hidden;
    position: relative;
    background: #e8e3d8;
}
.product-image img {
    aspect-ratio: 1.2;
    transition: transform .6s;
}
.product-card:hover img {
    transform: scale(1.045);
}
.circle-arrow {
    position: absolute;
    bottom: 18px;
    right: 18px;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--paper);
}
.card-caption {
    padding: 20px 0;
}
.card-caption > span {
    font-size: 13px;
    letter-spacing: .15em;
    color: var(--muted);
}
.card-caption h3 {
    margin: 7px 0 0;
    font-family: var(--font-sans);
}
.service-card {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    color: white;
}
.service-card > img {
    position: absolute;
    height: 100%;
    transition: transform .7s;
}
.service-card::after {
    position: absolute;
    content: '';
    inset: 0;
    background: linear-gradient(0deg,#101b15e8, #14201908 100%);
}
.service-card:hover > img {
    transform: scale(1.05);
}
.service-card > div {
    position: absolute;
    z-index: 1;
    bottom: 0;
    padding: 32px;
    width: 100%;
}
.service-card div > span:first-child {
    font-size: 13px;
    letter-spacing: .18em;
}
.service-card h3 {
    margin: 14px 0;
    font-size: 26px;
    font-family: var(--font-sans);
}
.service-card p {
    font-size: 13px;
    color: #e0e3d9;
}
.service-arrow {
    display: block;
    border-top: 1px solid #ffffff40;
    padding-top: 14px;
    text-align: right;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.news-card img {
    aspect-ratio: 1.65;
    transition: filter .3s;
}
.news-card:hover img {
    filter: brightness(.88);
}
.news-card > div {
    padding-top: 24px;
}
.news-card .eyebrow {
    color: #7c725b;
    margin-bottom: 14px;
}
.news-card h3 {
    font-family: var(--font-sans);
    font-size: 23px;
    line-height: 1.6;
}
.news-card p {
    color: var(--muted);
    font-size: 14px;
}
.text-link {
    font-size: 13px;
    display: block;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}
.value-grid article {
    border-top: 1px solid #abb2a5;
    padding-top: 25px;
}
.value-grid article > span {
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 30px;
}
.value-grid h3 {
    margin: 16px 0 12px;
}
.value-grid p {
    font-size: 14px;
    color: var(--muted);
}
.contact-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 95px 6%;
    background: linear-gradient(90deg, #14291fe8, #19251db0 60%, #211a1259), url('../images/factory-stock-detail.jpg') center 55% / cover;
    color: var(--paper);
}
.contact-band h2 {
    margin-bottom: 0;
    font-size: clamp(24px, 2.5vw, 37px);
}
.contact-band .eyebrow {
    color: #c0b69a;
    margin-bottom: 15px;
}
.contact-band .button {
    flex-shrink: 0;
}
.site-footer {
    padding: 60px 5% 20px;
    background: #ecece4;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    font-size: 13px;
    padding-bottom: 40px;
}
.footer-top p {
    margin: 0;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
    font-size: 13px;
}
.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.page-intro {
    padding: 35px 6% 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #10251fe6, #14291fb3 55%, #13261f42), url('../images/factory-banner.jpg') center 52% / cover;
    color: #fffdf5;
    border-bottom: 1px solid var(--line);
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 55px;
}
.page-intro .eyebrow {
    color: #e8cd99;
}
.page-intro h1 {
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.page-intro p {
    margin: 0;
    position: relative;
    z-index: 1;
}
.intro-mark {
    position: absolute;
    font-family: var(--font-sans);
    font-size: 8vw;
    white-space: nowrap;
    right: -12px;
    bottom: -22px;
    color: #fffdf514;
    line-height: 1;
}
.material-note {
    font-size: 13px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 28px;
}
dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    font-size: 14px;
    margin: 30px 0;
}
dt, dd {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    margin: 0;
}
dt {
    color: var(--muted);
}
.detail-navigation {
    display: flex;
    justify-content: space-between;
    padding-top: 25px;
    padding-bottom: 70px;
    gap: 20px;
}
@media (min-width: 1700px) {
    .section {
        padding-left: 8%;
        padding-right: 8%;
    }
    
}
@media (max-width: 1200px) {
    .header-phone {
        display: none;
    }
    .site-header nav {
        gap: 23px;
    }
    .footer-top {
        flex-wrap: wrap;
    }
    
}
@media (max-width: 900px) {
    .site-header {
        height: 78px;
    }
    .menu-toggle {
        display: grid;
        gap: 7px;
        border: 0;
        padding: 14px;
        background: transparent;
    }
    .menu-toggle span {
        width: 24px;
        height: 1px;
        background: var(--green);
    }
    .site-header nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        padding: 20px 7%;
        background: var(--paper);
        box-shadow: 0 15px 20px #0001;
    }
    .site-header nav.is-open {
        display: grid;
        gap: 0;
    }
    .site-header nav a {
        border-bottom: 1px solid var(--line);
    }
    .section {
        padding: 65px 6%;
    }
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }
    .news-grid {
        gap: 20px;
    }
    .news-card h3 {
        font-size: 19px;
    }
    .contact-band {
        align-items: flex-start;
        flex-direction: column;
    }
    .footer-bottom {
        flex-wrap: wrap;
    }
    .footer-bottom nav {
        width: 100%;
    }
    
}
@media (max-width: 600px) {
    .brand > span {
        font-size: 22px;
    }
    .brand img {
        width: 190px;
        height: 64px;
    }
    .section {
        padding: 55px 6%;
    }
    .news-grid, .value-grid {
        grid-template-columns: 1fr;
    }
    .news-card img {
        aspect-ratio: 1.6;
    }
    .news-card {
        margin-bottom: 15px;
    }
    .footer-top {
        display: grid;
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .page-intro {
        padding-bottom: 55px;
    }
    .page-intro h1 {
        font-size: 35px;
    }
    .page-intro p {
        font-size: 14px;
    }
    .breadcrumb {
        margin-bottom: 35px;
    }
    .detail-navigation .button {
        font-size: 15px;
        gap: 15px;
        padding: 10px 14px;
    }
    
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
    
}

/* Brand weight, readable navigation, and image-led inner banners. */
h1, h2, h3 {
    font-weight: 700;
}
.site-header nav a,
.footer-bottom nav a {
    font-size: 15px;
    font-weight: 600;
}
.site-header nav {
    gap: clamp(16px, 1.7vw, 27px);
}
.page-intro .breadcrumb {
    color: #ecebdc;
}
.page-intro .breadcrumb a:hover {
    color: #e8cd99;
}
.page-service .page-intro {
    background-image: linear-gradient(90deg, #15291fed, #1c241e80), url('../images/service/01.jpg');
}
.page-product .page-intro {
    background-image: linear-gradient(90deg, #15271eeb, #26231a70), url('../images/timber-contact.jpg');
}
.page-news .page-intro {
    background-image: linear-gradient(90deg, #18291fed, #29241c80), url('../images/news/01.jpg');
}
.product-banner {
    padding-top: 65px;
    padding-bottom: 65px;
}
.product-banner h2 {
    font-size: clamp(28px, 3vw, 44px);
    margin-bottom: 15px;
}
.contact-band .eyebrow {
    color: #ead1a6;
}
.contact-band .button {
    background: #18281e50;
    backdrop-filter: blur(5px);
}
.footer-bottom {
    flex-wrap: wrap;
}
.button span,
.circle-arrow {
    transition: transform .3s;
}
.button:hover span,
.product-card:hover .circle-arrow {
    transform: translate(3px, -3px);
}
@media (min-width: 901px) and (max-width: 1100px) {
    .site-header {
        gap: 16px;
        padding-right: 3%;
        padding-left: 3%;
    }
    .site-header .brand img {
        width: 205px;
        height: 70px;
    }
    .site-header nav {
        gap: 15px;
    }
}
@media (max-width: 600px) {
    .contact-band {
        padding: 65px 6%;
        background-position: 65% center;
    }
    .page-intro {
        background-position: 60% center;
    }
}


/* Framed brand masthead and timber-toned consultation entry. */
.site-header {
    padding: 0 3%;
    gap: 24px;
    background: linear-gradient(90deg, #f5f3edf5, #f7f5eff2), url('../images/background.jpg') center / cover;
    border-top: 3px solid #a38350;
    border-bottom: 1px solid #b39a7045;
    box-shadow: 0 5px 22px #172b2110;
}
.site-header .brand {
    align-self: stretch;
    padding-right: 24px;
    border-right: 1px solid #ad936238;
    position: relative;
}
.site-header .brand::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 50%;
    width: 5px;
    height: 5px;
    background: #a38350;
    transform: rotate(45deg);
}
.site-header nav {
    gap: clamp(14px, 1.5vw, 24px);
}
.site-header nav a {
    padding: 14px 0;
    transition: color .25s;
}
.site-header nav a:hover,
.site-header nav a[aria-current] {
    color: #856437;
}
.site-header nav a::after {
    bottom: 5px;
    height: 2px;
    background: #a38350;
}
.header-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 17px;
    color: #fffaf0;
    background: linear-gradient(120deg, #304b3b, #1d3227);
    border: 1px solid #4b614b;
    border-bottom: 3px solid #af8c55;
    box-shadow: 0 5px 14px #172b211a;
    transition: background .25s, box-shadow .25s;
}
.header-phone span {
    margin-left: 0;
}
.header-phone .phone-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #c8b17d6b;
    border-radius: 50%;
    font-size: 19px;
    color: #e6ce9b;
}
.header-phone .phone-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}
.header-phone .phone-label {
    font-size: 13px;
    letter-spacing: .14em;
    color: #e6ce9b;
}
.header-phone strong {
    font-size: 16px;
    letter-spacing: .035em;
    font-weight: 600;
}
.header-phone .phone-arrow {
    font-size: 19px;
    transition: transform .25s;
}
.header-phone:hover {
    background: #385640;
    box-shadow: 0 7px 20px #172b2130;
}
.header-phone:hover .phone-arrow {
    transform: translate(2px, -2px);
}
@media (min-width: 901px) and (max-width: 1200px) {
    .header-phone {
        display: none;
    }
    .site-header {
        gap: 18px;
    }
    .site-header .brand {
        padding-right: 18px;
    }
}
@media (max-width: 900px) {
    .site-header {
        gap: 12px;
        padding: 0 5%;
    }
    .site-header .brand {
        border-right: 0;
        padding-right: 0;
    }
    .site-header .brand::after {
        display: none;
    }
    .header-phone {
        display: none;
    }
    .menu-toggle {
        width: 44px;
        height: 44px;
        place-content: center;
        border: 1px solid #b39a7070;
        background: #ebe5d7;
    }
    .site-header nav {
        border-bottom: 3px solid #a38350;
    }
}

/* Approved two-line timber logo. */
.brand img {
    width: 285px;
    height: 80px;
    object-fit: cover;
}
@media (min-width: 901px) and (max-width: 1100px) {
    .site-header .brand img {
        width: 250px;
        height: 76px;
    }
}
@media (max-width: 600px) {
    .brand img {
        width: 238px;
        height: 72px;
    }
}