/* =========================================================
   NEWITT MEDIA
   MASTER PROFESSIONAL STYLESHEET
   STREAMLINED FINAL BUILD
   30 AUGUST 2026

   Premium dark / blue / cyan / gold
   Responsive desktop / tablet / mobile
   Cinematic first-visit intro
   Mobile page-transition protection
========================================================= */


/* =========================================================
   RESET
========================================================= */

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

html {
    background: #020305;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(2, 3, 5, 0.08),
            rgba(2, 3, 5, 0.22)
        ),
        url("background.png") center top / cover no-repeat fixed;

    color: #f4f7fa;

    font-family:
        Inter,
        "Avenir Next",
        Avenir,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    line-height: 1.6;

    text-rendering: optimizeLegibility;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";

    position: fixed;
    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(0, 174, 255, 0.045),
            transparent 42%
        );
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

section {
    position: relative;
}

::selection {
    background: rgba(0, 190, 255, 0.25);
    color: #ffffff;
}


/* =========================================================
   MASTER CONTAINER
========================================================= */

.container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(2, 3, 5, 0.84);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    min-width: 0;
}

.nav-brand img {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    object-fit: contain;
}

.nav-brand span {
    white-space: nowrap;

    color: #ffffff;

    font-size: 0.86rem;
    font-weight: 750;

    letter-spacing: 0.14em;
}

.nav-brand strong {
    color: #c9a45b;
}

.nav-links {
    display: flex;
    align-items: center;

    gap: 4px;
}

.nav-links a {
    padding: 8px 11px;

    border-radius: 6px;

    color:
        rgba(255, 255, 255, 0.76);

    font-size: 0.73rem;
    font-weight: 650;

    letter-spacing: 0.065em;

    transition:
        color 180ms ease,
        background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.07);
}

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 8px;

    border:
        1px solid
        rgba(255, 255, 255, 0.15);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.035);

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    border-radius: 999px;

    background: #ffffff;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3 {
    margin-top: 0;

    line-height: 1.08;

    font-family:
        "Avenir Next",
        Avenir,
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    text-rendering: optimizeLegibility;
}

h1 {
    margin-bottom: 18px;

    font-size:
        clamp(2.25rem, 6vw, 5rem);

    font-weight: 750;

    letter-spacing: -0.028em;
}

h2 {
    margin-bottom: 16px;

    font-size:
        clamp(2rem, 4vw, 3.4rem);

    font-weight: 750;

    letter-spacing: -0.022em;
}

h3 {
    margin-bottom: 10px;

    font-size: 1.15rem;

    font-weight: 700;
}

p {
    margin-top: 0;

    color:
        rgba(244, 247, 250, 0.76);
}

.eyebrow {
    margin-bottom: 10px;

    color: #c9a45b;

    font-size: 0.65rem;
    font-weight: 750;

    letter-spacing: 0.20em;

    text-transform: uppercase;
}

h1 span,
h2 span,
.section-heading span {
    color: #c9a45b;
}


/* =========================================================
   GLOBAL CENTRING
========================================================= */

.hero,
.skyline-hero,
.paranormal-hero,
.photography-hero,
.contact-hero {
    text-align: center;
}

.hero-content,
.skyline-hero-content,
.paranormal-hero-content,
.photography-hero-content,
.contact-hero-content {
    width: min(860px, 100%);

    margin-inline: auto;

    display: flex;
    flex-direction: column;

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

    text-align: center;
}

.about {
    width: min(900px, 100%);

    margin-inline: auto;

    text-align: center;
}

.section-heading {
    width: 100%;

    margin-bottom: 28px;

    text-align: center;
}

.section-heading p {
    width: min(700px, 100%);

    margin-inline: auto;
}

.about > p {
    width: min(760px, 100%);

    margin-inline: auto;
}


/* =========================================================
   HERO
========================================================= */

.hero,
.skyline-hero,
.paranormal-hero,
.photography-hero,
.contact-hero {
    min-height: 76vh;

    display: flex;
    align-items: center;

    padding: 95px 0;
}

.hero {
    overflow: hidden;
}

.hero-atmosphere,
.paranormal-atmosphere {
    position: absolute;
    inset: 0;

    pointer-events: none;
}

.hero-atmosphere {
    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(0, 170, 255, 0.10),
            transparent 35%
        );
}

.paranormal-atmosphere {
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(155, 20, 30, 0.12),
            transparent 40%
        );
}

.paranormal-fog {
    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse at 50% 80%,
            rgba(180, 180, 180, 0.045),
            transparent 45%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo-wrap {
    width: min(230px, 46vw);

    margin: 0 auto 25px;
}

.hero-logo {
    width: 100%;
    height: auto;

    object-fit: contain;

    margin-inline: auto;

    filter:
        drop-shadow(
            0 0 28px
            rgba(0, 170, 255, 0.13)
        );
}

.hero-content h1 {
    width: 100%;
    max-width: 950px;

    margin-inline: auto;
}

.hero-rule {
    width: 90px;
    height: 1px;

    margin: 20px auto;

    background:
        rgba(201, 164, 91, 0.65);
}

.hero-tagline {
    color: #c9a45b;

    font-size:
        clamp(0.75rem, 1.5vw, 0.95rem);

    font-weight: 750;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    text-align: center;
}

.hero-introduction {
    width: min(650px, 100%);

    margin-inline: auto;

    text-align: center;
}


/* =========================================================
   PAGE LOGOS
========================================================= */

.page-logo {
    display: block;

    width: min(250px, 52vw);

    max-height: 220px;

    height: auto;

    margin: 0 auto 28px;

    object-fit: contain;
}

.skyline-logo {
    filter:
        drop-shadow(
            0 0 28px
            rgba(0, 174, 255, 0.18)
        );
}

.paranormal-logo {
    filter:
        drop-shadow(
            0 0 28px
            rgba(190, 30, 40, 0.22)
        );
}

.photography-logo {
    filter:
        drop-shadow(
            0 0 28px
            rgba(201, 164, 91, 0.14)
        );
}

.photography-mark {
    margin-bottom: 18px;

    text-align: center;
}

.photography-symbol {
    color: #78d58a;

    font-size: 2.7rem;

    line-height: 1;
}


/* =========================================================
   BUTTONS
========================================================= */

.buttons,
.hero-actions {
    width: 100%;

    display: flex;

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

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 22px;
}

.button,
.buttons a,
.hero-actions a,
.social-button {
    display: inline-flex;

    width: auto;

    max-width: max-content;

    flex: 0 0 auto;

    min-height: 39px;

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

    gap: 7px;

    padding: 8px 14px;

    border:
        1px solid
        rgba(255, 255, 255, 0.16);

    border-radius: 6px;

    background:
        rgba(255, 255, 255, 0.045);

    color: #ffffff;

    font-size: 0.70rem;

    font-weight: 700;

    letter-spacing: 0.055em;

    line-height: 1.1;

    white-space: nowrap;

    cursor: pointer;

    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.button:hover,
.buttons a:hover,
.hero-actions a:hover,
.social-button:hover {
    transform: translateY(-2px);

    background:
        rgba(255, 255, 255, 0.09);

    border-color:
        rgba(255, 255, 255, 0.28);
}

.button.primary {
    color: #f5d38a;

    border-color:
        rgba(201, 164, 91, 0.52);

    background:
        rgba(201, 164, 91, 0.12);
}

.button.primary:hover {
    background:
        rgba(201, 164, 91, 0.20);

    box-shadow:
        0 8px 25px
        rgba(201, 164, 91, 0.10);
}


/* =========================================================
   CINEMATIC FIRST-VISIT INTRO
========================================================= */

.site-intro {
    position: fixed;

    inset: 0;

    z-index: 5000;

    display: grid;

    place-items: center;

    overflow: hidden;

    background: #020305;

    transform: translateZ(0);

    -webkit-transform: translateZ(0);
}

.intro-atmosphere {
    position: absolute;

    inset: -20%;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 170, 255, 0.14),
            transparent 28%
        ),
        radial-gradient(
            circle at 50% 65%,
            rgba(0, 120, 255, 0.07),
            transparent 38%
        );

    animation:
        introAtmosphere
        5s
        ease-in-out
        infinite
        alternate;
}

.intro-light-sweep {
    position: absolute;

    top: -20%;
    left: -30%;

    width: 28%;
    height: 140%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(130, 220, 255, 0.18),
            transparent
        );

    transform: rotate(18deg);

    animation:
        introSweep
        6.5s
        ease-in-out
        infinite;
}

.intro-content {
    position: relative;

    z-index: 2;

    display: flex;

    width:
        min(
            760px,
            calc(100% - 40px)
        );

    flex-direction: column;

    align-items: center;

    text-align: center;
}

.intro-logo {
    display: block;

    width:
        min(
            240px,
            52vw
        );

    max-height: 280px;

    height: auto;

    margin: 0 auto;

    object-fit: contain;

    opacity: 1;

    filter: none;

    transform:
        translateZ(0);

    -webkit-transform:
        translateZ(0);

    backface-visibility: hidden;

    -webkit-backface-visibility: hidden;

    animation:
        introLogoSafe
        1.2s
        ease-out
        both;
}

.intro-name {
    margin-top: 22px;

    color: #ffffff;

    font-size:
        clamp(
            1.8rem,
            5vw,
            3.8rem
        );

    font-weight: 850;

    letter-spacing: 0.14em;
}

.intro-name span {
    color: #c9a45b;
}

.intro-line {
    width: 90px;
    height: 1px;

    margin: 20px auto;

    background:
        rgba(201, 164, 91, 0.7);
}

.intro-tagline {
    max-width: 680px;

    color:
        rgba(255, 255, 255, 0.76);

    font-size:
        clamp(
            0.68rem,
            1.7vw,
            0.9rem
        );

    font-weight: 700;

    letter-spacing: 0.17em;

    line-height: 1.8;

    text-align: center;
}

.site-intro.intro-hidden {
    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 900ms ease,
        visibility 0s linear 900ms;
}


/* =========================================================
   MOBILE PAGE TRANSITION
   JAVASCRIPT CREATES THIS ELEMENT

   This is deliberately extremely simple.

   The overlay is:
   - fixed
   - full screen
   - above everything
   - GPU composited
   - pointer protected
========================================================= */

#newitt-transition-overlay {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 2147483647;

    background: #020305;

    opacity: 0;

    visibility: visible;

    pointer-events: all;

    transform: translateZ(0);

    -webkit-transform: translateZ(0);

    will-change: opacity;

    contain: strict;
}


/* =========================================================
   NEWITT MEDIA INTRODUCTION
========================================================= */

.newitt-media-intro {
    position: relative;

    width: 100%;

    overflow: hidden;

    padding:
        85px 0 78px;

    background:
        linear-gradient(
            180deg,
            rgba(2, 3, 5, 0.30),
            rgba(2, 3, 5, 0.72)
        );

    text-align: center;
}

.newitt-media-intro-glow {
    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 18%,
            rgba(0, 174, 255, 0.075),
            transparent 34%
        ),
        radial-gradient(
            circle at 50% 75%,
            rgba(201, 164, 91, 0.045),
            transparent 40%
        );
}

.newitt-media-intro .container {
    position: relative;

    z-index: 2;
}

.newitt-media-intro-heading {
    width:
        min(
            760px,
            100%
        );

    margin:
        0 auto 42px;

    text-align: center;
}

.newitt-media-intro-heading h2 {
    margin-bottom: 0;

    font-size:
        clamp(
            2rem,
            6vw,
            3.5rem
        );
}

.newitt-media-intro-main {
    width:
        min(
            650px,
            100%
        );

    margin:
        0 auto;

    color:
        rgba(244, 247, 250, 0.70);

    font-size:
        clamp(
            0.9rem,
            2vw,
            1.05rem
        );

    line-height: 1.7;

    text-align: center;
}


/* =========================================================
   THREE WORLD CARDS
========================================================= */

.newitt-media-intro-worlds {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(
                0,
                1fr
            )
        );

    gap: 18px;

    align-items: stretch;
}

.newitt-intro-world {
    position: relative;

    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    padding:
        30px 22px 27px;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 10px;

    background:
        rgba(4, 7, 12, 0.58);

    box-shadow:
        0 18px 55px
        rgba(0, 0, 0, 0.18);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    text-align: center;

    transition:
        transform 350ms ease,
        border-color 350ms ease,
        background 350ms ease,
        box-shadow 350ms ease;
}

.newitt-intro-world:hover {
    transform:
        translateY(-7px);

    background:
        rgba(7, 10, 16, 0.70);

    box-shadow:
        0 24px 65px
        rgba(0, 0, 0, 0.28);
}


/* =========================================================
   WORLD ACCENTS
========================================================= */

.newitt-intro-skyline {
    border-color:
        rgba(0, 174, 255, 0.20);
}

.newitt-intro-skyline:hover {
    border-color:
        rgba(0, 174, 255, 0.52);

    box-shadow:
        0 24px 65px
        rgba(0, 140, 255, 0.10);
}

.newitt-intro-paranormal {
    border-color:
        rgba(190, 30, 40, 0.18);
}

.newitt-intro-paranormal:hover {
    border-color:
        rgba(220, 45, 55, 0.48);

    box-shadow:
        0 24px 65px
        rgba(180, 25, 35, 0.10);
}

.newitt-intro-photography {
    border-color:
        rgba(201, 164, 91, 0.20);
}

.newitt-intro-photography:hover {
    border-color:
        rgba(201, 164, 91, 0.48);

    box-shadow:
        0 24px 65px
        rgba(201, 164, 91, 0.09);
}


/* =========================================================
   WORLD LOGOS
========================================================= */

.newitt-intro-logo-wrap {
    width: 100%;

    height: 135px;

    display: flex;

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

    margin-bottom: 18px;

    overflow: hidden;
}

.newitt-intro-logo {
    display: block;

    width:
        min(
            175px,
            70%
        );

    height: 125px;

    object-fit: contain;

    margin-inline: auto;

    transition:
        transform 450ms ease;
}

.newitt-intro-world:hover
.newitt-intro-logo {
    transform:
        scale(1.035);
}

.newitt-intro-skyline
.newitt-intro-logo {
    filter:
        drop-shadow(
            0 0 18px
            rgba(0, 174, 255, 0.14)
        );
}

.newitt-intro-paranormal
.newitt-intro-logo {
    filter:
        drop-shadow(
            0 0 18px
            rgba(190, 30, 40, 0.16)
        );
}

.newitt-intro-photography
.newitt-intro-logo {
    filter:
        drop-shadow(
            0 0 18px
            rgba(201, 164, 91, 0.12)
        );
}


/* =========================================================
   WORLD TEXT
========================================================= */

.newitt-intro-text {
    width: 100%;

    text-align: center;
}

.newitt-intro-text h3 {
    margin-bottom: 10px;

    color: #ffffff;

    font-size:
        clamp(
            0.82rem,
            1.3vw,
            1rem
        );

    font-weight: 800;

    letter-spacing: 0.10em;

    line-height: 1.35;
}

.newitt-intro-text p {
    width: 100%;

    margin:
        0 auto;

    color:
        rgba(244, 247, 250, 0.67);

    font-size:
        clamp(
            0.76rem,
            1.2vw,
            0.88rem
        );

    line-height: 1.7;

    text-align: center;
}


/* =========================================================
   INTRO CLOSING
========================================================= */

.newitt-media-intro-closing {
    width:
        min(
            760px,
            100%
        );

    margin:
        38px auto 0;

    padding-top: 26px;

    border-top:
        1px solid
        rgba(201, 164, 91, 0.18);

    text-align: center;
}

.newitt-media-intro-closing p {
    margin-bottom: 9px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size:
        clamp(
            0.9rem,
            2vw,
            1.05rem
        );

    letter-spacing: 0.03em;
}

.newitt-media-intro-closing strong {
    color: #c9a45b;

    font-weight: 750;
}

.newitt-media-intro-closing span {
    display: block;

    color:
        rgba(255, 255, 255, 0.43);

    font-size:
        clamp(
            0.58rem,
            1.2vw,
            0.68rem
        );

    font-weight: 700;

    letter-spacing: 0.16em;

    line-height: 1.6;
}


/* =========================================================
   MASTER CINEMATIC SOCIAL ANIMATION
========================================================= */

.social-hub {
    position: relative;

    width: 100%;

    overflow: hidden;

    isolation: isolate;

    padding: 0;

    background: #020305;

    text-align: center;
}

.social-master-frame {
    position: relative;

    width: 100%;

    max-width: 1536px;

    margin-inline: auto;

    overflow: hidden;

    background: #020305;

    aspect-ratio:
        1536 / 1024;

    transform: translateZ(0);

    -webkit-transform: translateZ(0);
}

.social-master-animation,
.social-master-frame iframe {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    border: 0;

    overflow: hidden;

    background: #020305;
}


/* =========================================================
   CTA
========================================================= */

.home-cta {
    padding:
        70px 0;
}

.cta-panel {
    width:
        min(
            780px,
            100%
        );

    margin-inline: auto;

    padding:
        38px 30px;

    border:
        1px solid
        rgba(201, 164, 91, 0.24);

    border-radius: 10px;

    background:
        rgba(3, 5, 8, 0.60);

    text-align: center;

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);
}

.cta-panel .hero-actions {
    justify-content: center;
}


/* =========================================================
   CONTENT CARDS
========================================================= */

.investigation-grid,
.photography-focus-grid,
.contact-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(
                0,
                1fr
            )
        );

    gap: 14px;
}

.investigation-card,
.photography-focus-card,
.contact-card {
    min-width: 0;

    padding: 22px;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 9px;

    background:
        rgba(4, 7, 12, 0.52);

    backdrop-filter: blur(7px);

    -webkit-backdrop-filter: blur(7px);

    text-align: center;
}

.investigation-card p,
.photography-focus-card p,
.contact-card p {
    margin-bottom: 0;

    font-size: 0.86rem;
}

.photography-focus-icon,
.contact-card-icon {
    margin-bottom: 10px;

    font-size: 1.4rem;
}

.photography-focus-icon {
    color: #78d58a;
}

.skyline-contact
.contact-card-icon {
    color: #4ecfff;
}

.paranormal-contact
.contact-card-icon {
    color: #ff5d67;
}

.photography-contact
.contact-card-icon {
    color: #78d58a;
}

.contact-card h2 {
    font-size: 1.4rem;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap: 14px;
}

.gallery-item {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio:
        16 / 10;

    padding: 0;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.09);

    border-radius: 9px;

    background:
        rgba(0, 0, 0, 0.25);

    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 450ms ease;
}

.gallery-item:hover img {
    transform:
        scale(1.035);
}

.gallery-note {
    margin-top: 14px;

    color:
        rgba(255, 255, 255, 0.52);

    font-size: 0.75rem;

    text-align: center;
}


/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox,
#lightbox {
    position: fixed;

    inset: 0;

    z-index: 4000;

    display: none;

    place-items: center;

    padding: 24px;

    background:
        rgba(0, 0, 0, 0.90);
}

.lightbox.active,
#lightbox.active {
    display: grid;
}

.lightbox img,
#lightbox img {
    width: auto;
    height: auto;

    max-width:
        min(
            1100px,
            94vw
        );

    max-height: 88vh;

    border-radius: 6px;
}

.lightbox-close,
#lightbox-close {
    position: absolute;

    top: 18px;
    right: 20px;

    width: 44px;
    height: 44px;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 50%;

    background:
        rgba(0, 0, 0, 0.45);

    color: #ffffff;

    font-size: 1.6rem;

    cursor: pointer;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;

    right: 18px;
    bottom: 18px;

    z-index: 900;

    display: flex;

    width: 42px;
    height: 42px;

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

    border:
        1px solid
        rgba(201, 164, 91, 0.42);

    border-radius: 50%;

    background:
        rgba(2, 3, 5, 0.82);

    color: #c9a45b;

    font-size: 1.15rem;

    line-height: 1;

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(10px);

    transition:
        opacity 180ms ease,
        visibility 180ms ease,
        transform 180ms ease;

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);
}

.back-to-top.visible,
.back-to-top.show,
.back-to-top.is-visible {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}

.back-to-top:hover {
    background:
        rgba(201, 164, 91, 0.12);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding:
        50px 0 30px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.08);

    background:
        rgba(2, 3, 5, 0.78);

    text-align: center;
}

.footer-logo {
    width: 72px;
    height: 72px;

    margin:
        0 auto 13px;

    object-fit: contain;
}

.footer-brand {
    margin-bottom: 5px;

    color: #ffffff;

    font-size: 0.84rem;

    font-weight: 800;

    letter-spacing: 0.15em;
}

.footer-tagline {
    margin-bottom: 20px;

    color: #c9a45b;

    font-size: 0.64rem;

    font-weight: 750;

    letter-spacing: 0.10em;
}

.copyright,
.website-address {
    margin-bottom: 0;

    color:
        rgba(255, 255, 255, 0.45);

    font-size: 0.67rem;

    line-height: 1.8;
}

.website-address {
    margin-top: 10px;
}

.website-address a {
    color:
        rgba(255, 255, 255, 0.58);

    transition:
        color 180ms ease;
}

.website-address a:hover {
    color: #c9a45b;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes introAtmosphere {

    from {
        transform:
            scale(1);

        opacity:
            0.7;
    }

    to {
        transform:
            scale(1.12);

        opacity:
            1;
    }

}


@keyframes introSweep {

    0% {
        transform:
            translateX(-120%)
            rotate(18deg);

        opacity:
            0;
    }

    35% {
        opacity:
            1;
    }

    70% {
        opacity:
            0.55;
    }

    100% {
        transform:
            translateX(520%)
            rotate(18deg);

        opacity:
            0;
    }

}


@keyframes introLogoSafe {

    0% {
        opacity:
            0;

        transform:
            scale(0.94)
            translateZ(0);
    }

    100% {
        opacity:
            1;

        transform:
            scale(1)
            translateZ(0);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .container {
        width:
            min(
                760px,
                calc(100% - 32px)
            );
    }

    .nav-links {
        gap: 2px;
    }

    .nav-links a {
        padding:
            8px;

        font-size:
            0.70rem;
    }

    .investigation-grid,
    .photography-focus-grid,
    .contact-grid,
    .newitt-media-intro-worlds {
        grid-template-columns:
            1fr;
    }

    .newitt-intro-world {
        width: 100%;
    }

    .newitt-intro-logo-wrap {
        height:
            130px;
    }

    .newitt-intro-logo {
        height:
            120px;
    }

}
/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    html,
    body {
        background-color:
            #020305;
    }

    body {
        background-image:
            linear-gradient(
                180deg,
                rgba(2, 3, 5, 0.08),
                rgba(2, 3, 5, 0.22)
            ),
            url("background.png");

        background-position:
            center top;

        background-size:
            cover;

        background-repeat:
            no-repeat;

        background-attachment:
            scroll;
    }


    /* -----------------------------------------------------
       CONTAINER
    ----------------------------------------------------- */

    .container {
        width:
            calc(100% - 28px);
    }


    /* -----------------------------------------------------
       HEADER
    ----------------------------------------------------- */

    .nav {
        min-height:
            68px;
    }

    .nav-brand img {
        width:
            36px;

        height:
            36px;

        flex-basis:
            36px;
    }

    .nav-brand span {
        font-size:
            0.74rem;
    }

    .menu-toggle {
        display:
            block;
    }

    .nav-links {
        position:
            absolute;

        top:
            68px;

        left:
            14px;

        right:
            14px;

        display:
            none;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            4px;

        padding:
            9px;

        border:
            1px solid
            rgba(255, 255, 255, 0.10);

        border-radius:
            9px;

        background:
            rgba(2, 3, 5, 0.97);

        box-shadow:
            0 20px 60px
            rgba(0, 0, 0, 0.45);

        backdrop-filter:
            blur(14px);

        -webkit-backdrop-filter:
            blur(14px);
    }

    .nav-links.open,
    .nav-links.active,
    .nav-links.menu-open {
        display:
            flex;
    }

    .nav-links a {
        width:
            100%;

        padding:
            11px;

        text-align:
            center;
    }


    /* -----------------------------------------------------
       HERO
    ----------------------------------------------------- */

    .hero,
    .skyline-hero,
    .paranormal-hero,
    .photography-hero,
    .contact-hero {
        min-height:
            auto;

        padding:
            72px 0;
    }

    .hero-logo-wrap {
        width:
            min(
                175px,
                48vw
            );
    }

    .page-logo {
        width:
            min(
                195px,
                50vw
            );

        max-height:
            175px;

        margin-bottom:
            24px;
    }

    h1 {
        font-size:
            clamp(
                2rem,
                10vw,
                3rem
            );
    }

    h2 {
        font-size:
            clamp(
                1.8rem,
                8vw,
                2.6rem
            );
    }


    /* -----------------------------------------------------
       FIRST-VISIT INTRO
    ----------------------------------------------------- */

    .intro-content {
        width:
            calc(100% - 30px);
    }

    .intro-logo {
        width:
            min(
                210px,
                58vw
            );

        max-height:
            230px;
    }

    .intro-name {
        margin-top:
            18px;

        font-size:
            clamp(
                1.55rem,
                8vw,
                2.5rem
            );

        letter-spacing:
            0.11em;
    }

    .intro-line {
        margin:
            17px auto;
    }

    .intro-tagline {
        width:
            min(
                340px,
                100%
            );

        font-size:
            0.62rem;

        letter-spacing:
            0.12em;

        line-height:
            1.8;
    }


    /* -----------------------------------------------------
       NEWITT MEDIA INTRO
    ----------------------------------------------------- */

    .newitt-media-intro {
        padding:
            65px 0 58px;
    }

    .newitt-media-intro-heading {
        margin-bottom:
            32px;
    }

    .newitt-media-intro-heading h2 {
        font-size:
            clamp(
                1.9rem,
                9vw,
                2.6rem
            );
    }

    .newitt-media-intro-main {
        padding-inline:
            8px;

        font-size:
            0.88rem;

        line-height:
            1.65;
    }

    .newitt-media-intro-worlds {
        display:
            flex;

        flex-direction:
            column;

        gap:
            14px;
    }

    .newitt-intro-world {
        padding:
            25px 18px 23px;

        border-radius:
            9px;
    }

    .newitt-intro-logo-wrap {
        height:
            118px;

        margin-bottom:
            14px;
    }

    .newitt-intro-logo {
        width:
            min(
                165px,
                62%
            );

        height:
            112px;
    }

    .newitt-intro-text h3 {
        font-size:
            0.78rem;

        letter-spacing:
            0.075em;
    }

    .newitt-intro-text p {
        font-size:
            0.78rem;

        line-height:
            1.65;
    }

    .newitt-media-intro-closing {
        margin-top:
            30px;

        padding-top:
            22px;
    }

    .newitt-media-intro-closing p {
        font-size:
            0.84rem;
    }

    .newitt-media-intro-closing span {
        font-size:
            0.54rem;

        letter-spacing:
            0.11em;
    }


    /* -----------------------------------------------------
       BUTTONS
    ----------------------------------------------------- */

    .buttons,
    .hero-actions {
        justify-content:
            center;

        gap:
            7px;
    }

    .button,
    .buttons a,
    .hero-actions a {
        min-height:
            37px;

        padding:
            7px 11px;

        font-size:
            0.64rem;
    }


    /* -----------------------------------------------------
       SOCIAL ANIMATION
    ----------------------------------------------------- */

    .social-master-frame {
        width:
            100%;

        max-width:
            none;

        aspect-ratio:
            1536 / 1024;

        overflow:
            hidden;
    }

    .social-master-animation,
    .social-master-frame iframe {
        width:
            100%;

        height:
            100%;
    }


    /* -----------------------------------------------------
       CTA
    ----------------------------------------------------- */

    .home-cta {
        padding:
            55px 0;
    }

    .cta-panel {
        padding:
            28px 16px;
    }


    /* -----------------------------------------------------
       BACK TO TOP
    ----------------------------------------------------- */

    .back-to-top {
        right:
            13px;

        bottom:
            13px;
    }


    /* -----------------------------------------------------
       TRANSITION PERFORMANCE
    ----------------------------------------------------- */

    #newitt-transition-overlay {
        transition:
            opacity 180ms ease;

        will-change:
            opacity;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .nav-brand span {
        display:
            none;
    }

    .social-master-frame {
        width:
            100%;

        aspect-ratio:
            1536 / 1024;
    }

    .newitt-media-intro {
        padding-top:
            55px;
    }

    .newitt-intro-world {
        padding:
            22px 15px;
    }

    .newitt-intro-logo-wrap {
        height:
            105px;
    }

    .newitt-intro-logo {
        height:
            100px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior:
            auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }

    .social-master-animation {
        animation:
            none !important;
    }

    .newitt-intro-world:hover {
        transform:
            none;
    }

    .newitt-intro-world:hover
    .newitt-intro-logo {
        transform:
            none;
    }

}
