:root {
	/*
    --nav-h: 72px;
	--nav-h: 100px;
	*/
	--nav-h: 120px;
	--ink: #171717;
	/*
    --line: #d8d8d8;
	--line: #c21d23;
	*/
	--line: #ff0000;
	--nav-border-w: 3.5px;
	--bg: #fff;
	/* Width of the right-hand deck scrollbar (see .deck-scrollbar). The nav,
	   background and slides all stop short of it, as with a real scrollbar. */
	--deck-sb-w: 12px;
}

* {
	box-sizing: border-box;
}

html, body {
	/* The page itself never scrolls — navigation swaps which slide panel is
	   visible (see the JS deck controller below), exactly like Present mode
	   in the ppt, rather than scrolling a tall document. */
	overflow: hidden;
	height: 100%;
}

body {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: Verdana, Arial, sans-serif;
}

body::before {
	content: "";
	/* Fixed to the viewport (not the document), so it stays in place as one
	   constant backdrop behind every slide instead of scrolling with them —
	   matching how a background stays put behind changing slides in the ppt. */
	position: fixed;
	z-index: -1;
	top: var(--nav-h);
	/* 100vh on mobile Chrome/Safari is the *largest* possible viewport (as if
	   the address bar were hidden). When the address bar is actually showing
	   (the common case, since this page disables scrolling and so never gets
	   the user-scroll gesture that normally auto-hides it), the real visible
	   area is shorter than 100vh — so anything sized purely off 100vh extends
	   past the bottom of what's actually on screen. 100dvh tracks the true,
	   currently-visible viewport instead; the plain vh line above is kept as
	   a fallback for browsers that don't support dvh (an unsupported value
	   invalidates just this declaration, leaving the fallback in effect). */
	height: calc(100vh - var(--nav-h));
	height: calc(100dvh - var(--nav-h));
	left: 0;
	width: calc(100% - var(--deck-sb-w));
	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: var(--deck-sb-w);
	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 (see the HTML comment above it) around the logo +
   nav-links group: dissolves into .nav-inner's own flex context by default,
   so .brand/.menu-links act as direct flex children of .nav-inner exactly
   as if this wrapper weren't there. 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;
	/* Keep "☰ Menu" on one line: in the cramped mobile nav row (logo + this
	   button + a language input all competing for space) flexbox will
	   otherwise shrink this button down to its narrowest breakable width,
	   wrapping the icon and the word onto two lines. That makes the button
	   taller than the nav bar itself, so its border pokes into (and visually
	   fuses with) the red divider below. Nowrap + no shrink keeps it a
	   single short line that comfortably fits within --nav-h. */
	white-space: nowrap;
	flex-shrink: 0;
}

/* Exact ppt behavior: every slide is a fixed full-screen panel stacked in the
   same spot (below the nav); only the .active one is shown. Advancing swaps
   which panel is active (see the JS deck controller below) instead of
   scrolling a document — one action, one slide, like Present mode. */
.ppt-slide, .ppt-slide-min {
	position: fixed;
	top: var(--nav-h);
	left: 0;
	right: var(--deck-sb-w);
	width: calc(100% - var(--deck-sb-w));
	max-width: 1280px;
	margin: 0 auto;
	/* See the matching comment on body::before above: 100dvh (with the plain
	   vh line kept as a fallback) keeps this box matched to the address
	   bar's actual on-screen state instead of assuming it's hidden, which is
	   what was letting the last bit of mobile slide content — laid out and
	   measured by fitMobileText() against this box's own height — sit below
	   the true visible fold with no way to scroll to it. */
	height: calc(100vh - var(--nav-h));
	height: calc(100dvh - var(--nav-h));
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.5s ease;
}

.ppt-slide.active, .ppt-slide-min.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.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;
}

.side-label {
	background: #FF0000;
	color: #fff;
	writing-mode: vertical-rl;
	font-family: Verdana, Arial, sans-serif;
	font-weight: 600;
	font-size: 16pt;
	line-height: 1;
	letter-spacing: -0.3px;
	box-sizing: border-box;
	white-space: nowrap;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Hidden by default (and left this way on mobile, where the per-slide
   .side-label already works fine); shown and positioned only in the
   desktop media query below, where it stands in for the per-slide tab —
   see the HTML comment above its markup for why. */
.desktop-side-tab {
	display: none;
	position: fixed;
	left: 0;
	background: #FF0000;
	color: #fff;
	writing-mode: vertical-rl;
	font-family: Verdana, Arial, sans-serif;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.3px;
	box-sizing: border-box;
	white-space: nowrap;
	overflow: hidden;
	align-items: center;
	justify-content: center;
	z-index: 500;
}

.width-perc {

}

.width-perc-85 {
	width: 85%;
}

.width-perc-75 {
	width: 75%;
}

.width-perc-70 {
	width: 70%;
}

.width-perc-60 {
	width: 60%;
}

/*
                Uniform scaled-replica layout at every window size: each slide is built
                at its fixed 1280x720 design size (so all the percentage-based positions,
                and every fixed-pt font size, resolve identically to the PPTX), then the
                whole slide is scaled as one unit via --slide-scale and centered in the
                viewport-tall .ppt-slide box — contain-fit, like PowerPoint's Present
                mode, so nothing overflows or clips whether the window is wide-and-short
                or narrow-and-tall.
            */
.ppt-slide .slide-inner {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1280px;
	height: 720px;
	transform-origin: center center;
	transform: translate(-50%, -50%) scale(var(--slide-scale, 1));
}
/* The home hero fills the full window height below the fixed nav, rather than
               using the scaled-replica 16:9 slide system the other sections use. */
.ppt-slide-min .slide-inner {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: none;
}


/* On a narrow phone the 1280x720 contain-fit replica above is limited by the
   width axis (390/1280 ≈ 0.30), so it letterboxes down to a short strip in
   the middle of the screen and every font shrinks to that same ~30% —
   unreadably small with most of the screen left empty. Below the tablet
   breakpoint, drop the fixed-canvas replica in favor of a fluid layout: the
   same percentage-based positions from the design now resolve against the
   full available width AND height. Every font size below is expressed as
   `<original pt> * var(--mtxt, 1)` — a per-slide multiplier the script at
   the bottom of the page binary-searches (once per slide, on load/resize)
   to the largest value that still lets that slide's content fit on one
   screen with no scrolling, so each slide reads as large as it can while
   still behaving exactly like PPT's one-screen-per-slide Present mode. */
@media ( max-width : 768px) {
	.ppt-slide .slide-inner {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		transform: none;
	}
	.slide-inner {
		font-size: calc(11pt * var(--mtxt, 1));
	}
	.title, .title-2nd, .title-2nd-light {
		font-size: calc(11pt * var(--mtxt, 1));
	}
	.title-big {
		font-size: calc(12pt * var(--mtxt, 1));
	}
	.title-bigger {
		font-size: calc(14pt * var(--mtxt, 1));
	}
	/* The side-label tab's own width is a tiny fixed percentage of the design
	   canvas (~34px worth) — fine on desktop, but on mobile that same
	   percentage is a sliver a few px wide. Give it a fixed, comfortably
	   sized box instead of stretching with the rest of the text, since it's
	   a short 2-3 word vertical tab, not body copy. */
	.side-label {
		font-size: 15pt;
		width: 34px !important;
	}
	/* Most of the body copy carries its own inline pt size (exported from the
	   PPTX), which otherwise wins over the class-level rule above — scale
	   those by the same per-slide multiplier so headings and body text grow
	   (or shrink to fit) together. */
	[style*="font-size: 8pt"] {
		font-size: calc(8pt * var(--mtxt, 1)) !important;
	}
	[style*="font-size: 9pt"] {
		font-size: calc(9pt * var(--mtxt, 1)) !important;
	}
	[style*="font-size: 11pt"] {
		font-size: calc(11pt * var(--mtxt, 1)) !important;
	}
	[style*="font-size: 12pt"] {
		font-size: calc(12pt * var(--mtxt, 1)) !important;
	}
	[style*="font-size: 14pt"] {
		font-size: calc(14pt * var(--mtxt, 1)) !important;
	}
	[style*="font-size: 16pt"] {
		font-size: calc(16pt * var(--mtxt, 1)) !important;
	}
	/* CONTACT was exported with px sizes instead of pt, so the rules above
	   never matched its text — it sat at a fixed size no matter how tight
	   the slide got, which is what silently capped how much room CONTACT
	   had for its logo. Scale those the same way. Scoped to #contact
	   rather than a global [style*=...] match: the "introduction" slide
	   happens to use the same 16px value for a one-line email address that
	   isn't allowed to wrap, and scaling it up the way body-copy paragraphs
	   scale pushed it wider than its box and off the edge of the screen. */
	#contact [style*="font-size: 14px"] {
		font-size: calc(14px * var(--mtxt, 1)) !important;
	}
	#contact [style*="font-size: 16px"] {
		font-size: calc(16px * var(--mtxt, 1)) !important;
	}
	#contact [style*="font-size: 18px"] {
		font-size: calc(18px * var(--mtxt, 1)) !important;
	}
	/* Several text blocks clip their own overflow inline (fine on desktop,
	   where the contain-fit replica guarantees text always fits). Let that
	   overflow surface up to the slide instead, so fitMobileText() below can
	   actually measure it and shrink --mtxt to compensate — the slide panel
	   itself still clips (it keeps its own overflow: hidden), so nothing
	   escapes onto the next slide even in the rare case content still
	   doesn't quite fit at the --mtxt floor. */
	.ppt-text {
		overflow: visible !important;
	}

	/* Every icon/photo shape below carries a fixed width% + height% pair
	   sized against the 1280x720 design canvas. On mobile the slide box is
	   no longer that 16:9 shape (see .ppt-slide .slide-inner above), so two
	   independent percentages stretch each image out of its real
	   proportions. Drop the explicit height and let it follow the image's
	   own aspect ratio at whatever width it's given instead — the box then
	   keeps its true shape no matter how the container's aspect ratio
	   differs from the design. (!important is required here since these
	   heights are set inline on the <img> itself, which otherwise always
	   wins over a stylesheet rule.) */
	.ppt-image {
		height: auto !important;
	}

	/* The inline top/left below place this image for the 16:9 desktop
	   replica; !important is required to move it for the fluid mobile
	   layout instead (a plain class rule can't out-rank the element's own
	   inline style). No explicit height here — it follows the image's own
	   ratio via the .ppt-image rule above. */
	.slide-04-image-01 {
		left: 79.375% !important;
		top: 44% !important;
		width: 20.79905% !important;
	}

	/* Key-member headshots read too small at their design width once the
	   16:9 replica gives way to the fluid mobile layout, so they're sized
	   up here. The members text column runs to left:15.625% + width:61.875%
	   = 77.5%, so these start at 80% to clear it with a small margin — a
	   little clipping off the right edge (as on desktop) is fine, overlapping
	   the text isn't. No explicit height here either, for the same
	   aspect-ratio reason as the .ppt-image rule above. */
	.member-photo {
		left: 80% !important;
		width: 22% !important;
	}

	/* FINANCIAL PLATFORM (slide 9) and REAL ESTATE DEVELOPMENT (slide 12)
	   were the only two project pages whose body paragraphs weren't wrapped
	   in a width-perc-NN div (see the HTML) — every sibling slide uses that
	   to keep paragraph text narrower than the full column so it runs clear
	   of the side photos, while headings stay full width. Without it here,
	   the paragraphs wrapped at the full (and, after the width bump below,
	   even wider) column and ran under the photos. Match the pattern
	   instead of any one-off fix: widen the column like the other project
	   pages already do (slide 10 and slide 8's widths, respectively), and
	   the width-perc-85 (slide 9) / width-perc-75 (slide 12) wrappers added
	   around these two slides' paragraphs in the HTML do the rest, exactly
	   as on every other project page — no per-slide repositioning needed. */
	#slide-9 .ppt-text {
		width: 65% !important;
	}
	#slide-12 .ppt-text {
		width: 67.5% !important;
	}

	/* CONTACT slide: on desktop the text column is narrowed to 48% (see its
	   inline style) so it runs clear of the logo photo bleeding off the
	   right edge — the same "narrower text, side photo" pattern as the
	   project slides above. On mobile, shrink and tuck the logo into the
	   top-right corner (the same treatment slide-8's photos and the
	   member photos get) instead of letting it keep its desktop-derived
	   left:65%/width:45% box, which would run off the right edge of a
	   fluid single-column layout.

	   The text box's own inline "left: 15.62499%" still applies on mobile
	   (only its width is overridden here) — so its right edge sits at
	   15.625% + this width, NOT at this width alone. An earlier version of
	   this rule set width to a number measured as if the box started at
	   the screen edge, which put the box's right edge (15.625 + 64 =
	   ~79.6%) well past the logo's left edge (70%): the two boxes
	   genuinely overlapped horizontally the whole time, just not
	   noticeably until the logo was big/tall enough for a wrapped line of
	   the disclaimer text to actually sit under it. Keep the text box's
	   right edge (15.625% + width) at least a few points clear of the
	   logo's left edge. */
	.contact-logo {
		left: 68% !important;
		top: 2% !important;
		width: 25% !important;
	}
	#contact .ppt-text {
		width: 49% !important;
	}

	/* TECHNOLOGY / Silicon Photonics (slide 8): the two photos sit in the
	   desktop-derived right ~30% of the canvas, so the text column is kept
	   narrow (an outer 67.5% further narrowed to 75% of that for the body
	   paragraphs) for its ENTIRE height even though the photos themselves
	   only occupy a small vertical slice near the top — everything below
	   them is unused width the mobile column never reclaims. Shrink and
	   tuck both photos into the right-edge corner (the same treatment
	   .member-photo / .slide-04-image-01 get above) and widen the text to
	   use the freed space. */
	#slide-8 .ppt-image {
		left: 78% !important;
		width: 20% !important;
	}
	#slide-8 .ppt-text {
		width: 74% !important;
	}

	/* Slides 9/10/11/12/13 (Financial Platform & Energy, Consumer Pets'
	   Wellness, Real Estate / Technology Hub, Silicon Photonics follow-ons):
	   same story as slide 8 above — desktop-derived photos in the right
	   ~20-35% of the canvas force the body paragraphs into a narrow wrapper
	   for their entire height, even though the photos only cover a slice of
	   it. Tuck every one of these photos into the same small right-edge
	   corner and let the paragraph wrappers (or, for slide 11, which has no
	   wrapper of its own, the text box itself) use the freed width — mobile
	   only, since these percentages already work on the fixed desktop
	   canvas the images were positioned for. */
	#slide-9 .ppt-image,
	#slide-13 .ppt-image {
		left: 80% !important;
		width: 18% !important;
	}
	#slide-9 .width-perc-85 {
		width: 92% !important;
	}
	#slide-13 .width-perc-85 {
		width: 96% !important;
	}

	#slide-10 .ppt-image {
		left: 80% !important;
		width: 16% !important;
	}
	#slide-10 .ppt-text {
		width: 62% !important;
	}
	#slide-10 .width-perc-70 {
		width: 92% !important;
	}

	#slide-11 .ppt-image {
		left: 80% !important;
		width: 18% !important;
	}

	#slide-12 .ppt-image {
		left: 82% !important;
		width: 16% !important;
	}
	#slide-12 .width-perc-75 {
		width: 90% !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, but leave a
	   small gap so the hover underline reads as close to the text, not 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;
	}
	/* The vertical section tab ("Project Overview", "Key Members", etc.) is
	   part of the scaled 1280x720 replica, so its left:0% only reaches the
	   canvas's own left edge — on a window wider than 1280px that canvas is
	   centered with blank gutters on both sides, leaving the tab floating
	   short of the actual page edge, AND it's a descendant of .ppt-slide,
	   which clips its own content, so it can't simply be repositioned past
	   that edge either (tried that — the tab just disappears, clipped).
	   Hide the per-slide tab here and show the single fixed stand-in
	   instead (.desktop-side-tab, added right after <nav> in the HTML,
	   kept in sync with the active slide by updateDesktopTab() in the
	   script below) — a true sibling of .ppt-slide, so nothing clips it,
	   positioned at the real left edge of the window. Sized and scaled to
	   match the tab's usual proportions (matching most slides'
	   top:22.22047%;height:31.11120%;width:2.66929% of the 1280x720
	   canvas, and font-size:16pt) against the same --slide-scale the
	   canvas itself uses, so it reads the same size as the tab used to. */
	.ppt-slide .side-label, .ppt-slide-min .side-label {
		display: none;
	}
	.desktop-side-tab {
		display: flex;
		top: calc(var(--nav-h) + (100vh - var(--nav-h)) * 0.2222047);
		height: calc((100vh - var(--nav-h)) * 0.3111120);
		width: calc(34.167px * var(--slide-scale, 1));
		font-size: calc(16pt * var(--slide-scale, 1));
	}
	/* Align each text block's left edge just past the first vertical dash in
	   the background image (background.png is 1920x1080; measured directly,
	   its 5 vertical guide dashes sit at 15.365%, 34.427%, 40.365%,
	   61.927% and 77.448% of its own width — this targets the first one,
	   essentially where the pptx's own left:15.625% already put it), with a
	   small 5px screen-pixel gap so the text doesn't sit flush on the line.
	   That backdrop is stretched to the full window (100vw/100vh, kept that
	   way deliberately — see the body::before rule above), while the content
	   canvas is scaled and centered separately, so a canvas-relative
	   percentage can only match the dash at one specific window width. The
	   same viewport-fraction-to-canvas-local conversion used for
	   .desktop-side-tab's position above (solve for the canvas-local x
	   whose rendered position is a given fraction of the actual window
	   width, not of the canvas) keeps the two in sync at any width; the
	   trailing "+ 5px / var(--slide-scale, 1)" term converts that fixed
	   5-screen-pixel gap into the matching canvas-local offset at any scale.
	   The one ppt-text block positioned from the bottom instead of the top
	   (the small caption box) is a different, already-left-leaning element
	   and is excluded. */
	.ppt-text:not([style*="bottom"]) {
		/* The backdrop and slides span the window minus the deck scrollbar,
		   so measure against that width rather than the full 100vw. */
		left: max(0px, calc(640px - 0.34635 * (100vw - var(--deck-sb-w)) / var(--slide-scale, 1) + 5px / var(--slide-scale, 1))) !important;
	}
	/* Text sized to the original PPTX's fixed pt values reads small once it's
	   viewed as a web page rather than presented full-screen — bump every
	   text size up ~10% for desktop specifically (mobile already scales
	   independently via --mtxt). Every pt value the deck uses appears both as
	   a class (below) and as inline font-size overrides exported straight
	   from the pptx (targeted the same way the mobile block above targets
	   them, via an attribute selector on the inline style text). Several
	   text boxes are already sized close to their own content's limit even
	   before this increase (see the slide-9/slide-12 fixes above) and clip
	   (inline overflow: hidden) if their content grows past their declared
	   height — let any that still do overflow at the larger size spill
	   below the box instead of silently losing text, same as the mobile
	   block already does for the same reason. */
	.ppt-text {
		overflow: visible !important;
	}
	.slide-inner {
		font-size: 12.1pt;
	}
	.title, .title-2nd, .title-2nd-light {
		font-size: 12.1pt;
	}
	.title-big {
		font-size: 13.2pt;
	}
	.title-bigger {
		font-size: 15.4pt;
	}
	[style*="font-size: 8pt"] {
		font-size: 8.8pt !important;
	}
	[style*="font-size: 9pt"] {
		font-size: 9.9pt !important;
	}
	[style*="font-size: 11pt"] {
		font-size: 12.1pt !important;
	}
	[style*="font-size: 12pt"] {
		font-size: 13.2pt !important;
	}
	[style*="font-size: 14pt"] {
		font-size: 15.4pt !important;
	}
	[style*="font-size: 16pt"] {
		font-size: 17.6pt !important;
	}
}

@media ( max-width : 768px) {
	:root {
		/* Pre-JS fallback only, read by body::before/.ppt-slide below until
		   syncMobileNavHeight() (see the script at the bottom of the page)
		   measures the nav's real rendered height — .top-nav itself is
		   height:auto and no longer floored to this value (see below), so
		   this just needs to be a reasonable estimate of the two-row
		   logo/links + language-selector content, not an exact match. */
		--nav-h: 62px;
	}
	/* body::before's top/height already track --nav-h, which this breakpoint
	   just redefined above, so no separate override is needed here.

	   Height is auto rather than the fixed --nav-h value above: --nav-h
	   still sets a sane pre-JS fallback (and is what the slide/background
	   layers below the nav read), but the actual box here just grows to fit
	   its content. syncMobileNavHeight() (see the script at the bottom of
	   the page) then measures that real, rendered height and feeds it back
	   into --nav-h, so the language selector's own row (under the menu
	   links) is always fully contained inside the nav bar instead of
	   risking a hardcoded pixel guess that's a few px short on some
	   device/font combination and lets it spill out underneath. */
	.top-nav {
		/* No min-height: height:auto already sizes this to exactly what
		   .nav-inner needs. A min-height floor here used to force extra
		   blank space below the content whenever the real two-row content
		   was shorter than the floor's guess — and since
		   syncMobileNavHeight() (see the script at the bottom of the page)
		   measures THIS box's own rendered height, it would just read back
		   that inflated height and "confirm" it, permanently locking in the
		   dead space instead of ever shrinking to fit. */
		height: auto;
	}
	.nav-inner {
		height: auto;
		padding: 3px 12px;
		gap: 4px;
		/* Plain vertical stack of two blocks — .nav-row1 (logo + links) then
		   .language-selector — rather than a single flex-wrap row. A
		   flex-wrap row and a fixed-height, position:fixed parent measuring
		   itself via height:auto is exactly the kind of combination that
		   can render inconsistently across browser engines; flex-direction:
		   column here has just two straightforward stacked children, with
		   nothing to wrap or misjudge. */
		flex-direction: column;
		align-items: stretch;
	}
	.nav-row1 {
		display: flex;
		flex-direction: row;
		/* flex-start, not center: centering put the short menu-links text
		   partway down the row (vertically centered against the logo's
		   full height), leaving visible empty space above the links. Top-
		   aligning both means they start together, only offset by the
		   logo's own small 4px margin-top. */
		align-items: flex-start;
		width: 100%;
		gap: 6px;
	}
	.brand {
		font-size: 14px;
		flex-shrink: 0;
	}
	/* No hamburger box on mobile — the nav links stay inline with the logo,
	   just shrunk down to fit, rather than collapsing behind a toggle. */
	.menu-toggle {
		display: none;
	}
	.menu-links {
		display: flex;
		flex-direction: row;
		align-items: center;
		flex-shrink: 0;
		margin-left: auto;
		gap: 6px;
		/* Overrides the base rule's align-self:flex-end (desktop's own
		   vertical-alignment trick — see its comment), which otherwise wins
		   over .nav-row1's align-items here and pins these links to the
		   bottom of the row, leaving empty space above them where the
		   shorter text doesn't reach the top like the logo does. */
		align-self: flex-start;
	}
	.menu-links a {
		padding: 0;
		font-size: 8px;
		letter-spacing: 0.01em;
		white-space: nowrap;
	}
}

/* Layout corrections: readable HTML text without PPT-export whitespace artifacts. */
.ppt-text {
	white-space: normal !important;
	word-spacing: normal !important;
	letter-spacing: normal;
}

/* The "Project Overview" detail slides (Members, and slides 6/9/10/12/13) all
   start their text box ~11% down the canvas. On the fixed 1280x720 desktop
   replica that still leaves several of them (slide-12 especially) with only
   a thin margin below their last line — measured at well under 10% of the
   slide's own height in some cases — so anything that renders even slightly
   taller than this browser's fallback for the Verdana font stack (a real
   Verdana on the visitor's own system, a different browser's line-wrapping,
   etc.) pushes the last line or two past the bottom edge and off the
   (overflow: hidden) slide. On mobile's fluid layout the same gap is an
   even bigger share of the available height.

   Rather than just moving everything up flush to 2% (which looked jammed
   against the nav on slides that never needed the room), give every one of
   these slides the full height to work with. Members and slide 6 have
   plenty of content to spare either way, so their content is centered in
   that space — reads as deliberately balanced instead of top-heavy with
   dead space below. Slides 9/10/11/12/13 are the ones actually running
   short on room (slide 12 especially), so they keep flex-start instead of
   centering: centering would give back half of the newly-freed space as a
   symmetrical top gap, which looks nicer but is exactly the space these
   slides need every pixel of to keep their last line on screen. Applied to
   both platforms since the fixed 1280x720 desktop replica had no more
   slack in the tight cases than mobile did. */
#members .ppt-text,
#slide-6 .ppt-text {
	top: 2% !important;
	height: 96% !important;
	justify-content: center !important;
}
#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;
}

.ppt-text div {
	white-space: normal !important;
}

.nav-logo {
	display: block;
	height: auto;
	max-height: 90px;
	object-fit: contain;
	margin-top: 20px;
	margin-bottom: 20px;
}

.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: 130px;
		max-height: 45px;
		/* The base rule's 20px top/bottom margins were sized for the desktop
		   120px nav bar; left alone they'd make the logo's own box (up to
		   90px tall + 40px margin) far taller than the shrunk mobile nav,
		   overflowing past --nav-h and bleeding into the slide below it. */
		margin-top: 1px;
		margin-bottom: 4px;
	}
	.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;
	}
}

/* Right-hand deck scrollbar. The page itself never scrolls (one slide at a
   time, see initDeck()), so this stands in for a normal page scrollbar: the
   thumb shows which slide is showing, and clicking the track or dragging the
   thumb moves one whole slide at a time, never part of one. */
.deck-scrollbar {
	position: fixed;
	z-index: 1100;
	top: 0;
	right: 0;
	bottom: 0;
	width: var(--deck-sb-w);
	background: #f1f1f1;
	border-left: 1px solid #e2e2e2;
	cursor: pointer;
	touch-action: none;
	user-select: none;
}

.deck-scrollbar-thumb {
	position: absolute;
	left: 2px;
	right: 2px;
	min-height: 24px;
	background: #b5b5b5;
	border-radius: 6px;
	transition: top 0.3s ease, background-color 0.15s;
}

.deck-scrollbar:hover .deck-scrollbar-thumb,
.deck-scrollbar.dragging .deck-scrollbar-thumb {
	background: #e00000;
}

.deck-scrollbar.dragging .deck-scrollbar-thumb {
	transition: background-color 0.15s;
}

@media ( max-width : 768px) {
	:root {
		--deck-sb-w: 6px;
	}
	.deck-scrollbar-thumb {
		left: 1px;
		right: 1px;
		border-radius: 3px;
	}
}

/* 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/menu-links row — .nav-inner is
	   flex-direction:column here (see the earlier mobile block) — pulled to
	   the right with align-self so its right edge lines up with the menu
	   links. The 45% width here is only the pre-JS fallback; the nav links'
	   own width is text/font/locale dependent (a guessed percentage either
	   falls short of their left edge or overshoots it, leaving dead space
	   under the logo), so syncLanguageSelectorWidth() in the script at the
	   bottom of the page measures the actual rendered .menu-links width and
	   sets this element's width to match it exactly, keeping both edges
	   aligned. */
	.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 */
