* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.4;
    background-color: #333333;
    color: #333333;
    min-height: 100vh;
    --page-bg: url('graphical_annex_img/wt_graphical_sends_persp_onblack.jpg');

}

/* blurred page background image (behind everything), driven by --page-bg */
/* the photo layer is zoomed so only ~top 75% shows; --bg-y pans it on scroll (parallax) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)),
        var(--page-bg);
    background-size: 100% 100%, auto 133.333%;
    background-position: center center, center var(--bg-y, 0%);
    background-repeat: no-repeat;
    filter: blur(4px);
    transform: scale(1.06); /* hide blurred edges */

}



.howt-logo-link {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.howt-logo-link:hover {
    opacity: 0.8;
}

.howt-logo {
    width: 200px;
    height: auto;
    display: block;
    margin: 0;
}

#main {
    max-width: 1200px;

    margin: 0 auto;
    padding: 3rem;
    background: white;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

/* the three content sections share the page; only the selected one shows */
.page {
    display: none;
}

.page.active {
    display: block;
}


/* heading sits above the white #main card, on the blurred background showing through */
h1 {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 3rem 0.75rem;

    text-align: center;

    color: white;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 0 24px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.1rem;
}

.subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem 2.25rem;

    text-align: center;

    color: white;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 0 24px rgba(0, 0, 0, 0.6);
}

/* de-emphasised words in the h1 ("White Tie's" and "for") - lighter + slightly smaller */
h1 .h1-light {
    font-weight: 300;
    /* font-size: 0.85em; */
}

/* little REAPER shield sitting just before the word REAPER in the heading */
h1 .h1-reaper {
    height: 0.92em;
    width: auto;
    display: inline-block;
    margin: 0 0.12em 0 0;
    vertical-align: -0.14em;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}




h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.5rem;
    color: #333333;
    letter-spacing: -0.05rem;
}

/* page-title: subtle page-number line, then bold title + lighter description inline */
.page-title {
    margin-top: 1.25rem;          /* was the h2 default 2.5rem */
    font-size: 1.7rem;            /* punchier than the 1.5rem h2 */
}
.page-title__num {
    display: block;               /* number sits on its own line */
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: #818989;
    margin-bottom: 0.35rem;
}
.page-title__name {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03rem;
    color: #222222;
}
.page-title__desc { font-weight: 300; color: #6a6a6a; }
.page-title__desc::before { content: ' \2014 '; color: #b8b8b8; font-weight: 300; }  /* em dash between title and description */

h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 2rem 0 0.5rem;
    color: #333333;
}


p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
}

/* carousel + install live above the white #main card, on the blurred background */
.top {
    max-width: 1200px;
    margin: 0 auto;
}

/* Top image carousel */
.carousel {
    position: relative;
    margin: 0;
    width: 100%;
    overflow: hidden;
}



.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    margin: 0;
    display: block;
}

/* Vertical page-name list overlay */
.carousel-nav {
    position: absolute;
    bottom: 40px;
    right: 60px;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 2;
    transition: padding 0.25s ease, background 0.25s ease;
}

/* docked: floating menu bar fixed to top of viewport - looks like the bottom
   slice of the carousel stayed pinned (current slide image, aligned to its bottom) */
.carousel-nav.docked {
    position: fixed;
    top: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(100%, 1200px);
    bottom: auto;
    height: 96px;

    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 2em;
    padding: 0 60px;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.5)),
        var(--page-bg);
    background-size: 100% 100%, cover;
    background-position: center, center bottom;
    background-repeat: no-repeat;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.carousel-nav.docked li {
    margin: 0;
    font-size: 1.3rem;
}


/* cancel the staircase steps in the docked bar */
.carousel-nav.docked li:nth-child(2),
.carousel-nav.docked li:nth-child(3) {
    margin-left: 0;
}



.carousel-nav li {
    display: flex;
    align-items: center;
    gap: 0.45em;
    margin: 0.15em 0;
    padding: 0;
    font-size: 2rem;
}

/* staircase: each line steps slightly right of the one above */

.carousel-nav li:nth-child(2) { margin-left: 0.9em; }
.carousel-nav li:nth-child(3) { margin-left: 1.8em; }



.carousel-nav-item {
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: inherit;
    font-style: italic;
    font-weight: 300;
    color: white;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 14px rgba(0, 0, 0, 0.75);
    transition: font-weight 0.2s ease, opacity 0.3s ease;

}



.carousel-nav-item:hover {
    opacity: 0.85;
}

.carousel-nav-item.current {
    font-weight: 700;
}

/* small, low-weight page number (p1/p2/p3) sitting after each nav dot */
.carousel-nav-num {
    font-family: 'Inter', sans-serif;
    font-size: 0.5em;
    font-weight: 300;
    color: white;
    opacity: 0.7;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 14px rgba(0, 0, 0, 0.75);
}





.download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: fit-content;
    margin: 2rem auto;
    background: #333333;
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    border: 2px solid #333333;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.download:hover {
    background: #444444;
    border-color: #444444;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.download-icon {
    width: 24px;
    height: 24px;
    margin: 0;
    display: inline-block;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.download-version {
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.8;
    text-transform: none;
}


.discussion-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: fit-content;
    margin: 1rem auto 2rem;
    background: #818989;
    color: white;
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: 2px solid #818989;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.discussion-link:hover {
    background: #929a9a;
    border-color: #929a9a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.reaper-icon {
    width: 28px;
    height: 28px;
    margin: 0;
    display: inline-block;
}

/* Common download + install section (reversed colours: white text on black).
   Two columns: actions on the left, install steps on the right. */
.install {
    /* sits directly under the carousel; 50% black over the blurred background */
    margin: 0;
    padding: 2.5rem 3rem;

    background: rgba(0, 0, 0, 0.5);
    color: white;

    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
}

.install-actions {

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}


/* buttons already have their own margins; neutralise them inside the flex column */
.install-actions .download,
.install-actions .discussion-link {
    margin: 0;
}

/* light DOWNLOAD button with dark-grey icon + text */
.install-actions .download {
    background: white;
    color: #444444;
    border-color: white;
}

.install-actions .download .download-icon {
    /* tint the icon dark grey */
    filter: brightness(0) invert(0.27);
}

.install-actions .download:hover {
    background: #e6e6e6;
    border-color: #e6e6e6;
}


.install-steps p,
.install-steps ol li {
    font-size: 0.92rem;
}


.install-steps p {
    margin: 0 0 1rem;
}

.install-steps ol {
    margin: 0;
}

.install-steps ol li {
    margin: 0.6rem 0;
    line-height: 1.45;
}


.install-steps strong {
    color: white;
}

@media (max-width: 768px) {
    .install {
        margin: 0;
        padding: 2rem;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}




ol {
    margin: 1.2rem 0;
    padding-left: 2rem;
}

ol li {
    margin: 1rem 0;
    padding: 0.1rem;
    line-height: 1.5;
}

ul {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
}

ul li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
}

strong {
    color: #333333;
    font-weight: 600;
}

@media (max-width: 1380px) {
    .howt-logo-link {
        top: 0px;
    }
    
    .howt-logo {
        transform: rotate(90deg);
        transform-origin: bottom left;
    }
}

@media (max-width: 768px) {
    #main {
        padding: 2rem;
    }

    .carousel {
        margin: 0;
        width: 100%;
    }

    
    h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    
    h2 {
        font-size: 1.2rem;
    }

    .page-title {
        font-size: 1.35rem;
    }

    .download {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}
