/* ===============================
   PenTester.Ca Main Stylesheet
   =============================== */
:root {
    --primary: #ffffff;
    --secondary: #a5a2ab;
    --tertiary: #6d6972;
    --ink: #0a0a0a;
    --ink-soft: #58555c;
    --accent-pink: #ffc4f9;
    --font-thin: 'Helvetica Neue Thin', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-light: 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-serif-light: 'OLAmericaTheBeautifulLight', Georgia, 'Times New Roman', serif;
    --font-serif-medium: 'OLAmericaTheBeautifulMedium', Georgia, 'Times New Roman', serif;
    --font-serif-light-italic: 'OLAmericaTheBeautifulLightItalic', Georgia, 'Times New Roman', serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --funfact-height: 350px;
    --page-margin: clamp(22px, 7.4px + 3.04vw, 56px);
}

/* ===============================
   Base Defaults
   =============================== */
body {
    line-height: 1.5;
    color: #212529;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

h1 { font-size: calc(1.375rem + 1.5vw); }
h2 { font-size: calc(1.325rem + 0.9vw); }
h3 { font-size: calc(1.3rem + 0.6vw); }
h4 { font-size: calc(1.275rem + 0.3vw); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

@media (min-width: 1200px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.5rem; }
}

p { margin-bottom: 1rem; }
b, strong { font-weight: bolder; }
small { font-size: 0.875em; }
img, svg { vertical-align: middle; }

button, input, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button { border-radius: 0; }
[hidden] { display: none !important; }

.row {
    --gutter: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(var(--gutter) / -2);
    margin-right: calc(var(--gutter) / -2);
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-left: calc(var(--gutter) / 2);
    padding-right: calc(var(--gutter) / 2);
}

@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }
}

/* ===============================
   Fonts
   =============================== */
@font-face {
    font-family: 'Helvetica Neue Thin';
    src: url('../fonts/HelveticaNeue/HelveticaNeue-Thin.woff2') format('woff2'),
    url('../fonts/HelveticaNeue/HelveticaNeue-Thin.woff') format('woff'),
    url('../fonts/HelveticaNeue/HelveticaNeue-Thin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Light';
    src: url('../fonts/HelveticaNeue/HelveticaNeue-Light.woff2') format('woff2'),
    url('../fonts/HelveticaNeue/HelveticaNeue-Light.woff') format('woff'),
    url('../fonts/HelveticaNeue/HelveticaNeue-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OLAmericaTheBeautifulMedium';
    src: url('../fonts/OLAmericaTheBeautiful/OLAmericaTheBeautifulMedium.woff2') format('woff2'),
    url('../fonts/OLAmericaTheBeautiful/OLAmericaTheBeautifulMedium.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'OLAmericaTheBeautifulLightItalic';
    src: url('../fonts/OLAmericaTheBeautiful/OLAmericaTheBeautifulLightItalic.woff2') format('woff2'),
    url('../fonts/OLAmericaTheBeautiful/OLAmericaTheBeautifulLightItalic.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'OLAmericaTheBeautifulLight';
    src: url('../fonts/OLAmericaTheBeautiful/OLAmericaTheBeautifulLight.woff2') format('woff2'),
    url('../fonts/OLAmericaTheBeautiful/OLAmericaTheBeautifulLight.woff') format('woff');
    font-display: swap;
}

/* ===============================
   Global Styles
   =============================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-container {
    max-width: 1440px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    background: #ffffff;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.PT-main {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

a {
    text-decoration: none;
}

a.with-border {
    position: relative;
}

.custom-row {
    display: flex;
}

.split-text-anim {
    overflow: hidden;
    font-family: var(--font-serif-light);
}

/* ===============================
   Noise Canvas Config
   =============================== */
canvas.noise {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 10000;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity;
}

body:has(
    a[href*="cal.com"]:is(:hover, :focus-visible),
    a[href^="mailto:"]:is(:hover, :focus-visible),
    a[href*="pixelponderer.com"]:is(:hover, :focus-visible)
) canvas.noise {
    opacity: 0.06;
    transition: opacity 0.65s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ===============================
   Buttons
   =============================== */
.theme-btn {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1.6px solid var(--ink);
    background: #FFFFFF;
    color: var(--ink);
    border-radius: 30px;
    z-index: 1;
    text-decoration: none;
    gap: 10px;
    line-height: 16px;
    padding: 14px 24px;
    transition: 0.3s;
    margin-bottom: 14px;
}

.theme-btn:before {
    content: "";
    background: var(--ink);
    border-radius: 30px;
    width: 100%;
    height: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: 0.3s;
}

.theme-btn img,
.theme-btn svg {
    display: block;
    width: 13px;
    transition: 0.3s ease;
}

.theme-btn:hover:before {
    height: 100%;
}

.theme-btn:hover {
    color: #ffffff;
    border-color: var(--ink);
}

.theme-btn:hover svg path {
    stroke: #ffffff;
}

.theme-btn:hover img {
    filter: invert(100%);
}

.section-header {
    display: flex;
    align-items: flex-start;
}

.section-subtitle {
    width: 26%;
    flex: none;
    padding: 6px 0 0;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    overflow: hidden;
    gap: 12px;
    color: var(--primary);
    font-family: var(--font-serif-medium);
    font-size: 14px;
    line-height: 18px;
    margin: 0;
}

.section-subtitlelight {
    width: 26%;
    flex: none;
    font-family: var(--font-serif-medium);
    padding: 6px 0 0;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    overflow: hidden;
    gap: 12px;
    color: var(--ink);
    font-size: 14px;
    line-height: 18px;
    margin: 0;
}

.section-subtitle svg,
.section-subtitle img,
.section-subtitlelight svg,
.section-subtitlelight img {
    display: block;
    flex: none;
    width: 16px;
    height: 10px;
}

.section-header .section-title {
    font-size: clamp(28px, 1.88vw + 21px, 48px);
    font-family: var(--font-thin);
    color: #FFFFFF;
    line-height: 1.25;
    overflow-wrap: break-word;
    margin: 0;
}

.section-header .section-title .font-accent {
    font-family: var(--font-serif-light-italic);
    font-size: 1.03em;
    letter-spacing: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-stroke: 0.25px transparent;
    color: rgba(255, 255, 255, 0.78);
}

.section-header .section-light {
    font-size: clamp(28px, 1.88vw + 21px, 48px);
    font-family: var(--font-thin);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.25;
    overflow-wrap: break-word;
    margin: 0;
}

.section-header .section-light .font-accent {
    font-family: var(--font-serif-light-italic);
    font-size: 1.03em;
    letter-spacing: normal;
}

/* ===============================
   Preloader Config
   =============================== */
.preloader-wrap {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 72px;
    /* Failsafe */
    animation: preloaderFailsafe 0.6s ease 10s forwards;
}
.preloader-wrap video {
    max-width: 100%;
}

.preloader-wrap .preloader-logo {
    display: block;
    max-width: 500px;
    height: auto;
}

.preloader-wrap img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ===============================
   Header & Nav Config
   =============================== */
.header-menu-wrap {
    position: absolute;
    left: 0;
    width: 100%;
    top: 0;
    z-index: 1024;
}

.header-menu-wrap .custom-container {
    max-width: 1920px;
    padding-left: var(--page-margin);
    padding-right: var(--page-margin);
}

.header-menu-wrap .custom-container .custom-row {
    align-items: center;
    justify-content: space-between;
}

.header-menu-wrap .logo {
    display: block;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 20px;
}

.header-menu-wrap .logo img {
    height: 20px;
    width: auto;
    max-width: 100%;
    display: block;
    margin-top: calc(var(--page-margin) + 20px);
}

/* ===============================
   Hamburger Menu Config
   =============================== */
.scroll-to-show-menu {
    position: fixed;
    max-width: 1920px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1026;
    top: 0;
}

.hamburg-menu {
    border: 1px solid #ffffff;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    position: absolute;
    right: var(--page-margin);
    top: var(--page-margin);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    gap: 5px;
    background: #1a1a1a;
    cursor: pointer;
    transform: scale(1);
    transition: background-color .3s, border-color .3s, transform .3s;
}

.hamburg-menu.active {
    transform: scale(1);
}

.hamburg-menu:hover {
    background: #ffffff;
}

.hamburg-menu:hover span {
    background: #000000;
}

.hamburg-menu span {
    display: block;
    width: 20px;
    height: 1px;
    background: #ffffff;
    transition: .3s;
}

/* ===============================
   Sidebar Menu Content
   =============================== */
.header-sidebar-wrap {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1026;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
}

.header-sidebar-wrap.active {
    opacity: 1;
    visibility: visible;
}

.header-sidebar-wrap .header-sidebar-content {
    width: 42%;
    margin-left: auto;
    height: 100vh;
    height: 100dvh;
    background: var(--ink);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    flex-wrap: nowrap;
    position: relative;
    transform: translateX(100%);
    overflow-x: hidden;
    gap: 150px;
    transition: 0.4s;
}

.header-sidebar-wrap.active .header-sidebar-content {
    transform: translateX(0);
}

.header-sidebar-wrap .header-sidebar-content .sidebar-shape {
    position: absolute;
    right: -128px;
    top: 20%;
    pointer-events: none;
    height: 440px;
    width: 546px;
    display: block;
    object-position: center center;
    object-fit: contain;
    will-change: transform;
    animation: upDownAnim 3s infinite linear;
}

.header-sidebar-wrap .header-sidebar-content .close-header-sidebar {
    position: absolute;
    right: calc(var(--page-margin) + 25px);
    top: calc(var(--page-margin) + 17px);
    cursor: pointer;
    color: var(--primary);
    font-size: 22px;
}

.header-sidebar-wrap .header-sidebar-content .close-header-sidebar i {
    display: block;
}

.header-sidebar-wrap .header-sidebar-content .header-sidebar-top {
    padding: 36px 64px 0 64px;
    width: 100%;
}

.header-sidebar-wrap .header-sidebar-content .header-sidebar-top ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-sidebar-wrap .header-sidebar-content .header-sidebar-top ul li {
    color: var(--primary);
    display: flex;
    gap: 76px;
    align-items: center;
    font-size: 12px;
    line-height: 18px;
}

.header-sidebar-wrap .header-sidebar-content .header-sidebar-top ul li a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 400;
}

.header-sidebar-wrap .header-sidebar-content .header-sidebar-top ul li span {
    display: block;
    min-width: 95px;
}

.header-sidebar-wrap .header-sidebar-content .sidebar-menu {
    padding-left: 64px;
    width: 100%;
}

.header-sidebar-wrap .header-sidebar-content .sidebar-menu ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.header-sidebar-wrap .header-sidebar-content .sidebar-menu ul li a {
    font-size: 32px;
    color: #FFFFFF;
    font-family: var(--font-thin);
    line-height: 40px;
    font-weight: 400;
    display: block;
    text-decoration: none;
    position: relative;
    transition: 0.4s;
}

.header-sidebar-wrap .header-sidebar-content .sidebar-menu ul li a:before {
    content: "";
    position: absolute;
    left: -1px;
    top: 13px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    background-color: #ffffff;
    background-clip: content-box;
    padding: 3px;
    opacity: 0;
    transition: 0.3s;
}

.header-sidebar-wrap .header-sidebar-content .sidebar-menu ul li a:hover:before {
    opacity: 1;
}

.header-sidebar-wrap .header-sidebar-content .sidebar-menu ul li a:hover {
    color: var(--primary);
    padding-left: 26px;
}

.header-sidebar-wrap .header-sidebar-content .header-sidebar-bottom {
    padding: 0 0 50px 64px;
}

.header-sidebar-wrap .header-sidebar-content .header-sidebar-bottom ul {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-sidebar-wrap .header-sidebar-content .header-sidebar-bottom ul li {
    width: 100%;
}

.header-sidebar-wrap .header-sidebar-content .header-sidebar-bottom ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #999999;
    text-decoration: none;
    font-size: 22px;
    color: var(--secondary);
    transition: 0.3s;
}

/* LinkedIn mark (Bootstrap Icons, MIT licence)*/
.header-sidebar-wrap .header-sidebar-content .header-sidebar-bottom ul li a svg {
    display: block;
    width: 0.82em;
    height: 0.82em;
    fill: currentColor;
}

.header-sidebar-wrap .header-sidebar-content .header-sidebar-bottom ul li a:hover {
    background: #ffffff;
    color: #000000;
    border-color: var(--primary);
}

/* ===============================
   Hero Section Config
   =============================== */
.hero-sec > .custom-container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.hero-sec .hero-inner {
    height: calc(100vh + 36px);
    height: calc(100svh + 36px);
    min-height: 820px;
    padding: 0 var(--page-margin) calc(var(--page-margin) + 2px + max(0px, 784px - 100vh));
    padding: 0 var(--page-margin) calc(var(--page-margin) + 2px + max(0px, 784px - 100svh));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

.hero-sec .hero-inner .hero-video {
    position: absolute;
    z-index: -1;
    left: 0;
    width: 100%;
    top: 0;
    height: 100%;
}

.hero-sec .hero-inner .hero-video video,
.hero-sec .hero-inner .hero-video .video-overlay-bounds {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(50%, calc(10vw + 512px), 90%);
    max-width: min(100%, calc(100vh * (16 / 9)));
    max-height: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    z-index: 1;
    pointer-events: none;
    -webkit-mask-image: -webkit-linear-gradient(white, white);
    mask-image: linear-gradient(white, white);
}

.hero-sec .hero-inner .hero-video .video-overlay-bounds .hero-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.hero-sec .hero-top {
    max-width: min(408px, 100%);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    padding-top: calc(var(--page-margin) + 111px);
}

.hero-sec .hero-top .hero-top-desc {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-sec .hero-top p {
    margin: 0;
    color: var(--ink);
    font-size: 14px;
    line-height: 20px;
}

.hero-sec .hero-top .author-info {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding: 9px 0 0;
}

.hero-sec .hero-top .author-info .author-name {
    font-family: var(--font-serif-medium);
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    margin: 0;
}

.hero-sec .hero-top .author-info span {
    display: block;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 20px;
}

.hero-sec .hero-bottom {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: flex-end;
    column-gap: 24px;
    row-gap: 20px;
    margin-bottom: 20px;
}

.hero-sec .hero-bottom .left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-sec .hero-bottom .hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    font-weight: 300;
}
.hero-sec .hero-bottom .hero-title span {
    display: block;
    color: var(--ink);
    background-image: linear-gradient(90deg, var(--ink) 16%, var(--ink) 140%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: max(clamp(52px, 39.6px + 3.35vw, 74px), min(96px, calc(9.17vw - 58px)));
    line-height: 1;
    letter-spacing: 0.01em;
    font-family: var(--font-serif-light);
    font-weight: 300;
    padding: 0.146em;
    margin: -0.146em;
    white-space: nowrap;
}

/* ===============================
   About Section Config
   =============================== */
.about-sec {
    position: relative;
}
.about-sec,
.about-sec-nobg {
    padding: 90px var(--page-margin);
}
.about-sec::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    z-index: -1;
    background: linear-gradient(0deg, rgba(31, 31, 31, 0) 0%, #1f1f1f 100%);
    pointer-events: none;
}
.about-sec .custom-container,
.about-sec-nobg .custom-container {
    max-width: 100%;
}
.about-sec .section-header,
.about-sec-nobg .section-header {
    margin-bottom: 120px;
}
.about-sec .funfacts-wrap,
.about-sec-nobg .funfacts-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}
.about-sec .funfacts-wrap .funfact-box:nth-child(odd),
.about-sec-nobg .funfacts-wrap .funfact-box:nth-child(odd) {
    margin-top: 58px;
}
.about-sec .funfacts-wrap .funfact-box:nth-child(3),
.about-sec-nobg .funfacts-wrap .funfact-box:nth-child(3) {
    margin-top: 92px;
}

.funfact-box {
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: var(--funfact-height);
    border: 1px solid var(--ink);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
}
.funfact-box .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
    display: block;
    background: var(--ink);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: 0.3s;
}

.funfact-box.active,
.funfact-box:hover {
    border-color: transparent;
}

.funfact-box.active .overlay,
.funfact-box:hover .overlay {
    opacity: 1;
}

.funfact-box .funfact-header {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 2;
    width: 100%;
}

.funfact-box .funfact-header .title {
    margin: 0;
    font-weight: 400;
    font-family: var(--font-serif-medium);
    font-size: 20px;
    line-height: 28px;
    color: var(--ink);
    display: block;
    width: auto;
    max-width: 100%;
    text-align: right;
    transition: color 0.3s ease;
}

.funfact-box .funfact-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
}

.funfact-box .funfact-footer .number {
    color: var(--ink);
    line-height: 44px;
    font-size: 44px;
    margin: 0;
    display: flex;
    align-items: flex-end;
    letter-spacing: -0.03em;
    transition: color 0.3s ease;
}

.funfact-box .funfact-footer .number span {
    font-size: 40px;
    line-height: 1.3;
}

.funfact-box .funfact-footer img,
.funfact-box .funfact-footer svg {
    display: block;
    width: 24px;
    height: 24px;
    flex: none;
    transition: fill 1.2s ease, stroke 1.2s ease, filter 1.2s ease;
}

.funfact-box:hover .funfact-footer img[src*="Top_Right_Arrow_Black.svg"] {
    filter: invert(100%) brightness(200%);
}

.funfact-box .funfact-blurb {
    width: 100%;
    z-index: 2;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.funfact-box .funfact-blurb p {
    margin: 0;
    font-size: 13px;
    font-family: var(--font-light);
    line-height: 1.5;
    color: var(--ink);
    text-align: right;
    max-width: 90%;
    transition: color 0.3s ease;
}

.funfact-box:hover .funfact-header .title,
.funfact-box.active .funfact-header .title,
.funfact-box:hover .funfact-footer .number,
.funfact-box.active .funfact-footer .number,
.funfact-box:hover .funfact-blurb p,
.funfact-box.active .funfact-blurb p {
    color: #ffffff;
}

/* ===============================
   Feedback Section Config
   =============================== */
.feedback-sec {
    padding: 50px var(--page-margin) 90px var(--page-margin);
    margin-top: -75px;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feedback-box {
    padding: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 36px;
    border-radius: 16px;
    background: linear-gradient(180deg, var(--ink) 0%, rgb(10, 10, 10) 35%, rgb(10, 10, 10) 65%, rgb(31, 31, 31) 100%);
}

.feedback-box .img-box {
    position: relative;
    overflow: hidden;
    height: 390px;
}

.feedback-box .img-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feedback-box .content {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 52px;
}

.feedback-box .content .name {
    display: block;
    font-size: 20px;
    line-height: 28px;
    color: var(--primary);
    margin: 0;
    font-weight: 500;
    font-family: var(--font-serif-light);
}

.feedback-box .content .designation {
    display: block;
    color: var(--primary);
    font-style: italic;
    font-size: 14px;
    line-height: 20px;
}

.feedback-box .content .brags {
    display: block;
    color: var(--primary);
    font-size: 12px;
    line-height: 20px;
    margin: 0 0 25px;
    opacity: .7;
}

.feedback-box .shape {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.feedback-box .shape span {
    display: block;
    width: 40px;
    height: 1px;
    background: #ffffff;
}

.feedback-box .content p {
    font-size: 16px;
    line-height: 28px;
    color: var(--primary);
    margin: 0;
    padding: 22px 0 34px;
}

/* ===============================
   Blog Preview Box Config
   =============================== */
.feature-sec {
    position: relative;
    padding: 20px 0px 90px 0px;
}

.feature-sec .custom-container {
    padding-left: var(--page-margin);
    padding-right: var(--page-margin);
    max-width: 100%;
}

.feature-project {
    background: linear-gradient(180deg, #1f1f1f 0%, rgb(0, 0, 0) 35%, rgb(0, 0, 0) 65%, rgb(31, 31, 31) 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    height: 98vh;
    width: 100%;
    top: 8px;
    overflow: hidden;
    position: sticky;
    padding: 12px 12px 30px;
}

.feature-project .img-box,
.feature-project .blog-preview-text {
    flex: 1 0 0;
    overflow: hidden;
    position: relative;
}

.feature-project .img-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-project .blog-preview-text {
    padding: 40px;
    background-color: #ffffff;
}

.feature-project .blog-preview-text p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 22px;
    line-height: 34px;
    font-weight: 300;
    font-family: var(--font-thin);
}

.feature-project .blog-preview-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 40%, rgba(255, 255, 255, 1) 95%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 75%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 75%);
    pointer-events: none;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.feature-project .hover_mouse {
    position: absolute;
    z-index: 3;
    left: 0;
    top: 0;
    transition: transform 0.5s ease-out;
    transform: translate3d(0, 0, 0);
}

.feature-project .hover_mouse a {
    color: var(--primary);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, #1f1f1f, transparent);
    backdrop-filter: blur(5px);
    font-size: 16px;
    transform: scale(0);
    transition: 0.5s;
}

.feature-project .hover_mouse.active a {
    transform: scale(1);
}

.feature-project .feature-project-infos {
    display: flex;
    flex-direction: row;
    height: auto;
    justify-content: space-between;
    overflow: hidden;
    padding: 0 28px;
    position: relative;
    width: 100%;
}

.feature-project-info-box {
    align-items: flex-start;
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 4px;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
    width: 35%;
}

.feature-project-info-box .subtitle,
.feature-project-info-box .title {
    font-size: 14px;
    line-height: 20px;
    color: #a5a2ab;
    display: block;
}

.feature-project-info-box .subtitle {
    color: var(--primary);
}

.feature-sec-2 {
    padding-top: 100px;
    padding-bottom: 46px;
}

.feature-project.feature-project-2,
.feature-sec-2 .feature-project {
    position: relative;
    top: 0;
    height: auto;
}

.feature-sec-2 .feature-project .img-box,
.feature-sec-2 .feature-project .blog-preview-text {
    flex: none;
    height: 668px;
}

.project-col-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
    width: 100%;
}

.feature-project-2 {
    padding-top: 18px;
    padding-bottom: 40px;
    height: auto;
}

.feature-project-2.feature-project-2 .img-box,
.feature-sec-2 .feature-project-2 .img-box,
.feature-project-2.feature-project-2 .blog-preview-text,
.feature-sec-2 .feature-project-2 .blog-preview-text {
    border-radius: 16px;
    height: 494px;
    flex: none;
}

.feature-project-2 .feature-project-infos {
    justify-content: space-between;
    gap: 24px;
    padding: 0 24px;
}

.feature-project-2 .feature-project-infos .feature-project-info-box {
    width: auto;
}

.feature-project-2 .feature-project-infos .feature-project-info-box:first-child {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.feature-project-2 .feature-project-infos .feature-project-info-box:first-child a,
.feature-project-2 .feature-project-infos .feature-project-info-box:first-child .subtitle {
    white-space: normal;
    word-wrap: break-word;
    letter-spacing: 0.05em;
    display: block;
    font-family: var(--font-serif-light);
    line-height: 22px;
}

.feature-project-2 .feature-project-infos .feature-project-info-box:last-child {
    flex: 0 0 auto;
    width: auto;
    align-items: flex-end;
    text-align: right;
}

/* ===============================
   Blog Article Config
   =============================== */
.project-single-wrap .section-header .section-light {
    font-family: var(--font-serif-light);
}

.project-single-wrap .section-header {
    padding: calc(var(--page-margin) + 135px) var(--page-margin) 90px var(--page-margin);
}

.project-single-wrap .section-subtitle {
    color: var(--ink);
}

.project-single-content-wrap .section-header {
    border-bottom: 1px solid #333333;
}

.project-single-content-wrap .section-header:last-child {
    border-bottom: none;
}

.project-single-content-wrap .section-header .right {
    flex: none;
    width: 74%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.blog-article-content {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.blog-article-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-article-section h2 {
    font-size: 32px;
    line-height: 40px;
    color: var(--ink);
    margin: 0 0 10px 0;
    font-weight: 400;
}
.blog-article-section h3 {
    font-size: 24px;
    line-height: 32px;
    color: var(--ink);
    margin: 16px 0 0;
    font-weight: 400;
}
.blog-article-section p,
.blog-article-section li {
    color: var(--tertiary);
    font-size: 20px;
    line-height: 34px;
    margin: 0;
    font-weight: 300;
}

.blog-article-section p .text-accent {
    font-family: var(--font-serif-medium);
    color: var(--ink);
    font-size: 20px;
    letter-spacing: 0.01em;
}

.blog-author {
    display: block;
    margin-top: 24px;
    color: #666666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.brand-box {
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    padding: 24px 0;
}

.brand-box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-bottom: 1px solid #333333;
    transition: background-color 0.3s ease;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 12.5%, rgb(0, 0, 0) 87.5%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 12.5%, rgb(0, 0, 0) 87.5%, rgba(0, 0, 0, 0) 100%);
}

.brand-box.active::before,
.brand-box:hover::before {
    background-color: var(--accent-pink);
}

.brand-box .brand-inner {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding-left: var(--page-margin);
    padding-right: var(--page-margin);
    position: relative;
}

.brand-box .brand-inner h3 {
    font-size: 64px;
    line-height: 68px;
    letter-spacing: -0.04em;
    color: var(--primary);
    font-weight: 400;
    background: linear-gradient(90deg, rgb(150 150 150) 0%, rgb(27, 26, 26) 133%);
    padding: 7px;
    margin: -7px;
    transition: -webkit-text-fill-color 0.3s ease;
    will-change: color, -webkit-text-fill-color;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-box.active .brand-inner h3,
.brand-box:hover .brand-inner h3 {
    -webkit-text-fill-color: var(--ink);
}

.brand-box .brand-inner .date {
    display: block;
    color: #808080;
    font-size: 14px;
    font-family: var(--font-light);
    margin: 0;
    line-height: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 8px;
}

.brand-box.active .brand-inner .date,
.brand-box:hover .brand-inner .date {
    color: var(--ink);
}

.brand-box .brand-hover-logo {
    position: absolute;
    right: var(--page-margin);
    top: 50%;
    translate: 20px -50%;
    height: 38px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    object-position: right center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, translate 0.3s ease;
    z-index: 2;
}

.brand-box:hover .brand-hover-logo,
.brand-box.active .brand-hover-logo {
    opacity: 1;
    translate: 0 -50%;
}

/* ===============================
   Footer
   =============================== */
.footer-area .footer-top {
    padding: 60px var(--page-margin) 60px;
}

.footer-area .footer-top > .row .col-md-3:nth-child(2) {
    flex: 0 0 auto;
    width: 50%;
}

.footer-area .footer-top > .row .col-md-3:nth-child(3) .footer-widget .copyright {
    justify-content: flex-end;
}

.footer-area .footer-top > .row .col-md-3:nth-child(3) .footer-widget .footer-widget-top {
    align-items: flex-end;
}

.footer-area .footer-top > .row .col-md-3:nth-child(3) .footer-widget ul {
    align-items: flex-end;
}

.footer-area .footer-top > .row .col-md-3:nth-child(3) .footer-widget ul li a {
    justify-content: flex-end;
}

.footer-widget {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.footer-widget .copyright {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 18px;
    margin: 0;
    color: var(--ink);
    gap: 10px;
}

.footer-widget .copyright img {
    display: block;
}

.footer-widget .copyright a {
    color: var(--tertiary);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.copyright a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: .5px;
    bottom: -2px;
    left: 0;
    background-color: var(--ink);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 12.5%, rgb(0, 0, 0) 87.5%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 12.5%, rgb(0, 0, 0) 87.5%, rgba(0, 0, 0, 0) 100%);
    transform: scaleX(0) translateZ(0);
    backface-visibility: hidden;
    transform-origin: bottom right;
    transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

.footer-widget .copyright a:hover {
    color: var(--ink);
}

.footer-widget .copyright a:hover::after {
    transform: scaleX(1) translateZ(0);
    transform-origin: bottom left;
}

.footer-widget .footer-widget-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-top: 16px;
}

.footer-widget .footer-heading {
    color: var(--tertiary);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
}

.footer-link ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.footer-link ul li {
    display: block;
}

.footer-widget-top ul li a,
.footer-link ul li a,
.blog-back {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    text-transform: uppercase;
    text-decoration: none;
    line-height: 18px;
    font-size: 16px;
    position: relative;
}

.footer-widget-top ul li a::after,
.footer-link ul li a::after,
.blog-back::after,
.footer-contact-infos .footer-widget-top .links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: .5px;
    bottom: -2px;
    left: 0;
    background-color: var(--ink);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 12.5%, rgb(0, 0, 0) 87.5%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 12.5%, rgb(0, 0, 0) 87.5%, rgba(0, 0, 0, 0) 100%);
    transform: scaleX(0) translateZ(0);
    backface-visibility: hidden;
    transform-origin: bottom right;
    transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

.footer-widget-top ul li a:hover::after,
.footer-link ul li a:hover::after,
.blog-back:hover::after,
.footer-contact-infos .footer-widget-top .links a:hover::after {
    transform: scaleX(1) translateZ(0);
    transform-origin: bottom left;
}

.footer-link ul li a img,
.footer-link ul li a svg,
.blog-back img {
    width: 10px;
    height: 10px;
    display: block;
}

.footer-contact-infos {
    color: var(--ink);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 64px;
}

.footer-contact-infos .footer-widget-top {
    align-items: center;
}

.footer-contact-infos .footer-widget-top .links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-contact-infos .footer-widget-top a {
    display: inline-block;
    color: var(--ink);
    font-size: 40px;
    line-height: 52px;
    font-weight: 400;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-bottom-full {
    width: 100%;
    margin-top: 24px;
    color: var(--tertiary);
    text-align: center;
}

.tight-divider-sec {
    border-style: solid;
    border-width: 0 0 1px 0;
    border-color: #333333;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    padding: 16px 0;
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 12.5%, rgb(0, 0, 0) 87.5%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 12.5%, rgb(0, 0, 0) 87.5%, rgba(0, 0, 0, 0) 100%);
}

.footer-widget .theme-btn {
    padding-top: 14px;
    padding-bottom: 14px;
    margin-bottom: 2px;
}

/* ===============================
   Keyframe Config
   =============================== */
@keyframes upDownAnim {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(15px);
    }
    100% {
        transform: translateY(0);
    }
}


/* ===============================
   Acessibility Config
   =============================== */
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10001;
    padding: 12px 18px;
    border-radius: 30px;
    background: #ffffff;
    color: var(--ink);
    font-size: 14px;
    transform: translateY(-200%);
    transition: transform 0.2s ease;
}
.skip-link:focus {
    transform: translateY(0);
}
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px #ffffff;
}

.hamburg-menu,
.close-header-sidebar {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    padding: 0;
    margin: 0;
}
.close-header-sidebar {
    background: none;
    border: 0;
    line-height: 1;
}
.close-header-sidebar:focus-visible {
    outline-color: #ffffff;
    box-shadow: 0 0 0 5px var(--ink);
}

/* ===============================
   Blog Config
   =============================== */
.feature-project-2 .feature-project-infos,
.feature-project-2 .feature-project-info-box {
    position: static;
    overflow: visible;
}
.feature-project-2 .feature-project-info-box:first-child a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
}
.feature-project-2:has(a:focus-visible) {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}
.feature-project-2 a:focus-visible {
    outline: 0;
    box-shadow: none;
}
.feature-project-info-box h2.subtitle {
    margin: 0;
    font-weight: 400;
}

.blog-article-section ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: disc;
    padding-left: 1.25em;
}
.blog-article-section li::marker {
    color: var(--ink);
}

.blog-article-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid #d9d9d9;
}
.blog-article-footer .theme-btn {
    margin-bottom: 0;
}
.blog-back {
    width: fit-content;
}

.blog-back:hover {
    color: var(--ink);
}

.blog-back img {
    transform: rotate(-135deg);
}
.blog-author time {
    white-space: nowrap;
}

/* ===============================
   Video Config
   =============================== */
video::-webkit-media-controls,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    -webkit-appearance: none;
}
video {
    -webkit-user-select: none;
    user-select: none;
}

.footer-contact-infos .footer-widget-top .links a {
    position: relative;
}
.footer-contact-infos .footer-widget-top .links a::after {
    height: 1px;
    bottom: calc(26px - 0.6em);
}


@media (min-width: 1201px) and (max-width: 1279px) {
    :root {
        --funfact-height: 370px;
    }
}

/* ===============================
   Motion Config
   =============================== */
@keyframes preloaderFailsafe {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    canvas.noise {
        display: none;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .preloader-wrap {
        animation-delay: 0s !important;
    }
}