:root {
    --bg: #040811;
    --panel: #0b1327;
    --panel-soft: #0f1d36;
    --panel-strong: #0d1529;
    --accent: #7cf0c6;
    --accent-2: #5ad0ff;
    --text: #e8eefc;
    --muted: #9fb2d4;
    --stroke: rgba(255, 255, 255, 0.08);
    --radius: 18px;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', 'Sora', system-ui, -apple-system, sans-serif;
    background: radial-gradient(120% 140% at 10% 20%, rgba(90, 208, 255, 0.08), transparent),
                radial-gradient(90% 120% at 80% 0%, rgba(124, 240, 198, 0.09), transparent),
                #040811;
    color: var(--text);
    margin: 0;
    line-height: 1.6;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

img,
picture,
video,
canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.2s ease;
}

a:hover {
    color: var(--accent);
}

a:focus-visible,
button:focus-visible,
.filter-btn:focus-visible,
.cta-button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(124, 240, 198, 0.15);
}

.section-shell {
    width: min(1150px, 94vw);
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 26px);
}

section {
    padding: 110px 0 90px;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.eyebrow {
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 8px;
}

.supporting-text {
    color: var(--muted);
    margin-top: 10px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(4, 8, 17, 0.78);
    border-bottom: 1px solid var(--stroke);
    backdrop-filter: blur(12px);
}
header.transparent {
    background: rgba(4, 8, 17, 0.92);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.logo-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.tagline {
    font-size: 0.9rem;
    color: var(--muted);
}

nav ul {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    padding: 12px 4px;
    position: relative;
    display: inline-flex;
    align-items: center;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: width 0.25s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 18px;
}

.hamburger-menu {
    display: none;
    font-size: 1.9rem;
    cursor: pointer;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--stroke);
    padding: 8px 12px;
    border-radius: 12px;
    line-height: 1;
    order: 3;
    margin-left: auto;
}

body.nav-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: calc(72px + env(safe-area-inset-top));
        left: max(16px, env(safe-area-inset-left));
        right: max(16px, env(safe-area-inset-right));
        width: auto;
        max-width: none;
        max-height: calc(100dvh - 92px - env(safe-area-inset-top));
        overflow-y: auto;
        margin-left: 0;
        background: rgba(11, 19, 39, 0.98);
        flex-direction: column;
        padding: 16px;
        border-radius: var(--radius);
        border: 1px solid var(--stroke);
        box-shadow: var(--shadow);
        z-index: 1100;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        align-items: flex-start;
        gap: 10px;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
        text-align: left;
    }

    nav a {
        width: 100%;
        padding: 14px 12px;
    }

    .header-top {
        padding: 14px 0;
    }

    .hamburger-menu {
        display: block;
    }
}

.hero {
    padding-top: 140px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(124, 240, 198, 0.08);
    border: 1px solid var(--stroke);
    color: var(--accent);
    font-weight: 600;
}

.hero-text h1 {
    margin: 14px 0 10px;
    font-size: clamp(2.8rem, 6vw, 3.8rem);
    letter-spacing: -0.01em;
}

.lead {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 24px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #041024;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 14px 36px rgba(90, 208, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(124, 240, 198, 0.4);
}

.cta-button.ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--stroke);
    box-shadow: none;
}

.cta-button.secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--accent);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tag {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.02);
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-card {
    background: linear-gradient(145deg, rgba(11, 19, 39, 0.95), rgba(10, 17, 32, 0.9));
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.glass {
    backdrop-filter: blur(8px);
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 80% at 80% 20%, rgba(90, 208, 255, 0.07), transparent);
    pointer-events: none;
}

.hero-card h3 {
    margin: 6px 0 12px;
    font-size: 1.5rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.stat {
    padding: 12px;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.stat-number {
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.02em;
}

.stat-label {
    display: block;
    color: var(--muted);
    margin-top: 6px;
    font-size: 0.95rem;
}

.hero-quote {
    margin-top: 14px;
    border-left: 2px solid var(--accent);
    padding-left: 12px;
    color: var(--muted);
    font-style: italic;
}

.hero-quote span {
    display: block;
    margin-top: 6px;
    color: var(--text);
    font-style: normal;
    font-weight: 600;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--stroke);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-content img {
    width: 100%;
    max-width: 320px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid var(--stroke);
}

.about-copy p {
    color: var(--muted);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.project-card,
.blog-post,
.recommendation,
.price-card,
#contactForm {
    background: var(--panel-soft);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.project-card img {
    width: 100%;
    height: clamp(180px, 28vw, 240px);
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: var(--panel-strong);
    margin-bottom: 12px;
}

.project-card:hover,
.blog-post:hover,
.recommendation:hover,
.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.blog-post-image img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.blog-post h3,
.project-card h3 {
    margin-top: 12px;
    margin-bottom: 8px;
}

.blog-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 16px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid var(--stroke);
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: border 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.recommendation blockquote {
    margin: 0;
    color: var(--text);
}

.recommendation cite {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.price-card h3 {
    margin-top: 0;
}

.subheading {
    text-align: center;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text);
}

.testimonials blockquote {
    background: var(--panel-strong);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 16px;
    color: var(--text);
    box-shadow: var(--shadow);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.contact-card {
    position: relative;
    background: linear-gradient(160deg, rgba(11, 19, 39, 0.9), rgba(15, 29, 54, 0.92));
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.contact-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(90% 70% at 18% 10%, rgba(124, 240, 198, 0.1), transparent),
                radial-gradient(70% 70% at 90% 60%, rgba(90, 208, 255, 0.07), transparent);
}

.contact-card h3 {
    margin: 8px 0 6px;
}

.contact-meta {
    list-style: none;
    padding: 0;
    margin: 16px 0 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-meta li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.contact-meta i {
    color: var(--accent);
    width: 18px;
    text-align: center;
}

.contact-social-blurb {
    margin-top: 8px;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    background: var(--panel-strong);
    border: 1px solid var(--stroke);
    color: var(--text);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.4;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#contactForm input:focus,
#contactForm textarea:focus {
    outline: 1px solid var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 240, 198, 0.12);
}

#contactForm textarea {
    min-height: 140px;
    resize: vertical;
}

#contactForm button {
    width: 100%;
    margin-top: 8px;
}

.contact-content .cta-button {
    width: 100%;
    justify-content: center;
}

#contactMessage {
    grid-column: 1 / -1;
    min-height: 18px;
    color: var(--accent);
    font-weight: 600;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--stroke);
    color: var(--text);
}

.social-icons a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

footer {
    background: rgba(7, 12, 24, 0.92);
    border-top: 1px solid var(--stroke);
    padding: 20px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 14px;
}

.footer-links a,
footer p {
    color: var(--muted);
    max-width: 100%;
    overflow-wrap: anywhere;
}

#back-to-top {
    position: fixed;
    bottom: max(24px, calc(env(safe-area-inset-bottom) + 20px));
    right: max(24px, calc(env(safe-area-inset-right) + 20px));
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #041024;
    font-weight: 700;
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000;
}

#back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

#back-to-top:hover {
    transform: translateY(-2px);
}

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    width: 0;
    z-index: 1200;
}

.scroll-effect {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.background-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.background-container * {
    pointer-events: none;
}

.rectangle,
.circle,
.triangle {
    position: absolute;
    border-radius: 10px;
    animation: moveShapes infinite alternate ease-in-out;
    opacity: 0.4;
}

.circle {
    border-radius: 50%;
}

.triangle {
    background: none;
}

@keyframes moveShapes {
    from {
        transform: translateY(0px) rotate(0deg);
    }
    to {
        transform: translateY(16px) rotate(8deg);
    }
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: var(--panel);
    border-radius: var(--radius);
    padding: 20px;
    max-width: 600px;
    width: 90%;
    position: relative;
    border: 1px solid var(--stroke);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content img {
    width: 100%;
    border-radius: 10px;
    margin-top: 12px;
}

.modal-content h2,
.modal-content p {
    margin: 0 0 10px 0;
}

.close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.6rem;
    color: var(--accent);
    cursor: pointer;
}

button {
    font-family: 'Space Grotesk', 'Sora', system-ui, -apple-system, sans-serif;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

blockquote {
    margin: 0;
}

@media (max-width: 640px) {
    .hero {
        padding-top: 120px;
    }

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

@media (max-width: 900px) {
    section {
        padding: 90px 0 72px;
    }

    .hero-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0 70px;
    }

    .hero {
        padding-top: 110px;
        min-height: auto;
    }

    .hero-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-text,
    .hero-card {
        text-align: center;
    }

    .hero-tags {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-actions .cta-button {
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 76px 0 64px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .grid,
    .blog-list,
    .recommendations,
    .pricing {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 16px;
    }

    .page-main {
        padding-top: 110px;
        padding-bottom: 96px;
    }

    .contact-content {
        gap: 12px;
    }

    .footer-links {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .hero {
        padding-top: 100px;
    }

    .hero-text h1 {
        font-size: clamp(2.2rem, 8vw, 2.9rem);
    }

    section {
        padding: 70px 0 58px;
    }

    .section-shell {
        width: min(1100px, 100vw);
        padding: 0 16px;
    }

    .section-header {
        margin-bottom: 26px;
    }

    .hero-tags {
        gap: 8px;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .hero-card,
    .project-card,
    .blog-post,
    .recommendation,
    .price-card,
    #contactForm {
        padding: 16px;
    }

    .grid,
    .blog-list,
    .recommendations,
    .pricing {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 14px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .lead {
        font-size: 1rem;
    }

    .hero-card h3 {
        font-size: 1.35rem;
    }

    .page-main {
        padding-top: 90px;
        padding-bottom: 80px;
    }

    #back-to-top {
        right: max(16px, calc(env(safe-area-inset-right) + 14px));
        bottom: max(76px, calc(env(safe-area-inset-bottom) + 64px));
        width: 44px;
        height: 44px;
    }

    .background-container {
        display: none;
    }

    nav a {
        font-size: 1rem;
    }
}

@media (max-width: 420px) {
    .header-top {
        align-items: flex-start;
    }

    .logo {
        font-size: 1.1rem;
    }

    .tagline {
        font-size: 0.85rem;
    }

    .pill {
        padding: 7px 12px;
        font-size: 0.95rem;
    }

    .tag {
        padding: 7px 10px;
        font-size: 0.9rem;
    }
}

/* Page layouts */
.page-main {
    padding-top: 120px;
    padding-bottom: 120px;
}

@media (max-width: 640px) {
    .page-main {
        padding-top: 110px;
        padding-bottom: 96px;
    }
}

@media (max-width: 520px) {
    .page-main {
        padding-top: 90px;
        padding-bottom: 80px;
    }
}

.content-card,
.page-card {
    background: var(--panel-soft);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.reading-width {
    max-width: 820px;
    margin: 0 auto;
}

.meta-row,
.badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 0.9rem;
}

.page-hero h1 {
    margin: 10px 0 6px;
    font-size: clamp(2.2rem, 5vw, 3rem);
}

.article-body img,
.additional-images img,
.media-hero img,
.media-grid img,
.media-hero video {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    background: var(--panel-strong);
    display: block;
}

.article-body img:not(:last-child),
.additional-images img:not(:last-child) {
    margin-bottom: 14px;
}

.additional-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.media-hero {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.show-more-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #041024;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(124, 240, 198, 0.2);
}

/* 2026 site refresh */
:root {
    --font-ui: "Space Grotesk", system-ui, -apple-system, sans-serif;
    --font-display: "Sora", "Space Grotesk", system-ui, sans-serif;
    --bg: #0d1117;
    --bg-soft: #131922;
    --panel: rgba(19, 26, 36, 0.88);
    --panel-soft: rgba(21, 29, 40, 0.92);
    --panel-strong: #182231;
    --accent: #f0b26f;
    --accent-2: #82d5c6;
    --text: #f5efe5;
    --muted: #b8afa4;
    --stroke: rgba(255, 255, 255, 0.09);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
    --radius: 24px;
}

html {
    scroll-padding-top: 110px;
}

body {
    font-family: var(--font-ui);
    background:
        radial-gradient(100% 120% at 0% 0%, rgba(240, 178, 111, 0.12), transparent 52%),
        radial-gradient(80% 100% at 100% 0%, rgba(130, 213, 198, 0.1), transparent 45%),
        linear-gradient(180deg, #0d1117 0%, #10161f 45%, #0c1118 100%);
    color: var(--text);
}

a:hover {
    color: var(--accent);
}

.background-container {
    inset: 0;
}

.background-container::before,
.background-container::after {
    content: "";
    position: absolute;
    inset: 0;
}

.background-container::before {
    background:
        linear-gradient(transparent 0%, rgba(255, 255, 255, 0.01) 100%),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 79px,
            rgba(255, 255, 255, 0.035) 80px
        );
    opacity: 0.28;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 88%);
}

.background-container::after {
    background:
        radial-gradient(34rem 34rem at 12% 16%, rgba(240, 178, 111, 0.14), transparent),
        radial-gradient(28rem 28rem at 85% 10%, rgba(130, 213, 198, 0.12), transparent),
        radial-gradient(40rem 40rem at 50% 100%, rgba(255, 255, 255, 0.05), transparent);
}

.background-container > * {
    display: none !important;
}

section {
    padding: 118px 0 96px;
}

.section-shell {
    width: min(1200px, 94vw);
}

.section-header {
    margin-bottom: 38px;
}

.section-header.split {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.9fr);
    gap: 24px;
    align-items: end;
    text-align: left;
    max-width: none;
}

.section-header h2,
.hero h1,
.hero-profile-card h2,
.business-intro h3,
.contact-form-panel h3,
.testimonial-band-header h3,
.page-hero h1 {
    font-family: var(--font-display);
    letter-spacing: -0.035em;
}

.section-header h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.04;
}

.section-header .supporting-text {
    margin: 0;
    max-width: 34rem;
}

header {
    background: rgba(10, 13, 18, 0.72);
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

header.transparent {
    background: rgba(10, 13, 18, 0.9);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.header-top {
    padding: 16px 0;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.32rem;
}

.tagline {
    color: rgba(245, 239, 229, 0.68);
}

nav a {
    color: rgba(245, 239, 229, 0.9);
}

.cta-button {
    border-radius: 999px;
    padding: 13px 22px;
    background: linear-gradient(135deg, var(--accent), #ffc98b);
    color: #18130d;
    box-shadow: 0 16px 34px rgba(240, 178, 111, 0.22);
}

.cta-button:hover {
    box-shadow: 0 18px 42px rgba(240, 178, 111, 0.28);
}

.cta-button.ghost,
.cta-button.secondary {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.pill {
    background: rgba(240, 178, 111, 0.12);
    border-color: rgba(240, 178, 111, 0.22);
    color: var(--accent);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 600;
}

.text-link::after {
    content: "->";
    color: var(--accent);
}

.hero {
    min-height: auto;
    padding-top: 152px;
}

.hero-frame {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 28px;
    align-items: stretch;
}

.hero-copy {
    display: grid;
    gap: 22px;
}

.hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 0.95rem;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 0 6px rgba(130, 213, 198, 0.12);
}

.hero-name {
    margin: 0;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.78rem;
}

.hero h1 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.1rem);
    line-height: 0.95;
    max-width: 11ch;
}

.lead {
    margin: 0;
    max-width: 42rem;
    font-size: 1.08rem;
    color: rgba(245, 239, 229, 0.78);
}

.hero-actions {
    gap: 14px;
}

.hero-social-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-social-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.035);
    color: rgba(245, 239, 229, 0.88);
    font-weight: 600;
}

.hero-social-actions a:hover {
    transform: translateY(-2px);
    border-color: rgba(240, 178, 111, 0.32);
    color: var(--accent);
}

.hero-signals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.signal-card,
.hero-profile-card,
.hero-card,
.portrait-panel,
.about-highlight {
    border: 1px solid var(--stroke);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    box-shadow: var(--shadow);
}

.signal-card {
    padding: 18px;
    border-radius: 20px;
}

.signal-card span,
.portrait-caption span,
.about-highlight span,
.mini-stat span {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
}

.signal-card p,
.portrait-caption p,
.about-highlight p {
    margin: 0;
    color: var(--muted);
}

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

.hero-profile-card,
.hero-card {
    padding: 24px;
    border-radius: 26px;
}

.hero-profile-card h2 {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.1;
}

.hero-focus-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.hero-focus-header h3 {
    margin: 6px 0 0;
    font-size: 1.55rem;
}

.hero-focus-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(130, 213, 198, 0.12);
    color: var(--accent-2);
    border: 1px solid rgba(130, 213, 198, 0.18);
    font-size: 0.82rem;
    font-weight: 600;
}

.hero-mini-grid,
.stat-grid,
.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mini-stat,
.stat {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-stat strong,
.stat-number {
    display: block;
    font-size: 1.02rem;
    color: var(--text);
}

.hero-quote {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
    padding-left: 0;
}

.hero-quote #focus-quote {
    color: rgba(245, 239, 229, 0.78);
    font-size: 1rem;
    font-style: italic;
}

.hero-quote #focus-quote-author {
    margin-top: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
}

.hero-rail {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-rail-item {
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
}

.hero-rail-item span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.82rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.hero-rail-item p {
    margin: 0;
    color: var(--muted);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 28px;
    align-items: start;
}

.portrait-panel {
    padding: 18px;
    border-radius: 28px;
}

.portrait-panel img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.portrait-caption {
    margin-top: 16px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-body {
    display: grid;
    gap: 18px;
}

.about-copy {
    padding: 26px;
}

.about-copy p,
.about-copy ul,
.about-copy li {
    color: var(--muted);
}

.about-highlight {
    padding: 18px;
    border-radius: 20px;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.grid,
.blog-list,
.recommendations,
.pricing,
.testimonials {
    gap: 22px;
}

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

.project-card,
.blog-post,
.recommendation,
.price-card,
.testimonial-card,
.page-card,
.content-card {
    padding: 0;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid var(--stroke);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    box-shadow: var(--shadow);
}

.project-card:hover,
.blog-post:hover,
.recommendation:hover,
.price-card:hover,
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.project-media,
.blog-post-image {
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(240, 178, 111, 0.18), rgba(130, 213, 198, 0.12));
}

.project-media img,
.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.project-media {
    aspect-ratio: 16 / 10;
}

.project-media img {
    object-fit: contain;
    background: rgba(255, 255, 255, 0.035);
}

.blog-post-image {
    aspect-ratio: 16 / 9;
}

.project-card:hover .project-media img,
.blog-post:hover .blog-post-image img {
    transform: scale(1.04);
}

.project-media-placeholder {
    display: grid;
    align-items: center;
    justify-content: center;
    color: rgba(24, 19, 13, 0.74);
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.08em;
}

.card-shell {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.card-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.card-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(240, 178, 111, 0.12);
    border: 1px solid rgba(240, 178, 111, 0.18);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
}

.card-date,
.blog-byline {
    color: var(--muted);
    font-size: 0.92rem;
}

.project-card h3,
.blog-post h3,
.price-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.55rem;
    line-height: 1.1;
}

.project-summary,
.blog-summary,
.price-card p,
.business-intro .supporting-text {
    margin: 0;
    color: var(--muted);
}

.project-proof-list,
.project-snapshot {
    display: grid;
    gap: 10px;
    margin: 0;
}

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

.project-proof-list div:last-child {
    grid-column: 1 / -1;
}

.project-proof-list div,
.project-snapshot div {
    min-width: 0;
    padding: 11px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.project-proof-list dt,
.project-snapshot dt {
    margin-bottom: 4px;
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.project-proof-list dd,
.project-snapshot dd {
    margin: 0;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.35;
}

.project-snapshot {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
    margin-top: 22px;
    margin-bottom: 10px;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 6px;
}

.card-link,
.card-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.card-link::after,
.card-secondary-link::after {
    content: "->";
    color: var(--accent);
}

.card-secondary-link {
    color: var(--muted);
}

.blog-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.blog-toolbar-note {
    margin: 0;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.76rem;
}

.blog-filters {
    justify-content: flex-start;
    margin-bottom: 0;
}

.filter-btn {
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
}

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

.recommendation {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 28px;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 4.2rem;
    line-height: 0.8;
    color: rgba(240, 178, 111, 0.3);
}

.recommendation blockquote {
    color: var(--text);
    font-size: 1.16rem;
    line-height: 1.7;
}

.recommendation-meta {
    display: grid;
    gap: 4px;
    color: var(--muted);
}

.recommendation-meta strong {
    color: var(--text);
    font-size: 1rem;
}

.business-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: start;
}

.business-intro {
    padding: 28px;
}

.business-intro h3 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.08;
}

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

.process-list li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
}

.process-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

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

.price-card {
    padding: 24px;
    display: grid;
    gap: 14px;
}

.price-card.featured {
    background: linear-gradient(180deg, rgba(240, 178, 111, 0.12), rgba(255, 255, 255, 0.025));
}

.price-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.price-value {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text);
}

.testimonial-band {
    margin-top: 24px;
    padding: 28px;
    border-radius: 30px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.03);
}

.testimonial-band-header {
    margin-bottom: 18px;
}

.testimonial-band-header h3 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2rem);
}

.testimonials {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonial-card {
    padding: 22px;
    display: grid;
    gap: 16px;
}

.testimonial-card blockquote {
    font-size: 1.04rem;
    color: var(--text);
}

.testimonial-card cite {
    color: var(--muted);
    font-style: normal;
}

.empty-state-card {
    grid-column: 1 / -1;
    padding: 28px;
    border-radius: 24px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
    color: var(--muted);
    text-align: center;
}

.trust-empty {
    min-height: 140px;
    display: grid;
    place-items: center;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
    align-items: start;
}

.contact-card {
    padding: 28px;
    display: grid;
    gap: 22px;
    background: linear-gradient(160deg, rgba(23, 31, 42, 0.94), rgba(17, 24, 33, 0.94));
}

.contact-card::after {
    background:
        radial-gradient(90% 70% at 0% 0%, rgba(240, 178, 111, 0.16), transparent),
        radial-gradient(90% 80% at 100% 0%, rgba(130, 213, 198, 0.1), transparent);
}

.contact-card h3 {
    margin: 6px 0 0;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    line-height: 1.08;
}

.contact-note-grid {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.contact-note {
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.contact-note span {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
}

.contact-note p,
.contact-note a {
    margin: 0;
    color: var(--text);
}

.contact-social-blurb {
    margin-top: 4px;
}

.contact-trust-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.contact-trust-strip > div {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.contact-trust-strip span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.contact-trust-strip strong {
    color: var(--text);
    font-size: 1rem;
}

.contact-form-panel {
    padding: 28px;
    display: grid;
    gap: 18px;
}

.contact-form-panel h3 {
    margin: 0;
}

#contactForm {
    display: grid;
    gap: 16px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

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

.form-field {
    display: grid;
    gap: 10px;
}

.form-field span {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
}

#contactForm input,
#contactForm textarea {
    padding: 15px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

#contactForm textarea {
    min-height: 180px;
}

#contactForm button {
    width: auto;
    justify-self: start;
}

#contactMessage {
    min-height: 24px;
    color: var(--accent);
    font-weight: 600;
}

.social-icons a {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.show-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 28px auto 0;
    border-radius: 999px;
    padding: 12px 22px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.show-more-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(240, 178, 111, 0.3);
}

footer {
    background: rgba(11, 15, 22, 0.92);
    padding: 26px 0 30px;
}

.footer-links {
    gap: 18px;
}

#back-to-top {
    background: linear-gradient(135deg, var(--accent), #ffc98b);
    color: #18130d;
}

#progress-bar {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.page-main {
    padding-top: 132px;
}

.page-card,
.content-card {
    padding: 24px;
}

.meta-row,
.badge-row {
    gap: 12px;
}

.badge {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.modal-content {
    background: rgba(18, 24, 34, 0.96);
    border-radius: 24px;
}

.modal-actions {
    margin-top: 16px;
}

#project-modal-image[hidden] {
    display: none;
}

@media (max-width: 1024px) {
    .hero-frame,
    .about-layout,
    .business-layout,
    .contact-layout,
    .section-header.split {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        max-width: 13ch;
    }

    .hero-signals,
    .hero-rail,
    .pricing,
    .recommendations,
    .project-grid,
    .blog-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    section {
        padding: 92px 0 78px;
    }

    .nav-links {
        background: rgba(17, 24, 33, 0.98);
    }

    .hero {
        padding-top: 126px;
    }
}

@media (max-width: 768px) {
    .hero h1,
    .section-header h2 {
        max-width: none;
    }

    .hero-profile-card,
    .hero-card,
    .business-intro,
    .contact-card,
    .contact-form-panel {
        padding: 22px;
    }

    .hero-mini-grid,
    .stat-grid,
    .about-highlights,
    .contact-trust-strip,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions .cta-button,
    #contactForm button {
        width: 100%;
        justify-content: center;
    }

    .page-main {
        padding-top: 118px;
    }
}

@media (max-width: 520px) {
    .section-shell {
        padding: 0 16px;
    }

    section {
        padding: 78px 0 64px;
    }

    .hero {
        padding-top: 112px;
    }

    .hero h1 {
        font-size: clamp(2.45rem, 11vw, 3.3rem);
    }

    .hero-badge-row,
    .about-actions,
    .blog-toolbar,
    .card-actions {
        align-items: stretch;
    }

    .pill,
    .hero-status,
    .filter-btn,
    .cta-button,
    .show-more-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-social-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-social-actions a {
        width: 100%;
        min-width: 0;
        justify-content: center;
        overflow-wrap: anywhere;
    }

    .project-card,
    .blog-post,
    .recommendation,
    .price-card,
    .testimonial-card,
    .page-card,
    .content-card {
        border-radius: 22px;
    }
}

/* Blog post detail */
.blog-post-page .blog-post-main {
    padding-top: clamp(96px, 12vw, 132px);
}

.blog-post-page .reading-width {
    width: min(100%, 900px);
}

.blog-post-page .page-hero {
    text-align: left;
    max-width: 900px;
    margin-bottom: clamp(22px, 4vw, 34px);
}

.blog-post-page .page-hero h1 {
    max-width: 16ch;
    margin: 8px 0 14px;
    font-size: clamp(2.15rem, 7vw, 4rem);
    line-height: 1;
    overflow-wrap: anywhere;
}

.blog-post-page .meta-row {
    margin-bottom: 0;
}

.blog-post-page .blog-article-card {
    padding: clamp(16px, 4vw, 34px);
    overflow: hidden;
}

.blog-post-page .article-body {
    display: grid;
    gap: clamp(18px, 4vw, 30px);
    color: rgba(245, 239, 229, 0.84);
    font-size: clamp(1rem, 2.2vw, 1.08rem);
    line-height: 1.78;
    overflow-wrap: break-word;
}

.blog-post-page .article-content {
    display: grid;
    gap: 1.05em;
}

.blog-post-page .article-body :is(p, ul, ol, blockquote, h2, h3, h4, figure, table, pre) {
    margin: 0;
}

.blog-post-page .article-body :is(h2, h3, h4) {
    color: var(--text);
    font-family: var(--font-display);
    line-height: 1.14;
    letter-spacing: -0.02em;
}

.blog-post-page .article-body h2 {
    font-size: clamp(1.55rem, 4vw, 2.25rem);
}

.blog-post-page .article-body h3 {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.blog-post-page .article-body :is(ul, ol) {
    padding-left: 1.35rem;
}

.blog-post-page .article-body li + li {
    margin-top: 0.35em;
}

.blog-post-page .article-body a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.blog-post-page .article-body blockquote {
    padding: 18px 20px;
    border-left: 3px solid var(--accent);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
}

.blog-post-page .article-body :is(pre, code) {
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.blog-post-page .article-body pre {
    overflow-x: auto;
    padding: 16px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.28);
}

.blog-post-page .article-body table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.blog-post-page .article-body img,
.blog-post-page .additional-images img {
    max-width: 100%;
    height: auto;
}

.blog-post-page .article-body img:not(:last-child),
.blog-post-page .additional-images img:not(:last-child) {
    margin-bottom: 0;
}

.blog-post-page .post-hero-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: min(68vh, 620px);
    object-fit: cover;
}

.blog-post-page .additional-images {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}

.article-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 14px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.article-nav[hidden] {
    display: none;
}

.article-nav-link,
.related-post-card {
    min-width: 0;
    border: 1px solid var(--stroke);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(240, 178, 111, 0.08), transparent 44%),
        rgba(255, 255, 255, 0.025);
    box-shadow: var(--shadow);
}

.article-nav-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 18px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.article-nav-link.is-next {
    grid-template-columns: minmax(0, 1fr) auto;
    text-align: right;
    background:
        linear-gradient(225deg, rgba(130, 213, 198, 0.08), transparent 44%),
        rgba(255, 255, 255, 0.025);
}

.article-nav-link:hover {
    transform: translateY(-2px);
    border-color: rgba(240, 178, 111, 0.32);
}

.article-nav-copy {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.article-nav-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(240, 178, 111, 0.1);
    color: var(--accent);
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(240, 178, 111, 0.08);
}

.article-nav-label,
.article-nav-link small {
    color: var(--muted);
    font-size: 0.86rem;
}

.article-nav-label {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.article-nav-link strong {
    color: var(--text);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-nav-link small {
    letter-spacing: 0.02em;
}

.related-posts {
    padding: clamp(56px, 8vw, 82px) 0 0;
}

.related-post-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 16px;
}

.related-post-card {
    display: grid;
    gap: 13px;
    padding: 20px;
}

.related-post-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1.15;
}

.loading-state {
    margin: 0;
    min-height: 120px;
    display: grid;
    place-items: center;
    color: var(--muted);
    text-align: center;
}

.is-lightbox-trigger {
    cursor: zoom-in;
}

.is-lightbox-trigger:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .blog-post-page .blog-post-main {
        padding-top: 92px;
        padding-bottom: 72px;
    }

    .blog-post-page .section-shell {
        width: min(100%, 100vw);
        padding-inline: 14px;
    }

    .blog-post-page .page-hero {
        margin-bottom: 18px;
    }

    .blog-post-page .page-hero h1 {
        max-width: none;
        font-size: clamp(1.9rem, 10vw, 2.65rem);
        line-height: 1.04;
    }

    .blog-post-page .blog-article-card {
        padding: 14px;
        border-radius: 20px;
    }

    .blog-post-page .article-body {
        gap: 18px;
        font-size: 1rem;
        line-height: 1.72;
    }

    .blog-post-page .article-content {
        gap: 0.95em;
    }

    .blog-post-page .post-hero-image {
        aspect-ratio: 4 / 3;
        border-radius: 16px;
    }

    .blog-post-page .additional-images {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .article-nav {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 18px;
        padding-top: 14px;
    }

    .article-nav-link {
        min-height: 0;
        padding: 10px 12px;
        border-radius: 16px;
        gap: 10px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    }

    .article-nav-icon {
        width: 30px;
        height: 30px;
        font-size: 0.92rem;
        flex: 0 0 auto;
    }

    .article-nav-copy {
        display: grid;
        gap: 3px;
        min-width: 0;
        overflow: hidden;
    }

    .article-nav-label {
        flex: 0 0 auto;
        font-size: 0.76rem;
        letter-spacing: 0.1em;
    }

    .article-nav-link strong {
        min-width: 0;
        -webkit-line-clamp: 1;
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .article-nav-link.is-previous,
    .article-nav-link.is-next {
        text-align: left;
    }

    .article-nav-link small {
        display: none;
    }
}

/* Final responsive hardening for the public site */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

:is(.section-shell, .page-main, section, header, footer, main, .page-card, .content-card) {
    min-width: 0;
}

:is(h1, h2, h3, h4, p, li, blockquote, a, span, strong, .logo, .tagline, .cta-button, .filter-btn, .badge, .pill, .card-pill, .price-value) {
    overflow-wrap: anywhere;
}

:is(input, textarea, select, button) {
    max-width: 100%;
}

.nav-links {
    min-width: 0;
}

.header-top {
    gap: 12px;
}

.logo-container {
    min-width: 0;
}

.hero-frame,
.about-layout,
.business-layout,
.contact-layout,
.project-grid,
.blog-list,
.recommendations,
.pricing,
.testimonials,
.media-grid,
.info-grid,
.form-grid,
.stat-grid,
.hero-mini-grid,
.about-highlights,
.hero-signals,
.hero-rail {
    min-width: 0;
}

.project-grid,
.blog-list,
.recommendations,
.pricing,
.testimonials,
.media-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.project-card,
.blog-post,
.recommendation,
.price-card,
.testimonial-card,
.page-card,
.content-card,
.hero-profile-card,
.hero-card,
.business-intro,
.contact-card,
.contact-form-panel,
.modal-content {
    min-width: 0;
}

.project-media,
.blog-post-image,
.media-hero,
.media-grid,
.portrait-panel,
.post-hero-image {
    max-width: 100%;
}

.article-body table,
.rich-text table,
.page-card table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.article-body pre,
.rich-text pre,
.page-card pre {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
}

@media (max-width: 900px) {
    header {
        min-height: 70px;
    }

    .nav-links {
        left: max(12px, env(safe-area-inset-left));
        right: max(12px, env(safe-area-inset-right));
        top: calc(72px + env(safe-area-inset-top));
        max-width: none;
        width: auto;
        max-height: calc(100dvh - 92px);
        overscroll-behavior: contain;
    }

    .nav-links a {
        min-height: 44px;
        align-items: center;
    }

    .hamburger-menu {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .page-main {
        padding-top: 104px;
    }
}

@media (max-width: 768px) {
    .section-header.split,
    .hero-focus-header,
    .price-card-top,
    .card-topline,
    .testimonial-band-header,
    .header-row {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .section-header,
    .section-header.split {
        text-align: left;
    }

    .hero-frame,
    .about-layout,
    .business-layout,
    .contact-layout,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .hero-signals,
    .hero-rail,
    .hero-mini-grid,
    .stat-grid,
    .about-highlights,
    .contact-trust-strip,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .card-actions,
    .hero-actions,
    .about-actions,
    .blog-toolbar,
    .footer-content,
    .footer-links,
    .social-icons {
        align-items: stretch;
    }

    .card-actions > *,
    .hero-actions > *,
    .about-actions > *,
    .blog-filters > *,
    .footer-links > * {
        min-width: 0;
    }

    .modal {
        align-items: flex-end;
    }

    .modal-content {
        width: 100%;
        max-height: min(88dvh, 760px);
        border-radius: 22px 22px 0 0;
    }

    .project-proof-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 16px;
    }

    .section-shell,
    .blog-post-page .section-shell {
        width: 100%;
        padding-inline: 14px;
    }

    section {
        padding-block: 68px 56px;
    }

    .hero {
        padding-top: 104px;
        min-height: auto;
    }

    .hero h1,
    .page-hero h1,
    .blog-post-page .page-hero h1 {
        font-size: clamp(2rem, 10vw, 2.7rem);
        line-height: 1.04;
        max-width: none;
    }

    .section-header h2,
    .business-intro h3,
    .contact-form-panel h3,
    .contact-card h3 {
        font-size: clamp(1.55rem, 8vw, 2.1rem);
        line-height: 1.1;
    }

    .hero-profile-card,
    .hero-card,
    .business-intro,
    .contact-card,
    .contact-form-panel,
    .testimonial-band,
    .page-card,
    .content-card,
    .card-shell,
    .price-card,
    .recommendation,
    .testimonial-card {
        padding: 16px;
        border-radius: 20px;
    }

    .project-grid,
    .blog-list,
    .recommendations,
    .pricing,
    .testimonials,
    .media-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hero-badge-row,
    .hero-actions,
    .about-actions,
    .blog-toolbar,
    .blog-filters,
    .card-actions,
    .price-card-top,
    .footer-content,
    .footer-links {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .pill,
    .hero-status,
    .cta-button,
    .filter-btn,
    .show-more-btn,
    .card-link,
    .card-secondary-link,
    #contactForm button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .project-media,
    .blog-post-image,
    .post-hero-image {
        aspect-ratio: 4 / 3;
    }

    .portrait-panel img {
        aspect-ratio: 1 / 1;
    }

    .contact-note,
    .contact-trust-strip > div,
    .mini-stat,
    .stat,
    .about-highlight,
    .signal-card,
    .hero-rail-item {
        padding: 14px;
        border-radius: 16px;
    }

    #contactForm input,
    #contactForm textarea {
        min-height: 48px;
        font-size: 16px;
        border-radius: 14px;
    }

    #contactForm textarea {
        min-height: 150px;
    }

    .footer-content {
        text-align: left;
    }

    #back-to-top {
        right: max(12px, calc(env(safe-area-inset-right) + 12px));
        bottom: max(72px, calc(env(safe-area-inset-bottom) + 60px));
    }
}

@media (max-width: 380px) {
    .section-shell,
    .blog-post-page .section-shell {
        padding-inline: 12px;
    }

    .logo {
        font-size: 1rem;
    }

    .tagline {
        font-size: 0.78rem;
    }

    .hamburger-menu {
        padding: 7px 9px;
    }

    .hero h1,
    .page-hero h1,
    .blog-post-page .page-hero h1 {
        font-size: clamp(1.8rem, 10vw, 2.35rem);
    }
}

/* Mobile completeness pass */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html,
body {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

.section-shell {
    width: min(1200px, 100%);
    max-width: 100%;
    padding-inline: clamp(14px, 4vw, 28px);
}

@supports (padding-left: max(0px)) {
    .section-shell {
        padding-left: max(clamp(14px, 4vw, 28px), env(safe-area-inset-left));
        padding-right: max(clamp(14px, 4vw, 28px), env(safe-area-inset-right));
    }
}

header {
    padding-top: env(safe-area-inset-top);
}

.header-top,
.hero-copy,
.hero-stack,
.hero-frame > *,
.section-header > *,
.about-layout > *,
.about-body,
.business-layout > *,
.contact-layout > *,
.pricing,
.testimonials,
.recommendations,
.project-card > *,
.blog-post > *,
.card-shell,
.card-topline > *,
.card-actions > *,
.hero-badge-row > *,
.hero-actions > *,
.about-actions > *,
.blog-toolbar > *,
.blog-filters > *,
.price-card-top > *,
.contact-note,
.contact-note > *,
.contact-trust-strip > *,
.footer-content > *,
.footer-links > *,
#project-details,
#project-details > *,
.header-row > *,
.info-grid > *,
.card-block,
.rich-text,
.article-content {
    min-width: 0;
    max-width: 100%;
}

:is(h1, h2, h3, h4, p, li, blockquote, a, span, strong, small, cite, figcaption, .lead, .supporting-text, .summary, .article-body, .rich-text) {
    overflow-wrap: anywhere;
    word-break: break-word;
}

:is(.pill, .hero-status, .cta-button, .filter-btn, .show-more-btn, .card-pill, .badge, .card-link, .card-secondary-link) {
    min-height: 44px;
    white-space: normal;
    line-height: 1.25;
}

:is(input, textarea, select, button) {
    min-width: 0;
}

iframe,
embed,
object {
    max-width: 100%;
}

#project-details {
    display: grid;
    gap: clamp(18px, 4vw, 28px);
}

#project-details h2 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.7rem);
    line-height: 1.05;
}

#project-details .summary {
    margin: 0 0 14px;
    color: var(--muted);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 4vw, 28px);
    margin-top: clamp(18px, 4vw, 28px);
}

.card-block {
    display: grid;
    gap: 12px;
}

.card-block h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    line-height: 1.15;
}

.rich-text {
    color: rgba(245, 239, 229, 0.84);
}

.rich-text :is(p, ul, ol, blockquote, figure, table, pre) {
    margin: 0 0 1em;
}

.rich-text :is(ul, ol) {
    padding-left: 1.25rem;
}

.rich-text :is(img, video, iframe) {
    width: 100%;
    max-width: 100%;
}

.rich-text iframe {
    aspect-ratio: 16 / 9;
    height: auto;
}

#lightboxModal {
    box-sizing: border-box;
    padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
}

.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
    cursor: zoom-out;
}

.lightbox-modal[hidden] {
    display: none;
}

.lightbox-close {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    z-index: 2001;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(18, 24, 34, 0.88);
    color: var(--text);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
}

body.lightbox-open {
    overflow: hidden;
}

#modalImg {
    width: auto !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 32px) !important;
    object-fit: contain;
}

.close {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    cursor: pointer;
    font-size: 1.25rem;
}

@media (max-width: 900px) {
    .header-top {
        width: 100%;
        align-items: center;
    }

    header nav {
        order: 4;
        flex: 0 0 0;
        width: 0;
        min-width: 0;
        overflow: visible;
    }

    .logo-container {
        order: 1;
        flex: 1 1 0;
        max-width: calc(100% - 60px);
    }

    .hamburger-menu {
        order: 2;
        flex: 0 0 auto;
        margin-left: auto;
    }

    .nav-links {
        box-sizing: border-box;
        left: max(10px, env(safe-area-inset-left));
        right: max(10px, env(safe-area-inset-right));
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .card-block + .card-block {
        padding-top: 18px;
        border-top: 1px solid var(--stroke);
    }

    .header-row .cta-button,
    .modal-actions .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .section-shell,
    .blog-post-page .section-shell {
        padding-inline: 14px;
    }

    @supports (padding-left: max(0px)) {
        .section-shell,
        .blog-post-page .section-shell {
            padding-left: max(14px, env(safe-area-inset-left));
            padding-right: max(14px, env(safe-area-inset-right));
        }
    }

    .header-top {
        gap: 10px;
    }

    .hero-copy,
    .hero-stack,
    .hero-frame,
    .hero h1,
    .lead,
    .hero-badge-row,
    .hero-actions,
    .hero-signals,
    .hero-rail,
    .section-header,
    .page-hero,
    .blog-post-page .page-hero,
    .blog-post-page .blog-article-card {
        width: 100%;
        max-width: calc(100vw - 28px);
    }

    .logo {
        font-size: 1.05rem;
        line-height: 1.15;
    }

    .tagline {
        font-size: 0.82rem;
        line-height: 1.25;
    }

    .hero h1,
    .page-hero h1,
    .blog-post-page .page-hero h1,
    .section-header h2 {
        letter-spacing: 0;
    }

    .hero h1,
    .page-hero h1,
    .blog-post-page .page-hero h1 {
        font-size: clamp(1.9rem, 9.5vw, 2.55rem);
    }

    .pill,
    .hero-status,
    .cta-button,
    .filter-btn,
    .show-more-btn,
    .card-pill,
    .badge {
        padding-inline: 12px;
        text-align: center;
    }

    .pill,
    .hero-status {
        white-space: normal;
    }

    .hero-status {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        text-align: left;
        justify-content: start;
    }

    .card-topline,
    .price-card-top {
        align-items: stretch;
    }

    .footer-content,
    .footer-links {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .media-hero video,
    .rich-text video {
        max-height: 70dvh;
    }

    .modal-content {
        width: calc(100vw - 20px);
        max-width: none;
    }
}

@media (max-width: 360px) {
    .section-shell,
    .blog-post-page .section-shell {
        padding-inline: 10px;
    }

    .hero-copy,
    .hero-stack,
    .hero-frame,
    .hero h1,
    .lead,
    .hero-badge-row,
    .hero-actions,
    .hero-signals,
    .hero-rail,
    .section-header,
    .page-hero,
    .blog-post-page .page-hero,
    .blog-post-page .blog-article-card {
        max-width: calc(100vw - 20px);
    }

    .logo {
        font-size: 0.98rem;
    }

    .tagline {
        font-size: 0.74rem;
    }

    .hamburger-menu {
        min-width: 42px;
        min-height: 42px;
        padding: 6px 8px;
    }

    .hero h1,
    .page-hero h1,
    .blog-post-page .page-hero h1 {
        font-size: clamp(1.75rem, 9vw, 2.15rem);
    }

    .eyebrow,
    .hero-name,
    .blog-toolbar-note {
        letter-spacing: 0.16em;
    }
}

/* Content UX and mobile stability overrides */
[hidden] {
    display: none !important;
}

.project-card,
.blog-post,
.recommendation,
.price-card,
.testimonial-card,
.page-card,
.content-card,
.article-nav-link,
.related-post-card,
.hero-profile-card,
.hero-card,
.business-intro,
.contact-card,
.contact-form-panel,
.testimonial-band {
    border-radius: 8px;
}

.article-toc,
.article-author-card,
.article-share-card {
    border: 1px solid var(--stroke);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.article-toc {
    padding: 18px;
}

.article-toc-title {
    margin: 0 0 10px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.article-toc-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 1.1rem;
}

.article-toc-list a {
    color: var(--text);
    text-decoration: none;
}

.article-toc-list a:hover {
    color: var(--accent);
}

.article-toc-list .is-subitem {
    margin-left: 0.9rem;
    color: var(--muted);
}

.article-footer {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    gap: 14px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--stroke);
}

.article-author-card,
.article-share-card {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 18px;
}

.article-author-card h2,
.article-share-card h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.article-author-card p,
.article-share-card p {
    margin: 0;
    color: var(--muted);
}

.article-share-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.project-contact-card {
    display: grid;
    gap: 12px;
    margin-top: clamp(18px, 4vw, 28px);
}

.project-contact-card h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 4vw, 2rem);
    line-height: 1.12;
}

.copy-link-status {
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    section {
        padding-top: 82px;
        padding-bottom: 72px;
    }

    .section-header.split,
    .hero-frame,
    .business-layout,
    .contact-layout,
    .info-grid,
    .article-footer {
        grid-template-columns: 1fr;
    }

    .project-grid,
    .blog-list,
    .recommendations,
    .pricing,
    .testimonials,
    .hero-signals,
    .hero-rail,
    .related-post-list {
        grid-template-columns: 1fr;
    }

    .nav-links.active {
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .hero {
        padding-top: 104px;
    }

    .hero-frame,
    .hero-copy,
    .hero-stack,
    .business-layout,
    .contact-layout {
        gap: 18px;
    }

    .card-actions,
    .hero-actions,
    .about-actions,
    .modal-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .card-actions > *,
    .hero-actions > *,
    .about-actions > *,
    .modal-actions > *,
    .show-more-btn {
        width: 100%;
        justify-content: center;
    }

    .project-proof-list,
    .project-snapshot,
    .hero-mini-grid,
    .stat-grid,
    .contact-note-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body {
        line-height: 1.55;
    }

    .section-shell,
    .blog-post-page .section-shell {
        width: 100%;
        padding-inline: 14px;
    }

    .hero h1,
    .page-hero h1,
    .blog-post-page .page-hero h1 {
        font-size: 2.25rem;
        line-height: 1.05;
        letter-spacing: 0;
    }

    .section-header h2,
    .hero-profile-card h2,
    .business-intro h3,
    .contact-form-panel h3,
    .testimonial-band-header h3 {
        font-size: 1.65rem;
        line-height: 1.12;
        letter-spacing: 0;
    }

    .lead,
    .supporting-text,
    .article-body {
        font-size: 1rem;
    }

    .page-card,
    .content-card,
    .card-shell,
    .business-intro,
    .contact-card,
    .contact-form-panel,
    .testimonial-band,
    .blog-post-page .blog-article-card {
        padding: 14px;
    }

    .project-media,
    .blog-post-image,
    .blog-post-page .post-hero-image,
    .media-hero {
        aspect-ratio: 4 / 3;
    }

    .article-toc,
    .article-author-card,
    .article-share-card {
        padding: 14px;
    }

    .article-toc-list {
        padding-left: 1rem;
    }

    .article-share-actions,
    .footer-content,
    .footer-links,
    .blog-filters {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .article-share-actions > *,
    .footer-links > *,
    .blog-filters > * {
        width: 100%;
        justify-content: center;
    }

    .article-nav-copy {
        display: grid;
        gap: 2px;
        min-width: 0;
        overflow: hidden;
    }

    .article-nav-link.is-next {
        text-align: left;
    }

    .article-nav-link,
    .article-nav-link.is-previous,
    .article-nav-link.is-next {
        min-height: 0;
        height: 60px;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        padding: 8px 10px;
        gap: 10px;
        overflow: hidden;
        transition: border-color 0.2s ease, background 0.2s ease;
    }

    .article-nav-link:hover {
        transform: none;
    }

    .article-nav-link.is-next {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .article-nav-link.is-previous .article-nav-icon {
        grid-column: 1;
        grid-row: 1;
    }

    .article-nav-link.is-previous .article-nav-copy {
        grid-column: 2;
        grid-row: 1;
    }

    .article-nav-link.is-next .article-nav-copy {
        grid-column: 1;
        grid-row: 1;
    }

    .article-nav-link.is-next .article-nav-icon {
        grid-column: 2;
        grid-row: 1;
    }

    .article-nav-icon {
        width: 34px;
        height: 34px;
    }

    .article-nav-label {
        font-size: 0.68rem;
        line-height: 1;
    }

    .article-nav-link strong {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: unset;
        line-height: 1.1;
    }

    .article-nav-link small {
        display: none;
    }
}

/* Focused page hero spacing and contact controls */
.page-main > .hero.page-hero {
    min-height: auto;
    padding-top: clamp(104px, 10vw, 124px);
    padding-bottom: clamp(48px, 7vw, 72px);
}

#contactForm select {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    padding: 12px 14px;
    font: inherit;
}

#contactForm select option {
    color: #0b1327;
}

@media (max-width: 640px) {
    .page-main > .hero.page-hero {
        padding-top: 86px;
        padding-bottom: 38px;
    }

    #contactForm select {
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .hero h1,
    .page-hero h1,
    .blog-post-page .page-hero h1 {
        font-size: 2rem;
    }

    .section-header h2,
    .hero-profile-card h2,
    .business-intro h3,
    .contact-form-panel h3 {
        font-size: 1.45rem;
    }

    .logo-container {
        max-width: calc(100vw - 76px);
    }

    .eyebrow,
    .hero-name,
    .blog-toolbar-note,
    .article-nav-label {
        letter-spacing: 0.12em;
    }
}

/* Browser zoom responsiveness pass */
:root {
    --page-gutter: clamp(12px, 2.4vw, 28px);
}

html,
body {
    overflow-x: auto;
}

body {
    min-width: 0;
}

body * ,
body *::before,
body *::after {
    min-width: 0;
}

.section-shell,
.blog-post-page .section-shell {
    width: min(1150px, 100%);
    padding-inline: var(--page-gutter);
}

.header-top {
    width: min(1150px, 100%);
    padding-inline: var(--page-gutter);
}

.hero-frame,
.about-layout,
.business-layout,
.contact-layout,
.info-grid,
.article-footer,
.project-grid,
.blog-list,
.recommendations,
.pricing,
.testimonials,
.media-grid,
.hero-signals,
.hero-rail,
.hero-mini-grid,
.stat-grid,
.about-highlights,
.contact-trust-strip,
.form-grid,
.related-post-list {
    max-width: 100%;
    min-width: 0;
}

.project-grid,
.blog-list,
.recommendations,
.pricing,
.testimonials,
.media-grid,
.related-post-list {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.hero-actions,
.about-actions,
.card-actions,
.modal-actions,
.blog-filters,
.article-share-actions,
.footer-links,
.social-icons {
    flex-wrap: wrap;
    min-width: 0;
}

.cta-button,
.filter-btn,
.show-more-btn,
.pill,
.badge,
.card-pill {
    max-width: 100%;
    white-space: normal;
    line-height: 1.2;
}

.project-card,
.blog-post,
.recommendation,
.price-card,
.testimonial-card,
.page-card,
.content-card,
.hero-profile-card,
.hero-card,
.business-intro,
.contact-card,
.contact-form-panel,
.testimonial-band,
.article-toc,
.article-author-card,
.article-share-card,
.related-post-card {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.modal {
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}

.modal-content {
    width: min(100%, 680px);
    max-height: min(90dvh, 760px);
    overflow-y: auto;
}

.lightbox-modal {
    overflow: auto;
}

.article-nav-link,
.article-nav-link.is-previous,
.article-nav-link.is-next {
    height: auto;
    min-height: 64px;
    overflow: visible;
}

.article-nav-copy,
.article-nav-link strong,
.article-nav-link small {
    overflow-wrap: anywhere;
    white-space: normal;
}

@media (max-width: 1120px) {
    header {
        min-height: 70px;
    }

    .header-top {
        width: 100%;
        align-items: center;
    }

    header nav {
        order: 4;
        flex: 0 0 0;
        width: 0;
        min-width: 0;
        overflow: visible;
    }

    .logo-container {
        order: 1;
        flex: 1 1 0;
        max-width: calc(100% - 60px);
    }

    .hamburger-menu {
        order: 2;
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        margin-left: auto;
    }

    .nav-links {
        position: fixed;
        top: calc(72px + env(safe-area-inset-top));
        left: max(12px, env(safe-area-inset-left));
        right: max(12px, env(safe-area-inset-right));
        width: auto;
        max-width: none;
        max-height: calc(100dvh - 92px);
        overflow-y: auto;
        overscroll-behavior: contain;
        margin-left: 0;
        background: rgba(11, 19, 39, 0.98);
        flex-direction: column;
        padding: 16px;
        border-radius: var(--radius);
        border: 1px solid var(--stroke);
        box-shadow: var(--shadow);
        z-index: 1100;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        align-items: stretch;
        gap: 10px;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links li,
    .nav-links a {
        width: 100%;
    }

    .nav-links a {
        min-height: 44px;
        padding: 14px 12px;
        align-items: center;
    }

    .hero-frame,
    .about-layout,
    .business-layout,
    .contact-layout,
    .info-grid,
    .article-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .section-header.split,
    .hero-focus-header,
    .price-card-top,
    .card-topline,
    .testimonial-band-header,
    .header-row {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .project-grid,
    .blog-list,
    .recommendations,
    .pricing,
    .testimonials,
    .media-grid,
    .related-post-list,
    .hero-signals,
    .hero-rail,
    .hero-mini-grid,
    .stat-grid,
    .about-highlights,
    .contact-trust-strip,
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .hero-actions,
    .about-actions,
    .card-actions,
    .modal-actions,
    .blog-filters,
    .article-share-actions,
    .footer-links {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        align-items: stretch;
    }

    .hero-actions > *,
    .about-actions > *,
    .card-actions > *,
    .modal-actions > *,
    .blog-filters > *,
    .article-share-actions > *,
    .footer-links > *,
    .show-more-btn {
        width: 100%;
        justify-content: center;
    }
}
