:root {
    --red: #d90000;
    --red-dark: #a90000;
    --ink: #111111;
    --muted: #676767;
    --line: #e7e2df;
    --paper: #ffffff;
    --soft: #f7f4f1;
    --soft-2: #fbfaf8;
    --shadow: 0 18px 60px rgba(17, 17, 17, 0.08);
    --radius: 8px;
    --max: 1280px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 72px;
    display: grid;
    grid-template-columns: 260px 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 0 5vw;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: transparent;
    font-weight: 900;
    font-size: 28px;
    line-height: 1;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand strong {
    display: block;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 15px;
    font-weight: 700;
}

.main-nav a {
    position: relative;
    padding: 26px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 17px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }

.header-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 24px;
    border: 1px solid var(--red);
    border-radius: 2px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.header-cta,
.btn-primary {
    color: #fff;
    background: var(--red);
    box-shadow: 0 12px 28px rgba(217, 0, 0, .22);
}

.btn-secondary {
    color: var(--red);
    background: #fff;
}

.header-cta:hover,
.btn:hover { transform: translateY(-2px); }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: #fff;
}

.hero {
    min-height: calc(100vh - 72px);
    display: grid;
    grid-template-columns: 260px minmax(320px, 1fr) minmax(420px, 1.18fr);
    border-bottom: 1px solid var(--line);
}

.expertise-rail {
    padding: 44px 0 44px 5vw;
    background: linear-gradient(90deg, #fff, var(--soft));
    border-right: 1px solid var(--line);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rail-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 18px;
    border-left: 2px solid transparent;
    border-bottom: 1px solid var(--line);
    color: #202020;
    font-size: 13px;
    font-weight: 800;
}

.rail-item i {
    color: var(--red);
    font-size: 18px;
}

.rail-item:hover,
.rail-item.is-active {
    color: var(--red);
    background: #fff;
    border-left-color: var(--red);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 5vw 52px 4vw;
}

.hero h1 {
    margin: 0;
    font-size: clamp(54px, 6.4vw, 96px);
    line-height: .92;
    letter-spacing: 0;
    font-weight: 950;
}

.hero h1 span { color: var(--red); }

.hero-lead {
    max-width: 560px;
    margin: 24px 0 34px;
    color: var(--muted);
    font-size: clamp(22px, 2vw, 32px);
    line-height: 1.25;
}

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

.trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
    margin: 52px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.trust-row i { color: var(--red); margin-right: 8px; }

.hero-media {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: var(--red);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.founder-card {
    position: absolute;
    width: 185px;
    padding: 16px;
    color: #fff;
    background: rgba(0, 0, 0, .68);
    border: 1px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(10px);
}

.founder-card strong {
    display: block;
    text-transform: uppercase;
    font-size: 15px;
}

.founder-card span {
    display: block;
    margin: 4px 0 8px;
    color: #ff2a2a;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.founder-card p {
    margin: 0;
    font-size: 13px;
}

.founder-card-left { left: 70px; bottom: 72px; }
.founder-card-right { right: 70px; bottom: 72px; }

.services-section,
.portfolio-strip,
.team-section,
.content-section,
.local-seo-section,
.service-page,
.portfolio-page,
.contact-page,
.cta-section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 72px 5vw;
}

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

.section-heading-row {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
}

.section-heading h2,
.service-hero h1,
.portfolio-page h1,
.contact-page h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1;
    font-weight: 950;
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
    font-size: 18px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.service-tile {
    min-height: 238px;
    padding: 28px 22px;
    text-align: center;
    border-right: 1px solid var(--line);
    transition: background .2s ease, transform .2s ease;
}

.service-tile:last-child { border-right: 0; }

.service-tile i {
    color: var(--red);
    font-size: 34px;
    margin-bottom: 18px;
}

.service-tile h3 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.2;
}

.service-tile p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
}

.service-tile span,
.text-link {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.service-tile:hover {
    background: var(--soft);
    transform: translateY(-3px);
}

.project-row {
    display: grid;
    grid-template-columns: repeat(8, minmax(150px, 1fr));
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.project-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    background: #111;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.85));
}

.project-card span {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 1;
    color: #fff;
    font-size: 13px;
}

.project-card strong {
    display: block;
    font-size: 17px;
}

.project-card:hover img { transform: scale(1.05); }

.team-section { background: var(--soft-2); max-width: none; }
.team-section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

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

.team-member {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 22px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
}

.team-member img {
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    object-position: center;
    background: transparent;
}

.team-member h3 {
    margin: 0 0 10px;
    font-size: 30px;
}

.team-member p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
}

.article-grid,
.city-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.article-card {
    min-height: 210px;
    padding: 26px;
    border: 1px solid var(--line);
    background: #fff;
    transition: background .2s ease, transform .2s ease;
}

.article-card span {
    display: block;
    margin-bottom: 18px;
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.article-card strong {
    display: block;
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 1.05;
}

.article-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.article-card:hover {
    background: var(--soft);
    transform: translateY(-3px);
}

.local-seo-section {
    background: var(--soft-2);
    max-width: none;
}

.local-seo-section > * {
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
}

.local-intro {
    max-width: 760px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 17px;
}

.city-grid {
    grid-template-columns: repeat(4, 1fr);
}

.city-grid a {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border: 1px solid var(--line);
    background: #fff;
    font-weight: 900;
}

.city-grid a::after {
    content: "→";
    color: var(--red);
}

.city-grid a:hover {
    color: var(--red);
}

.cta-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 42px;
    margin-bottom: 72px;
    background: var(--ink);
    color: #fff;
}

.cta-section > div {
    max-width: 780px;
}

.cta-section .btn {
    flex: 0 0 auto;
}

.cta-section h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1; }

.site-footer {
    display: grid;
    grid-template-columns: 1.2fr .85fr 1fr;
    gap: 36px;
    padding: 48px 5vw 28px;
    background: var(--soft);
    border-top: 1px solid var(--line);
}

.site-footer p { color: var(--muted); }
.site-footer h4 {
    margin: 0 0 14px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.site-footer nav,
.social-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    font-weight: 800;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.social-links i {
    width: 18px;
    color: var(--red);
}
.site-footer .legal { grid-column: 1 / -1; margin: 12px 0 0; font-size: 13px; }

.service-hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 52px;
    align-items: center;
    padding-top: 72px;
}

.service-hero p {
    color: var(--muted);
    font-size: 20px;
}

.service-visual {
    min-height: 380px;
    display: grid;
    place-items: center;
    padding: 48px;
    color: #fff;
    background: var(--red);
}

.service-visual i { font-size: 96px; }

.service-details {
    padding-top: 34px;
}

.service-details .trust-row {
    margin-top: 22px;
}

.feature-list article span {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--red);
    font-weight: 900;
}

.feature-list,
.process-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 56px;
}

.feature-list article,
.process-list article,
.contact-card {
    padding: 26px;
    border: 1px solid var(--line);
    background: #fff;
}

.feature-list h3,
.process-list h3 { margin: 0 0 10px; }

.feature-list p,
.process-list p,
.contact-card p { color: var(--muted); margin: 0; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.portfolio-grid .project-card { min-height: 280px; }

.project-card.project-more {
    background: var(--ink);
    color: #fff;
}

.project-card.project-more::after {
    background: linear-gradient(135deg, rgba(255, 0, 0, .92), rgba(15, 15, 15, .94));
}

.project-card.project-more i {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    font-size: 28px;
}

.project-card.project-more span {
    max-width: 82%;
}

.youtube-feature {
    max-width: var(--max);
    margin: 0 auto;
    padding: 72px 5vw;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 32px;
    align-items: center;
}

.youtube-feature h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1;
}

.youtube-feature p {
    color: var(--muted);
}

.youtube-feature .btn {
    margin-top: 18px;
}

.youtube-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #111;
    aspect-ratio: 16 / 9;
}

.youtube-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: .9;
    transition: transform .3s ease;
}

.youtube-card:hover img {
    transform: scale(1.04);
}

.youtube-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 62px;
    text-shadow: 0 18px 36px rgba(0, 0, 0, .36);
}

.standard-page {
    max-width: var(--max);
    margin: 0 auto;
    padding: 72px 5vw;
}

.standard-hero {
    display: grid;
    gap: 18px;
    padding: 56px 0 42px;
    border-bottom: 1px solid var(--line);
}

.standard-hero h1 {
    max-width: 920px;
    margin: 0;
    font-size: clamp(36px, 5vw, 72px);
    line-height: .95;
    font-weight: 950;
}

.standard-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 20px;
}

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

.content-card {
    display: grid;
    gap: 12px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
}

.content-card h2,
.content-card h3 {
    margin: 0;
}

.content-card p,
.article-body p {
    color: var(--muted);
}

.article-body {
    max-width: 860px;
    margin-top: 34px;
    font-size: 18px;
    line-height: 1.75;
}

.article-body h2 {
    margin-top: 34px;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.project-gallery img {
    width: 100%;
    height: auto;
    display: block;
    background: var(--soft);
    border: 1px solid var(--line);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
}

@media (max-width: 1180px) {
    .site-header { grid-template-columns: 1fr auto auto; }
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 5vw 28px;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 14px 0; }
    .nav-toggle { display: grid; place-items: center; }
    .hero { grid-template-columns: 1fr; }
    .expertise-rail { display: none; }
    .hero-media { min-height: 520px; order: -1; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .service-tile { border-bottom: 1px solid var(--line); }
    .project-row { grid-template-columns: repeat(8, minmax(170px, 1fr)); }
    .team-grid, .service-hero { grid-template-columns: 1fr; }
    .portfolio-grid, .feature-list, .process-list, .contact-grid, .content-grid, .project-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .site-header { height: 66px; padding: 0 18px; }
    .brand strong { font-size: 14px; }
    .brand small { display: none; }
    .header-cta { display: none; }
    .main-nav { top: 66px; }
    .hero-copy { padding: 38px 22px; }
    .hero h1 { font-size: 52px; }
    .hero-lead { font-size: 22px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .trust-row { grid-template-columns: 1fr; margin-top: 32px; }
    .hero-media { min-height: 420px; }
    .founder-card { width: 155px; padding: 12px; }
    .founder-card-left { left: 16px; bottom: 18px; }
    .founder-card-right { right: 16px; bottom: 18px; }
    .services-section, .portfolio-strip, .team-section, .content-section, .local-seo-section, .service-page, .portfolio-page, .contact-page, .cta-section { padding: 48px 22px; }
    .youtube-feature { grid-template-columns: 1fr; padding: 48px 22px; }
    .section-heading-row, .cta-section { display: block; }
    .service-grid, .article-grid, .city-grid, .portfolio-grid, .feature-list, .process-list, .contact-grid, .content-grid, .project-gallery { grid-template-columns: 1fr; }
    .service-tile { border-right: 0; }
    .team-member img { max-height: none; }
    .site-footer { grid-template-columns: 1fr; padding: 38px 22px; }
}
