/* Shared reading and interaction styles for the official site. */
:root { --forest:#163e36; --ink-ux:#18352f; --paper-ux:#fcfbf7; --quiet:#475b52; }
html { scroll-padding-top:5.5rem; }
body { background:#f4f3ed; }
body::before { display:none!important; }
:where(a,button,summary,input):focus-visible { outline:3px solid #cc7327!important; outline-offset:3px; }
.site-header { background:var(--paper-ux)!important; box-shadow:0 1px 0 #d6dcd4!important; }
.site-header .header-cta,.floating-contact>summary { background:var(--forest)!important; color:white!important; border-color:var(--forest)!important; }
.site-header .main-nav a,.mobile-nav-panel a { font-size:0.94rem; min-height:44px; display:inline-flex; align-items:center; }
.site-header .mobile-nav>summary { min-height:44px; color:var(--forest)!important; background:white!important; }
.mobile-nav-panel { background:var(--paper-ux)!important; max-height:65dvh; overflow:auto; }
.mobile-nav-panel a { color:var(--forest)!important; }
.brand-mark { background:#e4eee7!important; }.brand-mark i { background:#28705d!important; }
.hero { min-height:0!important; height:auto!important; display:grid!important; grid-template-columns: 1fr 1.05fr; align-items:stretch; background:var(--forest)!important; overflow:hidden; }
.hero::before,.hero::after,.hero-shade { display:none!important; }
.hero .hero-content { grid-area:1/1; position:relative; inset:auto; align-self:center; width:auto; max-width:none; margin:0; padding:clamp(38px,5.5vw,90px) clamp(24px,4.8vw,84px); background:var(--forest)!important; color:#fff; }
.hero .hero-image { grid-area:1/2; position:relative!important; inset:auto!important; display:block; margin:0!important; width:100%!important; height:100%!important; min-height:0; max-height:550px; max-width:none; border:0; border-radius:0; object-fit:cover; object-position:center!important; filter:none!important; box-shadow:none!important; }
.hero .eyebrow { color:#d9e7dd!important; border:0!important; padding:0; background:transparent!important; font-size:.94rem; letter-spacing:.04em; margin:0 0 16px; }
.hero .eyebrow::before { display:none; }
.hero #hero-title { font-size:clamp(2rem,3.6vw,4.1rem); line-height:1.22; letter-spacing:-.035em; color:white; text-shadow:none; }
.hero #hero-title span { display:block; white-space:normal; }
.hero .hero-copy { color:#edf4ee!important; max-width:32em; font-size:1rem; line-height:1.8; margin:18px 0 22px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin:0; }
.hero .hero-actions a { display:inline-flex; align-items:center; justify-content:center; min-height:46px; height:auto; padding:10px 18px; font-size:1rem; line-height:1.4; border-radius:7px; font-weight:700; box-shadow:none!important; }
.hero .button-accent { color:#233c32!important; background:#f7cf86!important; border:1px solid #f7cf86!important; }
.hero .button-ghost { color:#fff!important; background:transparent!important; border:1px solid #a9c3b6!important; }
#products { background:#edf1eb!important; color:var(--ink-ux); }
#products .section-wrap,.work.section-wrap,.faq.section-wrap,.service-band .service-layout { padding-top:clamp(38px,5vw,72px); padding-bottom:clamp(38px,5vw,72px); }
#products .section-heading,.work-heading { margin-bottom:24px; }
#products h2,.work h2,.faq h2,.gallery-intro h1 { color:var(--ink-ux)!important; text-shadow:none!important; font-size:clamp(1.8rem,3.1vw,2.85rem); letter-spacing:-.02em; line-height:1.3; }
#products .section-aside,.work-heading>p { font-size:1rem; line-height:1.75; color:var(--quiet)!important; }
#products .product-grid { gap:16px; align-items:stretch; }
#products .product-card { display:flex; flex-direction:column; align-items:flex-start; background:#fff!important; border:1px solid #d2dcd3!important; border-radius:12px; padding:18px; min-height:0; box-shadow:0 3px 12px #163e3609!important; }
#products .product-card::before,#products .product-card::after { display:none; }
.product-card .category-image { width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; border-radius:6px; }
#products .product-card h3 { color:var(--ink-ux); font-size:1.2rem; margin:16px 0 5px; }
#products .product-card p { font-size:1rem; color:var(--quiet); line-height:1.7; min-height:0; max-width:none; margin:0 0 12px; }
#products .product-card>a,#products .product-footer a { color:#205c49; font-size:1rem; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
#products .product-card>a { display:inline-flex; align-items:center; min-height:44px; margin-top:auto; border:0; }
#products .product-footer { border-color:#c6d4ca; }
.work.section-wrap,.intro.section-wrap,.faq.section-wrap,.gallery-intro.section-wrap,.gallery-browser.section-wrap { background:var(--paper-ux)!important; }
.work-more { margin:18px 0; }.work-more>summary,.gallery-more,.gallery-reset,.copy-quote { width:fit-content; max-width:100%; min-height:44px; padding:9px 16px; color:var(--forest); background:white; border:1px solid #789486; border-radius:7px; font:inherit; font-weight:650; cursor:pointer; }
.work-more[open]>.work-grid { margin-top:18px; }
.work-photo figcaption,.work-photo figcaption strong,.gallery-card .gallery-card-caption { font-size:1rem; line-height:1.5; }
.photo-note,.photo-library-link,.intro-bottom>p,.service-title>p,.steps p,.faq-list details p,.contact-copy,.gallery-lead,.dialog-copy>p:not(.eyebrow) { font-size:1rem; line-height:1.8; }
.faq-list summary { font-size:1.06rem; min-height:48px; }
.gallery-browser .gallery-search,.gallery-browser .gallery-filter,.gallery-count,.gallery-caution { font-size:.94rem; }
.gallery-search input { font-size:1rem; height:46px; }
.gallery-browser .gallery-filter { min-height:44px; background:white; color:var(--forest); border:1px solid #8b9c91; }
.gallery-browser .gallery-filter.is-active { background:var(--forest); color:white; border-color:var(--forest); }
.gallery-back-link,.dialog-controls button,.dialog-close,.dialog-social,.line-copy-button,.line-add-link,.line-qr-open { min-height:44px; font-size:.94rem; }
.gallery-more { display:block; margin:22px auto; }.gallery-reset { margin-top:8px; }
[hidden] { display:none!important; }
.gallery-dialog .dialog-copy h2 { line-height:1.35; }
.floating-contact:not([open]) { width:auto; }
.floating-contact>summary { min-width:0; min-height:44px; font-size:.94rem; padding:10px 14px; border-radius:24px; }
.floating-contact-panel { max-height:calc(100dvh - 92px); overflow:auto; overscroll-behavior:contain; }
body:has(.floating-contact) .site-footer { padding-bottom:64px; }
.detail-copy :is(p,li),.detail-copy .detail-planning p,.detail-copy .detail-points li { font-size:1rem; line-height:1.85; }
.detail-copy .detail-lead { font-size:1.15rem; }.detail-copy h2 { font-size:1.25rem; line-height:1.45; }
.detail-copy p a,.related-rack-links a { text-decoration:underline; text-underline-offset:4px; }.detail-actions a,.detail-back { min-height:44px; font-size:1rem; }
.detail-breadcrumb { line-height:1.7; }
.guide { margin:0; background:var(--paper-ux); color:var(--ink-ux); font:1rem/1.85 system-ui,"Microsoft JhengHei",sans-serif; }
.guide header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.guide header a,.guide a { color:#235f4c; }.guide header a { display:inline-flex; align-items:center; min-height:44px; }
.guide main { padding-top:clamp(24px,4vw,54px); }.guide h1 { font-size:clamp(2rem,4vw,3rem); line-height:1.3; letter-spacing:-.025em; }.guide li { padding:.25rem 0; }
.guide .cta a { background:var(--forest); color:#fff; padding:10px 15px; }.guide .sample { border-color:#cbd8ca; border-left-color:#42735d; }
@media(max-width:760px) {
 .hero { grid-template-columns:1fr; }.hero .hero-content { grid-area:1/1; padding:26px 22px; }
 .hero .hero-image { grid-area:2/1; aspect-ratio:2.35; height:auto!important; max-height:260px; }
 .hero .eyebrow { font-size:.88rem; margin-bottom:10px; }.hero .hero-copy { margin:12px 0 16px; }.hero .hero-actions a { padding:10px 14px; }
 .site-header .header-cta { font-size:.9rem; min-height:44px; }
 #products .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 #products .product-card { padding:12px; }.product-card .category-image { aspect-ratio:1.6; }
 #products .product-card h3 { font-size:1.08rem; }.work .work-grid { gap:12px; }
 .gallery-tools { align-items:stretch; gap:12px; }.gallery-filters { gap:6px; }
 .gallery-card .gallery-card-caption { padding:9px; }.detail-photo img { max-height:38vh; object-fit:contain; }
 .detail-breadcrumb { margin-bottom:14px; }.line-contact-grid { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:355px) { #products .product-grid { grid-template-columns:minmax(0,1fr); }.site-header .brand small { display:none; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto!important; } *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; } }
.intro.section-wrap { display:block; }
.intro-body { max-width:52rem; margin-inline:auto; }
.intro.section-wrap::before,.intro.section-wrap::after { display:none; }
.gallery-dialog[open] { margin:auto; }.guide .copy-quote { display:inline-flex; align-items:center; }
#products { padding:0; }
#products::before,#products::after,.gallery-intro::after { display:none; }
.detail-title { margin:12px 0 22px; }
.detail-title h1 { margin:0; max-width:28em; color:var(--ink-ux); font-size:clamp(1.7rem,3.2vw,2.8rem); line-height:1.35; letter-spacing:-.025em; }
.detail-title .detail-lead { margin:.6rem 0 0; color:var(--quiet); font-size:1.06rem; line-height:1.65; }
@media(max-width:760px) { .detail-main { padding-top:22px; }.detail-title { margin-bottom:16px; } }
