:root {
    color-scheme: light;
    --paper: #f8f5f3;
    --surface: #fff;
    --wash: #f3eae7;
    --ink: #251b20;
    --muted: #5f5055;
    --border: #e2d5d5;
    --red: #a91636;
    --accent-ink: #fff;
    --dark: #26131c;
    --max: 1280px;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --paper: #191318;
    --surface: #251b22;
    --wash: #21171e;
    --ink: #fcf1f3;
    --muted: #d9c4cd;
    --border: #53404a;
    --red: #ff9aab;
    --accent-ink: #300c17;
    --dark: #150d14;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        color-scheme: dark;
        --paper: #191318;
        --surface: #251b22;
        --wash: #21171e;
        --ink: #fcf1f3;
        --muted: #d9c4cd;
        --border: #53404a;
        --red: #ff9aab;
        --accent-ink: #300c17;
        --dark: #150d14;
    }
}

body { background: var(--paper); color: var(--ink); }
.container { width: min(calc(100% - 88px), var(--max)); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.eyebrow { font-family: inherit; font-weight: 800; font-size: 11px; letter-spacing: .12em; }
.eyebrow > span:first-child { width: 17px; height: 1px; background: currentColor; }
.section { padding-block: 90px; }
.section.compact { padding-top: 0; }
.section-heading h2 { font-size: clamp(34px, 4.15vw, 61px); line-height: 1.06; }
.section-heading .eyebrow { margin-bottom: 15px; }
.button, .header-contact { border-radius: 8px; }
.button-red, .header-contact { background: var(--red); color: var(--accent-ink); }
.button-red:hover, .header-contact:hover { background: var(--red); color: var(--accent-ink); filter: brightness(.92); }
.button-outline { background: var(--surface); color: var(--ink); border-color: var(--border); }
.button-outline:hover { background: var(--wash); color: var(--red); border-color: var(--red); }
.text-link:hover { color: var(--red); }

.site-header { background: var(--paper); color: var(--ink); border-color: var(--border); }
.header-inner { height: 76px; gap: 19px; }
.site-header .brand img { width: 40px; height: 40px; object-fit: contain; }
.site-header .brand > span { font-size: 19px; }
.site-header nav { gap: 20px; }
.site-header nav > a { padding-block: 26px; color: var(--muted); font-weight: 700; }
.site-header nav > a:hover, .site-header nav [aria-current] { color: var(--red); }
.site-header nav [aria-current]::after { background: var(--red); bottom: 17px; }
.theme-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
}
.theme-toggle .theme-sun, .theme-toggle[aria-pressed="true"] .theme-moon { display: none; }
.theme-toggle[aria-pressed="true"] .theme-sun { display: block; }
.language summary { color: var(--ink); }
.language > div { background: var(--surface); border-color: var(--border); border-radius: 8px; min-width: 118px; }
.language a { color: var(--ink); }
.language a:hover, .language [aria-current] { color: var(--red); background: var(--wash); }
.site-header .mobile-contact { display: none; }

.corporate-hero { padding-block: 44px 42px; }
.corporate-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 6vw, 85px); align-items: center; }
.hero-content .eyebrow { margin-bottom: 23px; }
.hero-content h1 { font-size: clamp(49px, 5.8vw, 86px); line-height: .99; max-width: 670px; letter-spacing: -.075em; text-wrap: initial; }
.hero-description { font-size: clamp(16px, 1.36vw, 18px); max-width: 465px; margin-top: 21px; line-height: 1.65; }
.hero-content .actions { margin-top: 26px; gap: 12px; }
.hero-globe {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #613446;
    border-radius: 16px;
    background: #201018;
    box-shadow: 0 20px 45px #43182b22;
}
.hero-globe img { display: block; width: 100%; height: auto; }

.home-sponsors { background: var(--wash); border-block: 1px solid var(--border); padding-block: 22px 24px; }
.sponsor-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.sponsor-intro .eyebrow { margin-bottom: 8px; }
.sponsor-intro h2 { font-size: clamp(24px, 2.85vw, 36px); line-height: 1.12; }
.sponsor-preview { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 12px; }
.sponsor-preview > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    min-height: 79px;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--ink);
    font-size: clamp(13px, 1.4vw, 19px);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    flex-wrap: wrap;
    overflow-wrap: anywhere;
}
.sponsor-preview > a:hover { border-color: var(--red); color: var(--red); }
.sponsor-preview .sponsor-highlight { justify-content: flex-start; flex-wrap: nowrap; gap: 13px; border-color: var(--red); text-align: start; }
.sponsor-highlight img { flex: 0 0 48px; width: 48px; height: 48px; object-fit: contain; border-radius: 6px; background: #fff; }
.sponsor-highlight > span:last-child { margin-inline-start: auto; color: var(--red); }
.sponsor-preview small { font-size: 10px; color: var(--muted); }
.sponsor-highlight small { display: block; margin-top: 4px; }
.sponsor-directory .sponsor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sponsor-directory .sponsor-card { background: var(--surface); color: var(--ink); border-color: var(--border); border-radius: 10px; min-height: 126px; box-shadow: none; transform: none; scroll-margin-top: 105px; }
.sponsor-directory .sponsor-card:hover, .sponsor-directory .sponsor-card:target { border-color: var(--red); box-shadow: none; transform: none; }
.sponsor-directory .sponsor-card::before, .sponsor-directory .sponsor-card::after { display: none; }
.sponsor-directory .sponsor-card .sponsor-meta, .sponsor-directory .sponsor-card .sponsor-wordmark small { color: var(--muted); }
.sponsor-directory .sponsor-card .sponsor-symbol-image { background: #fff; border-radius: 6px; }
.sponsor-directory .sponsor-wordmark { min-width: 0; overflow-wrap: anywhere; }

.service-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.service-overview article { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px; min-width: 0; }
.service-overview article:focus-within { border-color: var(--red); }
.service-overview-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.service-overview-top > span { font: 500 11px/1.4 var(--mono); color: var(--muted); }
.service-overview h3 { margin-block: 19px 9px; font-size: 22px; line-height: 1.15; overflow-wrap: anywhere; }
.service-overview h3 span { color: var(--red); font-size: .8em; margin-inline-start: 3px; }
.service-overview p { font-size: 14px; line-height: 1.66; }
.service-icon, .sheet-icon { background: var(--wash); color: var(--red); border: 1px solid var(--border); border-radius: 8px; }
.corporate-projects, .process-section { background: var(--wash); color: var(--ink); }
.corporate-projects .project-disclaimer { padding-inline: 0; }
.home-page .process-section { background: var(--paper); }
.corporate-team { background: var(--wash); }
.project-image, .person-photo { border-radius: 10px; }
.project-image, .detail-cover { background: var(--surface); }
.project-open, .person-mark { color: var(--ink); background: var(--surface); border-radius: 7px; }
.project-image-top, .project-meta, .detail-cover-label, .person-role { color: var(--red); }
.concept-label, .tags > span, .process-grid article, .catalog-sheet, .scope-list > li { border-color: var(--border); }
.concept-label, .tags > span { color: var(--muted); background: var(--surface); }
.caption, .project-disclaimer, .scope-list > li, .field small, .results-row { color: var(--muted); }
.lead-text { color: var(--ink) !important; }
.index-label, .serial { color: var(--red); }
.page-hero { border-color: var(--border); }
.breadcrumb, .breadcrumb a { color: var(--muted); }
.service-mast { background: var(--dark); border-color: #ad284b; color: #fff4f7; }
.service-mast .eyebrow { color: #ffa8b8; }
.service-mast .eyebrow > span { background: #ffa8b8; }
.service-mast .breadcrumb, .mast-grid p { color: #ead0db; }
.catalog-links a { min-width: 0; overflow-wrap: anywhere; }
.catalog-sheet:target { border-color: var(--red); }
.project-toolbar, .form-panel, .notice, .technology-grid > div, .empty-state {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--border);
    border-radius: 10px;
}
.field input, .field select, .field textarea, .filter-field input, .filter-field select {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--border);
    border-radius: 6px;
}
.closing-section { padding-top: 45px; }
.closing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-inline-start: 4px solid var(--red);
    border-radius: 12px;
}
.closing-symbol { border-color: var(--border); border-radius: 12px; }
.footer { background: var(--dark); color: #fff3f6; }
.footer-grid p, .footer-grid > div > a:not(.brand), .footer-bottom, .footer-bottom a { color: #e5cbd6; }
.footer .brand img { object-fit: contain; }
.footer a:hover { color: #fff; }
.whatsapp { background: #26131c; padding: 12px; right: 17px; bottom: 18px; }
.whatsapp span { display: none; }

@media (max-width: 1200px) {
    .container { width: calc(100% - 72px); }
    .site-header nav { gap: 15px; }
    .header-inner { gap: 15px; }
    .sponsor-directory .sponsor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
    .header-inner { height: 72px; }
    .site-header nav { top: 72px; background: var(--paper); border-color: var(--border); }
    .site-header nav > a { padding: 12px 0; }
    .site-header .mobile-contact { display: block; }
    .menu-toggle { color: var(--ink); border-color: var(--border); }
    .menu-lines { border-color: var(--ink); }
    .section { padding-block: 65px; }
    .section.compact { padding-top: 0; }
}

@media (max-width: 760px) {
    .container { width: calc(100% - 40px); }
    .header-inner { gap: 12px; }
    .site-header .brand img { width: 34px; height: 34px; }
    .site-header .brand > span { font-size: 16px; }
    .theme-toggle { width: 36px; height: 36px; flex-basis: 36px; }
    .corporate-hero { padding-block: 32px; }
    .corporate-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero-content h1 { font-size: clamp(45px, 10vw, 68px); }
    .hero-content .eyebrow { margin-bottom: 16px; }
    .hero-description { margin-top: 17px; }
    .hero-content .actions { margin-top: 20px; }
    .sponsor-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sponsor-preview > a { min-height: 62px; }
    .sponsor-highlight img { width: 34px; height: 34px; flex-basis: 34px; }
    .sponsor-intro { align-items: flex-start; flex-direction: column; gap: 9px; }
    .sponsor-directory .sponsor-grid, .service-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section { padding-block: 51px; }
    .section.compact { padding-top: 0; }
}

@media (max-width: 480px) {
    .menu-toggle { font-size: 0; min-height: 34px; min-width: 34px; padding: 0 7px; justify-content: center; }
    .menu-lines { margin: 0; }
    .service-overview { grid-template-columns: minmax(0, 1fr); }
    .sponsor-directory .sponsor-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-content h1 { overflow-wrap: anywhere; }
    .hero-content .actions .button { padding-inline: 12px; }
}

@media (max-width: 360px) {
    .container { width: calc(100% - 32px); }
    .header-inner { gap: 9px; }
    .site-header .brand { gap: 5px; }
    .site-header .brand > span { font-size: 14px; }
    .site-header .brand img { width: 30px; height: 30px; }
    .sponsor-preview .sponsor-highlight { gap: 6px; }
}


/* NODERVA / 06 — editorial layout, oxblood surfaces and warm paper. */
.site-header .nav-contact { color: var(--accent-ink); background: var(--red); padding: 10px 14px; border-radius: 7px; white-space: nowrap; }
.site-header .nav-contact:hover, .site-header .nav-contact[aria-current] { color: var(--accent-ink); background: var(--red); text-decoration: underline; text-underline-offset: .2em; }
.site-header .nav-contact[aria-current]::after { display: none; }
.corporate-hero { position: relative; padding-block: clamp(48px, 6vw, 96px); background: var(--surface); border-bottom: 1px solid var(--border); }
.corporate-hero-grid { gap: clamp(35px, 5vw, 80px); }
.hero-content .eyebrow { color: var(--red); letter-spacing: .13em; }
.hero-content h1 { letter-spacing: -.06em; line-height: 1.05; font-size: clamp(52px, 6.5vw, 104px); }
.hero-content h1 span { display: block; color: var(--red); }
.hero-content .hero-description { max-width: 47ch; line-height: 1.75; }
.home-sponsors { background: var(--wash); }
.sponsor-preview > a { border-radius: 9px; }
.service-overview article { padding: 25px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.project-card { position: relative; }
.project-card h3 a::after { position: absolute; inset: 0; content: ""; border-radius: 12px; }
.project-card:focus-within .project-image { outline: 3px solid var(--red); outline-offset: 3px; }
.project-card:hover .project-open { background: var(--red); color: var(--accent-ink); }
.closing-card { border-inline-start: 5px solid var(--red); }
.whatsapp, .whatsapp:hover { width: 52px; height: 52px; padding: 0; display: grid; place-items: center; background: #162922; border: 1px solid #3d6b53; border-radius: 15px; box-shadow: 0 8px 20px #1a102240; }
.whatsapp:hover { background: #203c30; }
.whatsapp img { display: block; width: 30px; height: 30px; }
.whatsapp:focus-visible { outline-color: #25d366; }
.site-header .menu-toggle[hidden], .theme-toggle[hidden] { display: none; }
#proje-ozeti { scroll-margin-top: 110px; }
.contact-channel { overflow-wrap: anywhere; }
.page-hero .breadcrumb, .results-row > span:first-child { color: var(--muted); }
.project-disclaimer { color: var(--muted); background: var(--surface); border-color: var(--border); }
.directory-title { font-size: clamp(25px, 3vw, 38px); margin-block: 0 24px; letter-spacing: -.04em; }
.skip { background: var(--surface); color: var(--ink); }
.project-image-top, .project-meta, .concept-label, .tags > span,
.footer-bottom, .results-row, .contact-channel > span:first-child,
.sponsor-directory .sponsor-meta, .sponsor-directory .sponsor-wordmark > small,
.sponsor-preview small, .brand small, .person-role, .person p,
.project-disclaimer, .detail-cover-label, .index-label, .next-project > span,
.about-facts span, .technology-grid strong, .field small, .filter-field label {
    font-size: .75rem;
}
.sponsor-directory .brand-atlas .sponsor-symbol b { color: #29150a; }
.closing-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(215px, .42fr);
    align-items: center;
    gap: clamp(24px, 5vw, 72px);
    padding: clamp(24px, 4vw, 52px);
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
}
.closing-band-copy h2 {
    max-width: 22ch;
    margin: 0 0 14px;
    font-size: clamp(30px, 3.8vw, 53px);
    line-height: 1.12;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.closing-band-copy p:not(.closing-band-kicker), .closing-band-action p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}
.closing-band-kicker {
    margin: 0 0 12px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .11em;
    color: var(--red);
}
.closing-band-action {
    border-inline-start: 1px solid var(--border);
    padding-inline-start: clamp(20px, 3vw, 36px);
}
.closing-band-action .button { white-space: normal; }
.closing-band-action p { margin-block-start: 10px; font-size: .875rem; }
.contact-shortcuts {
    position: fixed;
    z-index: 10;
    inset-inline-end: 17px;
    bottom: max(17px, env(safe-area-inset-bottom));
    display: grid;
    justify-items: end;
    gap: 8px;
    pointer-events: none;
}
.contact-shortcuts a { pointer-events: auto; }
.quick-whatsapp {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid #38775b;
    border-radius: 12px;
    background: #142b22;
    box-shadow: 0 5px 14px #19131b38;
}
.quick-whatsapp:hover { background: #244535; }
.quick-whatsapp img { display: block; width: 26px; height: 26px; }
.ticket-shortcut {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 9px 14px;
    color: var(--accent-ink);
    background: var(--red);
    border-radius: 9px;
    font-size: .875rem;
    font-weight: 800;
    box-shadow: 0 6px 20px #1a10223d;
}
.ticket-shortcut:hover { text-decoration: underline; }
.ticket-shortcut svg { width: 21px; height: 21px; flex: 0 0 21px; }
.footer { padding-block-end: max(72px, env(safe-area-inset-bottom)); }
.support-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; gap: clamp(22px, 6vw, 70px); }
.support-layout aside h2 { font-size: clamp(22px, 2.5vw, 31px); margin-block: 0 12px; }
.support-layout aside p { color: var(--muted); margin-block: 0 14px; }
.ticket-number { display: block; color: var(--red); margin-block: 8px; overflow-wrap: anywhere; }
@media (max-width: 700px) {
    .closing-band { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .closing-band-action { padding: 18px 0 0; border-inline-start: 0; border-block-start: 1px solid var(--border); }
    .support-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1000px) {
    .site-header nav .nav-contact { width: fit-content; margin-block: 6px 12px; padding: 10px 14px; }
    .site-header:not(.menu-ready) .header-inner { height: auto; min-height: 72px; padding-block: 12px; flex-wrap: wrap; }
    .site-header:not(.menu-ready) nav { position: static; order: 5; flex: 1 0 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 16px; padding: 0; border: 0; }
    .site-header:not(.menu-ready) nav > a { display: block; padding: 7px 0; }
    .site-header:not(.menu-ready) nav .nav-contact { padding: 7px 10px; margin: 0; }
}
@media (max-width: 760px) {
    .hero-content h1 { font-size: clamp(42px, 10vw, 67px); letter-spacing: -.047em; }
    .corporate-hero { padding-block: 36px; }
    .whatsapp, .whatsapp:hover { width: 46px; height: 46px; inset-inline-end: 12px; right: auto; bottom: 13px; }
    .whatsapp img { width: 26px; height: 26px; }
}
