﻿:root {
    --bg: #000000;
    --bg-soft: #f5f5f5;
    --surface: #ffffff;
    --surface-strong: #000000;
    --card: #ffffff;
    --text: #111111;
    --text-soft: #808285;
    --line: #eaeaea;
    --mint: #47d7ac;
    --mint-deep: #1fae86;
    --navy: #111111;
    --white: #ffffff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
    --fs-body: 1rem;
    --fs-body-lg: 1.08rem;
    --fs-nav: 0.94rem;
    --fs-eyebrow: 0.76rem;
    --fs-card-title: 1.6rem;
    --fs-page-title: clamp(2.15rem, 4.8vw, 3.7rem);
    --fs-hero-title: clamp(3rem, 6.2vw, 5.4rem);
    --fs-home-hero-title: clamp(3.05rem, 7vw, 5.8rem);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--text);
    background: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    width: min(820px, 100%);
}

.page-shell {
    min-height: 100vh;
    --site-header-offset: 78px;
}

.page-shell main {
    padding-top: var(--site-header-offset);
}

.page-home {
    --site-header-offset: 0px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #eaeaea;
    transition: background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.page-home .site-header {
    position: absolute;
    inset: 0 0 auto;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
    box-shadow: none;
}

.page-home .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #eaeaea;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(14px);
}

.header-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 18px;
    align-items: center;
    padding: 12px 0;
    transition: padding 0.28s ease;
}

.site-header.is-scrolled .header-row {
    padding: 10px 0;
}

.page-home .header-row {
    padding: 26px 0 0;
}

.page-home .site-header.is-scrolled .header-row {
    padding: 12px 0;
}

.brandmark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--surface-strong);
    transition: transform 0.28s ease;
}

.brandmark:hover {
    transform: translateY(-1px);
}

.brandmark img {
    width: auto;
    height: 44px;
    object-fit: contain;
}

.brandmark strong {
    display: block;
    font-size: 0.98rem;
}

.brandmark small {
    color: rgba(0, 0, 0, 0.46);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.66rem;
}

.page-home .brandmark {
    align-items: flex-start;
    color: #ffffff;
}

.page-home .brandmark img {
    display: none;
}

.page-home .brandmark strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(1.55rem, 3.8vw, 2.35rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.04em;
}

.page-home .brandmark strong::before {
    content: "";
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border-radius: 999px;
    background: var(--mint);
    transform: translateY(1px);
}

.page-home .brandmark small {
    display: block;
    padding-left: 24px;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.34em;
    font-size: 0.4rem;
}

.page-home .site-header.is-scrolled .brandmark {
    color: #20242b;
}

.page-home .site-header.is-scrolled .brandmark small {
    color: rgba(32, 36, 43, 0.46);
}

.desktop-nav {
    justify-self: center;
    display: flex;
    gap: 8px;
    color: rgba(0, 0, 0, 0.78);
}

.desktop-nav a {
    position: relative;
    padding: 0 14px;
    height: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    font-size: var(--fs-nav);
    font-weight: 600;
    transition: color 0.25s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--mint);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
    color: var(--mint);
}

.page-home .desktop-nav {
    color: rgba(255, 255, 255, 0.78);
}

.page-home .site-header.is-scrolled .desktop-nav {
    color: rgba(0, 0, 0, 0.78);
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--surface-strong);
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 2px;
    padding: 0;
    box-shadow: none;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.menu-toggle:hover {
    border-color: #d8d8d8;
    background: #fafafa;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #111111;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.page-home .menu-toggle {
    background: transparent;
    border: 0;
    width: 46px;
    height: 46px;
}

.page-home .menu-toggle span {
    width: 32px;
    height: 4px;
    background: rgba(62, 62, 62, 0.92);
}

.page-home .site-header.is-scrolled .menu-toggle {
    background: #ffffff;
    border: 1px solid #eaeaea;
}

.mobile-nav {
    border-top: 1px solid #eaeaea;
    background: #f9f9f9;
}

.page-home .mobile-nav {
    border-top: 0;
    background: rgba(255, 255, 255, 0.98);
}

.mobile-nav-shell {
    padding: 0 0 20px;
}

.mobile-nav-links {
    display: grid;
    padding: 0;
    gap: 0;
    color: var(--surface-strong);
}

.mobile-nav-links a {
    padding: 18px 20px;
    border-bottom: 1px solid #eaeaea;
    font-size: 0.98rem;
    font-weight: 600;
    transition: color 0.25s ease, background 0.25s ease;
}

.mobile-nav-links a:hover {
    background: #ffffff;
}

.mobile-nav-cta {
    width: calc(100% - 40px);
    margin: 18px 20px 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 700;
    transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--mint) 0%, #78e8c5 100%);
    color: #000000;
    box-shadow: none;
    border-radius: 2px;
}

.button-secondary {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover {
    border-color: rgba(71, 215, 172, 0.55);
    color: var(--mint);
}

.header-cta {
    color: #000000;
    min-height: 48px;
    padding: 14px 24px;
    font-size: 0.88rem;
}

.page-home .header-cta {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.page-home .site-header.is-scrolled .header-cta {
    background: linear-gradient(135deg, var(--mint) 0%, #78e8c5 100%);
    border-color: transparent;
    color: #000000;
}

.flash-banner {
    background: #f5f5f5;
    color: #111111;
    margin-top: var(--site-header-offset);
    padding: 14px 0;
    font-weight: 600;
}

.hero-section,
.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 8%, rgba(71, 215, 172, 0.2), transparent 30%),
        radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(180deg, #050505 0%, #141414 100%);
    color: var(--white);
}

.hero-section {
    padding: 112px 0 64px;
}

.hero-section-home {
    min-height: 100svh;
    display: flex;
    align-items: stretch;
    background:
        linear-gradient(90deg, rgba(30, 32, 31, 0.95) 0%, rgba(46, 83, 70, 0.78) 42%, rgba(79, 216, 179, 0.95) 100%),
        radial-gradient(circle at 20% 36%, rgba(255, 255, 255, 0.08), transparent 26%);
}

.page-home .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(30, 32, 31, 0.84) 0%, rgba(30, 32, 31, 0.5) 38%, rgba(79, 216, 179, 0.18) 100%);
    pointer-events: none;
}

.page-home .hero-section .container {
    display: flex;
    align-items: flex-start;
    width: min(1280px, calc(100% - 56px));
}

.page-hero {
    padding: 74px 0 56px;
}

.hero-grid,
.split-grid,
.contact-grid,
.blog-layout,
.footer-grid {
    display: grid;
    gap: 32px;
}

.hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
}

.split-grid {
    grid-template-columns: 1fr 1fr;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 32px;
}

.align-start {
    align-items: start;
}

.hero-copy-wide {
    max-width: 980px;
}

.hero-copy-home {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding-top: 170px;
}

.page-hero-media {
    min-height: 320px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.76)),
        radial-gradient(circle at top left, rgba(71, 215, 172, 0.24), transparent 34%),
        linear-gradient(180deg, #262626 0%, #0b0b0b 100%);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 18px;
}

.page-screen {
    flex: 1;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 10px, transparent 10px 20px);
}

.page-caption {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    font-size: 0.92rem;
}

.definition-block {
    max-width: 560px;
    margin-bottom: 24px;
}

.definition-block p {
    margin: 0;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.68);
}

.page-home .definition-block {
    display: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #47d7ac;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: var(--fs-eyebrow);
    font-weight: 700;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.split-grid h2 {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-weight: 800;
    line-height: 0.98;
}

.hero-copy h1 {
    font-size: var(--fs-hero-title);
}

.page-home .hero-copy h1 {
    max-width: 8ch;
    margin-bottom: 28px;
    font-size: var(--fs-home-hero-title);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.page-hero h1,
.section-heading h2,
.split-grid h2 {
    font-size: var(--fs-page-title);
    max-width: 14ch;
    line-height: 1.02;
}

.hero-lead {
    max-width: 760px;
    font-size: var(--fs-body-lg);
    color: rgba(255, 255, 255, 0.76);
}

.page-home .hero-lead {
    max-width: 18ch;
    font-size: clamp(1.16rem, 1.8vw, 1.7rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.96);
}

.hero-copy p,
.page-hero p,
.section-heading p,
.service-summary-card p,
.info-card p,
.project-card p,
.stack-card p,
.faq-card p,
.timeline-card p,
.contact-card p,
.blog-card p,
.legal-card p {
    line-height: 1.72;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.page-hero p,
.section-block p,
.section-heading p,
.info-card p,
.project-card p,
.stack-card p,
.faq-card p,
.blog-card p,
.legal-card p,
.contact-card p,
.service-summary-card p,
.team-card p,
.service-overview-card p,
.service-detail-card p {
    color: var(--text-soft);
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0 0;
}

.page-home .hero-actions {
    margin-top: 36px;
}

.hero-highlights,
.feature-list,
.check-list,
.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.hero-highlights li,
.feature-list li,
.check-list li,
.info-card li {
    position: relative;
    padding-left: 24px;
    line-height: 1.6;
}

.hero-highlights li::before,
.feature-list li::before,
.check-list li::before,
.info-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--mint), var(--navy));
}

.section-block {
    padding: 92px 0;
    position: relative;
}

.panel-section {
    padding-top: 0;
    margin-top: -6px;
}

.muted-section {
    background: var(--bg-soft);
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
}

.dark-section {
    background: linear-gradient(180deg, #050505 0%, #121212 100%);
    color: var(--white);
}

.section-heading {
    display: grid;
    gap: 14px;
    margin-bottom: 34px;
    max-width: 920px;
}

.section-heading .eyebrow {
    margin-bottom: 4px;
}

.section-heading.light p {
    color: rgba(255, 255, 255, 0.72);
}

.card-grid,
.timeline-grid,
.faq-grid {
    display: grid;
    gap: 24px;
}

.three-up,
.timeline-grid,
.faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-up {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.editorial-panels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.editorial-panel {
    position: relative;
    min-height: 320px;
    padding: 28px;
    border-radius: 28px;
    color: var(--white);
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.82)),
        radial-gradient(circle at top left, rgba(71, 215, 172, 0.24), transparent 34%),
        linear-gradient(180deg, #2a2a2a 0%, #0b0b0b 100%);
    display: flex;
    flex-direction: column;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.editorial-panel::after,
.page-hero-media::after,
.service-media-placeholder::after,
.project-showcase-media::after,
.insight-media::after,
.team-card-art::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 18px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(71, 215, 172, 0), rgba(71, 215, 172, 0.9), rgba(71, 215, 172, 0));
    opacity: 0.88;
}

.editorial-panel > span {
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: var(--fs-eyebrow);
    font-weight: 700;
}

.editorial-panel h2 {
    margin: 0 0 10px;
    font-size: var(--fs-card-title);
    line-height: 1.06;
}

.editorial-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.media-placeholder {
    flex: 1;
    display: grid;
    align-items: center;
    padding: 26px 0 18px;
}

.media-orb {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 35%, #d9fff1 0%, #47d7ac 48%, #000000 100%);
    filter: blur(1px);
}

.media-lines {
    width: 100%;
    height: 82px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 8px, transparent 8px 16px);
}

.approach-grid {
    grid-template-columns: 1.1fr 0.9fr;
}

.hero-metrics {
    display: grid;
    gap: 16px;
}

.hero-metrics article {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metrics-light article {
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fafafa;
}

.hero-metrics strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.2rem;
}

.metrics-light strong {
    color: var(--navy);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    color: var(--navy);
    font-weight: 800;
}

.text-link::after {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--mint);
    transition: width 0.24s ease, transform 0.24s ease;
}

.text-link:hover::after {
    width: 38px;
    transform: translateX(3px);
}

.editorial-sheet {
    position: relative;
    padding: 30px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.editorial-sheet::before,
.team-card::before,
.info-card::before,
.project-card::before,
.service-spotlight::before,
.stack-card::before,
.faq-card::before,
.blog-card::before,
.legal-card::before,
.sidebar-card::before,
.service-overview-card::before,
.service-detail-card::before,
.project-showcase-card::before,
.insight-card::before,
.contact-card::before,
.service-summary-card::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 0;
    width: 72px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--mint), rgba(71, 215, 172, 0.2));
}

.team-card,
.info-card,
.project-card,
.service-spotlight,
.stack-card,
.faq-card,
.timeline-card,
.contact-card,
.service-summary-card,
.blog-card,
.legal-card,
.sidebar-card,
.service-overview-card,
.service-detail-card {
    position: relative;
    border-radius: 28px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.editorial-panel,
.page-hero-media,
.team-card,
.info-card,
.project-card,
.service-spotlight,
.stack-card,
.faq-card,
.timeline-card,
.contact-card,
.service-summary-card,
.blog-card,
.legal-card,
.sidebar-card,
.service-overview-card,
.service-detail-card,
.project-showcase-card,
.insight-card {
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.editorial-panel:hover,
.page-hero-media:hover,
.team-card:hover,
.info-card:hover,
.project-card:hover,
.service-spotlight:hover,
.stack-card:hover,
.faq-card:hover,
.timeline-card:hover,
.contact-card:hover,
.service-summary-card:hover,
.blog-card:hover,
.legal-card:hover,
.sidebar-card:hover,
.service-overview-card:hover,
.service-detail-card:hover,
.project-showcase-card:hover,
.insight-card:hover {
    transform: translateY(-8px);
    border-color: rgba(71, 215, 172, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.team-card,
.info-card,
.project-card,
.service-spotlight,
.stack-card,
.faq-card,
.timeline-card,
.blog-card,
.legal-card,
.service-overview-card {
    padding: 34px 28px 28px;
}

.team-card-art {
    position: relative;
    height: 180px;
    margin-bottom: 20px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 25% 20%, rgba(71, 215, 172, 0.56), transparent 26%),
        radial-gradient(circle at 75% 30%, rgba(255, 255, 255, 0.14), transparent 28%),
        linear-gradient(180deg, #2d2d2d 0%, #090909 100%);
}

.team-card h3,
.info-card h3,
.project-card h2,
.project-card h3,
.service-spotlight h3,
.stack-card h3,
.faq-card h3,
.blog-card h2,
.legal-card h2,
.service-summary-card h2,
.contact-card h2,
.service-overview-card h3,
.service-detail-card h3 {
    margin: 0 0 12px;
    color: var(--surface-strong);
}

.team-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--mint-deep);
}

.service-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.service-index {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--mint-deep);
    font-weight: 800;
    font-size: 1.04rem;
}

.service-detail-stack {
    display: grid;
    gap: 18px;
}

.service-detail-card {
    padding: 34px 28px 26px;
    display: grid;
    grid-template-columns: 1.1fr 0.7fr 1fr;
    align-items: center;
    gap: 22px;
}

.service-detail-main .eyebrow {
    margin-bottom: 12px;
}

.service-media-placeholder {
    position: relative;
    min-height: 170px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68)),
        radial-gradient(circle at top left, rgba(71, 215, 172, 0.24), transparent 34%),
        linear-gradient(180deg, #2b2b2b 0%, #0a0a0a 100%);
    display: grid;
    place-items: center;
}

.service-screen {
    width: 78%;
    height: 58%;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 10px, transparent 10px 20px);
}

.service-detail-side {
    display: grid;
    gap: 14px;
}

.project-showcase-grid,
.insight-grid {
    display: grid;
    gap: 22px;
}

.project-showcase-card,
.insight-card {
    position: relative;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    padding: 34px 24px 24px;
    border-radius: 30px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.project-showcase-media,
.insight-media {
    position: relative;
    min-height: 220px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68)),
        radial-gradient(circle at top left, rgba(71, 215, 172, 0.24), transparent 34%),
        linear-gradient(180deg, #2b2b2b 0%, #0a0a0a 100%);
    display: grid;
    place-items: center;
    padding: 20px;
}

.project-showcase-copy,
.insight-copy {
    display: grid;
    align-content: center;
    gap: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(71, 215, 172, 0.14);
    color: var(--mint-deep);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.muted {
    color: var(--text-soft);
}

.tag-row,
.meta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-row span {
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 700;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.trust-item {
    position: relative;
    padding: 24px 18px;
    border-radius: 22px;
    border: 1px solid #eaeaea;
    background: #fafafa;
    text-align: center;
    color: var(--surface-strong);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.26s ease, border-color 0.26s ease, background 0.26s ease, box-shadow 0.26s ease;
}

.trust-item::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mint), transparent);
}

.trust-item:hover {
    transform: translateY(-6px);
    border-color: rgba(71, 215, 172, 0.32);
    background: #ffffff;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
}

.timeline-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.timeline-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(71, 215, 172, 0.08);
    pointer-events: none;
}

.timeline-card p {
    color: rgba(255, 255, 255, 0.76);
}

.timeline-card span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(71, 215, 172, 0.18);
    color: #7af0c6;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.timeline-card.alt {
    background: var(--card);
    border-color: var(--line);
    box-shadow: var(--shadow);
}

.timeline-card.alt p {
    color: var(--text-soft);
}

.stack-list,
.legal-stack {
    display: grid;
    gap: 20px;
}

.contact-surface {
    background:
        radial-gradient(circle at 10% 10%, rgba(71, 215, 172, 0.12), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
}

.contact-card,
.service-summary-card {
    padding: 34px 28px 28px;
}

.brief-form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-span {
    grid-column: 1 / -1;
}

.brief-form label {
    display: grid;
    gap: 8px;
    font-weight: 700;
    color: var(--surface-strong);
}

.brief-form input,
.brief-form select,
.brief-form textarea {
    width: 100%;
    border: 1px solid #cccccc;
    border-radius: 18px;
    padding: 14px 16px;
    background: #ffffff;
    color: var(--text);
}

.consent-row {
    display: flex !important;
    align-items: start;
    gap: 12px;
    font-weight: 500 !important;
    color: var(--text-soft) !important;
}

.consent-row input {
    width: auto;
    margin-top: 4px;
}

.form-errors {
    display: grid;
    gap: 8px;
    color: #7c1c1c;
    font-weight: 700;
}

.blog-layout {
    grid-template-columns: 1.2fr 0.6fr;
}

.blog-article {
    display: grid;
    gap: 22px;
    font-size: 1rem;
    line-height: 1.8;
}

.blog-sidebar {
    display: grid;
    gap: 16px;
}

.sidebar-card {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.site-footer {
    background: #000000;
    color: rgba(255, 255, 255, 0.78);
    padding: 68px 0 26px;
}

.site-footer h3,
.site-footer h4 {
    margin-top: 0;
    color: var(--white);
}

.footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    padding-bottom: 30px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    transition: opacity 0.72s ease, transform 0.72s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 1024px) {
    .hero-grid,
    .split-grid,
    .page-hero-grid,
    .approach-grid,
    .contact-grid,
    .blog-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .three-up,
    .four-up,
    .editorial-panels,
    .service-overview-grid,
    .timeline-grid,
    .faq-grid,
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-detail-card {
        grid-template-columns: 1fr;
    }

    .project-showcase-card,
    .insight-card {
        grid-template-columns: 1fr;
    }

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .header-row {
        grid-template-columns: auto 1fr auto;
    }

    .menu-toggle {
        display: inline-flex;
        justify-self: end;
    }
}

@media (max-width: 720px) {
    .page-shell {
        --site-header-offset: 70px;
        --fs-body: 0.98rem;
        --fs-body-lg: 1rem;
        --fs-nav: 0.92rem;
        --fs-eyebrow: 0.72rem;
        --fs-card-title: 1.36rem;
        --fs-page-title: clamp(1.95rem, 8vw, 2.6rem);
        --fs-hero-title: clamp(2.55rem, 10vw, 3.6rem);
        --fs-home-hero-title: clamp(2.7rem, 10.8vw, 4.2rem);
    }

    .container {
        width: min(100% - 28px, 100%);
    }

    .hero-section,
    .page-hero,
    .section-block {
        padding: 68px 0;
    }

    .hero-section-home {
        min-height: 100svh;
        padding: 0;
    }

    .hero-copy h1 {
        font-size: var(--fs-hero-title);
    }

    .page-home .hero-section .container {
        width: min(100% - 56px, 100%);
    }

    .page-home .header-row {
        padding-top: 28px;
    }

    .page-home .site-header.is-scrolled .header-row {
        padding-top: 12px;
    }

    .page-home .brandmark strong {
        font-size: 2.45rem;
    }

    .page-home .brandmark small {
        font-size: 0.37rem;
        letter-spacing: 0.36em;
    }

    .page-home .site-header.is-scrolled .brandmark strong {
        font-size: 2rem;
    }

    .page-home .site-header.is-scrolled .brandmark small {
        font-size: 0.34rem;
    }

    .page-home .hero-copy-home {
        padding-top: 144px;
        padding-bottom: 52px;
    }

    .page-home .hero-copy h1 {
        max-width: 7ch;
        margin-bottom: 24px;
        font-size: var(--fs-home-hero-title);
        line-height: 1.06;
    }

    .page-home .hero-lead {
        max-width: 14ch;
        font-size: 1rem;
        line-height: 1.68;
        letter-spacing: 0.01em;
    }

    .page-home .hero-actions {
        display: none;
    }

    .page-home .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .page-home .menu-toggle span {
        width: 30px;
        height: 4px;
    }

    .page-hero h1,
    .section-heading h2,
    .split-grid h2 {
        font-size: var(--fs-page-title);
    }

    .three-up,
    .four-up,
    .editorial-panels,
    .service-overview-grid,
    .trust-grid,
    .timeline-grid,
    .faq-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .footer-bottom {
        flex-direction: column;
        align-items: start;
    }

    .brandmark img {
        height: 40px;
    }

    .editorial-panel {
        min-height: 280px;
    }
}

