Design Language tweaks

This commit is contained in:
2026-05-15 01:28:10 +12:00
parent baafafabdb
commit 580d600c47
52 changed files with 3465 additions and 1548 deletions
+102 -283
View File
@@ -36,10 +36,10 @@
height: auto;
background: linear-gradient(
to bottom,
transparent 25%,
rgba(33, 48, 33, 0.4) 52%,
rgba(33, 48, 33, 0.88) 70%,
#213021 82%
transparent 18%,
rgba(33, 48, 33, 0.26) 48%,
rgba(33, 48, 33, 0.78) 72%,
#213021 86%
);
pointer-events: none;
z-index: 1;
@@ -58,10 +58,6 @@
}
.promise-text {
flex: 1;
}
.hero-text {
display: flex;
flex-direction: column;
@@ -71,69 +67,58 @@
}
.hero-kicker {
display: inline-block;
margin: 0 0 14px;
font-family: var(--font-head);
font-size: 11px;
padding: 7px 12px;
border-radius: 999px;
background: rgba(255, 209, 0, 0.12);
box-shadow: inset 0 0 0 1px rgba(255, 209, 0, 0.2);
font-family: var(--font-body);
font-size: 12px;
font-weight: 700;
letter-spacing: 0.1em;
letter-spacing: 0.08em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.5);
color: var(--yellow);
}
.hero-subtitle {
margin: -8px 0 26px;
max-width: 480px;
margin: -6px 0 22px;
max-width: 560px;
color: rgba(255, 255, 255, 0.86);
font-size: 18px;
font-size: var(--body-lead-size);
line-height: 1.55;
text-align: center;
}
.hero-floating-pill {
display: flex;
position: absolute;
top: 28px;
left: 50%;
transform: translateX(-50%);
z-index: 3;
white-space: nowrap;
padding: 10px 20px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.15);
border: 1px solid rgba(255, 255, 255, 0.28);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
color: #fff;
font-family: var(--font-head);
font-size: 13px;
font-weight: 600;
letter-spacing: 0.01em;
line-height: 1;
}
.hero-chips {
display: none;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 10px;
margin-bottom: 22px;
}
.hero-chip,
.hero-trust-chip {
display: inline-flex;
align-items: center;
gap: 10px;
margin-bottom: 22px;
padding: 10px 16px;
gap: 8px;
min-height: 38px;
padding: 8px 14px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.14);
background: rgba(255, 255, 255, 0.11);
border: 1px solid rgba(255, 255, 255, 0.12);
color: #fff;
font-family: var(--font-head);
font-size: 14px;
font-weight: 700;
font-size: 13px;
font-weight: 600;
line-height: 1.2;
letter-spacing: 0.01em;
text-decoration: none;
transition:
background 0.2s ease,
transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}
:global(.hero-chip .icon) {
color: var(--yellow);
font-size: 12px;
}
.hero-trust-logo {
@@ -142,35 +127,46 @@
flex: 0 0 auto;
}
.hero-trust-stars {
display: inline-flex;
align-items: center;
gap: 2px;
color: var(--yellow);
font-size: 13px;
.hero-trust-chip {
text-decoration: none;
transition: background 0.2s ease, opacity 0.2s ease;
}
@media (hover: hover) {
.hero-trust-chip:hover {
background: rgba(255, 255, 255, 0.16);
transform: translateY(-1px);
}
}
.hero-trust-chip:active {
transform: translateY(1px) scale(0.99);
}
.hero-buttons {
display: flex;
gap: 16px;
gap: 18px;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
:global(.hero-cta-arrow) {
font-size: 11px;
margin-left: 4px;
margin-left: 2px;
}
.hero-secondary-link {
display: inline-flex;
align-items: center;
gap: 8px;
color: rgba(255, 255, 255, 0.86);
font-family: var(--font-head);
font-size: 15px;
font-weight: 700;
text-decoration: none;
transition: color 0.2s ease, opacity 0.2s ease;
}
@media (hover: hover) {
.hero-secondary-link:hover {
color: #fff;
}
}
.hero-img {
@@ -202,7 +198,7 @@
#intro {
background: #fff;
padding: 8px 50px 26px;
padding: 24px 50px;
text-align: left;
}
@@ -215,10 +211,12 @@
margin: 0;
padding: 18px 22px;
border-radius: 26px;
background: linear-gradient(180deg, #ffffff 0%, #fbf8f2 100%);
background:
radial-gradient(circle at top right, rgba(255, 209, 0, 0.14), transparent 30%),
linear-gradient(180deg, #ffffff 0%, #fbf8f2 100%);
box-shadow:
0 1px 0 rgba(17, 20, 24, 0.04),
0 14px 34px rgba(17, 20, 24, 0.06);
0 18px 40px rgba(17, 20, 24, 0.08);
}
.intro-trust-mark {
@@ -280,13 +278,17 @@
min-width: 0;
}
.intro-trust-copy-mobile {
display: none;
}
#intro p {
font-size: 18px;
font-weight: 600;
line-height: 1.35;
font-size: var(--body-lead-size);
font-weight: 700;
line-height: 1.3;
max-width: none;
margin: 0;
color: #34363a;
color: #1f2421;
}
.intro-trust-meta {
@@ -294,7 +296,7 @@
align-items: center;
justify-content: space-between;
gap: 18px;
margin-top: 12px;
margin-top: 10px;
}
.intro-trust-stars {
@@ -309,11 +311,11 @@
display: inline-flex;
align-items: center;
gap: 8px;
padding: 9px 16px;
padding: 8px 14px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.92);
background: rgba(33, 48, 33, 0.06);
color: var(--gw-green);
font-size: 16px;
font-size: 14px;
font-weight: 700;
text-decoration: none;
box-shadow: inset 0 0 0 1px rgba(14, 27, 41, 0.08);
@@ -356,167 +358,22 @@
}
#promise,
#testimonials,
#info {
#values {
background: var(--off-white);
}
#services,
#testimonials,
#info,
#newlead {
background: #fff;
}
.promise-text p {
margin: 0 auto 28px;
font-size: 16px;
max-width: 520px;
}
.promise-text .btn {
display: block;
width: fit-content;
margin: 0 auto;
}
.promise-text {
order: 2;
text-align: center;
}
.promise-img {
order: 1;
flex: 0 0 48%;
max-width: 560px;
display: flex;
justify-content: center;
align-items: flex-end;
}
.promise-img-frame {
position: relative;
width: min(100%, 520px);
padding: 18px 18px 32px 32px;
border-radius: 32px;
background: linear-gradient(180deg, #faf8f3 0%, #f2eee6 100%);
box-shadow: 0 18px 34px rgba(17, 20, 24, 0.08);
}
.promise-img-frame::before {
content: '';
position: absolute;
left: 0;
right: 46px;
bottom: 0;
height: 18px;
border-radius: 999px;
background: var(--gw-green);
opacity: 0.14;
pointer-events: none;
}
.promise-img img {
width: 100%;
max-width: 560px;
display: block;
border-radius: 28px 28px 88px 28px;
box-shadow: 0 10px 24px rgba(17, 20, 24, 0.1);
object-fit: cover;
}
.service-card {
background: var(--off-white);
border-radius: 28px;
padding: 40px 32px;
text-align: center;
box-shadow: inset 0 0 0 1px rgba(17, 20, 24, 0.06);
transition:
transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
box-shadow 0.22s ease;
}
.service-icon-bubble {
display: inline-flex;
align-items: center;
justify-content: center;
width: 88px;
height: 88px;
margin: 0 auto 24px;
border-radius: 50%;
box-shadow:
inset 0 0 0 1px rgba(17, 20, 24, 0.05),
0 10px 24px rgba(17, 20, 24, 0.08);
}
.service-icon-bubble {
background: linear-gradient(135deg, #ffd54a, var(--yellow-soft));
transform: translateY(0) rotate(0deg) scale(1);
transition:
transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
box-shadow 0.2s ease;
}
@media (hover: hover) {
.service-card:hover {
transform: translateY(-2px);
box-shadow:
inset 0 0 0 1px rgba(17, 20, 24, 0.06),
0 8px 40px rgba(0, 0, 0, 0.08);
filter: brightness(1.02);
}
}
@media (hover: hover) and (min-width: 769px) {
.service-card:hover .service-icon-bubble {
transform: translateY(-3px) rotate(-5deg) scale(1.04);
box-shadow:
inset 0 0 0 1px rgba(17, 20, 24, 0.05),
0 16px 28px rgba(17, 20, 24, 0.14);
}
.service-card:nth-child(even):hover .service-icon-bubble {
transform: translateY(-3px) rotate(5deg) scale(1.04);
}
}
.service-card:active {
transform: translateY(-1px) scale(0.992);
}
.service-card .service-card-icon {
font-size: 34px;
color: var(--gw-green);
margin-bottom: 0;
}
.service-card-price {
display: inline-block;
margin: 14px 0 0;
padding: 6px 14px;
border-radius: 999px;
background: rgba(33, 48, 33, 0.06);
color: var(--gw-green);
font-family: var(--font-head);
font-size: 14px;
font-weight: 700;
letter-spacing: 0.02em;
}
.service-card a.btn {
margin-top: 18px;
}
.service-card-price + a.btn {
margin-top: 14px;
}
#values,
footer {
background: var(--gw-green);
color: #fff;
}
#values .section-heading,
#testimonials .section-heading {
text-align: center;
}
@@ -529,64 +386,6 @@ footer {
padding: 60px 50px 32px;
}
.values-inner .section-heading {
color: #fff;
}
.value-card {
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 22px;
padding: 36px 32px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
transition: background 0.2s ease;
}
.value-card:nth-child(odd) {
border-right: 1px solid rgba(255, 255, 255, 0.1);
}
@media (hover: hover) {
.value-card:hover {
background: rgba(255, 255, 255, 0.04);
}
}
.value-icon-wrap {
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: center;
width: 52px;
height: 52px;
border-radius: 16px;
background: rgba(255, 255, 255, 0.08);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
margin-top: 2px;
}
.value-card .value-card-icon {
font-size: 22px;
color: var(--yellow);
}
.value-text h3 {
margin: 0 0 8px;
font-family: var(--font-head);
font-size: 17px;
font-weight: 700;
color: #fff;
line-height: 1.2;
}
.value-card p {
margin: 0;
font-size: 14px;
line-height: 1.7;
opacity: 0.82;
}
.testimonial-card {
background: linear-gradient(180deg, #ffffff 0%, var(--off-white) 100%);
border-radius: 28px;
@@ -709,7 +508,7 @@ footer {
margin: 0;
padding: 16px 22px 20px;
color: var(--gray);
font-size: 15px;
font-size: var(--body-copy-size);
line-height: 1.65;
}
@@ -721,7 +520,7 @@ footer {
.instagram-blurb {
margin: -8px 0 24px;
font-size: 16px;
font-size: var(--body-copy-size);
color: rgba(0, 0, 0, 0.6);
}
@@ -873,11 +672,16 @@ footer {
}
.footer-back-top {
border: none;
background: none;
color: inherit;
font: inherit;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
opacity: 0.5;
cursor: pointer;
flex: 0 0 auto;
transition: opacity 0.2s;
}
@@ -906,7 +710,12 @@ footer {
}
.page-header--green .eyebrow {
color: rgba(255, 255, 255, 0.55);
display: inline-block;
padding: 7px 12px;
border-radius: 999px;
background: rgba(255, 209, 0, 0.12);
box-shadow: inset 0 0 0 1px rgba(255, 209, 0, 0.2);
color: var(--yellow);
}
/* White variant */
@@ -1047,10 +856,20 @@ footer {
gap: 24px;
}
.ph-copy {
text-align: center;
}
.ph-title {
font-size: clamp(28px, 7vw, 38px);
}
.ph-subtitle {
margin-left: auto;
margin-right: auto;
text-align: center;
}
.ph-chips {
gap: 8px;
}