:root {
    --bg: #f7f4ef;
    --bg-2: #efe9df;
    --surface: rgba(255, 255, 255, .84);
    --surface-solid: #ffffff;
    --surface-soft: #fbfaf7;
    --text: #111827;
    --heading: #0b1220;
    --muted: #64748b;
    --border: rgba(17, 24, 39, .10);
    --accent: #6d4aff;
    --accent-2: #ff7a59;
    --accent-dark: #4c35c7;
    --accent-soft: rgba(109, 74, 255, .12);
    --green-soft: rgba(16, 185, 129, .14);
    --shadow: 0 28px 80px rgba(15, 23, 42, .10);
    --shadow-soft: 0 14px 38px rgba(15, 23, 42, .07);
    --radius: 28px;
    --radius-lg: 38px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 12% 4%, rgba(109, 74, 255, .18), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(255, 122, 89, .16), transparent 28%),
        linear-gradient(135deg, var(--bg), #fbfaf7 42%, var(--bg-2));
    color: var(--text);
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .32;
    background-image:
        linear-gradient(rgba(17, 24, 39, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 24, 39, .05) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 70%);
    z-index: -1;
}

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

img {
    max-width: 100%;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 14px 0;
    background: rgba(247, 244, 239, .72);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(17, 24, 39, .06);
}

.nav-wrap {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 8px 10px 8px 14px;
    border: 1px solid rgba(255, 255, 255, .74);
    border-radius: 999px;
    background: rgba(255, 255, 255, .56);
    box-shadow: 0 16px 46px rgba(15, 23, 42, .06);
}

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

.brand-mark,
.brand-logo {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--heading), #273145);
    color: white;
    font-weight: 900;
    letter-spacing: -.08em;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .18);
    overflow: hidden;
}

.brand-logo {
    background: var(--surface-solid);
    border: 1px solid var(--border);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
}

.brand-text {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.brand-text strong {
    color: var(--heading);
    font-weight: 900;
    letter-spacing: -.04em;
    white-space: nowrap;
}

.brand-text small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.site-nav a {
    position: relative;
    padding: 11px 14px;
    border-radius: 999px;
    color: #334155;
    font-weight: 800;
    font-size: 13px;
    transition: .18s ease;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(109, 74, 255, .10);
    color: var(--accent-dark);
}

.nav-cta {
    color: white !important;
    background: linear-gradient(135deg, var(--heading), #293247) !important;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .14);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 16px;
    background: var(--heading);
    cursor: pointer;
    padding: 14px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: white;
    border-radius: 999px;
}

.hero {
    padding: 88px 0 74px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: 36px;
    align-items: center;
}

.hero-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 1040px;
}

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

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

.hero-single .hero-copy p {
    max-width: 760px;
}

.hero-single .hero-actions {
    margin-top: 34px;
}


.hero-copy {
    position: relative;
}

.hero-copy::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: 8%;
    top: -42px;
    border-radius: 999px;
    background: rgba(255, 122, 89, .16);
    filter: blur(6px);
    z-index: -1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-dark);
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
    font-size: 12px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(109, 74, 255, .10);
}

.hero-copy h1,
.page-hero h1 {
    max-width: 900px;
    font-size: clamp(44px, 7vw, 88px);
    line-height: .92;
    letter-spacing: -.08em;
    margin: 18px 0 24px;
    color: var(--heading);
}

.hero-copy p {
    font-size: 19px;
    color: var(--muted);
    max-width: 690px;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    padding: 13px 21px;
    font-weight: 900;
    border: 1px solid transparent;
    transition: .18s ease;
}

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

.button.primary {
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: white;
    box-shadow: 0 18px 46px rgba(109, 74, 255, .27);
}

.button.primary:hover {
    box-shadow: 0 22px 54px rgba(109, 74, 255, .34);
}

.button.secondary {
    background: rgba(255, 255, 255, .70);
    border-color: rgba(17, 24, 39, .10);
    box-shadow: var(--shadow-soft);
}

.hero-card,
.card,
.info-panel {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-card {
    padding: 34px;
    min-height: 450px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-card::before,
.hero-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    z-index: -1;
}

.hero-card::before {
    inset: -120px -100px auto auto;
    width: 290px;
    height: 290px;
    background: rgba(109, 74, 255, .16);
}

.hero-card::after {
    left: -80px;
    bottom: -100px;
    width: 240px;
    height: 240px;
    background: rgba(255, 122, 89, .13);
}

.hero-initials {
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    border-radius: 34px;
    background: linear-gradient(135deg, var(--heading), #2c3650);
    color: white;
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -.08em;
    box-shadow: 0 24px 46px rgba(15, 23, 42, .20);
}

.hero-card h2 {
    margin: 28px 0 6px;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -.05em;
}

.hero-card p {
    color: var(--muted);
    font-weight: 600;
}

.hero-card ul,
.check-list {
    padding-left: 0;
    list-style: none;
}

.hero-card li,
.check-list li {
    margin: 12px 0;
    padding-left: 32px;
    position: relative;
    font-weight: 650;
}

.hero-card li::before,
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--green-soft);
    color: #059669;
    font-size: 13px;
    font-weight: 900;
}

.section {
    padding: 82px 0;
}

.section.muted {
    background: rgba(255, 255, 255, .35);
    border-block: 1px solid rgba(17, 24, 39, .06);
    backdrop-filter: blur(12px);
}

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

.section-heading h2 {
    max-width: 790px;
    font-size: clamp(31px, 4.3vw, 54px);
    line-height: 1.03;
    letter-spacing: -.06em;
    margin: 12px 0 0;
    color: var(--heading);
}

.section-heading.row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.cards {
    display: grid;
    gap: 22px;
}

.cards.three {
    grid-template-columns: repeat(3, 1fr);
}

.cards.two {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    padding: 28px;
    transition: .18s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 34px 90px rgba(15, 23, 42, .13);
}

.card h2,
.card h3 {
    margin-top: 10px;
    line-height: 1.15;
    letter-spacing: -.045em;
    color: var(--heading);
}

.card p {
    color: #475569;
    font-weight: 500;
}

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

.pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 900;
}

.text-link {
    display: inline-flex;
    margin-top: 12px;
    color: var(--accent-dark);
    font-weight: 900;
}

.text-link:hover {
    color: var(--accent);
}

.info-panel {
    padding: 28px;
}

.doc-link {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(17, 24, 39, .08);
}

.doc-link:last-child {
    border-bottom: 0;
}

.doc-link span {
    font-weight: 900;
}

.doc-link small {
    color: var(--muted);
    font-weight: 650;
}

.page-hero {
    padding: 86px 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(109, 74, 255, .18), transparent 34%),
        radial-gradient(circle at 90% 0%, rgba(255, 122, 89, .18), transparent 30%),
        rgba(255, 255, 255, .36);
    border-bottom: 1px solid rgba(17, 24, 39, .07);
    backdrop-filter: blur(12px);
}

.page-hero p {
    max-width: 780px;
    color: var(--muted);
    font-size: 18px;
    font-weight: 550;
}

.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
    align-items: start;
}

.content-narrow {
    max-width: 900px;
}

.mt {
    margin-top: 30px;
}

.timeline {
    display: grid;
    gap: 22px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 22px;
    align-items: start;
}

.timeline-date {
    color: var(--accent-dark);
    font-weight: 900;
    padding-top: 25px;
}

.timeline-content {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.empty-state {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, .70);
    border: 1px dashed rgba(17, 24, 39, .14);
    border-radius: var(--radius);
    padding: 38px;
    text-align: center;
}

.document-card {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-line {
    display: grid;
    gap: 7px;
}

.form-line label {
    font-weight: 850;
}

.form-line input,
.form-line textarea {
    width: 100%;
    border: 1px solid rgba(17, 24, 39, .10);
    border-radius: 18px;
    padding: 14px 15px;
    font: inherit;
    background: rgba(255, 255, 255, .78);
    color: var(--text);
    transition: .18s ease;
}

.form-line input:focus,
.form-line textarea:focus {
    outline: none;
    border-color: rgba(109, 74, 255, .55);
    box-shadow: 0 0 0 5px rgba(109, 74, 255, .10);
}

.form-line textarea {
    min-height: 160px;
    resize: vertical;
}

.field-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-weight: 800;
}

.alert.success {
    background: #dcfce7;
    color: #166534;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
}

.brand-logo,
.footer-logo {
    object-fit: contain;
}

.footer-logo {
    max-width: 98px;
    max-height: 62px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    padding: 8px;
    margin-bottom: 14px;
}

.mini-brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 18px;
    background: white;
    border: 1px solid var(--border);
    padding: 8px;
    margin-bottom: 12px;
}

.project-list-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--surface-solid, #ffffff);
}

.project-card-cover {
    min-height: 225px;
    display: flex;
    align-items: flex-end;
    flex: 0 0 auto;
    padding: 24px;
    background-size: cover;
    background-position: center;
}

.project-card-cover.no-image {
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--project-accent) 26%, transparent), transparent 42%),
        var(--project-bg, #ffffff);
}

.project-card-cover img,
.project-card-cover span {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: white;
    color: var(--project-accent);
    border: 1px solid rgba(255,255,255,.5);
    padding: 11px;
    font-weight: 950;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .18);
}

.project-card-body {
    padding: 28px;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    background: var(--surface-solid, #ffffff);
}

.project-card-body .text-link {
    margin-top: auto;
    padding-top: 12px;
}

.project-card-body h2 a:hover {
    color: var(--project-accent);
}

.project-detail-hero {
    min-height: 590px;
    display: flex;
    align-items: center;
    background-color: var(--project-bg, #f6f3ee);
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
}

.project-detail-hero:not([style*="background-image"]) {
    color: var(--text);
    background:
        radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--project-accent) 22%, transparent), transparent 34%),
        var(--project-bg);
}

.project-detail-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 44px;
    align-items: center;
    padding: 78px 0;
}

.project-detail-hero h1 {
    max-width: 850px;
    font-size: clamp(44px, 7vw, 82px);
    line-height: .92;
    letter-spacing: -.075em;
    margin: 18px 0;
}

.project-detail-hero p {
    max-width: 760px;
    font-size: 18px;
    font-weight: 550;
}

.project-back-link {
    display: inline-flex;
    margin-bottom: 18px;
    font-weight: 900;
    opacity: .92;
}

.project-meta-line {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-meta-line span {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(12px);
    font-size: 13px;
    font-weight: 900;
}

.project-detail-hero:not([style*="background-image"]) .project-meta-line span {
    background: white;
    color: var(--project-accent);
}

.project-client {
    font-weight: 900;
    color: inherit !important;
    opacity: .88;
}

.project-brand-card {
    min-height: 280px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 8px;
    border-radius: 32px;
    padding: 32px;
    background: rgba(255, 255, 255, .88);
    color: var(--text);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.project-brand-card img,
.project-brand-card span {
    width: 136px;
    height: 136px;
    object-fit: contain;
    display: grid;
    place-items: center;
    border-radius: 30px;
    background: white;
    border: 1px solid var(--border);
    padding: 15px;
    color: var(--project-accent);
    font-size: 38px;
    font-weight: 950;
}

.project-brand-card strong,
.project-brand-card small {
    display: block;
}

.project-brand-card small {
    color: var(--muted);
}

.project-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
    align-items: start;
}

.project-rich-content,
.project-side-info {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 32px;
    backdrop-filter: blur(18px);
}

.project-rich-content h2,
.project-rich-content h3 {
    letter-spacing: -.04em;
    color: var(--heading);
}

.project-rich-content blockquote {
    border-left: 4px solid var(--accent);
    margin: 24px 0;
    padding: 12px 0 12px 20px;
    color: var(--muted);
    background: rgba(255, 255, 255, .54);
    border-radius: 0 18px 18px 0;
}

.project-rich-content a {
    color: var(--accent-dark);
    font-weight: 850;
}

.project-side-info {
    position: sticky;
    top: 112px;
}

.project-side-info dl {
    display: grid;
    gap: 13px;
    margin: 18px 0 24px;
}

.project-side-info dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.project-side-info dd {
    margin: 0;
    font-weight: 850;
}

.site-footer {
    position: relative;
    overflow: hidden;
    background: #090d18;
    color: white;
    padding-top: 66px;
}

.footer-glow {
    position: absolute;
    inset: -140px -80px auto auto;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: rgba(109, 74, 255, .30);
    filter: blur(8px);
}

.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.35fr .65fr .85fr 1fr;
    gap: 34px;
    align-items: start;
}

.footer-brand-block p,
.footer-links a,
.footer-cta-card p,
.footer-bottom {
    color: #cbd5e1;
}

.footer-brand-block h2,
.footer-links h3,
.footer-cta-card h3 {
    color: white;
    letter-spacing: -.04em;
}

.footer-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    font-weight: 950;
    margin-bottom: 14px;
}

.footer-links a {
    display: block;
    margin: 9px 0;
    font-weight: 700;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: white;
}

.footer-cta-card {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .10);
}

.footer-button {
    background: white;
    color: #090d18;
    margin-top: 6px;
}

.footer-preferences {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-control-group {
    display: grid;
    gap: 6px;
}

.footer-control-label {
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-select {
    position: relative;
    width: min(100%, 168px);
}

.footer-select summary {
    list-style: none;
}

.footer-select summary::-webkit-details-marker {
    display: none;
}

.footer-select-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 38px;
    padding: 9px 12px 9px 14px;
    border-radius: 999px;
    color: #f8fafc;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .055)),
        rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .15);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .12),
        0 12px 30px rgba(0, 0, 0, .13);
    cursor: pointer;
    user-select: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.footer-select-trigger:hover,
.footer-select[open] .footer-select-trigger {
    border-color: rgba(255, 255, 255, .28);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .075)),
        rgba(255, 255, 255, .10);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        0 16px 38px rgba(0, 0, 0, .18);
    transform: translateY(-1px);
}

.footer-select-current {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .02em;
    line-height: 1;
}

.footer-select-chevron {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
}

.footer-select-chevron::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 45%;
    width: 7px;
    height: 7px;
    border-right: 2px solid rgba(248, 250, 252, .88);
    border-bottom: 2px solid rgba(248, 250, 252, .88);
    transform: translate(-50%, -55%) rotate(45deg);
    transition: transform .18s ease, top .18s ease;
}

.footer-select[open] .footer-select-chevron::before {
    top: 57%;
    transform: translate(-50%, -50%) rotate(225deg);
}

.footer-select-menu {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 30;
    display: grid;
    gap: 4px;
    min-width: 100%;
    padding: 6px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .97), rgba(15, 23, 42, .88)),
        #0f172a;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
    backdrop-filter: blur(24px) saturate(1.55);
    -webkit-backdrop-filter: blur(24px) saturate(1.55);
    transform-origin: bottom;
    animation: footerSelectIn .16s ease both;
}

@keyframes footerSelectIn {
    from {
        opacity: 0;
        transform: translateY(7px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.footer-select-option {
    appearance: none;
    -webkit-appearance: none;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 38px;
    margin: 0 !important;
    padding: 10px 11px !important;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: #cbd5e1 !important;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-align: left;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.footer-select-option:hover,
.footer-select-option.active {
    color: #fff !important;
    background: rgba(255, 255, 255, .12) !important;
    transform: translateX(2px);
}

.footer-select-option > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.footer-select-check {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    color: #0f172a;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 950;
}


.footer-bottom {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 42px;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
}

@media (max-width: 1020px) {
    .site-header {
        padding: 10px 0;
    }

    .nav-wrap {
        border-radius: 26px;
        align-items: center;
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-toggle span {
        width: 20px;
    }

    .site-nav {
        position: absolute;
        top: 92px;
        left: 20px;
        right: 20px;
        flex-direction: column;
        align-items: stretch;
        background: rgba(255, 255, 255, .92);
        border: 1px solid rgba(17, 24, 39, .08);
        border-radius: 24px;
        padding: 14px;
        box-shadow: var(--shadow);
        backdrop-filter: blur(22px);
        display: none;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 13px 15px;
    }

    .hero-grid,
    .split,
    .cards.three,
    .cards.two,
    .footer-grid,
    .timeline-item,
    .project-detail-grid,
    .project-content-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 58px;
    }

    .section-heading.row,
    .footer-bottom {
        align-items: start;
        flex-direction: column;
    }

    .project-side-info {
        position: static;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .brand-text small {
        display: none;
    }

    .hero-copy h1,
    .page-hero h1,
    .project-detail-hero h1 {
        letter-spacing: -.06em;
    }

    .hero-card,
    .card,
    .info-panel,
    .project-rich-content,
    .project-side-info {
        border-radius: 24px;
    }

    .section {
        padding: 62px 0;
    }
}


.footer-bottom:has(span:only-child) {
    justify-content: center;
    text-align: center;
}


.footer-grid-clean {
    grid-template-columns: 1.35fr .65fr .8fr .9fr;
}

.contact-page-wrap {
    max-width: 760px;
}

.contact-form-card {
    padding: 34px;
}

.contact-form-card .contact-form {
    margin-top: 22px;
}

@media (max-width: 1020px) {
    .footer-grid-clean {
        grid-template-columns: 1fr;
    }

    .footer-select {
        width: min(100%, 220px);
    }

    .footer-select-menu {
        bottom: auto;
        top: calc(100% + 8px);
        transform-origin: top;
    }
}


/* Ana sayfa - öne çıkan çalışmalar kartları */
.featured-work-section {
    position: relative;
}

.featured-work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.featured-work-card {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 12% 0%, rgba(109, 74, 255, .10), transparent 36%),
        rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .78);
    box-shadow: 0 28px 78px rgba(15, 23, 42, .09);
    backdrop-filter: blur(18px);
    transition: transform .18s ease, box-shadow .18s ease;
}

.featured-work-card::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -82px;
    top: -82px;
    border-radius: 999px;
    background: rgba(109, 74, 255, .10);
}

.featured-work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 36px 92px rgba(15, 23, 42, .13);
}

.work-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.work-card-logo {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(17, 24, 39, .08);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.work-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 9px;
}

.work-card-logo span {
    color: var(--accent-dark);
    font-weight: 950;
    letter-spacing: -.08em;
}

.work-card-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 0;
}

.status-badge,
.date-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
}

.status-badge {
    padding: 8px 11px;
}

.status-badge.is-ongoing {
    color: #92400e;
    background: #fffbeb;
    box-shadow: inset 0 0 0 1px rgba(217, 119, 6, .12);
}

.status-badge.is-completed {
    color: #166534;
    background: #dcfce7;
    box-shadow: inset 0 0 0 1px rgba(22, 101, 52, .12);
}

.date-badge {
    padding: 7px 10px;
    color: var(--accent-dark);
    background: rgba(109, 74, 255, .10);
}

.work-card-body {
    position: relative;
    z-index: 1;
}

.work-card-client {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.work-card-body h3 {
    margin: 0 0 14px;
    color: var(--heading);
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.12;
    letter-spacing: -.055em;
}

.work-card-body h3 a:hover {
    color: var(--accent-dark);
}

.work-card-body p {
    margin: 0;
    color: #526176;
    font-weight: 560;
}

.work-card-link {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 13px 15px 13px 18px;
    border-radius: 18px;
    color: var(--heading);
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(17, 24, 39, .08);
    font-weight: 950;
    transition: .18s ease;
}

.work-card-link strong {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: white;
    background: var(--accent);
}

.work-card-link:hover {
    transform: translateY(-2px);
    background: white;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .09);
}

@media (max-width: 1020px) {
    .featured-work-grid {
        grid-template-columns: 1fr;
    }

    .featured-work-card {
        min-height: auto;
    }
}

@media (max-width: 560px) {
    .featured-work-card {
        padding: 22px;
        border-radius: 28px;
    }

    .work-card-head {
        flex-direction: column;
    }

    .work-card-badges {
        align-items: flex-start;
        width: 100%;
    }

    .status-badge,
    .date-badge {
        white-space: normal;
    }
}


/* Düzeltme: mobil menü butonu oranı */
.nav-toggle {
    position: relative;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.nav-toggle span {
    width: 21px;
    height: 2px;
    display: block;
    position: absolute;
    left: 50%;
    border-radius: 999px;
    background: #ffffff;
    transform: translateX(-50%);
    transition: transform .18s ease, opacity .18s ease, top .18s ease;
    margin: 0;
}

.nav-toggle span:nth-child(1) {
    top: 15px;
}

.nav-toggle span:nth-child(2) {
    top: 22px;
}

.nav-toggle span:nth-child(3) {
    top: 29px;
}

.nav-toggle.open span:nth-child(1) {
    top: 22px;
    transform: translateX(-50%) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    top: 22px;
    transform: translateX(-50%) rotate(-45deg);
}

/* Düzeltme: ana sayfa öne çıkan çalışmalar */
.featured-work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.featured-work-card {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: 34px;
    color: var(--work-text, var(--heading));
    background:
        radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--work-text, #111827) 10%, transparent), transparent 38%),
        var(--work-bg, rgba(255, 255, 255, .90));
    border: 1px solid rgba(17, 24, 39, .07);
    box-shadow: 0 28px 78px rgba(15, 23, 42, .09);
    backdrop-filter: blur(18px);
    transition: transform .18s ease, box-shadow .18s ease;
}

.featured-work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 36px 92px rgba(15, 23, 42, .13);
}

.featured-work-card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -78px;
    top: -78px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--work-text, #111827) 12%, transparent);
    pointer-events: none;
}

.work-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.work-card-logo {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(17, 24, 39, .08);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.work-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 9px;
}

.work-card-logo span {
    color: var(--work-text, var(--accent-dark));
    font-weight: 950;
    letter-spacing: -.08em;
}

.work-card-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 0;
}

.status-badge,
.date-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
}

.status-badge {
    padding: 8px 11px;
}

.status-badge.is-ongoing {
    color: #92400e;
    background: #fffbeb;
    box-shadow: inset 0 0 0 1px rgba(217, 119, 6, .12);
}

.status-badge.is-completed {
    color: #166534;
    background: #dcfce7;
    box-shadow: inset 0 0 0 1px rgba(22, 101, 52, .12);
}

.date-badge {
    padding: 7px 10px;
    color: var(--work-text, var(--accent-dark));
    background: color-mix(in srgb, var(--work-text, #111827) 10%, white);
}

.work-card-body {
    position: relative;
    z-index: 1;
}

.work-card-client {
    margin: 0 0 10px;
    color: color-mix(in srgb, var(--work-text, #111827) 72%, white);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.work-card-body h3 {
    margin: 0 0 14px;
    color: var(--work-text, var(--heading));
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.12;
    letter-spacing: -.055em;
}

.work-card-body h3 a {
    color: inherit;
}

.work-card-body p {
    margin: 0;
    color: color-mix(in srgb, var(--work-text, #111827) 78%, white);
    font-weight: 560;
}

.work-card-link {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 13px 15px 13px 18px;
    border-radius: 18px;
    color: var(--work-text, var(--heading));
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(17, 24, 39, .08);
    font-weight: 950;
    transition: .18s ease;
}

.work-card-link strong {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: white;
    background: var(--work-text, var(--accent));
}

.work-card-link:hover {
    transform: translateY(-2px);
    background: white;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .09);
}

/* Eski mini logo / card kurallarının yeni kartı bozmasını engelle */
.featured-work-card.card {
    padding: 26px;
}

/* Mobil görünüm */
@media (max-width: 1020px) {
    .nav-toggle {
        display: flex;
    }

    .featured-work-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .featured-work-card {
        min-height: auto;
        border-radius: 30px;
        padding: 24px;
    }
}

@media (max-width: 560px) {
    .featured-work-grid {
        width: min(100% - 28px, var(--container));
    }

    .featured-work-card {
        padding: 22px;
        border-radius: 28px;
        gap: 20px;
    }

    .work-card-head {
        align-items: flex-start;
        flex-direction: row;
    }

    .work-card-logo {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        border-radius: 18px;
    }

    .work-card-badges {
        align-items: flex-end;
        max-width: calc(100% - 76px);
    }

    .status-badge,
    .date-badge {
        white-space: normal;
        text-align: right;
        line-height: 1.25;
    }

    .work-card-body h3 {
        font-size: 24px;
    }

    .work-card-link {
        border-radius: 16px;
    }
}


/* Final düzeltme: öne çıkan kart renkleri ve logo hizası */
.featured-work-section .featured-work-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch !important;
}

.featured-work-section .featured-work-card {
    color: var(--work-text, #111827) !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .14), transparent 38%),
        var(--work-bg, #ffffff) !important;
    border: 1px solid rgba(17, 24, 39, .08) !important;
    min-height: 390px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
}

.featured-work-section .featured-work-card::before {
    background: rgba(255, 255, 255, .12) !important;
}

.featured-work-section .work-card-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
    overflow: hidden !important;
}

.featured-work-section .work-card-logo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 9px !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

.featured-work-section .work-card-logo span {
    color: var(--work-text, #111827) !important;
}

.featured-work-section .work-card-client,
.featured-work-section .work-card-body h3,
.featured-work-section .work-card-body h3 a,
.featured-work-section .work-card-body p,
.featured-work-section .work-card-link,
.featured-work-section .work-card-link span {
    color: var(--work-text, #111827) !important;
}

.featured-work-section .work-card-client {
    opacity: .72 !important;
}

.featured-work-section .work-card-body p {
    opacity: .82 !important;
}

.featured-work-section .status-badge,
.featured-work-section .date-badge {
    color: var(--work-text, #111827) !important;
    background: rgba(255, 255, 255, .28) !important;
    border: 1px solid rgba(255, 255, 255, .30) !important;
    box-shadow: none !important;
}

.featured-work-section .status-badge.is-ongoing,
.featured-work-section .status-badge.is-completed {
    color: var(--work-text, #111827) !important;
    background: rgba(255, 255, 255, .28) !important;
}

.featured-work-section .work-card-link {
    background: rgba(255, 255, 255, .22) !important;
    border-color: rgba(255, 255, 255, .28) !important;
}

.featured-work-section .work-card-link strong {
    background: var(--work-text, #111827) !important;
    color: var(--work-bg, #ffffff) !important;
}

/* Final düzeltme: çalışma detay sayfasında seçilen kart yazı rengi */
.project-detail-hero {
    color: var(--project-text, #111827) !important;
}

.project-detail-hero h1,
.project-detail-hero p,
.project-detail-hero a,
.project-detail-hero .project-client,
.project-detail-hero .project-back-link {
    color: var(--project-text, #111827) !important;
}

.project-detail-hero .project-meta-line span {
    color: var(--project-text, #111827) !important;
    background: rgba(255, 255, 255, .22) !important;
    border: 1px solid rgba(255, 255, 255, .28) !important;
    box-shadow: none !important;
}

.project-detail-hero .project-brand-card {
    color: #111827 !important;
}

.project-detail-hero .project-brand-card strong {
    color: #111827 !important;
}

.project-detail-hero .project-brand-card small {
    color: #64748b !important;
}

.project-detail-hero .project-brand-card img {
    display: block !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 !important;
}

/* Final düzeltme: mobil kart görünümü */
@media (max-width: 1020px) {
    .featured-work-section .featured-work-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .featured-work-section .featured-work-card {
        min-height: auto !important;
    }
}

@media (max-width: 560px) {
    .featured-work-section .featured-work-card {
        padding: 22px !important;
        border-radius: 28px !important;
    }

    .featured-work-section .work-card-head {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 14px !important;
    }

    .featured-work-section .work-card-logo {
        width: 58px !important;
        height: 58px !important;
        flex: 0 0 58px !important;
    }

    .featured-work-section .work-card-badges {
        align-items: flex-end !important;
        max-width: calc(100% - 72px) !important;
    }

    .featured-work-section .status-badge,
    .featured-work-section .date-badge {
        white-space: normal !important;
        text-align: right !important;
        line-height: 1.25 !important;
    }
}



/* Final tipografi düzeltmesi: H1 harf ve satır aralıkları */
.hero-copy h1,
.page-hero h1,
.project-detail-hero h1 {
    letter-spacing: -0.045em !important;
    line-height: 1.08 !important;
    text-wrap: balance;
}

.hero-copy h1 {
    font-size: clamp(42px, 6.2vw, 76px) !important;
    max-width: 1080px;
}

.page-hero h1 {
    font-size: clamp(40px, 6.4vw, 78px) !important;
    max-width: 1120px;
}

.project-detail-hero h1 {
    font-size: clamp(40px, 6.5vw, 76px) !important;
    line-height: 1.06 !important;
    max-width: 1120px;
}

.section-heading h2 {
    letter-spacing: -0.035em !important;
    line-height: 1.12 !important;
}

.card h2,
.card h3,
.info-panel h2,
.timeline-content h2,
.project-rich-content h2,
.project-rich-content h3 {
    letter-spacing: -0.025em !important;
    line-height: 1.18 !important;
}

@media (max-width: 760px) {
    .hero-copy h1,
    .page-hero h1,
    .project-detail-hero h1 {
        letter-spacing: -0.032em !important;
        line-height: 1.12 !important;
    }

    .hero-copy h1 {
        font-size: clamp(38px, 12vw, 58px) !important;
    }

    .page-hero h1 {
        font-size: clamp(38px, 12vw, 60px) !important;
    }

    .project-detail-hero h1 {
        font-size: clamp(38px, 12vw, 60px) !important;
    }
}

@media (max-width: 480px) {
    .hero-copy h1,
    .page-hero h1,
    .project-detail-hero h1 {
        letter-spacing: -0.024em !important;
        line-height: 1.15 !important;
    }

    .hero-copy h1,
    .page-hero h1,
    .project-detail-hero h1 {
        font-size: clamp(34px, 11vw, 48px) !important;
    }
}



/* Logo kutusu düzeltmesi: public header'da arka plan/çerçeve yok */
.brand-logo {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.brand-logo img {
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* Footer logo da ekstra çerçevesiz kullanılsın */
.footer-logo {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}


.hero-copy > .eyebrow:first-child {
    display: none !important;
}



/* Footer logo şekil düzeltmesi: yuvarlak/kutu yok */
.site-footer .footer-logo,
.site-footer .footer-brand-block .footer-logo {
    border-radius: 0 !important;
    clip-path: none !important;
    mask-image: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.site-footer .footer-logo img {
    border-radius: 0 !important;
    clip-path: none !important;
}



/* Ana sayfa profil/belge kart eşitlemesi */
.profile-home-card,
.documents-home-card {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.profile-home-card:hover,
.documents-home-card:hover,
.info-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 34px 90px rgba(15, 23, 42, .13);
}

.profile-home-card .eyebrow,
.documents-home-card .eyebrow,
.info-panel .eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--accent-dark) !important;
    background: rgba(109, 74, 255, .10) !important;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.documents-home-card {
    background: var(--surface) !important;
    border: 1px solid rgba(255, 255, 255, .78) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow) !important;
    backdrop-filter: blur(18px);
}

.documents-home-card:hover {
    box-shadow: 0 34px 90px rgba(15, 23, 42, .13) !important;
}

.split {
    align-items: stretch;
}

.split > .card,
.split > .info-panel {
    height: 100%;
}



/* Hakkımda sayfası üst kart eşitlemesi */
.about-main-card {
    max-width: none;
    padding: 28px !important;
    border-radius: var(--radius-lg) !important;
    background: var(--surface) !important;
    border: 1px solid rgba(255, 255, 255, .78) !important;
    box-shadow: var(--shadow) !important;
    backdrop-filter: blur(18px);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.about-main-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 34px 90px rgba(15, 23, 42, .13) !important;
}

.about-main-card .eyebrow,
.content-narrow .cards .card .eyebrow,
.content-narrow .card .eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--accent-dark) !important;
    background: rgba(109, 74, 255, .10) !important;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.about-main-card h2 {
    margin-top: 14px;
    letter-spacing: -0.025em !important;
    line-height: 1.18 !important;
}

.about-main-card p:not(.eyebrow) {
    color: #475569;
    font-weight: 500;
}

@media (max-width: 560px) {
    .about-main-card {
        padding: 24px !important;
        border-radius: 24px !important;
    }
}



/* 2026 konsolide düzeltmeler: premium durum, komşu çalışma, 404 ve performans odaklı son katman */
.status-badge.is-ongoing.live-status::before,
.project-meta-line .live-status::before {
    content: "";
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-right: 8px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 0 currentColor;
    animation: livePulse 1.8s ease-out infinite;
}

@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 38%, transparent); }
    70% { box-shadow: 0 0 0 8px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.project-neighbor-section {
    padding-top: 0;
}

.project-neighbor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.project-neighbor-card {
    display: grid;
    gap: 8px;
    min-height: 140px;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.78);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    transition: transform .18s ease, box-shadow .18s ease;
}

.project-neighbor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 34px 90px rgba(15, 23, 42, .13);
}

.project-neighbor-card.next {
    text-align: right;
}

.project-neighbor-card span {
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .10em;
}

.project-neighbor-card strong {
    color: var(--heading);
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.not-found-hero .hero-actions {
    margin-top: 28px;
}

@media (max-width: 760px) {
    .project-neighbor-grid {
        grid-template-columns: 1fr;
    }

    .project-neighbor-card.next {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .status-badge.is-ongoing.live-status::before,
    .project-meta-line .live-status::before {
        animation: none;
    }
}



/* iOS liquid glass header */
.liquid-header {
    position: sticky !important;
    top: 0;
    z-index: 80;
    padding: 16px 0;
    background: linear-gradient(180deg, rgba(247, 244, 239, .54), rgba(247, 244, 239, .18)) !important;
    border-bottom: 0 !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: padding .22s ease, background .22s ease, box-shadow .22s ease;
}

.liquid-header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 0%, rgba(109, 74, 255, .12), transparent 28%),
        radial-gradient(circle at 90% 0%, rgba(255, 122, 89, .10), transparent 30%);
    opacity: .8;
    transition: opacity .22s ease;
}

.liquid-header.is-scrolled {
    padding: 10px 0;
    background: linear-gradient(180deg, rgba(247, 244, 239, .42), rgba(247, 244, 239, .08)) !important;
}

.liquid-header.is-scrolled::before {
    opacity: .42;
}

.liquid-nav-wrap {
    position: relative;
    isolation: isolate;
    min-height: 70px;
    padding: 9px 12px 9px 15px;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .54), rgba(255, 255, 255, .24)),
        rgba(255, 255, 255, .24) !important;
    border: 1px solid rgba(255, 255, 255, .56) !important;
    box-shadow:
        0 18px 60px rgba(15, 23, 42, .08),
        inset 0 1px 0 rgba(255, 255, 255, .72),
        inset 0 -1px 0 rgba(255, 255, 255, .24);
    backdrop-filter: blur(28px) saturate(1.65);
    -webkit-backdrop-filter: blur(28px) saturate(1.65);
    overflow: visible;
    transition:
        min-height .22s ease,
        padding .22s ease,
        border-color .22s ease,
        box-shadow .22s ease,
        background .22s ease,
        transform .22s ease;
}

.liquid-nav-wrap::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .62), transparent 33%),
        radial-gradient(circle at 84% 18%, rgba(255, 255, 255, .32), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,.38), transparent 44%);
    pointer-events: none;
}

.liquid-nav-wrap::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 5px;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent);
    pointer-events: none;
}

.liquid-header.is-scrolled .liquid-nav-wrap {
    min-height: 60px;
    padding: 6px 10px 6px 13px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .30)),
        rgba(255, 255, 255, .30) !important;
    border-color: rgba(255, 255, 255, .66) !important;
    box-shadow:
        0 16px 54px rgba(15, 23, 42, .11),
        inset 0 1px 0 rgba(255, 255, 255, .78),
        inset 0 -1px 0 rgba(255, 255, 255, .28);
}

.liquid-header .brand {
    position: relative;
    z-index: 2;
}

.liquid-header .brand-logo,
.liquid-header .brand-mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    transition: width .22s ease, height .22s ease, flex-basis .22s ease, transform .22s ease, box-shadow .22s ease;
}

.liquid-header.is-scrolled .brand-logo,
.liquid-header.is-scrolled .brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
}

.liquid-header .brand-logo {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.liquid-header .brand-logo img {
    padding: 0 !important;
    object-fit: contain;
    object-position: center;
}

.liquid-header .brand-text strong {
    color: rgba(15, 23, 42, .92);
}

.liquid-header .brand-text small {
    color: rgba(71, 85, 105, .78);
}

.liquid-header .site-nav {
    position: relative;
    z-index: 2;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.40);
    backdrop-filter: blur(16px) saturate(1.35);
    -webkit-backdrop-filter: blur(16px) saturate(1.35);
}

.liquid-header .site-nav a {
    color: rgba(30, 41, 59, .82);
    background: transparent;
    transition: color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.liquid-header .site-nav a:hover,
.liquid-header .site-nav a.active {
    color: var(--accent-dark);
    background: rgba(255, 255, 255, .48);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.72),
        0 8px 20px rgba(15, 23, 42, .055);
    transform: translateY(-1px);
}

.liquid-header .site-nav .nav-cta {
    color: white !important;
    background: linear-gradient(135deg, rgba(17, 24, 39, .92), rgba(41, 50, 71, .88)) !important;
    box-shadow:
        0 12px 26px rgba(15, 23, 42, .16),
        inset 0 1px 0 rgba(255,255,255,.15);
}

.liquid-header .nav-toggle {
    position: relative;
    z-index: 3;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, .92), rgba(41, 50, 71, .90)) !important;
    border: 1px solid rgba(255, 255, 255, .24);
    box-shadow:
        0 12px 26px rgba(15, 23, 42, .14),
        inset 0 1px 0 rgba(255,255,255,.15);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .liquid-header {
        background: rgba(247, 244, 239, .86) !important;
    }

    .liquid-nav-wrap {
        background: rgba(255,255,255,.88) !important;
    }
}

@media (max-width: 1020px) {
    .liquid-header {
        padding: 12px 0;
    }

    .liquid-nav-wrap {
        min-height: 64px;
        border-radius: 28px;
    }

    .liquid-header.is-scrolled .liquid-nav-wrap {
        min-height: 60px;
    }

    .liquid-header .site-nav {
        position: absolute;
        left: 12px;
        right: 12px;
        top: calc(100% + 10px);
        display: grid;
        gap: 7px;
        padding: 12px;
        border-radius: 26px;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .42)),
            rgba(255,255,255,.56);
        border: 1px solid rgba(255,255,255,.68);
        box-shadow:
            0 24px 70px rgba(15, 23, 42, .14),
            inset 0 1px 0 rgba(255,255,255,.72);
        backdrop-filter: blur(28px) saturate(1.7);
        -webkit-backdrop-filter: blur(28px) saturate(1.7);
    }

    .liquid-header .site-nav a {
        padding: 13px 14px;
        border-radius: 18px;
        background: rgba(255,255,255,.32);
    }

    .liquid-header .site-nav a:hover,
    .liquid-header .site-nav a.active {
        transform: none;
    }
}

@media (max-width: 560px) {
    .liquid-header .brand-text small {
        display: none;
    }

    .liquid-header .brand-text strong {
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .liquid-nav-wrap {
        border-radius: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .liquid-header,
    .liquid-nav-wrap,
    .liquid-header .brand-logo,
    .liquid-header .brand-mark,
    .liquid-header .site-nav a {
        transition: none !important;
    }
}



/* Liquid glass header final düzeltme: beyaz kapsülü cam yap */
.liquid-header {
    background: transparent !important;
    pointer-events: auto;
}

.liquid-header::before {
    background:
        linear-gradient(180deg, rgba(247, 244, 239, .34), rgba(247, 244, 239, .04)),
        radial-gradient(circle at 12% 0%, rgba(109, 74, 255, .10), transparent 28%),
        radial-gradient(circle at 90% 0%, rgba(255, 122, 89, .08), transparent 30%) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.liquid-nav-wrap {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .08)),
        rgba(255, 255, 255, .10) !important;
    border: 1px solid rgba(255, 255, 255, .34) !important;
    box-shadow:
        0 18px 60px rgba(15, 23, 42, .10),
        inset 0 1px 0 rgba(255, 255, 255, .50),
        inset 0 -1px 0 rgba(255, 255, 255, .12) !important;
    backdrop-filter: blur(34px) saturate(1.85);
    -webkit-backdrop-filter: blur(34px) saturate(1.85);
}

.liquid-nav-wrap::before {
    background:
        radial-gradient(circle at 16% 12%, rgba(255, 255, 255, .38), transparent 34%),
        radial-gradient(circle at 84% 18%, rgba(255, 255, 255, .16), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,.20), transparent 46%) !important;
}

.liquid-header.is-scrolled .liquid-nav-wrap {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, .12)),
        rgba(255, 255, 255, .12) !important;
    border-color: rgba(255, 255, 255, .40) !important;
    box-shadow:
        0 16px 54px rgba(15, 23, 42, .14),
        inset 0 1px 0 rgba(255, 255, 255, .54),
        inset 0 -1px 0 rgba(255, 255, 255, .14) !important;
}

/* Okunabilirlik */
.liquid-header .brand-text strong {
    color: rgba(9, 14, 28, .96) !important;
    text-shadow: 0 1px 14px rgba(255, 255, 255, .72);
}

.liquid-header .brand-text small {
    color: rgba(51, 65, 85, .82) !important;
    text-shadow: 0 1px 12px rgba(255, 255, 255, .65);
}

.liquid-header .site-nav {
    background: rgba(255, 255, 255, .10) !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.24),
        0 8px 24px rgba(15, 23, 42, .035) !important;
}

.liquid-header .site-nav a {
    color: rgba(15, 23, 42, .88) !important;
    text-shadow: 0 1px 12px rgba(255, 255, 255, .55);
}

.liquid-header .site-nav a:hover,
.liquid-header .site-nav a.active {
    color: #5b36d6 !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .42), rgba(255,255,255,.18)) !important;
    border: 1px solid rgba(255,255,255,.30);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.55),
        0 8px 20px rgba(15, 23, 42, .055) !important;
}

.liquid-header .site-nav .nav-cta {
    color: white !important;
    text-shadow: none !important;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, .94), rgba(35, 42, 60, .88)) !important;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow:
        0 12px 26px rgba(15, 23, 42, .18),
        inset 0 1px 0 rgba(255,255,255,.16) !important;
}

/* Logo alanı cam içinde kaybolmasın */
.liquid-header .brand-logo img {
    filter: drop-shadow(0 1px 10px rgba(255,255,255,.45));
}

/* Mobil menü de beyaz panel gibi değil cam panel gibi olsun */
@media (max-width: 1020px) {
    .liquid-header .site-nav {
        background:
            linear-gradient(135deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .16)),
            rgba(255,255,255,.12) !important;
        border: 1px solid rgba(255,255,255,.38) !important;
        box-shadow:
            0 24px 70px rgba(15, 23, 42, .18),
            inset 0 1px 0 rgba(255,255,255,.46) !important;
        backdrop-filter: blur(32px) saturate(1.85);
        -webkit-backdrop-filter: blur(32px) saturate(1.85);
    }

    .liquid-header .site-nav a {
        background: rgba(255,255,255,.16) !important;
        border: 1px solid rgba(255,255,255,.18);
    }

    .liquid-header .site-nav a.active {
        background: rgba(255,255,255,.36) !important;
    }
}



/* Liquid glass header son düzeltme: sadece kapsül cam, dış katman yok */
.liquid-header {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.liquid-header::before {
    display: none !important;
    content: none !important;
}

.liquid-nav-wrap {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .075)),
        rgba(255, 255, 255, .09) !important;
    border: 1px solid rgba(255, 255, 255, .34) !important;
    box-shadow:
        0 18px 58px rgba(15, 23, 42, .11),
        inset 0 1px 0 rgba(255, 255, 255, .54),
        inset 0 -1px 0 rgba(255, 255, 255, .10) !important;
    backdrop-filter: blur(34px) saturate(1.85) !important;
    -webkit-backdrop-filter: blur(34px) saturate(1.85) !important;
}

.liquid-header.is-scrolled .liquid-nav-wrap {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .10)),
        rgba(255, 255, 255, .10) !important;
    box-shadow:
        0 16px 54px rgba(15, 23, 42, .14),
        inset 0 1px 0 rgba(255, 255, 255, .58),
        inset 0 -1px 0 rgba(255, 255, 255, .12) !important;
}

/* Mobilde menü kesinlikle kapalı başlasın */
@media (max-width: 1020px) {
    .liquid-header .site-nav {
        display: none !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px) scale(.98);
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .liquid-header .site-nav.open {
        display: grid !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .liquid-header .nav-toggle {
        display: flex !important;
    }
}

/* Desktop'ta nav daima görünür */
@media (min-width: 1021px) {
    .liquid-header .site-nav {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }
}

/* Language switcher */
.site-nav .language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 4px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .30);
    border: 1px solid rgba(255, 255, 255, .42);
}

.site-nav .language-switcher a {
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1;
}

.site-nav .language-switcher a.active {
    background: rgba(17, 24, 39, .92) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}

@media (max-width: 1020px) {
    .site-nav .language-switcher {
        width: 100%;
        justify-content: stretch;
        margin-left: 0;
        background: rgba(255,255,255,.16);
    }

    .site-nav .language-switcher a {
        flex: 1;
        text-align: center;
    }
}

/* Header tek kapsül düzeltmesi: iç kapsül kaldırıldı, elementler doğrudan header içinde */
.site-header.liquid-header {
    position: sticky !important;
    top: 14px !important;
    z-index: 80;
    width: min(var(--container), calc(100% - 40px));
    min-height: 70px;
    margin: 14px auto 0;
    padding: 9px 12px 9px 15px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    isolation: isolate;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .075)),
        rgba(255, 255, 255, .09) !important;
    border: 1px solid rgba(255, 255, 255, .34) !important;
    box-shadow:
        0 18px 58px rgba(15, 23, 42, .11),
        inset 0 1px 0 rgba(255, 255, 255, .54),
        inset 0 -1px 0 rgba(255, 255, 255, .10) !important;
    backdrop-filter: blur(34px) saturate(1.85) !important;
    -webkit-backdrop-filter: blur(34px) saturate(1.85) !important;
    transition:
        top .22s ease,
        min-height .22s ease,
        padding .22s ease,
        box-shadow .22s ease,
        background .22s ease;
}

.site-header.liquid-header::before,
.site-header.liquid-header::after {
    display: none !important;
    content: none !important;
}

.site-header.liquid-header.is-scrolled {
    top: 10px !important;
    min-height: 60px;
    padding: 6px 10px 6px 13px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .10)),
        rgba(255, 255, 255, .10) !important;
    box-shadow:
        0 16px 54px rgba(15, 23, 42, .14),
        inset 0 1px 0 rgba(255, 255, 255, .58),
        inset 0 -1px 0 rgba(255, 255, 255, .12) !important;
}

.site-header.liquid-header .brand,
.site-header.liquid-header .nav-toggle,
.site-header.liquid-header .site-nav {
    position: relative;
    z-index: 2;
}

/* Menü artık ayrı bir kapsül değil; header'ın içinde doğrudan durur */
.site-header.liquid-header .site-nav {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.site-header.liquid-header .site-nav a:hover,
.site-header.liquid-header .site-nav a.active {
    border-color: transparent;
}

.site-header.liquid-header .site-nav .language-switcher {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

@media (max-width: 1020px) {
    .site-header.liquid-header {
        top: 10px !important;
        width: min(var(--container), calc(100% - 28px));
        min-height: 64px;
        margin-top: 10px;
        padding: 8px 10px 8px 13px !important;
        border-radius: 28px;
    }

    .site-header.liquid-header.is-scrolled {
        min-height: 60px;
    }

    .site-header.liquid-header .site-nav {
        left: 0;
        right: 0;
        top: calc(100% + 10px);
        padding: 12px !important;
        border-radius: 26px;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .16)),
            rgba(255,255,255,.12) !important;
        border: 1px solid rgba(255,255,255,.38) !important;
        box-shadow:
            0 24px 70px rgba(15, 23, 42, .18),
            inset 0 1px 0 rgba(255,255,255,.46) !important;
        backdrop-filter: blur(32px) saturate(1.85) !important;
        -webkit-backdrop-filter: blur(32px) saturate(1.85) !important;
    }

    .site-header.liquid-header .site-nav .language-switcher {
        background: transparent !important;
        border: 0 !important;
    }
}

@media (max-width: 560px) {
    .site-header.liquid-header {
        border-radius: 24px;
    }
}

/* Tema seçici */
.site-nav .theme-switcher {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 4px;
    padding: 0;
    border-radius: 999px;
    background: transparent;
    border: 0;
}

.site-nav .theme-switcher button {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    border-radius: 999px;
    padding: 8px 10px;
    background: transparent;
    color: rgba(15, 23, 42, .88);
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    text-shadow: 0 1px 12px rgba(255, 255, 255, .55);
    transition: color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.site-nav .theme-switcher button:hover,
.site-nav .theme-switcher button.active {
    color: #fff !important;
    background: rgba(17, 24, 39, .92) !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
    text-shadow: none;
}

@media (max-width: 1020px) {
    .site-nav .theme-switcher {
        width: 100%;
        justify-content: stretch;
        margin-left: 0;
    }

    .site-nav .theme-switcher button {
        flex: 1;
        justify-content: center;
        padding: 13px 14px;
        border-radius: 18px;
        background: rgba(255,255,255,.16) !important;
        border: 1px solid rgba(255,255,255,.18);
    }
}

/* Koyu tema */
body[data-theme="dark"] {
    --bg: #080b14;
    --bg-2: #111827;
    --surface: rgba(15, 23, 42, .78);
    --surface-solid: #111827;
    --surface-soft: #0f172a;
    --text: #e5e7eb;
    --heading: #f8fafc;
    --muted: #94a3b8;
    --border: rgba(255, 255, 255, .12);
    --accent: #a78bfa;
    --accent-2: #fb7185;
    --accent-dark: #c4b5fd;
    --accent-soft: rgba(167, 139, 250, .16);
    --green-soft: rgba(16, 185, 129, .18);
    --shadow: 0 28px 80px rgba(0, 0, 0, .34);
    --shadow-soft: 0 14px 38px rgba(0, 0, 0, .24);
    background:
        radial-gradient(circle at 12% 4%, rgba(124, 58, 237, .28), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(251, 113, 133, .16), transparent 28%),
        linear-gradient(135deg, var(--bg), #0b1020 46%, var(--bg-2));
    color: var(--text);
}

body[data-theme="dark"]::before {
    opacity: .26;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.82), transparent 70%);
}

body[data-theme="dark"] .site-header.liquid-header {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .82), rgba(15, 23, 42, .36)),
        rgba(15, 23, 42, .18) !important;
    border-color: rgba(255, 255, 255, .16) !important;
    box-shadow:
        0 18px 58px rgba(0, 0, 0, .34),
        inset 0 1px 0 rgba(255, 255, 255, .18),
        inset 0 -1px 0 rgba(255, 255, 255, .05) !important;
}

body[data-theme="dark"] .site-header.liquid-header.is-scrolled {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .88), rgba(15, 23, 42, .42)),
        rgba(15, 23, 42, .22) !important;
    box-shadow:
        0 16px 54px rgba(0, 0, 0, .42),
        inset 0 1px 0 rgba(255, 255, 255, .18),
        inset 0 -1px 0 rgba(255, 255, 255, .05) !important;
}

body[data-theme="dark"] .liquid-header .brand-text strong,
body[data-theme="dark"] .site-header.liquid-header .brand-text strong {
    color: rgba(248, 250, 252, .98) !important;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .45);
}

body[data-theme="dark"] .liquid-header .brand-text small,
body[data-theme="dark"] .site-header.liquid-header .brand-text small {
    color: rgba(203, 213, 225, .82) !important;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .32);
}

body[data-theme="dark"] .brand-logo {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .10);
}

body[data-theme="dark"] .site-header.liquid-header .site-nav a,
body[data-theme="dark"] .site-nav .theme-switcher button {
    color: rgba(226, 232, 240, .88) !important;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

body[data-theme="dark"] .site-header.liquid-header .site-nav a:hover,
body[data-theme="dark"] .site-header.liquid-header .site-nav a.active,
body[data-theme="dark"] .site-nav .theme-switcher button:hover,
body[data-theme="dark"] .site-nav .theme-switcher button.active {
    color: #fff !important;
    background: rgba(255, 255, 255, .13) !important;
    border-color: rgba(255, 255, 255, .12);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        0 8px 22px rgba(0, 0, 0, .18) !important;
    text-shadow: none;
}

body[data-theme="dark"] .site-header.liquid-header .site-nav .nav-cta {
    color: #08111f !important;
    background: linear-gradient(135deg, #f8fafc, #c4b5fd) !important;
    box-shadow: 0 14px 32px rgba(167, 139, 250, .16) !important;
}

body[data-theme="dark"] .site-nav .language-switcher a.active,
body[data-theme="dark"] .site-nav .theme-switcher button.active {
    background: rgba(248, 250, 252, .92) !important;
    color: #0f172a !important;
}

body[data-theme="dark"] .button.secondary {
    background: rgba(15, 23, 42, .72);
    border-color: rgba(255, 255, 255, .12);
}

body[data-theme="dark"] .hero-card,
body[data-theme="dark"] .card,
body[data-theme="dark"] .info-panel,
body[data-theme="dark"] .timeline-content,
body[data-theme="dark"] .contact-form-card,
body[data-theme="dark"] .featured-work-card,
body[data-theme="dark"] .work-card,
body[data-theme="dark"] .work-detail-card {
    background: var(--surface);
    border-color: rgba(255, 255, 255, .12);
    box-shadow: var(--shadow);
}

body[data-theme="dark"] .section.muted,
body[data-theme="dark"] .page-hero {
    background: rgba(15, 23, 42, .34);
    border-color: rgba(255, 255, 255, .08);
}

body[data-theme="dark"] .card p,
body[data-theme="dark"] .work-card p,
body[data-theme="dark"] .featured-work-section .work-card p,
body[data-theme="dark"] .contact-form-card p {
    color: var(--muted);
}

body[data-theme="dark"] .empty-state,
body[data-theme="dark"] .form-line input,
body[data-theme="dark"] .form-line textarea {
    background: rgba(15, 23, 42, .72);
    border-color: rgba(255, 255, 255, .12);
    color: var(--text);
}

body[data-theme="dark"] .form-line input::placeholder,
body[data-theme="dark"] .form-line textarea::placeholder {
    color: rgba(148, 163, 184, .86);
}

body[data-theme="dark"] .doc-link,
body[data-theme="dark"] .footer-bottom {
    border-color: rgba(255, 255, 255, .10);
}

body[data-theme="dark"] .status-badge.is-ongoing {
    color: #fde68a;
    background: rgba(146, 64, 14, .26);
}

body[data-theme="dark"] .status-badge.is-completed,
body[data-theme="dark"] .alert.success {
    color: #bbf7d0;
    background: rgba(22, 101, 52, .28);
}

body[data-theme="dark"] .alert.error {
    color: #fecaca;
    background: rgba(153, 27, 27, .28);
}

body[data-theme="dark"] .site-footer {
    background: #050814;
}

@media (max-width: 1020px) {
    body[data-theme="dark"] .site-header.liquid-header .site-nav {
        background:
            linear-gradient(135deg, rgba(15, 23, 42, .86), rgba(15, 23, 42, .52)),
            rgba(15, 23, 42, .36) !important;
        border-color: rgba(255, 255, 255, .14) !important;
        box-shadow:
            0 24px 70px rgba(0, 0, 0, .40),
            inset 0 1px 0 rgba(255,255,255,.14) !important;
    }

    body[data-theme="dark"] .site-header.liquid-header .site-nav a,
    body[data-theme="dark"] .site-nav .theme-switcher button {
        background: rgba(255,255,255,.08) !important;
        border-color: rgba(255,255,255,.10);
    }
}

/* Koyu temada logo çevresindeki beyaz parlamayı kaldır ve tema logosunu temiz göster */
body[data-theme="dark"] .brand-logo,
body[data-theme="dark"] .liquid-header .brand-logo {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body[data-theme="dark"] .brand-logo img,
body[data-theme="dark"] .liquid-header .brand-logo img {
    filter: none !important;
}

/* Ana sayfadaki belgeler kartı koyu temada diğer kartlarla aynı yüzeyi kullansın */
body[data-theme="dark"] .documents-home-card {
    background: var(--surface) !important;
    border-color: rgba(255, 255, 255, .12) !important;
    box-shadow: var(--shadow) !important;
}

body[data-theme="dark"] .documents-home-card .doc-link {
    border-color: rgba(255, 255, 255, .10) !important;
}

/* Koyu tema: çalışmalar liste kartları */
body[data-theme="dark"] .project-list-card {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .90), rgba(8, 13, 26, .96)) !important;
    border-color: rgba(255, 255, 255, .12) !important;
    box-shadow: 0 28px 82px rgba(0, 0, 0, .34) !important;
}

body[data-theme="dark"] .project-list-card .project-card-cover {
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

body[data-theme="dark"] .project-list-card .project-card-cover.no-image {
    background:
        radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--project-accent) 30%, transparent), transparent 42%),
        linear-gradient(135deg,
            color-mix(in srgb, var(--project-bg, #111827) 82%, #020617),
            color-mix(in srgb, var(--project-bg, #111827) 56%, #020617)
        ) !important;
}

body[data-theme="dark"] .project-list-card .project-card-cover img,
body[data-theme="dark"] .project-list-card .project-card-cover span {
    background: rgba(248, 250, 252, .94) !important;
    border-color: rgba(255, 255, 255, .26) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .30) !important;
}

body[data-theme="dark"] .project-list-card .project-card-body {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .92), rgba(8, 13, 26, .96)) !important;
    color: var(--text) !important;
}

body[data-theme="dark"] .project-list-card .project-card-body h2,
body[data-theme="dark"] .project-list-card .project-card-body h2 a {
    color: var(--heading) !important;
}

body[data-theme="dark"] .project-list-card .project-card-body h2 a:hover,
body[data-theme="dark"] .project-list-card .project-card-body .text-link:hover {
    color: color-mix(in srgb, var(--project-accent) 58%, #c4b5fd) !important;
}

body[data-theme="dark"] .project-list-card .project-card-body p,
body[data-theme="dark"] .project-list-card .project-card-body .muted-text {
    color: rgba(203, 213, 225, .82) !important;
}

body[data-theme="dark"] .project-list-card .project-card-body .pill {
    color: #ddd6fe !important;
    background: rgba(167, 139, 250, .16) !important;
    border: 1px solid rgba(167, 139, 250, .20) !important;
}

body[data-theme="dark"] .project-list-card .project-card-body .text-link {
    color: #c4b5fd !important;
}


/* Çalışmalar liste kartları: Kapak rengi yalnızca üst görsel alanında kalsın.
   Kart gövdesi artık proje arka plan rengini yarı saydam şekilde taşımıyor. */
.project-list-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-solid, #ffffff);
}

.project-list-card .project-card-cover {
    flex: 0 0 auto;
}

.project-list-card .project-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--surface-solid, #ffffff);
}

.project-list-card .project-card-body .text-link {
    margin-top: auto;
    padding-top: 12px;
}

body[data-theme="dark"] .project-list-card .project-card-body {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .92), rgba(8, 13, 26, .96)) !important;
}

/* Mobil header menüsü: daha kompakt, ekranı kaplamayan açılır panel */
@media (max-width: 760px) {
    .site-header.liquid-header {
        top: 10px !important;
        width: calc(100% - 24px) !important;
        min-height: 62px !important;
        margin-top: 10px !important;
        padding: 8px 9px 8px 10px !important;
        gap: 10px !important;
        border-radius: 24px !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        overflow: visible !important;
    }

    .site-header.liquid-header .brand {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 58px) !important;
        gap: 10px !important;
    }

    .site-header.liquid-header .brand-logo,
    .site-header.liquid-header .brand-mark {
        width: 42px !important;
        height: 42px !important;
        flex-basis: 42px !important;
        border-radius: 15px !important;
    }

    .site-header.liquid-header .brand-text {
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .site-header.liquid-header .brand-text strong,
    .site-header.liquid-header .brand-text small {
        display: block !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .site-header.liquid-header .brand-text strong {
        font-size: 13px !important;
        letter-spacing: -.03em !important;
    }

    .site-header.liquid-header .brand-text small {
        font-size: 10px !important;
    }

    .site-header.liquid-header .nav-toggle {
        width: 46px !important;
        height: 46px !important;
        flex: 0 0 46px !important;
        border-radius: 16px !important;
    }

    .site-header.liquid-header .site-nav,
    .liquid-header .site-nav {
        position: fixed !important;
        top: 84px !important;
        left: 12px !important;
        right: 12px !important;
        bottom: auto !important;
        width: auto !important;
        max-width: none !important;
        max-height: calc(100dvh - 108px) !important;
        margin: 0 !important;
        padding: 10px !important;
        display: none !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        border-radius: 24px !important;
        overflow-y: auto !important;
        z-index: 120 !important;
        transform: translateY(-8px) scale(.98) !important;
    }

    .site-header.liquid-header .site-nav.open,
    .liquid-header .site-nav.open {
        display: grid !important;
        transform: translateY(0) scale(1) !important;
    }

    .site-header.liquid-header .site-nav a,
    .liquid-header .site-nav a {
        width: 100% !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 14px !important;
        border-radius: 17px !important;
        font-size: 14px !important;
        line-height: 1.1 !important;
        text-align: center !important;
    }

    .site-header.liquid-header .site-nav .nav-cta {
        margin-top: 2px !important;
    }
}

@media (max-width: 380px) {
    .site-header.liquid-header .brand-text small {
        display: none !important;
    }

    .site-header.liquid-header .brand-logo,
    .site-header.liquid-header .brand-mark {
        width: 40px !important;
        height: 40px !important;
        flex-basis: 40px !important;
    }
}

/* Mobil menü: kompakt sağdan açılan panel */
@media (max-width: 1020px) {
    body.mobile-nav-open {
        overflow: hidden;
    }

    body.mobile-nav-open::after {
        content: '';
        position: fixed;
        inset: 0;
        z-index: 70;
        background: rgba(15, 23, 42, .28);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .site-header.liquid-header {
        z-index: 90;
    }

    .site-header.liquid-header .site-nav,
    .liquid-header .site-nav {
        position: fixed !important;
        top: 88px !important;
        right: max(14px, env(safe-area-inset-right)) !important;
        left: auto !important;
        bottom: auto !important;
        width: min(292px, calc(100vw - 28px)) !important;
        max-height: calc(100dvh - 112px);
        overflow: auto;
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 8px !important;
        padding: 10px !important;
        border-radius: 24px !important;
        background:
            linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .74)),
            rgba(255, 255, 255, .82) !important;
        border: 1px solid rgba(255, 255, 255, .76) !important;
        box-shadow:
            0 22px 60px rgba(15, 23, 42, .20),
            inset 0 1px 0 rgba(255,255,255,.82) !important;
        backdrop-filter: blur(26px) saturate(1.55) !important;
        -webkit-backdrop-filter: blur(26px) saturate(1.55) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translate3d(12px, -8px, 0) scale(.96) !important;
        transform-origin: top right;
        transition:
            opacity .18s ease,
            transform .18s ease,
            visibility .18s ease !important;
    }

    .site-header.liquid-header .site-nav.open,
    .liquid-header .site-nav.open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate3d(0, 0, 0) scale(1) !important;
    }

    .site-header.liquid-header .site-nav a,
    .liquid-header .site-nav a {
        width: 100%;
        min-height: 46px;
        padding: 12px 14px !important;
        justify-content: flex-start;
        border-radius: 16px !important;
        font-size: .92rem !important;
        line-height: 1.15;
        text-align: left;
        color: var(--text) !important;
        background: rgba(255,255,255,.48) !important;
        border: 1px solid rgba(255,255,255,.56) !important;
        box-shadow: none !important;
    }

    .site-header.liquid-header .site-nav a:hover,
    .site-header.liquid-header .site-nav a.active,
    .liquid-header .site-nav a:hover,
    .liquid-header .site-nav a.active {
        color: #fff !important;
        background: linear-gradient(135deg, var(--primary), var(--primary-2)) !important;
        border-color: transparent !important;
    }

    .site-header.liquid-header .site-nav .nav-cta,
    .liquid-header .site-nav .nav-cta {
        justify-content: center;
        color: #fff !important;
        background: linear-gradient(135deg, var(--primary), var(--primary-2)) !important;
        border-color: transparent !important;
        margin-top: 2px;
    }

    body[data-theme="dark"] body.mobile-nav-open::after {
        background: rgba(2, 6, 23, .48);
    }

    body[data-theme="dark"].mobile-nav-open::after {
        background: rgba(2, 6, 23, .48);
    }

    body[data-theme="dark"] .site-header.liquid-header .site-nav,
    body[data-theme="dark"] .liquid-header .site-nav {
        background:
            linear-gradient(145deg, rgba(30, 41, 59, .96), rgba(15, 23, 42, .88)),
            rgba(15, 23, 42, .92) !important;
        border-color: rgba(148, 163, 184, .18) !important;
        box-shadow:
            0 24px 70px rgba(0, 0, 0, .42),
            inset 0 1px 0 rgba(255,255,255,.08) !important;
    }

    body[data-theme="dark"] .site-header.liquid-header .site-nav a,
    body[data-theme="dark"] .liquid-header .site-nav a {
        color: rgba(226, 232, 240, .92) !important;
        background: rgba(255,255,255,.055) !important;
        border-color: rgba(148, 163, 184, .14) !important;
    }

    body[data-theme="dark"] .site-header.liquid-header .site-nav a:hover,
    body[data-theme="dark"] .site-header.liquid-header .site-nav a.active,
    body[data-theme="dark"] .liquid-header .site-nav a:hover,
    body[data-theme="dark"] .liquid-header .site-nav a.active,
    body[data-theme="dark"] .site-header.liquid-header .site-nav .nav-cta,
    body[data-theme="dark"] .liquid-header .site-nav .nav-cta {
        color: #fff !important;
        background: linear-gradient(135deg, var(--primary), var(--primary-2)) !important;
        border-color: transparent !important;
    }
}

@media (max-width: 560px) {
    .site-header.liquid-header .site-nav,
    .liquid-header .site-nav {
        top: 82px !important;
        right: 12px !important;
        width: min(270px, calc(100vw - 24px)) !important;
        border-radius: 22px !important;
    }

    .site-header.liquid-header .site-nav a,
    .liquid-header .site-nav a {
        min-height: 44px;
        padding: 11px 13px !important;
        font-size: .88rem !important;
        border-radius: 14px !important;
    }
}

/* Final mobil menü düzeltmesi: okunabilir, hizalı ve kompakt panel */
.site-header.liquid-header .brand,
.site-header.liquid-header .brand-logo,
.site-header.liquid-header .brand-mark,
.site-header.liquid-header .brand-text,
.site-header.liquid-header .brand-text strong,
.site-header.liquid-header .brand-text small,
.liquid-header .brand,
.liquid-header .brand-logo,
.liquid-header .brand-mark,
.liquid-header .brand-text,
.liquid-header .brand-text strong,
.liquid-header .brand-text small {
    text-shadow: none !important;
    box-shadow: none !important;
    filter: none !important;
}

.site-header.liquid-header .brand-logo,
.liquid-header .brand-logo {
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.site-header.liquid-header .brand-logo img,
.liquid-header .brand-logo img {
    padding: 0 !important;
    filter: none !important;
    box-shadow: none !important;
}

.site-header.liquid-header .brand::before,
.site-header.liquid-header .brand::after,
.site-header.liquid-header .brand-logo::before,
.site-header.liquid-header .brand-logo::after,
.site-header.liquid-header .brand-text::before,
.site-header.liquid-header .brand-text::after,
.liquid-header .brand::before,
.liquid-header .brand::after,
.liquid-header .brand-logo::before,
.liquid-header .brand-logo::after,
.liquid-header .brand-text::before,
.liquid-header .brand-text::after {
    display: none !important;
    content: none !important;
}

@media (max-width: 1020px) {
    body.mobile-nav-open::after {
        background: rgba(17, 24, 39, .32) !important;
        backdrop-filter: blur(7px) !important;
        -webkit-backdrop-filter: blur(7px) !important;
        z-index: 70 !important;
    }

    .site-header.liquid-header,
    .liquid-header {
        z-index: 100 !important;
    }

    .site-header.liquid-header .site-nav,
    .liquid-header .site-nav {
        position: fixed !important;
        top: 104px !important;
        left: 50% !important;
        right: auto !important;
        width: min(340px, calc(100vw - 44px)) !important;
        max-width: min(340px, calc(100vw - 44px)) !important;
        max-height: calc(100dvh - 132px) !important;
        transform: translate3d(-50%, -10px, 0) scale(.98) !important;
        transform-origin: top center !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 12px !important;
        border-radius: 24px !important;
        overflow: auto !important;
        background: rgba(255, 255, 255, .94) !important;
        border: 1px solid rgba(255, 255, 255, .86) !important;
        box-shadow: 0 22px 54px rgba(15, 23, 42, .18) !important;
        backdrop-filter: blur(22px) saturate(1.2) !important;
        -webkit-backdrop-filter: blur(22px) saturate(1.2) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: 95 !important;
    }

    .site-header.liquid-header .site-nav.open,
    .liquid-header .site-nav.open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate3d(-50%, 0, 0) scale(1) !important;
    }

    .site-header.liquid-header .site-nav a,
    .liquid-header .site-nav a,
    .site-header.liquid-header .site-nav .nav-cta,
    .liquid-header .site-nav .nav-cta {
        width: 100% !important;
        min-height: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 13px 16px !important;
        margin: 0 !important;
        border-radius: 17px !important;
        font-size: 15px !important;
        font-weight: 900 !important;
        line-height: 1.1 !important;
        letter-spacing: -.02em !important;
        text-align: center !important;
        color: #111827 !important;
        background: rgba(248, 250, 252, .90) !important;
        border: 1px solid rgba(226, 232, 240, .86) !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    .site-header.liquid-header .site-nav a:hover,
    .site-header.liquid-header .site-nav a.active,
    .liquid-header .site-nav a:hover,
    .liquid-header .site-nav a.active,
    .site-header.liquid-header .site-nav .nav-cta:hover,
    .site-header.liquid-header .site-nav .nav-cta.active,
    .liquid-header .site-nav .nav-cta:hover,
    .liquid-header .site-nav .nav-cta.active {
        color: #fff !important;
        background: linear-gradient(135deg, var(--primary), var(--primary-2)) !important;
        border-color: transparent !important;
        box-shadow: 0 12px 26px rgba(109, 76, 255, .22) !important;
    }

    body[data-theme="dark"].mobile-nav-open::after {
        background: rgba(2, 6, 23, .56) !important;
    }

    body[data-theme="dark"] .site-header.liquid-header .site-nav,
    body[data-theme="dark"] .liquid-header .site-nav {
        background: rgba(15, 23, 42, .96) !important;
        border-color: rgba(148, 163, 184, .18) !important;
        box-shadow: 0 24px 64px rgba(0, 0, 0, .48) !important;
    }

    body[data-theme="dark"] .site-header.liquid-header .site-nav a,
    body[data-theme="dark"] .liquid-header .site-nav a,
    body[data-theme="dark"] .site-header.liquid-header .site-nav .nav-cta,
    body[data-theme="dark"] .liquid-header .site-nav .nav-cta {
        color: rgba(248, 250, 252, .96) !important;
        background: rgba(255, 255, 255, .07) !important;
        border-color: rgba(148, 163, 184, .16) !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body[data-theme="dark"] .site-header.liquid-header .site-nav a:hover,
    body[data-theme="dark"] .site-header.liquid-header .site-nav a.active,
    body[data-theme="dark"] .liquid-header .site-nav a:hover,
    body[data-theme="dark"] .liquid-header .site-nav a.active,
    body[data-theme="dark"] .site-header.liquid-header .site-nav .nav-cta:hover,
    body[data-theme="dark"] .site-header.liquid-header .site-nav .nav-cta.active,
    body[data-theme="dark"] .liquid-header .site-nav .nav-cta:hover,
    body[data-theme="dark"] .liquid-header .site-nav .nav-cta.active {
        color: #fff !important;
        background: linear-gradient(135deg, var(--primary), var(--primary-2)) !important;
        border-color: transparent !important;
        box-shadow: 0 12px 28px rgba(109, 76, 255, .22) !important;
    }
}

@media (max-width: 560px) {
    .site-header.liquid-header .site-nav,
    .liquid-header .site-nav {
        top: 96px !important;
        width: min(320px, calc(100vw - 38px)) !important;
        max-width: min(320px, calc(100vw - 38px)) !important;
        border-radius: 22px !important;
    }
}

/* Final mobile menu contrast fix: theme-safe active/current states */
@media (max-width: 1020px) {
    .site-header.liquid-header .site-nav a,
    .liquid-header .site-nav a,
    .site-header.liquid-header .site-nav .nav-cta,
    .liquid-header .site-nav .nav-cta {
        color: #111827 !important;
        background: rgba(255, 255, 255, .78) !important;
        border-color: rgba(226, 232, 240, .92) !important;
        -webkit-text-fill-color: #111827 !important;
    }

    .site-header.liquid-header .site-nav a:hover,
    .site-header.liquid-header .site-nav a.active,
    .site-header.liquid-header .site-nav a[aria-current="page"],
    .liquid-header .site-nav a:hover,
    .liquid-header .site-nav a.active,
    .liquid-header .site-nav a[aria-current="page"],
    .site-header.liquid-header .site-nav .nav-cta:hover,
    .site-header.liquid-header .site-nav .nav-cta.active,
    .site-header.liquid-header .site-nav .nav-cta[aria-current="page"],
    .liquid-header .site-nav .nav-cta:hover,
    .liquid-header .site-nav .nav-cta.active,
    .liquid-header .site-nav .nav-cta[aria-current="page"] {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        background: linear-gradient(135deg, #6d4cff, #7c3aed) !important;
        border-color: rgba(109, 76, 255, .42) !important;
        box-shadow: 0 14px 30px rgba(109, 76, 255, .24) !important;
        text-shadow: none !important;
    }

    body[data-theme="dark"] .site-header.liquid-header .site-nav a,
    body[data-theme="dark"] .liquid-header .site-nav a,
    body[data-theme="dark"] .site-header.liquid-header .site-nav .nav-cta,
    body[data-theme="dark"] .liquid-header .site-nav .nav-cta {
        color: rgba(248, 250, 252, .96) !important;
        -webkit-text-fill-color: rgba(248, 250, 252, .96) !important;
        background: rgba(255, 255, 255, .075) !important;
        border-color: rgba(148, 163, 184, .18) !important;
    }

    body[data-theme="dark"] .site-header.liquid-header .site-nav a:hover,
    body[data-theme="dark"] .site-header.liquid-header .site-nav a.active,
    body[data-theme="dark"] .site-header.liquid-header .site-nav a[aria-current="page"],
    body[data-theme="dark"] .liquid-header .site-nav a:hover,
    body[data-theme="dark"] .liquid-header .site-nav a.active,
    body[data-theme="dark"] .liquid-header .site-nav a[aria-current="page"],
    body[data-theme="dark"] .site-header.liquid-header .site-nav .nav-cta:hover,
    body[data-theme="dark"] .site-header.liquid-header .site-nav .nav-cta.active,
    body[data-theme="dark"] .site-header.liquid-header .site-nav .nav-cta[aria-current="page"],
    body[data-theme="dark"] .liquid-header .site-nav .nav-cta:hover,
    body[data-theme="dark"] .liquid-header .site-nav .nav-cta.active,
    body[data-theme="dark"] .liquid-header .site-nav .nav-cta[aria-current="page"] {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        background: linear-gradient(135deg, #6d4cff, #8b5cf6) !important;
        border-color: rgba(139, 92, 246, .44) !important;
        box-shadow: 0 16px 34px rgba(0, 0, 0, .34) !important;
    }
}

/* Çalışma detay sayfası: modern, tema uyumlu görünüm */
.project-detail-hero.project-detail-hero-modern {
    min-height: auto !important;
    padding: 142px 0 76px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--heading) !important;
    background:
        radial-gradient(circle at 12% 12%, color-mix(in srgb, var(--project-accent, #6d4aff) 22%, transparent), transparent 36%),
        radial-gradient(circle at 92% 18%, rgba(202, 190, 255, .36), transparent 32%),
        linear-gradient(135deg, color-mix(in srgb, var(--project-bg, #f6f3ee) 72%, #ffffff), var(--bg));
}

.project-detail-hero.project-detail-hero-modern::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: linear-gradient(120deg, rgba(255,255,255,.82), rgba(255,255,255,.52)), var(--project-cover, none);
    background-size: cover;
    background-position: center;
    opacity: .72;
}

.project-detail-hero.project-detail-hero-modern::after {
    content: "";
    position: absolute;
    inset: auto -12% -40% 42%;
    z-index: -1;
    height: 360px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--project-accent, #6d4aff) 24%, transparent);
    filter: blur(72px);
    opacity: .64;
    pointer-events: none;
}

.project-detail-grid.project-detail-grid-modern {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: clamp(22px, 4vw, 52px);
    align-items: stretch;
    padding: 0;
}

.project-detail-copy,
.project-brand-card.project-brand-card-modern,
.project-rich-content,
.project-side-info,
.project-neighbor-card {
    border: 1px solid color-mix(in srgb, var(--border) 78%, transparent) !important;
    box-shadow: 0 28px 90px rgba(15, 23, 42, .10) !important;
}

.project-detail-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 430px;
    padding: clamp(26px, 5vw, 54px);
    border-radius: 38px;
    background: color-mix(in srgb, var(--surface-solid) 76%, transparent);
    backdrop-filter: blur(22px);
}

.project-detail-hero.project-detail-hero-modern .project-back-link {
    width: fit-content;
    margin: 0 0 24px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--accent-dark) !important;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
    font-size: 13px;
    font-weight: 950;
}

.project-detail-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.project-detail-kicker span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--accent-dark) !important;
    background: color-mix(in srgb, var(--accent) 11%, var(--surface-solid));
    border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .01em;
}

.project-detail-hero.project-detail-hero-modern h1 {
    max-width: 860px;
    margin: 0 0 18px;
    color: var(--heading) !important;
    font-size: clamp(42px, 7vw, 86px);
    line-height: .92;
    letter-spacing: -.078em;
}

.project-detail-hero.project-detail-hero-modern .project-client {
    margin: 0 0 12px;
    color: var(--accent-dark) !important;
    font-size: 18px;
    font-weight: 950;
    opacity: 1;
}

.project-detail-hero.project-detail-hero-modern .project-detail-summary {
    max-width: 780px;
    margin: 0;
    color: var(--muted) !important;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.75;
    font-weight: 650;
}

.project-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.project-detail-actions .button {
    min-height: 50px;
}

.project-detail-hero.project-detail-hero-modern .project-detail-actions .button.ghost {
    color: var(--heading) !important;
    -webkit-text-fill-color: var(--heading) !important;
    background: rgba(255, 255, 255, .78) !important;
    border-color: rgba(17, 24, 39, .10) !important;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .08) !important;
}

.project-detail-hero.project-detail-hero-modern .project-detail-actions .button.ghost:hover {
    color: var(--accent-dark) !important;
    -webkit-text-fill-color: var(--accent-dark) !important;
    background: #ffffff !important;
    border-color: rgba(109, 74, 255, .20) !important;
}

.project-brand-card.project-brand-card-modern {
    min-height: 100%;
    align-content: center;
    gap: 16px;
    border-radius: 38px;
    color: var(--heading) !important;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--surface-solid) 78%, transparent), color-mix(in srgb, var(--surface-solid) 92%, transparent)),
        radial-gradient(circle at top, color-mix(in srgb, var(--project-accent, #6d4aff) 18%, transparent), transparent 44%);
    overflow: hidden;
}

.project-brand-logo-wrap {
    display: grid;
    place-items: center;
    width: 164px;
    height: 164px;
    border-radius: 36px;
    background: color-mix(in srgb, var(--surface-solid) 92%, transparent);
    border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 20px 50px rgba(15, 23, 42, .10);
}

.project-brand-card.project-brand-card-modern img,
.project-brand-card.project-brand-card-modern span {
    width: 122px !important;
    height: 122px !important;
    border: 0 !important;
    border-radius: 28px !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: var(--project-accent, var(--accent)) !important;
}

.project-brand-card.project-brand-card-modern strong {
    color: var(--heading) !important;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.project-brand-card.project-brand-card-modern small {
    color: var(--muted) !important;
    font-weight: 800;
}

.project-content-layout {
    gap: 24px;
}

.project-rich-content,
.project-side-info {
    background: color-mix(in srgb, var(--surface-solid) 86%, transparent) !important;
}

.project-rich-content {
    padding: clamp(26px, 4vw, 42px) !important;
}

.project-rich-content h2:first-child {
    margin-top: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
}

.project-rich-content p,
.project-rich-content li {
    color: var(--text);
    line-height: 1.82;
}

.project-side-info {
    border-radius: 30px !important;
}

.project-side-info dd {
    color: var(--heading);
}

.project-neighbor-card {
    background: color-mix(in srgb, var(--surface-solid) 88%, transparent) !important;
}

body[data-theme="dark"] .project-detail-hero.project-detail-hero-modern {
    background:
        radial-gradient(circle at 12% 12%, color-mix(in srgb, var(--project-accent, #8b7cff) 26%, transparent), transparent 35%),
        radial-gradient(circle at 88% 18%, rgba(139, 124, 255, .18), transparent 30%),
        linear-gradient(135deg, #090d18, #15102d 56%, #080b14);
}

body[data-theme="dark"] .project-detail-hero.project-detail-hero-modern::before {
    background-image: linear-gradient(120deg, rgba(8, 11, 20, .88), rgba(18, 14, 38, .76)), var(--project-cover, none);
    opacity: .88;
}

body[data-theme="dark"] .project-detail-copy,
body[data-theme="dark"] .project-brand-card.project-brand-card-modern,
body[data-theme="dark"] .project-rich-content,
body[data-theme="dark"] .project-side-info,
body[data-theme="dark"] .project-neighbor-card {
    border-color: rgba(255,255,255,.10) !important;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .28) !important;
}

body[data-theme="dark"] .project-detail-copy,
body[data-theme="dark"] .project-brand-card.project-brand-card-modern,
body[data-theme="dark"] .project-rich-content,
body[data-theme="dark"] .project-side-info,
body[data-theme="dark"] .project-neighbor-card {
    background: rgba(14, 18, 33, .78) !important;
}

body[data-theme="dark"] .project-detail-hero.project-detail-hero-modern .project-back-link,
body[data-theme="dark"] .project-detail-kicker span {
    color: #dcd7ff !important;
    background: rgba(139, 124, 255, .14);
    border-color: rgba(255,255,255,.10);
}

body[data-theme="dark"] .project-brand-logo-wrap {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 54px rgba(0,0,0,.28);
}

body[data-theme="dark"] .project-detail-hero.project-detail-hero-modern h1,
body[data-theme="dark"] .project-brand-card.project-brand-card-modern strong,
body[data-theme="dark"] .project-side-info dd {
    color: var(--heading) !important;
}

body[data-theme="dark"] .project-detail-hero.project-detail-hero-modern .project-client {
    color: #dcd7ff !important;
}

body[data-theme="dark"] .project-detail-hero.project-detail-hero-modern .project-detail-actions .button.ghost {
    color: #f8fafc !important;
    -webkit-text-fill-color: #f8fafc !important;
    background: rgba(255, 255, 255, .08) !important;
    border-color: rgba(255, 255, 255, .14) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .28) !important;
}

body[data-theme="dark"] .project-detail-hero.project-detail-hero-modern .project-detail-actions .button.ghost:hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: rgba(167, 139, 250, .18) !important;
    border-color: rgba(196, 181, 253, .28) !important;
}

body[data-theme="dark"] .project-rich-content p,
body[data-theme="dark"] .project-rich-content li {
    color: var(--text);
}

@media (max-width: 1020px) {
    .project-detail-hero.project-detail-hero-modern {
        padding: 122px 0 48px;
    }

    .project-detail-grid.project-detail-grid-modern {
        grid-template-columns: 1fr;
    }

    .project-brand-card.project-brand-card-modern {
        min-height: 260px;
    }
}

@media (max-width: 640px) {
    .project-detail-hero.project-detail-hero-modern {
        padding: 108px 0 34px;
    }

    .project-detail-copy,
    .project-brand-card.project-brand-card-modern {
        border-radius: 28px;
    }

    .project-detail-copy {
        min-height: auto;
        padding: 24px;
    }

    .project-detail-hero.project-detail-hero-modern h1 {
        font-size: clamp(36px, 14vw, 58px);
        letter-spacing: -.07em;
    }

    .project-detail-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .project-brand-logo-wrap {
        width: 132px;
        height: 132px;
        border-radius: 30px;
    }

    .project-brand-card.project-brand-card-modern img,
    .project-brand-card.project-brand-card-modern span {
        width: 96px !important;
        height: 96px !important;
    }
}

/* Header arka plan tutarlılığı: iç sayfalardaki page-hero bandı header arkasında ikinci bir kapsül/renk gibi görünmesin */
.page-hero {
    background: transparent !important;
    border-bottom: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

body[data-theme="dark"] .page-hero {
    background: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* Header'ın yalnızca kendisi görünsün; arkasında parlak bant veya ekstra zemin hissi oluşmasın */
.site-header.liquid-header {
    background: rgba(255, 255, 255, .075) !important;
    border-color: rgba(255, 255, 255, .30) !important;
    box-shadow: 0 16px 44px rgba(15, 23, 42, .08) !important;
}

.site-header.liquid-header.is-scrolled {
    background: rgba(255, 255, 255, .095) !important;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .10) !important;
}

body[data-theme="dark"] .site-header.liquid-header,
body[data-theme="dark"] .site-header.liquid-header.is-scrolled {
    background: rgba(15, 23, 42, .42) !important;
    border-color: rgba(255, 255, 255, .12) !important;
    box-shadow: 0 16px 44px rgba(0, 0, 0, .22) !important;
}

/* Site kaydırma çubuğu: masaüstünde tema uyumlu, mobilde gizli */
@media (hover: hover) and (pointer: fine) {
    html {
        scrollbar-width: thin;
        scrollbar-color: rgba(109, 74, 255, .72) rgba(255, 255, 255, .42);
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        width: 12px;
        height: 12px;
    }

    html::-webkit-scrollbar-track,
    body::-webkit-scrollbar-track {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(239, 233, 223, .62));
        border-left: 1px solid rgba(17, 24, 39, .06);
    }

    html::-webkit-scrollbar-thumb,
    body::-webkit-scrollbar-thumb {
        border: 3px solid transparent;
        border-radius: 999px;
        background:
            linear-gradient(180deg, rgba(109, 74, 255, .95), rgba(255, 122, 89, .72)) border-box;
        background-clip: padding-box, border-box;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
    }

    html::-webkit-scrollbar-thumb:hover,
    body::-webkit-scrollbar-thumb:hover {
        background:
            linear-gradient(180deg, rgba(76, 53, 199, 1), rgba(109, 74, 255, .92)) border-box;
        background-clip: padding-box, border-box;
    }

    html::-webkit-scrollbar-corner,
    body::-webkit-scrollbar-corner {
        background: transparent;
    }

    body[data-theme="dark"] {
        scrollbar-color: rgba(167, 139, 250, .82) rgba(8, 11, 20, .76);
    }

    body[data-theme="dark"]::-webkit-scrollbar-track,
    body[data-theme="dark"] *::-webkit-scrollbar-track {
        background:
            linear-gradient(180deg, rgba(8, 11, 20, .92), rgba(15, 23, 42, .86));
        border-left: 1px solid rgba(255, 255, 255, .08);
    }

    body[data-theme="dark"]::-webkit-scrollbar-thumb,
    body[data-theme="dark"] *::-webkit-scrollbar-thumb {
        border: 3px solid transparent;
        border-radius: 999px;
        background:
            linear-gradient(180deg, rgba(167, 139, 250, .96), rgba(251, 113, 133, .70)) border-box;
        background-clip: padding-box, border-box;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
    }

    body[data-theme="dark"]::-webkit-scrollbar-thumb:hover,
    body[data-theme="dark"] *::-webkit-scrollbar-thumb:hover {
        background:
            linear-gradient(180deg, rgba(196, 181, 253, 1), rgba(167, 139, 250, .90)) border-box;
        background-clip: padding-box, border-box;
    }
}

@media (max-width: 768px), (hover: none), (pointer: coarse) {
    html,
    body {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar,
    *::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
        display: none !important;
    }
}

/* Education institution logo */
.education-card-content {
    position: relative;
    overflow: hidden;
}

.education-card-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}

.education-logo-mark {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .72));
    border: 1px solid rgba(255, 255, 255, .82);
    box-shadow: 0 18px 44px rgba(17, 24, 39, .10);
    overflow: hidden;
}

.education-logo-mark img {
    width: 74%;
    height: 74%;
    object-fit: contain;
    display: block;
}

.education-logo-fallback {
    color: var(--accent-dark);
    font-size: 28px;
    font-weight: 950;
    background: linear-gradient(135deg, rgba(124, 58, 237, .14), rgba(255, 255, 255, .72));
}

.education-card-head .pill {
    margin-bottom: 8px;
}

.education-card-head h2 {
    margin-top: 0;
}

body[data-theme="dark"] .education-logo-mark {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
}

body[data-theme="dark"] .education-logo-fallback {
    color: #ddd6fe;
    background: linear-gradient(135deg, rgba(124, 58, 237, .22), rgba(255, 255, 255, .08));
}

@media (max-width: 640px) {
    .education-card-head {
        align-items: flex-start;
        gap: 14px;
    }

    .education-logo-mark {
        width: 58px;
        height: 58px;
        border-radius: 18px;
    }
}

/* Education score and logo containment polish */
.education-logo-mark {
    width: 88px;
    height: 88px;
    padding: 10px;
    box-sizing: border-box;
    overflow: visible;
}

.education-logo-mark img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.education-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 14px;
}

.education-card-meta .muted-text {
    margin: 0;
}

.education-score-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 850;
    background: linear-gradient(135deg, rgba(124, 58, 237, .13), rgba(255, 255, 255, .82));
    border: 1px solid rgba(124, 58, 237, .18);
    box-shadow: 0 12px 26px rgba(124, 58, 237, .10);
}

.education-score-chip strong {
    color: var(--text);
    font-weight: 950;
}

body[data-theme="dark"] .education-score-chip {
    color: #ddd6fe;
    background: linear-gradient(135deg, rgba(124, 58, 237, .22), rgba(255, 255, 255, .08));
    border-color: rgba(255, 255, 255, .12);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}

body[data-theme="dark"] .education-score-chip strong {
    color: #fff;
}

@media (max-width: 640px) {
    .education-logo-mark {
        width: 64px;
        height: 64px;
        padding: 8px;
        border-radius: 18px;
    }

    .education-card-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

/* Final education layout polish: natural logo, stacked institution info */
.education-card-content .education-card-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.education-card-content .education-logo-mark:not(.education-logo-fallback) {
    width: 106px;
    height: 106px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.education-card-content .education-logo-mark:not(.education-logo-fallback) img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: none;
}

.education-card-content .education-logo-fallback {
    width: 76px;
    height: 76px;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
}

.education-card-content .education-card-head > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.education-card-content .education-card-head .pill {
    margin: 0;
}

.education-card-content .education-card-head h2 {
    margin: 0;
    line-height: 1.18;
}

.education-card-content .education-card-meta {
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px 18px;
}

.education-program-stack {
    display: grid;
    gap: 4px;
    min-width: min(100%, 260px);
}

.education-program-stack .education-degree {
    color: var(--text);
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -.02em;
}

.education-program-stack .education-program {
    color: var(--muted);
    font-size: 18px;
    font-weight: 650;
    line-height: 1.45;
}

body[data-theme="dark"] .education-card-content .education-logo-mark:not(.education-logo-fallback) {
    background: transparent;
    border: 0;
    box-shadow: none;
}

body[data-theme="dark"] .education-program-stack .education-degree {
    color: rgba(255, 255, 255, .92);
}

body[data-theme="dark"] .education-program-stack .education-program {
    color: rgba(226, 232, 240, .70);
}

@media (max-width: 640px) {
    .education-card-content .education-logo-mark:not(.education-logo-fallback) {
        width: 86px;
        height: 86px;
    }

    .education-card-content .education-card-meta {
        flex-direction: column;
    }

    .education-program-stack .education-degree,
    .education-program-stack .education-program {
        font-size: 16px;
    }
}

/* Education card final alignment: logo left, all content right */
.education-card-content {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    column-gap: 26px;
    row-gap: 12px;
    align-items: start;
}

.education-card-content .education-card-head {
    display: contents;
}

.education-card-content .education-logo-mark:not(.education-logo-fallback),
.education-card-content .education-logo-fallback {
    grid-column: 1;
    grid-row: 1 / span 3;
    justify-self: center;
    align-self: start;
    margin-top: 2px;
}

.education-card-content .education-logo-mark:not(.education-logo-fallback) {
    width: 112px;
    height: 112px;
}

.education-card-content .education-card-head > div {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.education-card-content .education-card-meta {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px 22px;
    margin: 0;
}

.education-card-content > p {
    grid-column: 2;
    grid-row: 3;
    margin: 0;
    max-width: 760px;
}

.education-card-content .education-score-chip {
    margin-left: auto;
    white-space: nowrap;
}

@media (max-width: 820px) {
    .education-card-content {
        grid-template-columns: 92px minmax(0, 1fr);
        column-gap: 18px;
    }

    .education-card-content .education-logo-mark:not(.education-logo-fallback) {
        width: 86px;
        height: 86px;
    }

    .education-card-content .education-logo-fallback {
        width: 70px;
        height: 70px;
    }

    .education-card-content .education-card-meta {
        flex-direction: column;
        gap: 10px;
    }

    .education-card-content .education-score-chip {
        margin-left: 0;
        white-space: normal;
    }
}

@media (max-width: 560px) {
    .education-card-content {
        grid-template-columns: 74px minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 10px;
        padding: 22px;
    }

    .education-card-content .education-logo-mark:not(.education-logo-fallback) {
        width: 70px;
        height: 70px;
    }

    .education-card-content .education-logo-fallback {
        width: 58px;
        height: 58px;
        border-radius: 18px;
    }

    .education-card-content .education-card-head h2 {
        font-size: 20px;
    }
}
