Files
khiyal-studio/src/app/globals.css
T
amirhosein.ashourlooandClaude Opus 5 6bcbe73d81 Add services page and make the portfolio carousel draggable
Port the /services page from the legacy site: hero, "Field of activity"
with the five expertise areas, the video feature image that straddles the
section boundary, the services slider, the stats row, and the capability
lists with the closing "architecture" watermark. Images come from the
legacy theme; they are also wired to Meshkee static-image slots
(services-hero/feature/cards/gallery) so they can be swapped from the panel.

The navbar Services link now points at /services instead of the homepage
anchor, and the sitemap picks the route up automatically.

PortfolioCarousel takes an optional `items` prop so the new page can reuse
it, and now supports pointer dragging. Two fixes were needed for that:

- Easing is toggled on the track imperatively with a forced style flush
  instead of via a class. Chrome decides whether to animate from the
  before-change style, so a class-based `transition: none` also suppressed
  the transition on the commit that removed it — the drag snap jumped, and
  the loop reset (which was driven by onTransitionEnd) never ran at all,
  letting the track drift off the end of the list. The loop now re-anchors
  on a timer and the reset hops instead of gliding.
- The gesture is tracked on the window rather than through pointer capture,
  so releasing outside the carousel or losing focus mid-drag still settles
  it instead of leaving the track parked at its dragged offset.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 12:33:19 +03:30

2232 lines
37 KiB
CSS

@import "tailwindcss";
@font-face {
font-family: "Antonio";
src: url("/fonts/Antonio-Thin.ttf") format("truetype");
font-weight: 100;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Antonio";
src: url("/fonts/Antonio-Light.ttf") format("truetype");
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Antonio";
src: url("/fonts/Antonio-Regular.ttf") format("truetype");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Antonio";
src: url("/fonts/Antonio-Medium.ttf") format("truetype");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Antonio";
src: url("/fonts/Antonio-SemiBold.ttf") format("truetype");
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Antonio";
src: url("/fonts/Antonio-Bold.ttf") format("truetype");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Plus Jakarta Sans";
src: url("/fonts/PlusJakartaSans-ExtraLight.ttf") format("truetype");
font-weight: 200;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Plus Jakarta Sans";
src: url("/fonts/PlusJakartaSans-Regular.ttf") format("truetype");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Plus Jakarta Sans";
src: url("/fonts/PlusJakartaSans-Italic.ttf") format("truetype");
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Plus Jakarta Sans";
src: url("/fonts/PlusJakartaSans-Medium.ttf") format("truetype");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Plus Jakarta Sans";
src: url("/fonts/PlusJakartaSans-SemiBold.ttf") format("truetype");
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Plus Jakarta Sans";
src: url("/fonts/PlusJakartaSans-Bold.ttf") format("truetype");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Plus Jakarta Sans";
src: url("/fonts/PlusJakartaSans-ExtraBold.ttf") format("truetype");
font-weight: 800;
font-style: normal;
font-display: swap;
}
:root {
--base-color: #efff02;
--dark-gray: #191919;
--nero-grey: #1f1f1f;
--medium-gray: #737373;
--charcoal-grey: #3e3e3e;
--white: #ffffff;
--alt-font: "Antonio", sans-serif;
--primary-font: "Plus Jakarta Sans", sans-serif;
}
@theme inline {
--color-base: var(--base-color);
--color-dark: var(--dark-gray);
--color-nero: var(--nero-grey);
--color-muted: var(--medium-gray);
--color-charcoal: var(--charcoal-grey);
--font-alt: var(--alt-font);
--font-primary: var(--primary-font);
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
min-height: 100%;
background: var(--dark-gray);
color: var(--medium-gray);
overflow-x: hidden;
}
html {
scroll-behavior: smooth;
}
body {
font-family: var(--primary-font);
line-height: 1.875;
-webkit-font-smoothing: antialiased;
}
body.menu-open {
overflow: hidden;
}
a {
color: inherit;
text-decoration: none;
}
img {
max-width: 100%;
height: auto;
}
button,
input,
textarea {
font-family: inherit;
}
.container-site {
width: min(1220px, calc(100% - 48px));
margin-inline: auto;
}
.dotted {
background-image: url("/images/brand/dotted-pattern.svg");
background-position: center top;
background-repeat: repeat;
}
.eyebrow {
display: block;
color: var(--base-color);
font-size: 12px;
font-weight: 600;
letter-spacing: 0.3em;
text-transform: uppercase;
margin-bottom: 10px;
}
.heading-white {
color: var(--white);
font-weight: 600;
line-height: 1.35;
}
.text-outline {
color: transparent;
-webkit-text-fill-color: transparent;
-webkit-text-stroke-width: 1px;
-webkit-text-stroke-color: #fff;
}
.link-line {
display: inline-flex;
align-items: center;
gap: 10px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--white);
background: none;
border: 0;
cursor: pointer;
padding: 0;
}
.link-line:hover {
color: var(--base-color);
}
.site-header {
position: absolute;
inset: 0 0 auto;
z-index: 40;
display: flex;
align-items: center;
justify-content: space-between;
padding: 18px 32px;
}
.logo img {
height: 56px;
width: auto;
}
.hamburger {
display: inline-flex;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
background: transparent;
border: 0;
cursor: pointer;
color: #fff;
padding: 0;
transition: opacity 0.3s;
}
.hamburger:hover,
.user-menu-icon:hover,
.user-menu-trigger:hover {
opacity: 0.65;
}
.hamburger svg,
.user-menu-icon svg {
display: block;
}
.menu-overlay {
position: fixed;
inset: 0;
z-index: 50;
background: #191919 url("/images/brand/vertical-line-bg.svg") center top / cover;
overflow: auto;
top: -100%;
visibility: hidden;
pointer-events: none;
transition: top 0.3s ease, visibility 0.3s ease;
}
.menu-overlay.open {
top: 0;
visibility: visible;
pointer-events: auto;
}
.menu-close {
position: absolute;
top: 24px;
right: 24px;
width: 48px;
height: 48px;
border: 0;
border-radius: 50%;
background: #fff;
color: #191919;
font-size: 22px;
cursor: pointer;
opacity: 0;
transform: scale(0.6);
transition: transform 0.4s cubic-bezier(0.37, 0, 0.63, 1), opacity 0.4s cubic-bezier(0.37, 0, 0.63, 1);
}
.menu-overlay.open .menu-close {
opacity: 1;
transform: scale(1);
transition-delay: 0.5s;
}
.menu-grid {
min-height: 100%;
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 48px;
padding: 90px 64px 64px;
align-items: center;
}
.menu-logo,
.menu-address,
.menu-social {
opacity: 0;
transform: translateY(-50px);
transition:
transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99),
opacity 0.6s cubic-bezier(0.4, 0.01, 0.165, 0.99);
}
.menu-overlay.open .menu-logo {
opacity: 1;
transform: translateY(0);
transition-delay: 0.2s;
}
.menu-overlay.open .menu-address {
opacity: 1;
transform: translateY(0);
transition-delay: 0.4s;
}
.menu-overlay.open .menu-social {
opacity: 1;
transform: translateY(0);
transition-delay: 0.8s;
}
.menu-nav a {
display: block;
font-family: var(--alt-font);
font-size: clamp(36px, 4.4vw, 52px);
line-height: 1.05;
color: #fff;
letter-spacing: -0.03em;
opacity: 0;
transform: scale(1.15) translateY(-30px);
transition:
transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99),
opacity 0.6s cubic-bezier(0.4, 0.01, 0.165, 0.99),
color 0.2s ease;
}
.menu-overlay.open .menu-nav a {
opacity: 1;
transform: scale(1) translateY(0);
}
.menu-overlay.open .menu-nav a:nth-child(1) { transition-delay: 0.27s; }
.menu-overlay.open .menu-nav a:nth-child(2) { transition-delay: 0.34s; }
.menu-overlay.open .menu-nav a:nth-child(3) { transition-delay: 0.41s; }
.menu-overlay.open .menu-nav a:nth-child(4) { transition-delay: 0.48s; }
.menu-overlay.open .menu-nav a:nth-child(5) { transition-delay: 0.55s; }
.menu-overlay.open .menu-nav a:nth-child(6) { transition-delay: 0.62s; }
.menu-nav a:hover,
.menu-nav a.active {
color: var(--base-color);
}
.menu-meta {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 28px;
margin-top: 40px;
color: #cfcfcf;
}
.social-row {
display: flex;
gap: 14px;
flex-wrap: wrap;
align-items: center;
}
.social-row a {
width: 42px;
height: 42px;
display: grid;
place-items: center;
color: #fff;
border: 1px solid #3e3e3e;
border-radius: 50%;
}
.social-row a:hover {
color: var(--base-color);
border-color: var(--base-color);
}
.hero {
position: relative;
min-height: 100svh;
overflow: hidden;
background: #232323;
}
.hero-slide {
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.8s ease;
}
.hero-slide.active {
opacity: 1;
}
.hero-slide img {
width: 100%;
height: 100%;
object-fit: cover;
animation: kenburns 8s ease forwards;
}
@keyframes kenburns {
from {
transform: scale(1.08);
filter: blur(8px);
}
to {
transform: scale(1);
filter: blur(0);
}
}
.hero-shade {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(16, 16, 16, 0.72), transparent 55%);
}
.hero-copy {
position: relative;
z-index: 2;
min-height: 100svh;
display: flex;
align-items: flex-end;
padding: 0 6vw 12vh;
}
.hero-title {
font-family: var(--alt-font);
font-size: clamp(56px, 9vw, 130px);
line-height: 0.92;
color: #fff;
font-weight: 500;
text-shadow: 0 7px 30px rgb(0 0 0 / 50%);
margin: 0 0 18px;
}
.hero-explore {
display: inline-flex;
align-items: center;
gap: 12px;
color: #fff;
text-transform: uppercase;
letter-spacing: 0.12em;
font-size: 14px;
font-weight: 600;
}
.hero-explore i,
.hero-explore .circle {
width: 50px;
height: 50px;
border: 2px solid #fff;
border-radius: 50%;
display: grid;
place-items: center;
}
.hero-nav {
position: absolute;
right: 0;
bottom: 12vh;
z-index: 3;
display: flex;
}
.hero-nav button {
width: 120px;
height: 120px;
border: 0;
cursor: pointer;
font-family: var(--alt-font);
font-size: 40px;
font-weight: 700;
}
.hero-nav .next-arrow {
background: #fff;
color: #191919;
}
.hero-nav .next-num {
background: var(--base-color);
color: #191919;
}
.hero-number {
position: absolute;
left: 2vw;
top: 42%;
font-family: var(--alt-font);
font-size: 200px;
line-height: 1;
font-weight: 700;
color: transparent;
-webkit-text-stroke: 2px var(--base-color);
pointer-events: none;
}
.section {
padding: 90px 0;
position: relative;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
margin-top: 56px;
}
.feature-item {
border-top: 1px solid var(--charcoal-grey);
padding-top: 22px;
display: flex;
justify-content: space-between;
gap: 16px;
}
.feature-item span:last-child {
color: var(--base-color);
font-weight: 500;
}
.intro-grid {
display: grid;
grid-template-columns: 0.9fr 1.1fr;
gap: 48px;
align-items: center;
}
.years-wrap {
display: grid;
grid-template-columns: 210px 1fr;
gap: 24px;
align-items: center;
}
.years-badge {
position: relative;
width: 210px;
height: 210px;
margin-inline: auto;
border-radius: 50%;
overflow: hidden;
}
.years-badge .circle {
width: 210px;
height: 210px;
border-radius: 50%;
background: var(--base-color);
}
.years-badge .num {
position: absolute;
left: 0;
right: 0;
top: 18px;
text-align: center;
font-family: var(--alt-font);
font-size: 200px;
line-height: 0.82;
font-weight: 700;
color: var(--dark-gray);
letter-spacing: -0.04em;
pointer-events: none;
}
.section p,
.years-wrap p,
.feature-item span:first-child,
.about-copy p {
text-align: justify;
}
.portfolio-bleed {
--gap: 35px;
--shown: 4;
--slide: 0;
/* live pointer-drag offset, written straight to the node while dragging */
--drag: 0px;
container-type: inline-size;
width: calc(100% + 30vw);
overflow: hidden;
cursor: grab;
touch-action: pan-y;
-webkit-user-select: none;
user-select: none;
}
.portfolio-bleed.is-dragging {
cursor: grabbing;
}
/* the transition below is switched off imperatively while the track follows the cursor and
while the loop re-anchors — see freeze()/thaw() in PortfolioCarousel */
.portfolio-track {
display: flex;
gap: var(--gap);
transition: transform 0.7s cubic-bezier(0.12, 0, 0.1, 0);
transform: translateX(
calc(-1 * var(--slide) * (100cqi + var(--gap)) / var(--shown) + var(--drag))
);
}
.portfolio-card {
position: relative;
overflow: hidden;
flex: 0 0 calc((100cqi - (var(--shown) - 1) * var(--gap)) / var(--shown));
min-height: 430px;
color: #fff;
}
.portfolio-card img {
width: 100%;
height: 430px;
object-fit: cover;
display: block;
-webkit-user-drag: none;
transition: transform 1s cubic-bezier(0.12, 0, 0.39, 0);
}
.portfolio-card .copy {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
z-index: 1;
padding: 30px 28px 32px;
background: linear-gradient(to top, #101010 22%, transparent 100%);
transform: translateY(calc(100% - 90px));
transition: transform 550ms cubic-bezier(0.12, 0, 0.1, 0);
}
.portfolio-card .copy h3 {
margin: 0 0 10px;
color: #fff;
font-size: 22px;
font-weight: 500;
}
.portfolio-card .copy p {
margin: 0;
color: #d4d4d4;
font-size: 14px;
line-height: 1.7;
text-align: justify;
display: -webkit-box;
-webkit-line-clamp: 8;
-webkit-box-orient: vertical;
overflow: hidden;
}
.portfolio-card:hover img {
transform: scale(1.3);
transition: transform 3s cubic-bezier(0.12, 0, 0.39, 0);
}
.portfolio-card:hover .copy {
transform: translateY(0);
}
.partners {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
margin-top: 56px;
}
.partners a {
display: grid;
place-items: center;
min-height: 90px;
}
.video-split {
display: grid;
grid-template-columns: 1fr 0.8fr;
min-height: 500px;
}
.video-cover {
background-size: cover;
background-position: center;
}
.video-cta {
background: var(--nero-grey);
display: grid;
place-items: center;
text-align: center;
position: relative;
overflow: hidden;
padding: 48px 24px;
}
.play-btn {
position: relative;
z-index: 1;
width: 85px;
height: 85px;
border-radius: 50%;
border: 2px solid var(--base-color);
display: grid;
place-items: center;
color: var(--base-color);
margin: 0 auto 10px;
font-size: 20px;
}
.video-cta h2 {
position: relative;
z-index: 1;
margin: 0 0 25px;
font-family: var(--alt-font);
font-size: 3.438rem;
line-height: 3.7rem;
font-weight: 500;
letter-spacing: -0.5px;
color: var(--medium-gray);
}
.video-cta h2 span {
color: #fff;
}
.watermark {
position: absolute;
left: 0;
right: 0;
bottom: -20px;
z-index: 0;
text-align: center;
font-family: var(--alt-font);
font-size: clamp(64px, 10vw, 8.75rem);
line-height: 0.85;
font-weight: 600;
letter-spacing: -3px;
color: var(--nero-grey);
pointer-events: none;
}
.video-cta .watermark {
color: transparent;
-webkit-text-fill-color: transparent;
}
.project-list a {
display: grid;
grid-template-columns: 90px 1fr 160px 32px;
align-items: center;
gap: 16px;
padding: 24px 0;
border-bottom: 1px solid var(--charcoal-grey);
color: #fff;
}
.recent-slide {
position: relative;
min-height: 620px;
overflow: hidden;
}
.recent-slide-item {
position: absolute;
inset: 0;
opacity: 0;
pointer-events: none;
transition: opacity 0.85s ease;
}
.recent-slide-item.is-active {
opacity: 1;
pointer-events: auto;
z-index: 1;
}
.vertical-label {
position: absolute;
top: 0;
left: 16px;
z-index: 2;
writing-mode: vertical-rl;
transform: rotate(180deg);
background: var(--base-color);
color: #191919;
font-size: 13px;
font-weight: 700;
letter-spacing: 0.22em;
text-transform: uppercase;
padding: 18px 10px;
}
.recent-slide img {
width: 100%;
height: 620px;
object-fit: cover;
display: block;
}
.recent-nav {
position: absolute;
right: min(460px, 92%);
bottom: 0;
z-index: 4;
display: flex;
flex-direction: column;
}
.recent-nav button {
width: 75px;
height: 75px;
border: 0;
background: var(--dark-gray);
color: #fff;
cursor: pointer;
display: grid;
place-items: center;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.recent-nav button svg {
width: 18px;
height: 18px;
}
.recent-nav button:hover {
background: #111;
}
.recent-card {
position: absolute;
right: 0;
bottom: 0;
width: min(460px, 92%);
background: #fff;
color: #191919;
padding: 56px 48px;
}
.counters {
display: grid;
grid-template-columns: repeat(4, 1fr);
text-align: center;
padding: 64px 0 24px;
}
.counters strong {
display: block;
font-family: var(--alt-font);
font-size: clamp(42px, 6vw, 72px);
font-weight: 300;
color: #fff;
}
.quote-wrap {
position: relative;
padding: 56px 56px 8px;
}
.quote-slides {
position: relative;
min-height: 220px;
}
.quote {
text-align: center;
font-family: var(--alt-font);
font-size: 1.5rem;
line-height: 2.3rem;
font-weight: 100;
font-style: normal;
font-synthesis: none;
letter-spacing: -0.5px;
color: #fff;
width: 90%;
margin: 0 auto;
position: absolute;
inset: 0;
opacity: 0;
pointer-events: none;
transition: opacity 0.7s ease;
}
.quote.is-active {
position: relative;
opacity: 1;
pointer-events: auto;
}
.quote-author {
display: block;
margin-top: 8px;
color: var(--base-color);
}
.quote-side {
position: absolute;
top: 42%;
z-index: 2;
width: 48px;
height: 48px;
border: 0;
background: none;
color: #fff;
cursor: pointer;
display: grid;
place-items: center;
}
.quote-side svg {
width: 24px;
height: 24px;
}
.quote-side.prev {
left: 0;
}
.quote-side.next {
right: 0;
}
.quote-pager {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
margin-top: 36px;
color: #fff;
font-size: 15px;
font-weight: 600;
}
.quote-progress {
width: 220px;
height: 1px;
background: var(--medium-gray);
}
.quote-progress span {
display: block;
height: 100%;
background: var(--base-color);
transition: width 0.4s ease;
}
.marquee-section {
padding: 70px 0;
overflow: hidden;
}
.marquee {
font-family: var(--alt-font);
font-size: clamp(5.5rem, 12vw, 11.25rem);
line-height: 1;
font-weight: 600;
letter-spacing: -7px;
white-space: nowrap;
color: #282828;
text-align: center;
transform: translate3d(100px, 0, 0) scale(1.5);
transform-origin: center center;
transition: transform 0.65s cubic-bezier(0.23, 1, 0.32, 1);
will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
.menu-overlay,
.menu-close,
.menu-logo,
.menu-address,
.menu-social,
.menu-nav a,
.marquee {
transition: none;
}
.menu-overlay {
top: 0;
visibility: hidden;
}
.menu-overlay.open {
visibility: visible;
}
.menu-logo,
.menu-address,
.menu-social,
.menu-nav a,
.menu-close {
opacity: 1;
transform: none;
}
.marquee {
transform: none;
}
}
.news-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 28px;
}
.news-section {
position: relative;
padding-top: 0;
padding-bottom: 0;
}
.news-watermark {
position: relative;
margin: 32px 0 0;
text-align: center;
font-family: var(--alt-font);
font-size: clamp(3rem, 8vw, 7.5rem);
line-height: 0.72;
font-weight: 600;
letter-spacing: -0.04em;
color: var(--nero-grey);
white-space: nowrap;
pointer-events: none;
}
.news-card {
position: relative;
overflow: hidden;
min-height: 420px;
color: #fff;
}
.news-card img {
width: 100%;
height: 100%;
object-fit: cover;
min-height: 420px;
}
.news-card figcaption {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 32px;
background: linear-gradient(to top, rgba(16, 16, 16, 0.85), transparent 50%);
}
.chip {
display: inline-block;
background: #fff;
color: #191919;
padding: 4px 18px;
border-radius: 24px;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
width: fit-content;
}
.page-hero {
min-height: 420px;
display: grid;
place-items: end center;
background-size: cover;
background-position: center bottom;
padding: 160px 24px 72px;
text-align: center;
}
.page-hero h1 {
font-family: var(--alt-font);
font-size: clamp(48px, 7vw, 86px);
font-weight: 500;
color: #fff;
letter-spacing: -0.04em;
margin: 0 0 12px;
}
.page-hero h2 {
color: #fff;
text-transform: uppercase;
letter-spacing: 0.3em;
font-size: 13px;
font-weight: 600;
}
.about-intro {
display: grid;
grid-template-columns: 7fr 5fr;
gap: 30px;
align-items: center;
}
.about-visual {
position: relative;
display: flex;
align-items: center;
padding-bottom: 50px;
}
.about-pic-a,
.about-pic-b,
.about-pic-c {
display: block;
height: auto;
}
.about-pic-a {
width: 41.666%;
padding: 0 15px;
box-sizing: border-box;
}
.about-pic-b {
width: 50%;
padding: 0 15px;
box-sizing: border-box;
box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}
.about-pic-c {
position: absolute;
left: 150px;
bottom: -50px;
width: 40%;
z-index: 2;
box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}
/* services page */
.service-intro {
display: grid;
grid-template-columns: 4fr 8fr;
gap: 30px;
align-items: start;
}
/* mirrors the blank line the legacy page had between the lead and the body copy */
.service-intro p + p {
margin-top: 1.875rem;
}
.service-areas {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
}
.service-area {
position: relative;
padding-top: 56px;
}
.service-area-number {
position: absolute;
top: -14px;
left: -4px;
font-family: var(--alt-font);
font-size: clamp(66px, 6vw, 96px);
font-weight: 800;
line-height: 1;
-webkit-text-stroke-color: rgba(255, 255, 255, 0.22);
pointer-events: none;
}
.service-area h3 {
position: relative;
margin: 0 0 6px;
color: var(--white);
font-size: 19px;
font-weight: 500;
line-height: 1.5;
}
.service-area p {
margin: 0;
}
.service-common {
grid-column: 1 / -1;
margin-top: 20px;
}
.service-common p {
margin: 6px 0 0;
}
/* the feature image straddles the boundary between the two sections */
.service-lead {
padding-bottom: 415px;
}
.service-feature-section {
padding-top: 0;
padding-bottom: 0;
}
.service-feature {
position: relative;
margin-top: -325px;
}
.service-feature-image {
height: 650px;
border-radius: 6px;
background-size: cover;
background-position: center;
box-shadow: inset 0 0 0 100vmax rgba(25, 25, 25, 0.2);
}
/* centred with margin auto rather than a transform, which `.reveal-self > *` resets */
.service-play {
position: absolute;
inset: 0;
margin: auto;
width: 170px;
height: 170px;
border-radius: 50%;
display: grid;
place-items: center;
background: var(--base-color);
color: var(--dark-gray);
font-size: 16px;
font-weight: 800;
letter-spacing: 1px;
text-transform: uppercase;
}
.service-play:hover {
background: var(--white);
}
.service-stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.service-stat {
display: flex;
align-items: center;
justify-content: center;
gap: 15px;
padding: 0 20px;
border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.service-stat:last-child {
border-right: 0;
}
.service-stat strong {
flex-shrink: 0;
font-family: var(--alt-font);
font-size: clamp(40px, 5vw, 58px);
font-weight: 600;
line-height: 1.1;
color: var(--white);
}
.service-stat strong sup {
font-size: 0.52em;
top: -0.5em;
}
.service-stat span {
display: block;
font-size: 18px;
line-height: 26px;
font-weight: 500;
}
.service-stars {
color: var(--base-color);
letter-spacing: 2px;
line-height: 1.4;
}
.service-outro-grid {
display: grid;
grid-template-columns: 8fr 4fr;
gap: 30px;
align-items: start;
padding-bottom: 90px;
}
.service-capabilities {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-top: 40px;
}
.service-capabilities ul {
margin: 0;
padding: 0;
list-style: none;
}
.service-capabilities li {
padding-bottom: 5px;
}
.service-capabilities li::before {
content: "+";
margin-right: 10px;
font-size: 12px;
color: var(--base-color);
}
/* nothing clips this one, so keep it clear of the footer */
.service-outro .watermark {
bottom: 0;
}
.service-visual {
position: relative;
padding-bottom: 60px;
}
.service-pic-a {
display: block;
width: 80%;
margin-left: auto;
margin-top: -20px;
box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}
.service-pic-b {
position: absolute;
left: 15px;
bottom: 10px;
width: 50%;
z-index: 2;
box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}
.service-visual.is-in .service-pic-a { transition-delay: 0.2s; }
.service-visual.is-in .service-pic-b { transition-delay: 0.45s; }
.reveal > * {
opacity: 0;
transform: translateY(30px);
transition:
transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal > *:nth-child(1) { transition-delay: 0s; }
.reveal > *:nth-child(2) { transition-delay: 0.3s; }
.reveal > *:nth-child(3) { transition-delay: 0.6s; }
.reveal > *:nth-child(4) { transition-delay: 0.9s; }
.reveal > *:nth-child(5) { transition-delay: 1.2s; }
.reveal > *:nth-child(6) { transition-delay: 1.5s; }
.reveal > *:nth-child(7) { transition-delay: 1.8s; }
.reveal > *:nth-child(8) { transition-delay: 2.1s; }
.reveal.is-in > * {
opacity: 1;
transform: none;
}
.about-visual.is-in .about-pic-c { transition-delay: 0.1s; }
.about-visual.is-in .about-pic-b { transition-delay: 0.2s; }
.about-visual.is-in .about-pic-a { transition-delay: 0.5s; }
.reveal-self {
opacity: 0;
transform: translateY(30px);
transition:
transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-self.is-in {
opacity: 1;
transform: none;
}
.reveal-self > *,
.reveal-self.is-in > * {
opacity: 1;
transform: none;
transition: none;
}
@media (prefers-reduced-motion: reduce) {
.reveal > *,
.reveal-self,
.reveal-self.is-in > * {
opacity: 1;
transform: none;
transition: none;
}
}
.about-copy p {
margin: 0 0 16px;
}
.owner img {
width: 100%;
display: block;
}
.contact-top {
display: grid;
grid-template-columns: 1.2fr 0.8fr 0.8fr;
gap: 32px;
}
.form-wrap {
background: var(--nero-grey);
padding: 56px 48px;
}
.form-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px 28px;
}
.form-grid .full {
grid-column: 1 / -1;
}
.form-grid label {
display: block;
color: #fff;
font-size: 11px;
letter-spacing: 0.2em;
text-transform: uppercase;
margin-bottom: 6px;
}
.form-grid input,
.form-grid textarea {
width: 100%;
background: transparent;
border: 0;
border-bottom: 1px solid var(--charcoal-grey);
color: #fff;
padding: 10px 0 14px;
outline: none;
}
.form-grid input:focus,
.form-grid textarea:focus {
border-bottom-color: var(--base-color);
}
.submit {
background: var(--base-color);
color: #191919;
border: 0;
padding: 14px 28px;
font-weight: 700;
cursor: pointer;
border-radius: 4px;
}
.site-footer {
background: var(--nero-grey);
padding: 72px 0 0;
}
.footer-cols {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
padding-bottom: 48px;
}
.footer-cols h3 {
color: #fff;
font-size: 12px;
letter-spacing: 0.2em;
text-transform: uppercase;
margin: 0 0 12px;
}
.footer-bottom {
border-top: 1px solid #2a2a2a;
padding: 18px 0;
}
.footer-bottom-bar {
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: space-between;
align-items: center;
}
.footer-bottom-site {
color: #9c9c9c;
font-size: 12px;
}
.meshkee-credit {
align-items: center;
color: #9c9c9c;
display: inline-flex;
gap: 10px;
padding: 6px 10px;
position: relative;
text-decoration: none;
transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.meshkee-credit:hover {
color: #e0e0e0;
text-decoration: none;
}
.meshkee-credit__frame {
inset: 0;
pointer-events: none;
position: absolute;
}
.meshkee-credit__line {
background: #777;
position: absolute;
transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.meshkee-credit__line--l {
height: 100%;
left: 0;
top: 0;
transform: scaleY(0);
transform-origin: top;
transition-delay: 0s;
width: 1px;
}
.meshkee-credit__line--b {
bottom: 0;
height: 1px;
left: 0;
transform: scaleX(0);
transform-origin: left;
transition-delay: 0.14s;
width: 100%;
}
.meshkee-credit__line--r {
height: 100%;
right: 0;
top: 0;
transform: scaleY(0);
transform-origin: bottom;
transition-delay: 0.28s;
width: 1px;
}
.meshkee-credit__line--t {
height: 1px;
left: 0;
top: 0;
transform: scaleX(0);
transform-origin: right;
transition-delay: 0.42s;
width: 100%;
}
.meshkee-credit:hover .meshkee-credit__line--l,
.meshkee-credit:hover .meshkee-credit__line--r {
transform: scaleY(1);
}
.meshkee-credit:hover .meshkee-credit__line--b,
.meshkee-credit:hover .meshkee-credit__line--t {
transform: scaleX(1);
}
.meshkee-credit:not(:hover) .meshkee-credit__line--l {
transition-delay: 0.42s;
}
.meshkee-credit:not(:hover) .meshkee-credit__line--b {
transition-delay: 0.28s;
}
.meshkee-credit:not(:hover) .meshkee-credit__line--r {
transition-delay: 0.14s;
}
.meshkee-credit:not(:hover) .meshkee-credit__line--t {
transition-delay: 0s;
}
.meshkee-credit__logo {
display: block;
flex-shrink: 0;
height: 42px;
width: auto;
aspect-ratio: 1 / 1;
object-fit: contain;
opacity: 0.7;
position: relative;
transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.meshkee-credit:hover .meshkee-credit__logo {
opacity: 1;
}
.meshkee-credit__text {
display: flex;
flex-direction: column;
justify-content: center;
line-height: 1.25;
min-height: 42px;
position: relative;
}
.meshkee-credit__label {
font-size: 11px;
}
.meshkee-credit__name {
color: #cfcfcf;
font-size: 13px;
font-weight: 600;
transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.meshkee-credit:hover .meshkee-credit__name {
color: #fff;
}
.scroll-progress {
position: fixed;
right: 28px;
bottom: 28px;
z-index: 20;
display: flex;
align-items: center;
gap: 10px;
color: #fff;
font-size: 12px;
letter-spacing: 0.18em;
text-transform: uppercase;
}
.scroll-line {
width: 1px;
height: 70px;
background: #3e3e3e;
position: relative;
overflow: hidden;
}
.scroll-point {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 22%;
background: var(--base-color);
}
.success-box {
color: #fff;
text-align: center;
padding: 24px;
}
@media (max-width: 991px) {
.menu-grid,
.intro-grid,
.about-intro,
.years-wrap,
.video-split,
.feature-grid,
.partners,
.news-grid,
.contact-top,
.form-grid,
.footer-cols,
.counters {
grid-template-columns: 1fr 1fr;
}
.about-intro {
grid-template-columns: 1fr;
}
.years-wrap {
grid-template-columns: 1fr;
justify-items: center;
text-align: center;
}
.menu-grid {
display: block;
padding: 80px 24px 48px;
}
.menu-grid > div:first-child {
display: none;
}
.hero-number,
.scroll-progress {
display: none;
}
.hero-nav button {
width: 80px;
height: 80px;
font-size: 22px;
}
.project-list a {
grid-template-columns: 70px 1fr 40px;
}
.project-list a span:nth-child(3) {
display: none;
}
.portfolio-bleed {
--shown: 3;
}
.service-intro,
.service-outro-grid {
grid-template-columns: 1fr;
}
.service-feature-image {
height: 450px;
}
.service-feature {
margin-top: -225px;
}
.service-lead {
padding-bottom: 315px;
}
.service-play {
width: 130px;
height: 130px;
}
.marquee {
letter-spacing: -5px;
}
}
@media (max-width: 767px) {
.site-header {
padding: 12px 18px;
}
.logo img {
height: 44px;
}
.menu-grid,
.intro-grid,
.about-intro,
.years-wrap,
.video-split,
.feature-grid,
.partners,
.news-grid,
.contact-top,
.form-grid,
.footer-cols,
.counters {
grid-template-columns: 1fr;
}
.years-badge {
margin-inline: auto;
}
.menu-meta {
grid-template-columns: 1fr;
}
.hero-copy {
padding: 0 24px 140px;
justify-content: center;
text-align: center;
}
.hero-nav {
left: 50%;
right: auto;
transform: translateX(-50%);
bottom: 28px;
}
.video-cta h2 {
font-size: 2.1rem;
line-height: 2.4rem;
}
.portfolio-bleed {
--shown: 1;
--gap: 20px;
width: 100%;
}
.recent-slide,
.recent-slide img,
.portfolio-card,
.portfolio-card img,
.news-card,
.news-card img {
min-height: 360px;
height: 360px;
}
.recent-nav {
right: 0;
}
.recent-nav button {
width: 56px;
height: 56px;
}
.recent-card {
width: min(100%, 360px);
padding: 32px 24px;
}
.quote-wrap {
padding: 36px 8px 8px;
}
.quote {
font-size: 1.2rem;
line-height: 1.9rem;
width: 100%;
}
.quote-side {
display: none;
}
.about-intro {
grid-template-columns: 1fr;
}
.about-visual {
display: grid;
gap: 16px;
padding-bottom: 0;
}
.about-pic-a,
.about-pic-b,
.about-pic-c {
position: relative;
width: 100%;
left: auto;
right: auto;
top: auto;
bottom: auto;
padding: 0;
margin: 0;
}
.marquee {
letter-spacing: -2px;
}
.form-wrap {
position: relative;
width: 100%;
padding: 32px 24px;
}
.page-hero {
min-height: 320px;
padding-top: 130px;
}
.service-areas,
.service-stats,
.service-capabilities {
grid-template-columns: 1fr;
}
.service-areas {
gap: 24px;
}
.service-stat {
border-right: 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
flex-direction: column;
gap: 4px;
text-align: center;
padding: 0 0 28px;
margin-bottom: 28px;
}
.service-stat:last-child {
border-bottom: 0;
margin-bottom: 0;
padding-bottom: 0;
}
.service-feature-image {
height: 350px;
}
.service-feature {
margin-top: -175px;
}
.service-lead {
padding-bottom: 265px;
}
.service-play {
width: 110px;
height: 110px;
font-size: 14px;
}
.service-capabilities {
gap: 0;
}
.service-visual {
display: grid;
gap: 16px;
padding-bottom: 0;
}
.service-pic-a,
.service-pic-b {
position: relative;
width: 100%;
left: auto;
bottom: auto;
margin: 0;
}
}
@media only screen and (max-width: 575px) {
.footer-bottom-bar {
flex-direction: column;
justify-content: center;
text-align: center;
}
}
.header-actions {
display: flex;
align-items: center;
gap: 4px;
}
.user-menu {
position: relative;
min-width: 42px;
min-height: 42px;
}
.user-menu-icon,
.user-menu-trigger {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
color: #fff;
background: transparent;
border: 0;
cursor: pointer;
padding: 0;
font-size: 13px;
min-width: 42px;
height: 42px;
transition: opacity 0.3s;
}
.user-menu-icon {
width: 42px;
}
.user-menu-dropdown {
position: absolute;
top: calc(100% + 8px);
right: 0;
min-width: 180px;
background: #111;
border: 1px solid var(--charcoal-grey);
z-index: 60;
}
.user-menu-dropdown a,
.user-menu-dropdown button {
display: block;
width: 100%;
text-align: right;
padding: 12px 16px;
color: #fff;
background: none;
border: 0;
cursor: pointer;
font-size: 14px;
}
.user-menu-dropdown a:hover,
.user-menu-dropdown button:hover {
background: var(--nero-grey);
color: var(--base-color);
}
.catalog-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
column-gap: 28px;
row-gap: 12px;
}
.catalog-card {
display: grid;
color: #fff;
margin-bottom: 28px;
}
.catalog-card .zoom-frame {
aspect-ratio: 4 / 3;
min-height: 0;
height: auto;
}
.catalog-card .zoom-frame img {
width: 100%;
height: 100%;
min-height: 0;
aspect-ratio: 4 / 3;
object-fit: cover;
display: block;
}
.catalog-copy {
display: grid;
gap: 2px;
padding-top: 14px;
}
.catalog-copy .eyebrow {
margin-bottom: 0;
line-height: 1.3;
}
.catalog-copy strong {
font-size: 22px;
font-weight: 500;
line-height: 1.2;
}
.catalog-copy span:last-child {
color: var(--medium-gray);
line-height: 1.35;
}
.catalog-fallback {
display: block;
aspect-ratio: 4 / 3;
min-height: 0;
background: var(--nero-grey);
}
.empty-state {
text-align: center;
padding: 48px 0;
}
.zoom-frame {
display: block;
overflow: hidden;
width: 100%;
background: var(--nero-grey);
}
.zoom-frame img {
width: 100%;
height: 100%;
object-fit: cover;
min-height: 280px;
transition: transform 0.7s ease;
}
.zoom-frame:hover img {
transform: scale(1.12);
}
.gallery-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.gallery-grid .zoom-frame:first-child {
grid-column: 1 / -1;
}
.lightbox {
position: fixed;
inset: 0;
z-index: 80;
background: rgba(0, 0, 0, 0.92);
display: grid;
place-items: center;
}
.lightbox img {
max-width: min(92vw, 1200px);
max-height: 88vh;
object-fit: contain;
}
.lightbox-close,
.lightbox-nav {
position: absolute;
color: #fff;
background: transparent;
border: 0;
font-size: 32px;
cursor: pointer;
}
.lightbox-close {
top: 20px;
right: 28px;
}
.lightbox-nav.prev {
left: 24px;
}
.lightbox-nav.next {
right: 24px;
}
.detail-layout {
display: grid;
grid-template-columns: 1.1fr 0.9fr;
gap: 48px;
align-items: start;
}
.article-wrap {
max-width: 860px;
}
.article-cover {
margin-bottom: 32px;
}
.rich-content {
color: var(--medium-gray);
line-height: 1.9;
}
.rich-content h2,
.rich-content h3,
.rich-content strong {
color: #fff;
}
.rich-content p {
margin: 0 0 16px;
}
@media (max-width: 991px) {
.catalog-grid,
.detail-layout,
.gallery-grid {
grid-template-columns: 1fr 1fr;
}
}
@media (max-width: 767px) {
.catalog-grid,
.detail-layout,
.gallery-grid {
grid-template-columns: 1fr;
}
.user-menu-trigger span {
display: none;
}
}