:root {
    --ink: #050505;
    --paper: #ffffff;
    --paper-strong: #ffffff;
    --muted: #5f5f5f;
    --line: rgba(17, 17, 15, 0.16);
    --accent: #ffffff;
    --soft: #f3f3f3;
    --radius: 8px;
    --max: 1480px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Poppins, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

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

.skip-link {
    left: 1rem;
    opacity: 0;
    position: fixed;
    top: 1rem;
    z-index: -1;
}

.skip-link:focus {
    opacity: 1;
    z-index: 1000;
}

.site-header {
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 18px clamp(18px, 4vw, 64px);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
}

.brand-mark,
.site-nav ul,
.site-nav,
.button-row {
    align-items: center;
    display: flex;
}

.brand-mark {
    font-weight: 900;
    gap: 10px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.brand-symbol {
    align-items: center;
    background: var(--ink);
    color: var(--paper);
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.site-nav {
    gap: 24px;
}

.site-nav ul {
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
}

.nav-cta,
.button {
    background: var(--ink);
    border: 1px solid var(--ink);
    color: var(--paper-strong);
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-height: 48px;
    padding: 14px 20px;
    text-transform: uppercase;
}

.button:hover,
.nav-cta:hover {
    background: var(--paper);
    color: var(--ink);
}

.button-ghost {
    background: transparent;
    color: var(--ink);
}

.button-light {
    background: var(--paper);
    color: var(--ink);
}

.menu-toggle {
    background: none;
    border: 1px solid var(--ink);
    display: none;
    font: inherit;
    font-weight: 900;
    padding: 10px 14px;
    text-transform: uppercase;
}

.hero {
    display: grid;
    gap: clamp(28px, 5vw, 80px);
    grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
    min-height: calc(100vh - 78px);
    padding: clamp(30px, 5vw, 76px) clamp(18px, 4vw, 64px) 36px;
}

.hero-copy {
    align-self: center;
    max-width: 920px;
}

.eyebrow {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 900;
    margin: 0 0 16px;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    font-size: clamp(3.2rem, 5.4vw, 6.8rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.88;
    margin-bottom: 24px;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(2.6rem, 5.2vw, 6.2rem);
}

h3 {
    font-size: clamp(1.4rem, 2.8vw, 2.8rem);
    line-height: 0.96;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero-lede,
.section-heading p,
.project-meta p {
    color: #333333;
    font-size: clamp(1.1rem, 1.8vw, 1.55rem);
    max-width: 780px;
}

.button-row {
    flex-wrap: wrap;
    gap: 12px;
}

.hero-visual {
    align-self: stretch;
    display: grid;
    gap: 16px;
    grid-template-rows: 1fr 1fr;
    min-height: 500px;
}

.logo-stage,
.ba-panel {
    border: 1px solid var(--ink);
    display: grid;
    min-height: 260px;
    overflow: hidden;
    place-items: center;
    position: relative;
}

.logo-stage span,
.ba-panel span {
    font-size: 0.8rem;
    font-weight: 900;
    left: 18px;
    position: absolute;
    text-transform: uppercase;
    top: 16px;
    z-index: 4;
}

.before-stage {
    background: repeating-linear-gradient(90deg, #ffffff 0 14px, #e7e7e7 14px 28px);
}

.after-stage {
    background: radial-gradient(circle at 20% 20%, #ffffff, transparent 26%), var(--ink);
    color: var(--paper-strong);
}

.pixel-logo,
.vector-logo {
    align-items: center;
    display: flex;
    font-size: clamp(4.5rem, 8vw, 8.6rem);
    font-weight: 900;
    height: 150px;
    justify-content: center;
    width: 230px;
}

.pixel-logo {
    background: #ffffff;
    box-shadow: 12px 12px 0 rgba(17, 17, 15, 0.28);
    filter: blur(1.2px);
}

.vector-logo {
    border: 3px solid var(--paper);
    color: var(--paper);
    transform: skew(-6deg);
}

.ticker {
    align-items: center;
    border-block: 1px solid var(--ink);
    display: flex;
    gap: 24px;
    overflow: hidden;
    padding: 16px clamp(18px, 4vw, 64px);
}

.ticker span,
.ticker p {
    flex: 0 0 auto;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}

.ticker div {
    animation: marquee 22s linear infinite;
    display: flex;
    gap: 32px;
    min-width: max-content;
}

@keyframes marquee {
    to {
        transform: translateX(-40%);
    }
}

.section,
.projects-hero,
.project-list {
    padding: clamp(70px, 9vw, 140px) clamp(18px, 4vw, 64px);
}

.split-section,
.tools-section,
.promise-section,
.faq-section,
.testimonial-section,
.standard-page {
    border-bottom: 1px solid var(--line);
}

.section-heading {
    margin-bottom: clamp(36px, 6vw, 80px);
    max-width: var(--max);
}

.section-heading.wide {
    max-width: 1120px;
}

.comparison-grid,
.service-grid,
.tool-grid,
.promise-grid,
.footer-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: var(--max);
}

.comparison-grid article,
.service-grid article,
.tool-grid article,
.promise-grid article,
.rating-card,
blockquote {
    border: 1px solid var(--ink);
    padding: clamp(22px, 3vw, 42px);
}

.inverted-card,
.dark-section {
    background: var(--ink);
    color: var(--paper-strong);
}

dl {
    display: grid;
    gap: 0;
    grid-template-columns: 0.8fr 1.2fr;
    margin: 0;
}

dt,
dd {
    border-top: 1px solid currentColor;
    margin: 0;
    padding: 18px 0;
}

dt {
    color: var(--muted);
    font-weight: 800;
    text-transform: uppercase;
}

.inverted-card dt {
    color: #cfcfcf;
}

.section-note {
    font-size: clamp(1.1rem, 2vw, 1.8rem);
    font-weight: 800;
    margin: 32px 0;
    max-width: 760px;
}

.dark-section {
    padding-bottom: clamp(80px, 10vw, 160px);
}

.dark-section .eyebrow,
.dark-section p,
.dark-section small {
    color: #d7d7d7;
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 28px;
}

.service-grid article {
    border-color: rgba(255, 250, 240, 0.28);
    min-height: 420px;
}

.service-grid span {
    color: var(--paper);
    display: block;
    font-weight: 900;
    margin-bottom: 60px;
}

.service-grid strong {
    display: block;
    font-size: 2.2rem;
    margin-top: 34px;
}

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

.tool-grid article,
.promise-grid article {
    min-height: 210px;
}

.tool-grid h3,
.promise-grid h3 {
    font-size: 1.25rem;
}

blockquote {
    background: var(--paper-strong);
    margin: 0;
    max-width: 980px;
}

blockquote p {
    font-size: clamp(1.6rem, 4vw, 4.4rem);
    font-weight: 900;
    line-height: 1;
    margin: 28px 0;
    text-transform: uppercase;
}

blockquote cite {
    color: var(--muted);
    font-style: normal;
    font-weight: 800;
}

.faq-list {
    display: grid;
    gap: 10px;
    max-width: 1120px;
}

details {
    border-top: 1px solid var(--ink);
    padding: 22px 0;
}

summary {
    cursor: pointer;
    font-size: clamp(1.25rem, 2.2vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
}

details p {
    color: #333333;
    max-width: 720px;
    padding-top: 14px;
}

.projects-hero {
    border-bottom: 1px solid var(--ink);
}

.projects-hero p:not(.eyebrow) {
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    max-width: 760px;
}

.project-list {
    display: grid;
    gap: clamp(30px, 6vw, 78px);
}

.project-card {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: clamp(24px, 5vw, 70px);
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    padding-bottom: clamp(30px, 6vw, 78px);
}

.before-after {
    aspect-ratio: 16 / 10;
    border: 1px solid var(--ink);
    min-height: 360px;
    overflow: hidden;
    position: relative;
}

.ba-panel {
    inset: 0;
    min-height: 0;
    position: absolute;
}

.ba-before {
    background: linear-gradient(135deg, #dcdcdc, #ffffff);
}

.ba-after {
    background: var(--ink);
    clip-path: inset(0 0 0 var(--position));
    color: var(--paper);
}

.ba-panel div {
    border: 2px solid currentColor;
    font-size: clamp(3rem, 9vw, 8rem);
    font-weight: 900;
    padding: 28px 40px;
}

.ba-panel img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.before-after input {
    appearance: none;
    background: transparent;
    cursor: ew-resize;
    inset: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    width: 100%;
    z-index: 6;
}

.ba-handle {
    background: var(--paper);
    height: 100%;
    left: var(--position);
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 3px;
    z-index: 5;
}

.ba-handle::after {
    background: var(--paper);
    border: 2px solid var(--ink);
    content: "";
    height: 34px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
}

.project-meta {
    align-self: center;
}

.project-meta h2 {
    font-size: clamp(2.1rem, 4.8vw, 5rem);
}

.text-link {
    border-bottom: 2px solid var(--ink);
    font-weight: 900;
    text-transform: uppercase;
}

.site-footer {
    background: var(--ink);
    color: var(--paper-strong);
}

.footer-cta {
    border-bottom: 1px solid rgba(255, 250, 240, 0.24);
    padding: clamp(70px, 10vw, 150px) clamp(18px, 4vw, 64px);
}

.footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    padding: clamp(34px, 5vw, 70px) clamp(18px, 4vw, 64px);
}

.footer-grid p,
.footer-grid span,
.footer-grid a {
    color: #d7d7d7;
}

.footer-grid ul {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-brand .brand-symbol {
    background: var(--paper);
    color: var(--ink);
}

.rating-card strong {
    color: var(--paper);
    display: block;
    font-size: 3rem;
}

.page-hero,
.blog-hero,
.single-post-header {
    border-bottom: 1px solid var(--ink);
    padding: clamp(70px, 9vw, 140px) clamp(18px, 4vw, 64px);
}

.page-hero h1,
.blog-hero h1,
.single-post-header h1 {
    max-width: 1180px;
}

.page-hero p:not(.eyebrow),
.blog-hero p:not(.eyebrow),
.single-post-header p:not(.eyebrow) {
    color: #333333;
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    max-width: 820px;
}

.blog-cta {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(44px, 7vw, 96px) clamp(18px, 4vw, 64px);
}

.blog-cta h2 {
    max-width: 980px;
}

.blog-cta p:not(.eyebrow) {
    color: #d7d7d7;
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
    max-width: 780px;
}

.blog-list {
    display: grid;
    gap: 0;
    padding: 0 clamp(18px, 4vw, 64px) clamp(70px, 9vw, 140px);
}

.blog-card {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 18px;
    grid-template-columns: 0.34fr 1fr 0.28fr;
    padding: clamp(28px, 5vw, 72px) 0;
}

.blog-card h2 {
    font-size: clamp(2rem, 4.6vw, 5rem);
    margin: 0;
}

.blog-card p:not(.eyebrow) {
    color: #333333;
    font-size: 1.05rem;
    margin: 0;
}

.pagination-nav {
    padding-top: 36px;
}

.single-post-layout {
    background: var(--paper);
}

.featured-media {
    margin: 0;
    padding: clamp(28px, 5vw, 72px) clamp(18px, 4vw, 64px) 0;
}

.featured-media img {
    border: 1px solid var(--ink);
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 820px;
    padding: clamp(44px, 7vw, 96px) clamp(18px, 4vw, 64px);
}

.post-content h2,
.post-content h3 {
    line-height: 1;
    margin-top: 2.4em;
}

.post-content h2 {
    font-size: clamp(2rem, 4vw, 4rem);
}

.post-content h3 {
    font-size: clamp(1.5rem, 2.4vw, 2.4rem);
}

.post-content a {
    border-bottom: 2px solid var(--ink);
    font-weight: 700;
}

.post-content img {
    border: 1px solid var(--ink);
    height: auto;
    max-width: 100%;
}

.post-footer {
    border-top: 1px solid var(--line);
    padding: clamp(44px, 7vw, 96px) clamp(18px, 4vw, 64px);
}

.contact-layout {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: clamp(70px, 9vw, 140px) clamp(18px, 4vw, 64px);
}

.contact-card {
    border: 1px solid var(--ink);
    padding: clamp(28px, 4vw, 56px);
}

.contact-card h2 {
    font-size: clamp(2.6rem, 5.2vw, 6rem);
}

.contact-card p,
.check-list {
    color: #333333;
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.contact-card.inverted-card p,
.contact-card.inverted-card .check-list {
    color: #d7d7d7;
}

.check-list {
    display: grid;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.check-list li {
    border-top: 1px solid currentColor;
    padding-top: 18px;
}

.page-content {
    max-width: 860px;
}

@media (max-width: 980px) {
    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        background: var(--ink);
        color: var(--paper-strong);
        display: none;
        inset: 71px 0 auto 0;
        padding: 22px;
        position: absolute;
    }

    .site-nav.is-open {
        display: grid;
    }

    .site-nav ul {
        align-items: flex-start;
        display: grid;
    }

    .nav-cta {
        background: var(--accent);
        color: var(--ink);
    }

    .hero,
    .contact-layout,
    .project-card {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 420px;
    }

    .service-grid,
    .tool-grid,
    .promise-grid,
    .blog-card,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    h1 {
        font-size: clamp(3.2rem, 18vw, 5.8rem);
    }

    h2 {
        font-size: clamp(2.6rem, 15vw, 4.8rem);
    }

    .comparison-grid,
    .service-grid,
    .tool-grid,
    .promise-grid,
    .blog-card,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .ticker {
        align-items: flex-start;
        flex-direction: column;
    }

    .before-after {
        aspect-ratio: 4 / 5;
    }
}
