@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

@font-face {
    font-family: 'Roslindale Display';
    font-style: normal;
    src: local('Roslindale Variable Display Regular'), url('/fonts/RoslindaleVariableDisplay.woff') format('woff');
}


@font-face {
    font-family: 'Roslindale Condensed';
    font-style: normal;
    src: local('Roslindale Variable Display Condensed Bold'), url('/fonts/RoslindaleVariableCondensed.woff') format('woff');
}

@keyframes fadeInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes rotate {
    0% {

        rotate: 0deg;

    }

    100% {

        rotate: 360deg;

    }

}

:root {
    /* COLORS */
    --background-primary: oklch(26.033% 0.00003 271.152);
    --background-secondary: #191c1f;
    --button-background: oklch(0.1624 0.0788 307.52);
    --text-primary: oklch(1 0 0);
    --text-secondaary: oklch(1 0 0);
    --accent-primary: oklch(0.6652 0.1967 353.05);
    --accent-secondary: oklch(0.4169 0.1479 325.25);
    --nav-primary: oklch(15.434% 0.00002 271.152 / 0.151);

    --button-primary: #41414170;
    --border-primary: oklch(0.3012 0 0);
    --button-hover-primary: #2525254f;

    /* FONTS */
    --ff-base: "Inter", sans-serif;
    --ff-heading: "Roslindale Condensed", serif;

    /* FONT WEIGHTS*/
    --fw-regular: 400;
    --fw-semi-bold: 600;
    --fw-bold: 800;

    --transition: cubic-bezier(0.9, 0, 0.1, 1);


    /* RADII */
    --radius-button: 16px;
    --radius-pill: 100px;


    /* BUTTONS */

}

.light {
    /* Light mode */

    --background-primary: oklch(97% 0.00002 271.152);
    --background-secondary: oklch(93% 0.002 271.152);

    --nav-primary: oklch(97% 0.00002 271.152 / 0.75);

    --text-primary: oklch(18% 0.01 271.152);
    --text-secondary: oklch(35% 0.01 271.152);

    --border-primary: oklch(82% 0.005 271.152);

    /* Buttons */
    --button-background: oklch(92% 0.02 307.52);
    --button-primary: oklch(90% 0.005 271.152 / 0.7);
    --button-hover-primary: oklch(85% 0.005 271.152 / 0.6);

    /* Accents (kept consistent with dark mode) */
    --accent-primary: oklch(0.62 0.19 353.05);
    --accent-secondary: oklch(0.48 0.15 325.25);

}

*,
*::before,
*::after {
    margin: 0;
    box-sizing: border-box;
}

/* SITETIDE CUSTOM SCROLLBAR DISCOVERY */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--background-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: background 0.3s var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Firefox compatibility discovery */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

/* Applied briefly (via JS) during theme switch so every element animates its
   colour-related properties at the same time. Using !important ensures it
   overrides any element-specific transition shorthand. */
.theme-transitioning *,
.theme-transitioning *::before,
.theme-transitioning *::after {
    transition:
        background-color 0.6s var(--transition),
        color 0.6s var(--transition),
        border-color 0.6s var(--transition),
        fill 0.6s var(--transition),
        stroke 0.6s var(--transition),
        box-shadow 0.6s var(--transition) !important;
}


body {
    margin: 0;
    color: var(--text-primary);
    font-family: var(--ff-base);
    background-color: var(--background-primary);
    letter-spacing: 1px;
    overflow-x: hidden;

    width: 100vw;
    height: 100vh;

}

a {
    cursor: pointer !important;
    pointer-events: all !important;
    transition: 300ms var(--transition);
}

#preloader {
    position: fixed;
    inset: 0;
    background: var(--background-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s var(--transition);
    z-index: 998;
}

#lottie-loader {
    width: 1250px;
    height: 1250px;
}

.magic-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    pointer-events: none;
    border: 2px solid #FFFFFF4D;
    background-color: #FFFFFF26;
    backdrop-filter: blur(4px);
    mix-blend-mode: difference;
    /* cool effect on light/dark backgrounds */
    transform: translate(-50%, -50%);
    transition:
        width 0.2s var(--transition),
        height 0.2s var(--transition),
        border-width 0.2s var(--transition),
        opacity 0.2s var(--transition);
    z-index: 9999;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
}

/* Click effect */
.magic-cursor.click {
    width: 40px;
    height: 40px;
    border-width: 4px;
    opacity: 0.8;
}

/* Hover effect for interactive elements */
.magic-cursor.hover {
    width: 55px;
    height: 55px;
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/grain.gif');
    opacity: 0.025;
    pointer-events: none;
    z-index: 9999;
}

.navbar {
    position: fixed;
    display: flex;
    height: 80px;
    width: 100%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    justify-content: center;
    z-index: 3;
    backdrop-filter: blur(10px);
    background: var(--nav-primary);
    font-weight: var(--fw-regular);
    letter-spacing: 1px;

    padding-left: 64px;
    padding-right: 64px;
}

.nav-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-section {
    display: flex;
    gap: 12px;
}

.nav-section a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.6rem;
    font-family: var(--ff-heading);
    text-transform: uppercase;

    padding: 10px 24px;
    border: 1px solid var(--text-primary);
    border-radius: var(--radius-pill);
}

.nav-section a:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo a {
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-family: 'Roslindale Display', serif;
    font-size: 2rem;
    font-weight: 500;
}

.nav-logo a h2 {
    margin-left: -77px;
    font-size: 2rem;
    font-family: "Roslindale Display";
    font-weight: 500;
}

.nav-logo a:hover svg {
    fill: var(--accent-primary);
}

.nav-logo a svg {
    width: 100px;
    height: auto;
    fill: var(--text-primary);
    display: block;
}

.nav-logo a svg,
.logo {
    transition: fill 300ms var(--transition);
}

.nav-logo a:hover svg .logo {
    fill: var(--accent-primary);
}


.nav-section svg {
    width: 20px;
}

.mobile-navbar {
    opacity: 0;
    pointer-events: none;
    z-index: -999;
}

.dropdown {
    width: calc(100% - 50px);
    height: 300px;
    background: var(--background-secondary);
    top: 100px;
    left: 50%;
    position: fixed;
    z-index: 998;
    border-radius: 24px;
    border: 1px solid var(--border-primary);
    justify-content: center;
    align-items: center;
    display: flex;
    transform: translateY(-200%) translateX(-50%);
    transition: 700ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dropdown.open {
    transform: translateY(0px) translateX(-50%);
}

.dropdown .inner-wrapper {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
}

.dropdown .nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 2rem;
    gap: 20px;
    font-family: var(--ff-heading);
    font-weight: var(--fw-semi-bold);
    text-transform: uppercase;
    padding: 0px;
}

.dropdown .nav-links a {
    color: var(--text-primary);
    text-decoration: none;
}

.site-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 400px;
    padding-bottom: 50px;

    font-size: 0.8rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    height: 90%;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
}

.footer-top .email {
    display: flex;
    width: 25%;
    height: 80px;
    justify-content: center;
    align-items: center;
}

.email {
    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}

.email h4 {
    font-family: var(--ff-heading);
    font-size: 3rem;
    font-weight: var(--fw-regular);
    color: var(--text-primary);
    z-index: 2;
    cursor: pointer;

    transition: 300ms var(--transition);
}

.email:hover h4 {
    scale: 0.95;
}

.email-bg {
    position: absolute;
    text-decoration: none;
    background-color: var(--background-secondary);
    padding: 40px 250px;

    border-radius: 24px;
    border: 1px dashed var(--border-primary);
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 10%;

    font-family: var(--ff-heading);
    text-transform: uppercase;
}

.footer-bottom a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-family: var(--ff-heading);
    text-transform: uppercase;

    padding: 10px 24px;
    border: 1px solid var(--text-primary);
    border-radius: var(--radius-pill);
}

.footer-bottom a:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 33%;
}

.copyright {
    width: 33%;
}

.design-by {
    width: 33%
}

.design-by a {
    padding: 0px;
    border: none;
}

.design-by a:hover {
    color: var(--text-primary);
}

.login {
    height: 10%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    padding-top: 20px;
}

.login a {
    color: var(--text-primary);
}

.button {
    display: flex;
    background-color: #FFFFFF26;
    padding: 17px 24px;
    backdrop-filter: blur(8px);
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3);

    align-items: center;
    justify-content: center;

    color: var(--text-primary);
    font-size: 1rem;
    text-decoration: none;

    border-radius: var(--radius-button);
    border: solid 2px #FFFFFF4D;
    gap: 10px;
}

.button:hover {
    background-color: #4747478C;
    box-shadow: 0px 0px 30px rgba(255, 255, 255, 0.3);
}

.hero-section {
    --background-primary: oklch(15.434% 0.00002 271.152);
    --background-secondary: #0e1012;
    --button-background: oklch(0.1624 0.0788 307.52);
    --text-primary: oklch(1 0 0);

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    position: relative;
    top: 10px;

    width: 100%;
    height: 100vh;

}

.hero-section .video-container {
    display: flex;
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    height: 85%;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    z-index: -1;
    padding-left: 64px;
    padding-right: 64px;
}

.hero-section .video-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--background-primary), var(--background-primary));
    opacity: 0.25;
    z-index: 1;
}

.hero-section .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.hero-section .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 90%;

    line-height: 0.85;
    text-transform: uppercase;
    font-family: var(--ff-heading);
    font-weight: var(--fw-base);
    font-size: 3.5rem;
}

.hero-section .title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    color: var(--text-primary);
    font-weight: var(--fw-base);
    font-size: 8rem;
    text-align: center;
}

.title *,
.section-title *,
#desc * {
    display: inline-block;
}

#hero-btn {
    opacity: 0;
    animation: 1.8s fadeInUp 1.5s var(--transition) forwards;
}

.about-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100vh;
    padding-top: 20px;
    padding-bottom: 50px;
}

.about-section h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 5rem;
    font-family: var(--ff-heading);
    font-weight: var(--fw-bold);
    padding-bottom: 40px;
}

.about-section p {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    font-family: var(--ff-base);
    font-weight: var(--fw-semi-bold);
    color: var(--text-primary);
}

.about-section .button {
    font-family: var(--ff-heading);
    font-size: 1rem;
    margin-top: 50px;
    text-transform: uppercase;
}

.posts-section {
    --background-primary: oklch(15.434% 0.00002 271.152);
    --background-secondary: #0e1012;
    --button-background: oklch(0.1624 0.0788 307.52);
    --text-primary: oklch(1 0 0);

    position: relative;
    display: flex;
    padding: 150px 0px;
    flex-direction: column;
    align-items: center;
    text-align: start;

    width: 100%;

    gap: 50px;

}

.post {
    display: flex;
    flex-direction: column;
    width: 60%;
    gap: 20px;
    border-top: 1px solid var(--text-primary);
    border-bottom: 1px solid var(--text-primary);
}

.post h1 {
    font-size: 5rem;
    font-family: var(--ff-heading);
    font-weight: var(--fw-semi-bold);
}

.post small {
    margin-top: 20px;
}

.post .button {
    width: 20%;
}

.blog-content {
    color: #e6e6e6;
    font-family: var(--ff-base, 'Inter', sans-serif);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-top: 2rem;

    opacity: 0;
    animation: fadeInUp 3s forwards 2s;
}

/* Headings (serif) */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5 {
    font-family: var(--ff-accent, 'Playfair Display', serif);
    font-weight: 600;
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-content h1 {
    font-size: 2.4rem;
}

.blog-content h2 {
    font-size: 2rem;
}

.blog-content h3 {
    font-size: 1.6rem;
}

/* Paragraphs */
.blog-content p {
    margin: 1.2rem 0;
}

/* Images */
.blog-content img {
    max-width: 100%;
    border-radius: 12px;
    display: block;
    margin: 1.5rem auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Links */
.blog-content a {
    color: #7abaff;
    text-decoration: underline;
}

.blog-content a:hover {
    opacity: 0.8;
}

/* Blockquote */
.blog-content blockquote {
    border-left: 4px solid #6aa9ff;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #cccccc;
    font-style: italic;
}

/* Lists */
.blog-content ul,
.blog-content ol {
    margin: 1.2rem 0 1.2rem 1.5rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

/* Inline Code */
.blog-content code {
    background: #1e1e1e;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
    color: #ffcc66;
}

/* Code Blocks */
.blog-content pre code {
    display: block;
    padding: 1rem;
    overflow-x: auto;
    border-radius: 8px;
    background: #1a1a1a;
    font-size: 0.95rem;
}

.blog-button {
    padding: 10px 20px;
    background: var(--button-hover-primary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-button);
    border: 1px solid var(--border-primary);

    font-size: 0.8rem;

    transition: background 300ms var(--transition);
}

.blog-button:hover {
    background: var(--button-primary);
}

.icon-button {
    padding: 8px;
    background: var(--button-hover-primary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-button);
    align-items: center;
    justify-content: center;
    display: flex;
    border: 1px solid var(--border-primary);
    cursor: pointer;

    transition: background 300ms var(--transition);
}

.icon-button:hover {
    background: var(--button-primary);
}

.icon-button:hover .tooltip {
    opacity: 1;
    transform: translateY(55px);
}

.tooltip {
    background: var(--button-primary);
    padding: 8px;
    position: absolute;
    transform: translateY(55px);
    width: max-content;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border-radius: 10px;
    display: flex;
    opacity: 0;

    pointer-events: none;

    transition: 300ms var(--transition);
}

.blog-article {
    margin: 0 auto;
    color: #e6e6e6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.blog-hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    /* adjust if you want 70vh, 80vh, etc */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    top: 10px;
}

/* Container for the image (same shape as your video container) */
.blog-cover-container {
    position: absolute;
    top: 70px;
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 64px;
    padding-right: 64px;
    border-radius: 24px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;

    z-index: -1;
}

.blog-cover-container iframe {
    border-radius: 24px;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.blog-cover-container video {
    border-radius: 24px;
    width: 200%;
    height: 200%;
    z-index: -1;
    align-items: center;
    justify-content: center;
    align-self: center;
    justify-self: center;
    display: flex;

    transition: 300ms var(--transition);

}

/* Same overlay as homepage */
.blog-cover-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            var(--background-primary),
            var(--background-primary));
    opacity: 0.25;
    z-index: 1;

    pointer-events: none;
}

/* Title in the middle of the hero */
.blog-hero-title-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;

    display: flex;
    flex-direction: column-reverse;
    gap: 20px;

    transition: 300ms var(--transition);
}

.blog-hero-section:hover .video-title {
    opacity: 0;
    pointer-events: none;
}

.blog-hero-title {
    font-family: var(--ff-heading);
    font-weight: var(--fw-regular) !important;
    font-size: 5rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;

    transition: 300ms var(--transition);
}

.blog-content {
    font-family: var(--ff-base);
    line-height: 1.8;
    font-size: 1.05rem;
    width: 60%;
}

.video-desc {
    text-align: center;
    text-transform: uppercase;

    font-size: 0.8rem;
}

.video-desc p {
    text-align: start;
}

.blog-content p {
    margin: 1rem 0;
}

.blog-content img {
    max-width: 100%;
    border-radius: 12px;
    aspect-ratio: 16 / 9;
    margin: 1.5rem 0;
    object-fit: cover;
}

.blog-content a {
    color: #7abaff;
    text-decoration: underline;
}

.topbar {
    height: 80px;
    width: 60%;
    align-items: center;
    justify-content: center;
    display: flex;
    margin-top: 80px;
    background-color: var(--background-secondary);
    padding: 10px 20px;
    border-radius: var(--radius-button);
    border: 1px solid var(--border-primary);
    position: sticky;
    z-index: 2;

    opacity: 0;
    animation: fadeInUp 3s var(--transition) forwards 1.5s;
}

.video-topbar .bar {
    display: flex;
    flex-direction: column;
}

.video-topbar h4 {
    font-family: var(--ff-base);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.video-topbar p {
    font-family: var(--ff-heading);
    font-size: 1.5rem;
}

.video-topbar .left,
.video-topbar .right,
.video-topbar .middle {
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    text-align: center;
}

.bar {
    width: calc(100% / 3);
    height: inherit;
}

.topbar .left {
    align-items: center;
    justify-content: start;
    display: flex;

    font-family: var(--ff-heading);
}

.topbar .middle {
    align-items: center;
    justify-content: center;
    display: flex;
    text-align: center;
}

.topbar .right {
    align-items: center;
    justify-content: end;
    display: flex;
    gap: 20px;
}

.right small {
    display: flex;
    align-items: center;
    gap: 5px;
}

.right small svg {
    scale: 0.7;
}

.read-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-time svg {
    scale: 0.7;
}

.bottom-bar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.focus-read {
    width: 100%;
    height: max-content;
    display: flex;
    z-index: 10;
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 0px;

    opacity: 1;
    pointer-events: all;

    transition: 1000ms var(--transition);
}

.focus-read .blog-content {
    z-index: 10;

}

.focus-read .top {
    width: calc(80% - 50px);
    height: 50px;
    top: 20px;
    justify-content: end;
    display: flex;
    position: fixed;
    z-index: 10;
    align-items: center;
}

.focus-background {
    background: var(--background-secondary);
    width: 80%;
    height: 100vh;
    position: fixed;
    top: 0px;
    z-index: 9;
    border: 1px solid var(--border-primary);
    overflow: hidden;
}

.page-background {
    width: 100%;
    position: fixed;
    height: 100vh;
    background: oklch(0.15 0 0 / 0.79);
    top: 0px;
    backdrop-filter: blur(8px);

    z-index: 8;
    transition: 1000ms var(--transition);

    scale: 1 !important;

}

.hidden {
    opacity: 0;
    pointer-events: none;
    filter: blur(8px);

    transform: translateY(-50px);
}

.zoomed {
    filter: brightness(0.5);
    scale: 1.05;
}

.video {
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: none;
}

.post.video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100vw, 177.77vh);
    height: max(100vh, 56.25vw);
    transform: translate(-50%, -50%);
    pointer-events: none;
    border-radius: 24px;
}

.video video {
    position: absolute;
    width: 200%;
    height: 200%;
    align-self: center;
    top: 50%;
    transform: translateY(-50%);

}

.project-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    z-index: 0;
}

.inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    align-self: center;
    padding: 25px;
}

.video-top {
    display: flex;
    justify-content: space-between;
}

.video-top h1 {
    font-size: 2rem;
}

.video-top p {
    font-family: var(--ff-heading);
    mix-blend-mode: difference;
    font-weight: 900;
    opacity: 0.6;
}

.video-top .info {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    justify-content: center;
    height: max-content;

    text-align: center;
}

.video-top .tags {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-player {
    position: absolute;
    border-radius: 24px;
    aspect-ratio: 2.5/1;
    scale: 0.96;
    z-index: -1;
    overflow: hidden;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.video-button {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    display: flex;
    width: 80px !important;
    height: 80px !important;
    position: absolute;
    top: 170px;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: all;
    transition: background 300ms, transform 300ms;

    z-index: 1;
}

.video-button svg {
    width: 40px;
    height: 40px;
    fill: white;
    /* visually center play icon */
}

.video-button:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.video-button:hover+.blog-hero-title {
    opacity: 0.2;
    filter: blur(4px);
}

.controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--button-primary);
    color: white;
    position: absolute;
    bottom: 10px;
    justify-self: center;
    border-radius: 50% 50%;

    opacity: 0;
    transform: translateY(100%) translateX(-50%);
    left: 50%;

    transition: 700ms var(--transition);
}

.controls button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
}

.controls.show {
    opacity: 1;
    transform: translateY(0px) translateX(-50%);
    left: 50%;
}