feat: major content & layout overhaul across all sections

- Problem strip: 4 sign cards with closing statement
- Dataroot section: rebranded as case study with new content
- Services: 2×2 content-rich cards with bullet lists, updated copy
- Process: moved above portfolio, new strategy-focused copy
- Portfolio: 9 items with correct tags, uniform cards, light theme
- SEO: OG tags, canonical, favicons, robots.txt, sitemap, 404
- Backdrop: lighter white for lead panel readability
- Footer, LegalPages component, various text refinements
- Fix CSS syntax error in neural hero hover state
This commit is contained in:
Kunthawat Greethong
2026-06-28 16:52:44 +07:00
parent f114a34a62
commit 9ebbc91e5b
17 changed files with 1182 additions and 659 deletions

View File

@@ -594,6 +594,18 @@ flex-direction: column;
justify-content: flex-end;
}
.blog-card .eyebrow {
width: fit-content;
color: var(--ink);
font-size: 12px;
letter-spacing: .14em;
}
.page-section .blog-card .eyebrow,
.page-section-tight .blog-card .eyebrow {
color: rgb(255 255 255 / .72);
}
.detail-card .text-link {
width: fit-content;
}
@@ -815,6 +827,11 @@ color: var(--muted);
.node-center:hover {
transform: translate(-50%, -50%) translateZ(20px) scale(1.08);
box-shadow:
0 0 0 18px rgb(254 212 0 / .12),
0 0 80px rgb(254 212 0 / .25),
0 0 150px rgb(254 180 0 / .10);
}
@keyframes magnetPulse {
0%, 100% {
@@ -830,11 +847,6 @@ color: var(--muted);
0 0 150px rgb(254 180 0 / .12);
}
}
box-shadow:
0 0 0 18px rgb(254 212 0 / .12),
0 0 80px rgb(254 212 0 / .25),
0 0 150px rgb(254 180 0 / .10);
}
.node-label {
font-size: clamp(2.6rem, 5vw, 3.4rem);
@@ -926,6 +938,11 @@ color: var(--muted);
50% { transform: translate(-50%, -50%) translate3d(-145px, 130px, -65px); }
}
@keyframes metricFloat {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-8px); }
}
.eyebrow {
display: inline-flex;
width: fit-content;
@@ -1316,9 +1333,9 @@ line-height: 1.32;
.problem-strip {
display: grid;
grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
gap: 24px;
align-items: end;
padding: clamp(56px, 8vw, 88px) 0;
gap: clamp(24px, 5vw, 48px);
align-items: start;
padding: clamp(56px, 8vw, 88px) 0 clamp(80px, 10vw, 120px);
}
.problem-strip h2,
@@ -1328,41 +1345,75 @@ line-height: 1.32;
font-size: clamp(2.4rem, 4vw, 4rem);
}
.problem-strip p,
.section-heading + p {
.problem-strip .problem-strip-head {
display: flex;
flex-direction: column;
gap: 0;
}
/* ── Problem Sign Grid (2×2) ── */
.problem-sign-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}
.problem-sign {
position: relative;
display: flex;
align-items: center;
gap: 18px;
padding: 22px 26px;
border: 1px solid rgb(19 18 13 / .10);
border-radius: 22px;
background: rgb(255 255 255 / .46);
box-shadow: 0 12px 34px rgb(42 36 18 / .08), inset 1px 1px 0 rgb(255 255 255 / .64);
backdrop-filter: blur(3px);
transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.problem-sign:hover {
transform: translateY(-4px);
border-color: var(--yellow);
box-shadow: 0 20px 48px rgb(42 36 18 / .14), inset 1px 1px 0 rgb(255 255 255 / .74);
}
.problem-sign-num {
flex: 0 0 auto;
display: grid;
place-items: center;
width: 52px;
height: 52px;
border-radius: 16px;
background: var(--yellow);
color: var(--ink);
font-size: 1.35rem;
font-weight: 900;
letter-spacing: .02em;
box-shadow: 0 8px 24px rgb(254 212 0 / .28);
}
.problem-sign-text {
color: var(--ink);
font-weight: 700;
font-size: 1.05rem;
line-height: 1.35;
}
/* ── Closing Statement ── */
.problem-closing {
grid-column: 1 / -1;
margin-top: clamp(28px, 4vw, 44px);
padding: 20px 0 0;
border-top: 1px solid var(--line);
text-align: center;
color: var(--muted);
font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}
.problem-strip-content {
display: flex;
flex-direction: column;
gap: 16px;
}
.problem-list {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 8px;
}
.problem-list li {
position: relative;
padding-left: 20px;
font-size: 0.95rem;
color: var(--ink);
}
.problem-list li::before {
content: "→";
position: absolute;
left: 0;
color: var(--yellow);
font-weight: 700;
-webkit-text-stroke: 1px var(--ink);
paint-order: stroke fill;
.problem-closing strong {
color: var(--ink);
font-weight: 900;
}
.case-section,
@@ -1451,6 +1502,14 @@ border-color: rgb(255 255 255 / .20);
box-shadow: 0 24px 70px rgb(0 0 0 / .34), inset 1px 1px 0 rgb(255 255 255 / .18);
}
.case-story-title {
margin: 0 0 6px;
color: rgb(255 255 255 / .86);
font-size: 1.15rem;
font-weight: 800;
letter-spacing: .01em;
}
.story-step {
border-bottom: 1px solid var(--dark-line);
padding-bottom: 16px;
@@ -1461,9 +1520,9 @@ box-shadow: 0 24px 70px rgb(0 0 0 / .34), inset 1px 1px 0 rgb(255 255 255 / .18)
padding-bottom: 0;
}
.story-step span,
.portfolio-card span,
.service-card span,
.process-grid span {
color: var(--yellow);
font-size: 12px;
@@ -1509,21 +1568,25 @@ background: rgb(13 21 17 / .28);
box-shadow: 0 18px 50px rgb(0 0 0 / .28), inset 1px 1px 0 rgb(255 255 255 / .16);
padding: 16px;
backdrop-filter: blur(5px) saturate(1.15);
animation: metricFloat 2.8s ease-in-out infinite;
}
.metric-card:nth-of-type(1) {
left: 22px;
bottom: 24px;
animation-delay: 0s;
}
.metric-card:nth-of-type(2) {
right: 28px;
top: 26px;
animation-delay: 0.9s;
}
.metric-card:nth-of-type(3) {
right: 72px;
bottom: 42px;
animation-delay: 1.8s;
}
.metric-card strong {
@@ -1550,21 +1613,21 @@ backdrop-filter: blur(5px) saturate(1.15);
.service-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
}
.service-card {
min-height: 300px;
display: flex;
flex-direction: column;
justify-content: flex-end;
justify-content: flex-start;
overflow: hidden;
border: 1px solid rgb(19 18 13 / .10);
border-radius: 24px;
background: transparent;
box-shadow: 0 18px 52px rgb(42 36 18 / .10), inset 1px 1px 0 rgb(255 255 255 / .65);
padding: 22px;
padding: clamp(22px, 3vw, 32px);
transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
@@ -1577,22 +1640,53 @@ linear-gradient(150deg, rgb(255 255 255 / .06), rgb(254 212 0 / .08));
.service-card h3 {
margin-top: 10px;
color: var(--ink);
font-size: clamp(1.35rem, 1.6vw, 2rem);
font-weight: 900;
text-decoration: underline;
text-decoration-color: var(--yellow);
text-decoration-thickness: 4px;
text-underline-offset: 6px;
}
.service-card p {
max-height: 0;
margin-top: 0;
overflow: hidden;
.service-card > span {
color: var(--muted);
opacity: 0;
transition: max-height .25s var(--ease), opacity .25s var(--ease), margin-top .25s var(--ease);
font-size: 12px;
font-weight: 900;
letter-spacing: .04em;
text-transform: uppercase;
}
.service-card:hover p {
max-height: 180px;
margin-top: 14px;
opacity: 1;
.service-card > p {
margin-top: 12px;
color: var(--muted);
font-size: 0.95rem;
line-height: 1.55;
}
.service-card ul {
margin: 14px 0 0;
padding: 0 0 0 1.2em;
list-style: none;
display: grid;
gap: 6px;
}
.service-card li {
position: relative;
padding-left: 4px;
color: var(--ink);
font-size: 0.88rem;
font-weight: 600;
line-height: 1.45;
}
.service-card li::before {
content: "→";
position: absolute;
left: -1.2em;
color: var(--yellow);
font-weight: 900;
}
.portfolio-grid {
@@ -1763,7 +1857,7 @@ color: rgb(255 255 255 / .72);
position: fixed;
inset: 0;
z-index: 100;
background: rgb(13 15 14 / .32);
background: rgb(255 255 255 / .74);
opacity: 0;
pointer-events: none;
transition: opacity .24s var(--ease);
@@ -2143,12 +2237,20 @@ font-size: clamp(2rem, 7vw, 2.5rem);
max-width: 11ch;
}
.service-grid,
.service-grid {
grid-template-columns: 1fr;
gap: 14px;
}
.process-grid,
.service-proof-grid .process-grid {
grid-template-columns: 1fr;
}
.problem-sign-grid {
grid-template-columns: 1fr;
}
.process-grid article {
min-height: auto;
}
@@ -2159,12 +2261,6 @@ height: 58px;
border-radius: 18px;
}
.service-card p {
max-height: none;
margin-top: 12px;
opacity: 1;
}
.portfolio-card,
.portfolio-card.featured {
grid-column: span 12;
@@ -2238,12 +2334,6 @@ border-radius: 18px;
border-radius: 50%;
min-height: auto;
}
@keyframes float-1,
@keyframes float-2,
@keyframes float-3 {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-8px); }
}
}
@@ -2253,27 +2343,65 @@ border-radius: 18px;
}
.blog-article-hero {
padding: 168px 0 56px;
padding: clamp(132px, 16vw, 188px) 0 clamp(46px, 7vw, 82px);
}
.blog-article-heading,
.blog-article-shell {
width: min(820px, calc(100% - 32px));
width: min(920px, calc(100% - 32px));
margin-inline: auto;
}
.blog-article-heading h1 {
max-width: 15ch;
margin-top: 14px;
font-size: clamp(2.7rem, 4vw, 4rem);
font-weight: 900;
line-height: .96;
.blog-article-heading {
display: grid;
gap: 18px;
}
.blog-article-heading > p:last-child {
max-width: 680px;
.blog-back-link {
width: fit-content;
color: var(--muted);
font-size: clamp(1.1rem, 1vw + 1rem, 1.45rem);
font-size: 13px;
font-weight: 800;
text-decoration: none;
}
.blog-back-link:hover {
color: var(--ink);
}
.blog-article-meta {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
}
.blog-article-meta .eyebrow {
margin-bottom: 0;
}
.blog-article-meta .eyebrow-yellow {
border-color: rgb(19 18 13 / .18);
background: var(--yellow);
color: var(--ink);
}
.blog-article-heading h1 {
max-width: 18ch;
margin: 0;
font-size: clamp(2.85rem, 6vw, 6.8rem);
font-weight: 950;
line-height: .88;
}
.blog-article-lead {
max-width: 720px;
border-left: 3px solid var(--yellow);
margin: 0;
padding-left: clamp(16px, 2vw, 24px);
color: var(--muted);
font-size: clamp(1.08rem, 1vw + 1rem, 1.5rem);
line-height: 1.55;
}
.blog-article-shell {
@@ -2282,16 +2410,11 @@ border-radius: 18px;
.blog-prose {
position: relative;
overflow: hidden;
border: 1px solid rgb(255 255 255 / .58);
border: 1px solid rgb(19 18 13 / .08);
border-radius: 28px;
background: white;
padding: clamp(26px, 5vw, 58px);
box-shadow: var(--shadow);
}
.blog-prose > *:not(.liquidGlass-effect, .liquidGlass-tint, .liquidGlass-shine) {
position: relative;
z-index: 3;
box-shadow: 0 24px 70px rgb(42 36 18 / .08);
}
.blog-prose h2 {