:root {
/*
                --nav-h: 72px;
*/
                --nav-h: 100px;
				--nav-h: 100px;
                --ink: #171717;
				/*
                --line: #d8d8d8;
				--line: #c21d23;
				*/
				--line: #ff0000;
				--nav-border-w: 3.5px;
                --bg: #fff;
            }
            * {
                box-sizing: border-box;
            }
            html {
                /* Always show the page scrollbar, even on systems that hide it
                   until scrolling. */
                overflow-y: scroll;
                scroll-behavior: smooth;
                scroll-padding-top: calc(var(--nav-h) + 12px);
            }
            /* Custom page scrollbar: styling it makes Chrome, Edge and Safari
               draw a permanent scrollbar even on systems (e.g. macOS) that
               otherwise only show an overlay scrollbar while scrolling. */
            html::-webkit-scrollbar {
                width: 12px;
            }
            html::-webkit-scrollbar-track {
                background: #f1f1f1;
            }
            html::-webkit-scrollbar-thumb {
                background: #b5b5b5;
                border: 3px solid #f1f1f1;
                border-radius: 6px;
            }
            html::-webkit-scrollbar-thumb:hover {
                background: #e00000;
            }
            body {
                margin: 0;
                background: #fff;
                color: var(--ink);
                font-family: Verdana, Arial, sans-serif;
            }


body::before {
    content: "";
    position: fixed;
    z-index: -1;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100%;
    /* max-width: 1280px;
    height: 100vh;
 */
    height: 88%;
    background-image: url(/i/strataz/background.webp);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}


            .top-nav {
                position: fixed;
                z-index: 1000;
                left: 0;
                right: 0;
                top: 0;
                height: var(--nav-h);
                background: rgba(255, 255, 255, 0.96);
                border-bottom: var(--nav-border-w) solid var(--line);
                backdrop-filter: blur(8px);
/*
padding-20px;
*/
            }
            .nav-inner {
                height: 100%;
                max-width: 1280px;
                margin: auto;
/*
                padding: 0 24px;
*/
padding: 20px;
                display: flex;
                align-items: center;
                gap: 30px;
            }
            /* Transparent wrapper around the logo + nav-links group: dissolves
               into .nav-inner's own flex context by default, so .brand and
               .menu-links act as direct flex children of .nav-inner. Mobile
               (media query below) turns it into a real row of its own instead,
               stacked above the language selector. */
            .nav-row1 {
                display: contents;
            }
            .brand {
                font-weight: 700;
                letter-spacing: 0.04em;
                text-decoration: none;
                color: #111;
                white-space: nowrap;
            }
            .menu-links {
                margin-left: auto;
                display: flex;
                align-self: flex-end;
                gap: 24px;
            }
            .menu-links a {
                color: #222;
                text-decoration: none;
                font-size: 14px;
                letter-spacing: 0.04em;
                padding: 27px 0 6px;
                border-bottom: 2px solid transparent;
            }
            .menu-links a:hover,
            .menu-links a:focus {
                border-bottom-color: #222;
            }
            .menu-toggle {
                display: none;
                margin-left: auto;
                background: none;
                border: 1px solid #aaa;
                padding: 9px 12px;
                font: inherit;
                white-space: nowrap;
                flex-shrink: 0;
            }
            .ppt-slide {
                position: relative;
                width: 100%;
                max-width: 1280px;
                margin: 0 auto;
				/* 1.7777777777777777777777777777778 
                aspect-ratio: 12192000/6858000;
				aspect-ratio: 16 / 9;
				*/
                aspect-ratio: 16 / 11;
                scroll-margin-top: calc(var(--nav-h) + 12px);
/*
                overflow: hidden;
*/
/*
                background: #fff;
*/
            }
            .ppt-slide-min {
                position: relative;
                width: 100%;
				height: 250px;
                max-width: 1280px;
                margin: 0 auto;
/*
1.777777777777778
                aspect-ratio: 12192000/6858000;
*/
				aspect-ratio: 12192000/6858000;
                scroll-margin-top: calc(var(--nav-h) + 12px);
                overflow: hidden;
/*
                background: #fff;
*/
            }
            .slide-inner {
                position: absolute;
                inset: 0;
				font-family: "Verdana";
				font-size: 11pt;
            }
            .slide-top {
            }
            .ppt-shape {
                position: absolute;
            }
            .ppt-text {
                font-family: Verdana, Arial, sans-serif;
                line-height: 1.12;
                color: #111;
            }
			.gray {
				color: #565656;
			}
			.title, .title-big, .title-bigger {
				font-family: "Verdana"; font-size: 11pt; font-weight: 700;
			}
			.title-2nd {
				font-family: "Verdana"; font-size: 11pt; font-style: italic;
			}
			.title-2nd-light {
				font-family: "Verdana"; font-size: 11pt; font-style: italic; font-weight: 400;
			}
			.title-big {
				font-size: 12pt;
			}
			.title-bigger {
				font-size: 14pt;
			}
            .ppt-image {
                object-fit: fill;
                display: block;
            }
            .ppt-line {
                height: 1px;
                background: #111;
                transform-origin: left center;
            }
			
			
			.ppt-vertical-title {}
			.width-perc {}
			.width-perc-75 {
				width: 75%;
			}
			.width-perc-70 {
				width: 70%;
			}
			.width-perc-60 {
				width: 60%;
			}
			.width-perc-85 {
				width: 85%;
			}
			/* Safety net: an image positioned flush with (or a hair past) the
			   slide's right edge must never give the page a horizontal
			   scrollbar. clip, not hidden, so body doesn't become a scroll
			   container. */
			body {
				overflow-x: clip;
			}
			/* Between the mobile breakpoint and the full 1280px canvas the
			   logo + links + language selector don't fit on one row at their
			   desktop sizes, so the selector got pushed off the right edge.
			   Tighten them up instead. */
			@media (min-width: 769px) and (max-width: 1150px) {
				.nav-inner {
					gap: 14px;
				}
				.menu-links {
					gap: 12px;
				}
				.menu-links a {
					font-size: 11px;
					letter-spacing: 0.02em;
					white-space: nowrap;
				}
				/* .nav-inner prefix: the plain .language-selector rule comes
				   later in this file and would otherwise win */
				.nav-inner .language-selector {
					width: 170px;
				}
				.nav-logo {
					max-width: 180px;
				}
			}
			@media (min-width: 769px) and (max-width: 960px) {
				.menu-links {
					gap: 8px;
				}
				.menu-links a {
					font-size: 10px;
					letter-spacing: 0;
				}
				.nav-inner .language-selector {
					width: 140px;
				}
				.nav-logo {
					max-width: 130px;
				}
			}
			/* The text-heavy project slides need the full slide height (as
			   on stratazgroup.com) so their last lines aren't clipped. */
			#slide-9 .ppt-text,
			#slide-10 .ppt-text,
			#slide-11 .ppt-text,
			#slide-12 .ppt-text,
			#slide-13 .ppt-text {
				top: 2% !important;
				height: 96% !important;
			}
			
			
            /* Keep desktop presentation geometry identical to the 16:9 PPTX coordinate system. */
            @media (min-width: 769px) {
				/* Pull the menu links down past nav-inner's own bottom padding,
				   leaving a small gap so the hover underline stays close to the
				   text rather than glued to the red divider. */
				.menu-links {
					margin-bottom: -8px;
				}
				/* Line the language selector up with the menu links instead of
				   centering it in the full nav height. */
				.language-selector {
					align-self: flex-end;
					margin-bottom: -8px;
				}
			
		


                .ppt-slide:first-of-type {
                    margin-top: var(--nav-h);
                }



            }
            @media (max-width: 768px) {
                :root {
                    /* Pre-JS fallback only: syncMobileNavHeight() (see the
                       script) measures the nav's real rendered height and
                       writes it back here. */
                    --nav-h: 62px;
                }

body::before {
    content: "";
    position: fixed;
    z-index: -1;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100%;
    /* max-width: 1280px; 
    height: 100vh;
*/
    height: 94%;
    background-image: url(/i/strataz/background.webp);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

                /* Height grows to fit the two rows (logo/links, then the
                   language selector); syncMobileNavHeight() feeds the real
                   height back into --nav-h. */
                .top-nav {
                    height: auto;
                }
                .nav-inner {
                    height: auto;
                    padding: 3px 12px;
                    gap: 4px;
                    flex-direction: column;
                    align-items: stretch;
                }
                .nav-row1 {
                    display: flex;
                    flex-direction: row;
                    align-items: flex-start;
                    width: 100%;
                    gap: 6px;
                }
                .brand {
                    font-size: 14px;
                    flex-shrink: 0;
                }
                /* No hamburger on mobile — the nav links stay inline with the
                   logo, shrunk down to fit. */
                .menu-toggle {
                    display: none;
                }
                /* This site has more links than fit on one line next to the
                   logo on a narrow phone, so they may wrap onto a second,
                   right-aligned line instead of overflowing the screen. */
                .menu-links {
                    display: flex;
                    flex-direction: row;
                    flex-wrap: wrap;
                    justify-content: flex-end;
                    align-items: center;
                    flex-shrink: 1;
                    min-width: 0;
                    margin-left: auto;
                    gap: 4px 6px;
                    align-self: flex-start;
                }
                .menu-links a {
                    padding: 0;
                    font-size: 8px;
                    letter-spacing: 0.01em;
                    white-space: nowrap;
                }
                /* Mobile uses the same HTML content, but reflows it for readability. */
                .ppt-slide {
                    aspect-ratio: auto;
                    min-height: 0;
                    overflow: visible;
                    padding: calc(var(--nav-h) + 14px) 18px 34px;
/*
                    background: #fff;
*/
                    border-bottom: 1px solid #ddd;
                }



 /* Reset desktop-only positioning of slide-top on mobile */
    .slide-top {
        top: 500px;
        margin-top: 0;
        background: transparent;
    }


                .slide-inner {
                    position: relative;
                    inset: auto;
                    display: flex;
                    flex-direction: column;
                    gap: 18px;
                    min-height: 0;
                }
                .ppt-shape {
                    position: relative !important;
                    left: auto !important;
                    top: auto !important;
                    width: auto !important;
                    height: auto !important;
                    transform: none !important;
                }
                .ppt-image {
                    width: 100% !important;
                    height: auto !important;
                    max-height: 360px;
                    object-fit: contain;
                }
                .ppt-text {
                    padding: 0 !important;
                    display: block !important;
                    overflow: visible !important;
                    font-size: 15px !important;
                    line-height: 1.55 !important;
                }
                .ppt-text div {
                    margin: 0 0 9px;
                }
                .ppt-line {
                    display: none;
                }
                /* decorative vertical side labels are retained but made unobtrusive */
                .ppt-text[style*="width:2.677"] {
                    display: none !important;
                }
            }

            /* Layout corrections: readable HTML text without PPT-export whitespace artifacts. */
            .ppt-text {
                white-space: normal !important;
                word-spacing: normal !important;
                letter-spacing: normal;
            }
            .ppt-text div {
                white-space: normal !important;
            }
            .nav-logo {
                display: block;
/*
                width: 150px;
*/
                height: auto;
/*
                max-height: 52px;
*/
                max-height: 60px;
                object-fit: contain;
margin-top: 12px;
margin-bottom: 12px;

            }
            .brand {
                display: flex;
                align-items: center;
                height: 100%;
            }
            .menu-links a {
                border-bottom: 2px solid transparent;
            }
            .menu-links a:hover,
            .menu-links a:focus,
            .menu-links a.active {
                border-bottom-color: #e00000;
                color: #111;
            }
            @media (max-width: 768px) {
                .nav-logo {
                    width: 118px;
                    max-height: 44px;
                }
                .menu-links a {
                    border-bottom: 2px solid transparent;
                }
                .menu-links a:hover,
                .menu-links a:focus,
                .menu-links a.active {
				/*
                    border-bottom-color: #e00000;
					border-bottom-color: #red;
					*/
                    border-bottom-color: #e00000;
                }
				.ppt-vertical-title {
					display: none;
				}
				.width-perc {
					width: 100%;
				}
            }
			
			
/* langs start */

.language-selector {
    position: relative;
    width: 250px;
    flex-shrink: 0;
}

#languageInput {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 34px 6px 12px;
    border: 1px solid #aaa;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

#languageInput:focus {
    outline: none;
    border-color: #e00000;
}

.language-selector::after {
    content: "\25BE";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #555;
}

.language-suggestions {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 2000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.language-suggestion {
    padding: 9px 12px;
    cursor: pointer;
    line-height: 1.3;
}

.language-suggestion:hover,
.language-suggestion.active {
    background: #f0f0f0;
}

.language-empty {
    padding: 10px 12px;
    color: #777;
}

@media (max-width: 768px) {
    /* Its own row below the logo/links row, right-aligned. The 45% width is
       only the pre-JS fallback; syncLanguageSelectorWidth() matches it to
       the rendered .menu-links width. */
    .language-selector {
        align-self: flex-end;
        width: 45%;
        flex-shrink: 0;
    }

    #languageInput {
        font-size: 11px;
        padding: 5px 24px 5px 8px;
    }

    .language-selector::after {
        right: 8px;
        font-size: 9px;
    }

    .language-suggestions {
        max-height: 260px;
        width: 100%;
        left: 0;
        right: auto;
    }
}

/* langs end */
