feat: release news and store experience updates

This commit is contained in:
Codex
2026-07-26 11:09:11 +08:00
parent 2b37713791
commit c63bef311c
100 changed files with 2519 additions and 105 deletions
+547 -5
View File
@@ -416,7 +416,9 @@ img {
/* ---- Trust Strip ---- */
.trust-strip {
color: var(--b2b-surface);
background: var(--b2b-ink);
background:
linear-gradient(90deg, rgba(20, 20, 18, 0.9), rgba(20, 20, 18, 0.76)),
url("../images/trust-workshop-bg.jpg") 62% 55% / cover no-repeat;
}
.trust-metric {
@@ -460,6 +462,10 @@ img {
background: var(--b2b-line);
}
.capability-grid-archive {
background: transparent;
}
.capability-card {
display: grid;
min-width: 0;
@@ -474,7 +480,14 @@ img {
background: var(--b2b-mist);
}
.capability-image a {
display: block;
width: 100%;
height: 100%;
}
.capability-image img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
@@ -536,6 +549,139 @@ img {
align-self: flex-start;
}
/* ---- Homepage Carousels ---- */
.b2b-carousel {
--carousel-gap: 1px;
--carousel-items: 1;
}
.services-carousel {
--carousel-items: 2;
}
.cases-carousel {
--carousel-items: 2;
}
.b2b-carousel-viewport {
overflow-x: auto;
overflow-y: hidden;
overscroll-behavior-x: contain;
scroll-snap-type: x mandatory;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
}
.b2b-carousel-viewport::-webkit-scrollbar {
display: none;
}
.b2b-carousel .b2b-carousel-track {
display: grid;
width: auto;
grid-auto-flow: column;
grid-auto-columns: 100%;
grid-template-columns: none;
gap: var(--carousel-gap);
}
.services-carousel .b2b-carousel-track {
grid-auto-columns: calc(50% - 0.5px);
}
.cases-carousel .b2b-carousel-track {
grid-auto-columns: calc(50% - 0.5px);
}
.b2b-carousel-slide {
min-width: 0;
scroll-snap-align: start;
}
.b2b-carousel-controls {
display: none;
min-height: 44px;
margin-top: 1.5rem;
align-items: center;
justify-content: center;
gap: 1.25rem;
}
.b2b-carousel.is-ready .b2b-carousel-controls {
display: flex;
}
.b2b-carousel.is-ready.has-single-page .b2b-carousel-controls {
display: none;
}
.b2b-carousel-arrow,
.b2b-carousel-dot {
appearance: none;
color: var(--b2b-ink);
background: transparent;
border: 0;
border-radius: 0;
cursor: pointer;
}
.b2b-carousel-arrow {
display: inline-flex;
width: 44px;
height: 44px;
padding: 0;
align-items: center;
justify-content: center;
border: 1px solid var(--b2b-line);
font-size: 1.1rem;
line-height: 1;
transition:
color 180ms ease,
background-color 180ms ease,
border-color 180ms ease,
transform 180ms ease;
}
.b2b-carousel-arrow:hover {
color: var(--b2b-surface);
background: var(--b2b-ink);
border-color: var(--b2b-ink);
transform: translateY(-2px);
}
.b2b-carousel-arrow:active {
transform: translateY(0);
}
.b2b-carousel-arrow:focus-visible,
.b2b-carousel-dot:focus-visible {
outline: 2px solid var(--b2b-ink);
outline-offset: 3px;
}
.b2b-carousel-dots {
display: flex;
min-width: 64px;
align-items: center;
justify-content: center;
gap: 0.6rem;
}
.b2b-carousel-dot {
width: 7px;
height: 7px;
padding: 0;
background: var(--b2b-line);
transition:
width 220ms ease,
background-color 220ms ease;
}
.b2b-carousel-dot.is-active {
width: 24px;
background: var(--b2b-ink);
}
/* ---- Case Grid ---- */
.cases-section {
background: var(--b2b-mist);
@@ -548,6 +694,10 @@ img {
background: var(--b2b-line);
}
.case-grid-archive {
background: transparent;
}
.case-card {
position: relative;
display: block;
@@ -600,7 +750,9 @@ img {
/* ---- CTA Section ---- */
.cta-section {
background: var(--b2b-ink);
background:
linear-gradient(90deg, rgba(20, 20, 18, 0.88), rgba(20, 20, 18, 0.7)),
url("../images/consultation-studio-bg.jpg") center 58% / cover no-repeat;
color: var(--b2b-surface);
text-align: center;
padding: 5rem 0;
@@ -881,7 +1033,9 @@ img {
/* ---- Documents Section ---- */
.documents-section {
color: rgba(250, 250, 248, 0.65);
background: var(--b2b-ink);
background:
linear-gradient(90deg, rgba(20, 20, 18, 0.95), rgba(20, 20, 18, 0.86)),
url("../images/trust-workshop-bg.jpg") center 55% / cover no-repeat;
}
.documents-section h2,
@@ -902,7 +1056,7 @@ img {
min-width: 0;
padding: 1.75rem;
gap: 1rem;
background: var(--b2b-ink);
background: rgba(28, 28, 26, 0.88);
}
.document-grid article > span {
@@ -969,10 +1123,21 @@ img {
}
.footer-bottom {
align-items: center;
border-color: rgba(250, 250, 248, 0.08) !important;
font-size: 0.78rem;
}
.footer-icp {
text-align: center;
}
.footer-icp a {
text-decoration: underline;
text-decoration-color: rgba(250, 250, 248, 0.22);
text-underline-offset: 0.2em;
}
/* ---- WordPress Content Area ---- */
.fragrance-content-area {
min-height: 65vh;
@@ -1101,14 +1266,35 @@ textarea:focus-visible {
/* ---- About Page CTA ---- */
.about-cta {
padding: 5rem 0;
background: var(--b2b-mist);
color: var(--b2b-surface);
background:
linear-gradient(90deg, rgba(20, 20, 18, 0.88), rgba(20, 20, 18, 0.7)),
url("../images/consultation-studio-bg.jpg") center 58% / cover no-repeat;
text-align: center;
}
.about-cta h2 {
color: var(--b2b-surface);
font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.about-cta .section-lead {
color: rgba(250, 250, 248, 0.74);
}
.about-cta .btn-b2b-primary {
color: var(--b2b-ink);
background: var(--b2b-surface);
border-color: var(--b2b-surface);
}
.about-cta .btn-b2b-primary:hover,
.about-cta .btn-b2b-primary:focus {
color: var(--b2b-ink);
background: var(--b2b-mist);
border-color: var(--b2b-mist);
}
/* ---- Contact Page ---- */
.contact-section {
padding-top: 0;
@@ -1289,6 +1475,319 @@ textarea:focus-visible {
color: var(--b2b-ink-soft);
}
/* ---- News ---- */
.news-page {
padding-bottom: clamp(5rem, 8vw, 8rem);
}
.news-page-header {
max-width: 760px;
padding: 1.5rem 0 clamp(3rem, 6vw, 5rem);
}
.news-page-header h1 {
margin-bottom: 1.25rem;
font-family: var(--b2b-font-display);
font-size: clamp(2.7rem, 5vw, 4.8rem);
font-weight: 300;
}
.news-page-header > p:last-child,
.news-page-header .archive-description {
color: var(--b2b-ink-soft);
font-size: 1.05rem;
line-height: 1.8;
}
.news-page-header .archive-description > :last-child {
margin-bottom: 0;
}
.news-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: clamp(1.25rem, 2.5vw, 2rem);
}
.news-card {
display: flex;
min-width: 0;
height: 100%;
overflow: hidden;
background: var(--b2b-surface);
border: 1px solid var(--b2b-line);
flex-direction: column;
transition:
border-color 180ms ease,
transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.news-card:hover {
border-color: var(--b2b-ink-muted);
transform: translateY(-3px);
}
.news-card-media {
display: block;
aspect-ratio: 16 / 9;
overflow: hidden;
background: var(--b2b-mist);
}
.news-card-media img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.news-card:hover .news-card-media img {
transform: scale(1.025);
}
.news-card-body {
display: flex;
padding: clamp(1.35rem, 2.5vw, 2rem);
flex: 1;
flex-direction: column;
}
.news-meta {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem 1rem;
margin-bottom: 1rem;
color: var(--b2b-ink-muted);
font-size: 0.74rem;
letter-spacing: 0.06em;
}
.news-categories a {
color: var(--b2b-ink);
font-weight: 600;
text-decoration: none;
}
.news-categories a:hover,
.news-categories a:focus {
opacity: 0.65;
}
.news-card h2 {
margin-bottom: 1rem;
font-family: var(--b2b-font-display);
font-size: clamp(1.45rem, 2vw, 1.9rem);
font-weight: 400;
line-height: 1.28;
}
.news-card h2 a {
color: var(--b2b-ink);
text-decoration: none;
}
.news-card-body > p {
margin-bottom: 1.5rem;
color: var(--b2b-ink-soft);
line-height: 1.75;
}
.news-card-body .text-link {
margin-top: auto;
align-self: flex-start;
}
.news-pagination {
margin-top: clamp(3rem, 6vw, 5rem);
}
.news-pagination .nav-links,
.news-single .page-links {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem;
}
.news-pagination .page-numbers,
.news-single .post-page-numbers {
display: inline-flex;
min-width: 2.75rem;
min-height: 2.75rem;
align-items: center;
justify-content: center;
padding: 0.6rem 0.85rem;
color: var(--b2b-ink);
background: var(--b2b-surface);
border: 1px solid var(--b2b-line);
text-decoration: none;
}
.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover,
.news-pagination .page-numbers:focus,
.news-single .post-page-numbers.current,
.news-single .post-page-numbers:hover,
.news-single .post-page-numbers:focus {
color: var(--b2b-surface);
background: var(--b2b-ink);
border-color: var(--b2b-ink);
}
.news-empty {
padding: clamp(3rem, 7vw, 6rem);
background: var(--b2b-mist);
text-align: center;
}
.news-empty h2 {
margin-bottom: 1rem;
font-family: var(--b2b-font-display);
font-size: clamp(1.8rem, 3vw, 2.5rem);
font-weight: 400;
}
.news-empty p {
margin: 0 auto 2rem;
color: var(--b2b-ink-soft);
}
.news-single {
padding-bottom: clamp(5rem, 8vw, 8rem);
}
.news-single-header {
max-width: 940px;
margin: 2rem auto clamp(2.5rem, 5vw, 4.5rem);
text-align: center;
}
.news-single-header .news-meta {
justify-content: center;
}
.news-single-header h1 {
margin: 0;
font-family: var(--b2b-font-display);
font-size: clamp(2.5rem, 5vw, 4.8rem);
font-weight: 300;
line-height: 1.14;
}
.news-single-image {
max-width: 1120px;
margin: 0 auto clamp(3rem, 6vw, 5rem);
overflow: hidden;
background: var(--b2b-mist);
}
.news-single-image img {
display: block;
width: 100%;
height: auto;
}
.news-single-content {
max-width: 800px;
margin: 0 auto;
color: var(--b2b-ink);
font-size: 1.05rem;
line-height: 1.9;
}
.news-single-content > * {
max-width: 100%;
}
.news-single-content h2,
.news-single-content h3,
.news-single-content h4 {
margin-top: 2.25em;
margin-bottom: 0.75em;
font-family: var(--b2b-font-display);
font-weight: 400;
line-height: 1.3;
}
.news-single-content a {
color: var(--b2b-ink);
text-underline-offset: 0.18em;
}
.news-single-content img,
.news-single-content figure {
height: auto;
}
.news-single-content blockquote {
margin: 2rem 0;
padding: 0.25rem 0 0.25rem 1.5rem;
color: var(--b2b-ink-soft);
border-left: 3px solid var(--b2b-ink);
}
.news-single .page-links {
margin-top: 2.5rem;
}
.news-post-navigation {
max-width: 960px;
margin: clamp(4rem, 8vw, 7rem) auto 0;
padding-top: 2rem;
border-top: 1px solid var(--b2b-line);
}
.news-post-navigation .nav-links {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 2rem;
}
.news-post-navigation .nav-next {
text-align: right;
}
.news-post-navigation a {
display: inline-flex;
color: var(--b2b-ink);
flex-direction: column;
text-decoration: none;
}
.news-post-navigation .nav-subtitle {
margin-bottom: 0.5rem;
color: var(--b2b-ink-muted);
font-size: 0.72rem;
letter-spacing: 0.1em;
}
.news-post-navigation .nav-title {
font-family: var(--b2b-font-display);
font-size: 1.25rem;
}
.news-single-cta {
max-width: 960px;
margin: clamp(3rem, 6vw, 5rem) auto 0;
padding: clamp(2rem, 5vw, 4rem);
background: var(--b2b-mist);
text-align: center;
}
.news-single-cta h2 {
margin-bottom: 1rem;
font-family: var(--b2b-font-display);
font-size: clamp(1.8rem, 3vw, 2.5rem);
font-weight: 400;
}
.news-single-cta p {
max-width: 650px;
margin: 0 auto 2rem;
color: var(--b2b-ink-soft);
}
/* ---- Reveal Motion ---- */
.motion-ready .reveal-item {
opacity: 0;
@@ -1395,6 +1894,7 @@ textarea:focus-visible {
.b2b-header .offcanvas .nav-item:nth-child(4) { transition-delay: 120ms; }
.b2b-header .offcanvas .nav-item:nth-child(5) { transition-delay: 160ms; }
.b2b-header .offcanvas .nav-item:nth-child(6) { transition-delay: 200ms; }
.b2b-header .offcanvas .nav-item:nth-child(7) { transition-delay: 240ms; }
.b2b-header .offcanvas.hiding .nav-item {
opacity: 0;
@@ -1442,6 +1942,14 @@ textarea:focus-visible {
/* LG down — 991px */
@media (max-width: 991px) {
.cases-carousel {
--carousel-items: 1;
}
.cases-carousel .b2b-carousel-track {
grid-auto-columns: 100%;
}
.b2b-section {
padding: 5rem 0;
}
@@ -1459,6 +1967,10 @@ textarea:focus-visible {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.news-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.factory-video-section {
padding-bottom: 5rem;
}
@@ -1533,6 +2045,19 @@ textarea:focus-visible {
grid-template-columns: 1fr;
}
.news-grid,
.news-post-navigation .nav-links {
grid-template-columns: 1fr;
}
.news-post-navigation .nav-next {
text-align: left;
}
.b2b-carousel-controls {
margin-top: 1.25rem;
}
.factory-gallery {
grid-template-rows: repeat(2, 160px);
}
@@ -1591,8 +2116,25 @@ textarea:focus-visible {
}
}
/* XS carousel — 575px */
@media (max-width: 575px) {
.services-carousel,
.cases-carousel {
--carousel-items: 1;
}
.b2b-carousel .b2b-carousel-track {
grid-auto-columns: 100%;
grid-template-columns: none;
}
}
/* SM down — 480px */
@media (max-width: 480px) {
.row.g-5 {
--bs-gutter-x: 1.5rem;
}
.b2b-hero .btn {
width: 100%;
}