:root {
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.concept-page {
    --bg: #f6f1e8;
    --surface: #fffdf7;
    --surface-soft: #ebe3d5;
    --ink: #111716;
    --muted: #56645f;
    --accent: #b85835;
    --accent-strong: #173e38;
    --line: rgba(16, 22, 21, 0.14);
    --shadow: 0 24px 70px rgba(16, 22, 21, 0.16);
    --soft-shadow: 0 16px 42px rgba(16, 22, 21, 0.10);
    --radius: 8px;
    --image-radius: 8px;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px) 0 0 / 76px 76px,
        linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg) 88%, white 12%));
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    min-width: 320px;
}

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

.concept-page a {
    color: inherit;
}

.concept-page p {
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.68;
    margin: 0;
}

.concept-page h1,
.concept-page h2,
.concept-page h3 {
    color: var(--ink);
    line-height: 1;
    margin: 0;
}

.concept-page h1,
.concept-page h2 {
    font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    font-weight: 680;
}

.concept-page h1 {
    font-size: 4.85rem;
    max-width: 920px;
}

.concept-page h2 {
    font-size: 3.05rem;
}

.concept-page h3 {
    font-size: 1.34rem;
    line-height: 1.12;
}

.concept-header {
    align-items: center;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(190px, 1fr) auto minmax(100px, 1fr);
    padding: 15px clamp(18px, 4vw, 48px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.concept-brand,
.concept-header nav,
.concept-actions,
.concept-proof,
.concept-back {
    align-items: center;
    display: flex;
}

.concept-brand,
.concept-header a,
.concept-button {
    text-decoration: none;
}

.concept-brand {
    gap: 10px;
    font-weight: 900;
    width: fit-content;
}

.concept-brand span {
    align-items: center;
    background: linear-gradient(135deg, var(--accent-strong), color-mix(in srgb, var(--accent-strong) 70%, var(--accent) 30%));
    box-shadow: 0 12px 28px color-mix(in srgb, var(--accent-strong) 30%, transparent);
    color: #fff;
    display: grid;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.concept-header nav {
    background: color-mix(in srgb, var(--surface) 72%, transparent);
    border: 1px solid var(--line);
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    padding: 5px;
}

.concept-header nav a,
.concept-back {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 850;
    padding: 9px 11px;
}

.concept-header nav a:hover,
.concept-back:hover {
    background: var(--ink);
    color: var(--surface);
}

.concept-back {
    border: 1px solid var(--line);
    color: var(--ink);
    justify-self: end;
}

.concept-hero,
.concept-section,
.concept-feature,
.concept-cta {
    margin: 0 auto;
    max-width: 1220px;
    padding: 94px clamp(20px, 5vw, 58px);
}

.concept-hero {
    align-items: center;
    display: grid;
    gap: 58px;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
    min-height: calc(100svh - 74px);
}

.concept-hero__copy {
    display: grid;
    gap: 22px;
}

.concept-kicker {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.concept-actions {
    flex-wrap: wrap;
    gap: 12px;
}

.concept-button {
    border-radius: var(--radius);
    display: inline-flex;
    font-weight: 850;
    justify-content: center;
    min-height: 48px;
    padding: 14px 18px;
}

.concept-button--primary {
    background: var(--accent);
    color: var(--button-text, #fff);
}

.concept-button--ghost {
    border: 1px solid var(--line);
    color: var(--ink);
}

.concept-proof {
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.concept-proof li {
    background: color-mix(in srgb, var(--surface) 84%, transparent);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 850;
    padding: 9px 12px;
}

.concept-visual {
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    margin: 0;
    padding: clamp(18px, 2.2vw, 28px);
    position: relative;
}

.concept-visual img {
    border: 1px solid var(--line);
    border-radius: var(--image-radius);
    box-shadow: 0 14px 34px color-mix(in srgb, var(--ink) 14%, transparent);
    height: 520px;
    object-fit: cover;
    width: 100%;
}

.concept-visual figcaption {
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 850;
    padding: 12px 14px;
    position: absolute;
    right: clamp(30px, 3vw, 42px);
    top: clamp(30px, 3vw, 42px);
}

.concept-section__header {
    display: grid;
    gap: 14px;
    margin-bottom: 36px;
    max-width: 820px;
}

.concept-card-grid,
.concept-package-grid {
    align-items: start;
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.concept-card,
.concept-package {
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--soft-shadow);
    display: grid;
    gap: 12px;
    padding: 26px;
}

.concept-card:nth-child(2),
.concept-package:nth-child(2) {
    transform: translateY(24px);
}

.concept-card:nth-child(3),
.concept-package:nth-child(3) {
    transform: translateY(48px);
}

.concept-feature {
    background: var(--surface-soft);
    display: grid;
    gap: 44px;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
    max-width: none;
    padding-left: max(52px, calc((100vw - 1220px) / 2 + 52px));
    padding-right: max(52px, calc((100vw - 1220px) / 2 + 52px));
}

.concept-feature > div {
    display: grid;
    gap: 16px;
}

.concept-steps {
    counter-reset: step;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
}

.concept-steps li {
    align-items: center;
    border-top: 1px solid var(--line);
    display: grid;
    font-weight: 850;
    gap: 16px;
    grid-template-columns: 54px 1fr;
    list-style: none;
    padding: 18px 0;
}

.concept-steps li::before {
    align-items: center;
    background: var(--accent-strong);
    color: #fff;
    content: counter(step, decimal-leading-zero);
    counter-increment: step;
    display: grid;
    font-size: 0.82rem;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.concept-package strong {
    color: var(--accent-strong);
}

.concept-cta {
    background: linear-gradient(135deg, var(--accent-strong), color-mix(in srgb, var(--accent-strong) 76%, var(--ink) 24%));
    color: #fff;
    display: grid;
    gap: 18px;
    margin-bottom: 72px;
    position: relative;
}

.concept-cta::before {
    background: var(--accent);
    content: "";
    height: 6px;
    left: clamp(20px, 5vw, 58px);
    position: absolute;
    right: clamp(20px, 5vw, 58px);
    top: 0;
}

.concept-cta h2 {
    color: #fff;
}

.concept-cta p,
.concept-cta .concept-kicker {
    color: color-mix(in srgb, #fff 78%, var(--accent) 22%);
}

.concept-cta .concept-button--ghost {
    border-color: rgba(255, 255, 255, 0.38);
    color: #fff;
}

.concept-footer {
    align-items: center;
    background: var(--ink);
    color: #fff;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 30px clamp(20px, 5vw, 58px);
}

.concept-footer p,
.concept-footer a {
    color: rgba(255, 255, 255, 0.78);
}

.theme-cafe {
    --bg: #fff3df;
    --surface: #fffaf2;
    --surface-soft: #f3ddbd;
    --ink: #2a251f;
    --muted: #66584b;
    --accent: #b85835;
    --accent-strong: #31533d;
    --button-text: #fff;
    --radius: 18px;
    --image-radius: 38px 38px 8px 38px;
}

.theme-cafe h1,
.theme-cafe h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.theme-contractor {
    --bg: #eef2f5;
    --surface: #ffffff;
    --surface-soft: #1f2d3a;
    --ink: #17212c;
    --muted: #4b5966;
    --accent: #f2c94c;
    --accent-strong: #17212c;
    --button-text: #17212c;
    --radius: 4px;
    --image-radius: 4px;
}

.theme-contractor .concept-header,
.theme-contractor .concept-hero,
.theme-contractor .concept-feature {
    background: #17212c;
    color: #fff;
}

.theme-contractor .concept-header nav,
.theme-contractor .concept-back,
.theme-contractor .concept-visual,
.theme-contractor .concept-proof li {
    background: rgba(255, 255, 255, 0.08);
}

.theme-contractor .concept-header nav a,
.theme-contractor .concept-back,
.theme-contractor .concept-hero p,
.theme-contractor .concept-feature p,
.theme-contractor .concept-feature .concept-kicker,
.theme-contractor .concept-proof li {
    color: rgba(255, 255, 255, 0.78);
}

.theme-contractor .concept-hero h1,
.theme-contractor .concept-feature h2,
.theme-contractor .concept-brand {
    color: #fff;
}

.theme-contractor .concept-brand span,
.theme-contractor .concept-steps li::before {
    background: var(--accent);
    color: #17212c;
}

.theme-professional {
    --bg: #f5f8fb;
    --surface: #ffffff;
    --surface-soft: #e6eef6;
    --ink: #1f3552;
    --muted: #53657a;
    --accent: #8a6f55;
    --accent-strong: #1f3552;
    --radius: 2px;
    --image-radius: 2px;
}

.theme-professional h1,
.theme-professional h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.theme-nonprofit {
    --bg: #fff7d6;
    --surface: #ffffff;
    --surface-soft: #0f766e;
    --ink: #17313b;
    --muted: #4d5f64;
    --accent: #e56f5b;
    --accent-strong: #103f52;
    --radius: 16px;
    --image-radius: 16px;
}

.theme-nonprofit .concept-card:nth-child(1) {
    border-top: 8px solid #e56f5b;
}

.theme-nonprofit .concept-card:nth-child(2) {
    border-top: 8px solid #0f766e;
}

.theme-nonprofit .concept-card:nth-child(3) {
    border-top: 8px solid #f8c75d;
}

.theme-nonprofit .concept-feature,
.theme-nonprofit .concept-feature h2,
.theme-nonprofit .concept-feature p,
.theme-nonprofit .concept-feature .concept-kicker {
    color: #fff;
}

.theme-ecommerce {
    --bg: #0f172a;
    --surface: #172033;
    --surface-soft: #111827;
    --ink: #f8fafc;
    --muted: #b8c4d6;
    --accent: #38bdf8;
    --accent-strong: #f97316;
    --button-text: #07121f;
    --line: rgba(255, 255, 255, 0.16);
    --radius: 10px;
    --image-radius: 18px;
}

.theme-ecommerce .concept-header,
.theme-ecommerce .concept-card,
.theme-ecommerce .concept-package,
.theme-ecommerce .concept-proof li,
.theme-ecommerce .concept-visual figcaption,
.theme-ecommerce .concept-back,
.theme-ecommerce .concept-header nav {
    background: #172033;
}

.theme-ecommerce .concept-button--primary {
    color: #07121f;
}

.theme-ecommerce .concept-feature {
    background: #07111f;
}

.theme-appointment {
    --bg: #f8ebe5;
    --surface: #ffffff;
    --surface-soft: #d8ece4;
    --ink: #263c37;
    --muted: #61746f;
    --accent: #d98d77;
    --accent-strong: #2d5d52;
    --radius: 28px;
    --image-radius: 72px 28px 72px 28px;
}

.theme-appointment .concept-card,
.theme-appointment .concept-package {
    border-radius: 28px;
}

.theme-appointment .concept-proof li,
.theme-appointment .concept-button {
    border-radius: 999px;
}

@media (max-width: 980px) {
    .concept-header {
        gap: 12px 16px;
        grid-template-columns: 1fr auto;
        padding: 14px 18px;
    }

    .concept-brand {
        grid-column: 1;
        grid-row: 1;
    }

    .concept-back {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .concept-header nav {
        flex-wrap: nowrap;
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
        width: 100%;
    }

    .concept-header nav::-webkit-scrollbar {
        display: none;
    }

    .concept-header nav a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .concept-hero,
    .concept-feature,
    .concept-card-grid,
    .concept-package-grid {
        grid-template-columns: 1fr;
    }

    .concept-card:nth-child(n),
    .concept-package:nth-child(n) {
        transform: none;
    }

    .concept-hero,
    .concept-section,
    .concept-feature,
    .concept-cta {
        padding: 68px 22px;
    }

    .concept-page h1 {
        font-size: 3.1rem;
    }

    .concept-page h2 {
        font-size: 2.3rem;
    }

    .concept-hero {
        min-height: auto;
    }

    .concept-visual img {
        height: 420px;
    }

    .concept-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 22px;
    }
}

@media (max-width: 560px) {
    .concept-actions,
    .concept-button {
        width: 100%;
    }

    .concept-header {
        padding: 12px 14px;
    }

    .concept-back {
        font-size: 0;
        min-width: 78px;
        padding: 9px 11px;
    }

    .concept-back::after {
        content: "Portfolio";
        font-size: 0.88rem;
    }

    .concept-button {
        justify-content: center;
    }

    .concept-page h1 {
        font-size: 2.45rem;
    }

    .concept-page h2 {
        font-size: 1.95rem;
    }

    .concept-hero,
    .concept-section,
    .concept-feature,
    .concept-cta {
        padding: 58px 18px;
    }

    .concept-visual {
        padding: 14px;
    }

    .concept-visual img {
        height: 300px;
    }
}
