/* ============================================
   GLASSLOCK WEBSITE - GLOBAL STYLES
   ============================================ */

/* ============================================
   1. GOOGLE FONTS
   Loaded via <link> tags in each page's <head> (with preconnect)
   instead of a render-blocking @import chain here.
   ============================================ */

/* ============================================
   2. CSS RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Libre Franklin', sans-serif;
    background-image: url('assets/hero-shattered-glass.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 0;
    background-color: #07070D;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: clamp(2rem, 5vw, 5.0625rem);
    font-weight: 600;
    line-height: 1em;
}

h2 {
    font-size: clamp(2rem, 4vw, 4.125rem);
    font-weight: 400;
    line-height: 1em;
    color: #9FA6CC;
}

h3 {
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1em;
    color: #9FA6CC;
}

/* Hero subtitle (visual style uses body font, not Oswald) */
.hero h2.hero-subtitle {
    color: #9FA6CC;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    font-size: clamp(1.5rem, 3vw, 2.125rem);
}

p {
    font-family: 'Libre Franklin', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6em;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* ============================================
   4. UNIVERSAL BUTTON STYLES
   ============================================ */
button,
a.button,
.button {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #DBF1FF;
    color: #DBF1FF;
    font-family: 'Libre Franklin', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.4375rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px 40px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #DBF1FF;
    outline-offset: 4px;
}

.skip-nav {
    position: absolute;
    top: 0.75rem;
    left: 1rem;
    background-color: #07070D;
    color: #DBF1FF;
    padding: 0.8rem 1rem;
    z-index: 2000;
    transform: translateY(-140%);
    transition: transform 0.2s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.skip-nav:focus-visible {
    transform: translateY(0);
}

button:hover,
a.button:hover,
.button:hover {
    background-color: #DBF1FF;
    color: #07070D;
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.7));
    transform: translateY(-3px);
}

/* ============================================
   5. NAVIGATION BAR STYLES
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(7, 7, 13, 0.45);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    height: 150px;
    z-index: 1000;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

nav.hidden {
    transform: translateY(-100%);
}

nav .logo {
    display: flex;
    align-items: center;
}

nav .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

nav .logo img {
    height: clamp(60px, 8vw, 100px);
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #DBF1FF;
}

nav>ul>li>a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background-color: #DBF1FF;
    transition: width 0.3s ease;
}

nav>ul>li>a:hover::after {
    width: 100%;
}

nav ul li {
    display: inline-flex;
    align-items: center;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(7, 7, 13, 0.9);
    min-width: 250px;
    padding: 1.5rem 0;
    margin-top: 0;
    border: 1px solid rgba(219, 241, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-dropdown:hover::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.dropdown-menu a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background-color: #DBF1FF;
    margin-top: 6px;
    transition: width 0.3s ease;
}

.dropdown-menu a:hover {
    color: #DBF1FF;
}

.dropdown-menu a:hover::after {
    width: 100%;
}


/* Hamburger Menu (Mobile) --- strip default button styles but preserve layout */
.hamburger {
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.hamburger:focus,
.hamburger:hover,
.hamburger:active,
.hamburger:focus-within {
    outline: none;
    box-shadow: none;
    filter: none;
    background: transparent;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

/* Keyboard users still get a visible focus indicator (WCAG 2.4.7) */
.hamburger:focus-visible {
    outline: 3px solid #DBF1FF;
    outline-offset: 4px;
    box-shadow: none;
    filter: none;
    background: transparent;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #DBF1FF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   6. PARALLAX SECTION STYLES
   ============================================ */
.parallax-section {
    width: 100vw;
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 190px 0 200px 0;
}

.parallax-section>* {
    position: relative;
    z-index: 2;
}

.about-test-video-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Parallax fallback for mobile */
@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
    }
}

@media (max-width: 420px) {
    .parallax-section {
        padding: 180px 0 100px 0;
    }

    .about-test-video-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* ============================================
   7. CONTAINER & LAYOUT UTILITIES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Allow full-width content in parallax sections */
.parallax-section .container {
    max-width: 100%;
    padding: 0;
}

.values-wrapper {
    width: 80vw;
    margin: 0 auto;
    box-sizing: border-box;
}

.section {
    width: 100%;
    position: relative;
}

/* Full-width solid background sections */
.section-dark {
    width: 100vw;
    background-color: #07070D;
    position: relative;
}

.section-dark>* {
    position: relative;
}

/* CONTACT PAGE STYLES */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Add extra vertical spacing for the contact form section */
.contact-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.contact-form-heading {
    color: #9FA6CC;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-align: left;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #FFFFFF;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.form-input,
.form-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(159, 166, 204, 0.7);
    color: #FFFFFF;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1rem;
    padding: 0.75rem 0;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
    outline: 3px solid #DBF1FF;
    outline-offset: 3px;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.form-textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form .button {
    width: fit-content;
    padding: 14px 40px;
    align-self: center;
}

.accessibility-section .section-box,
.hero-box,
.cookie-settings-container {
    max-width: 900px;
    margin: 0 auto;
}

.accessibility-section .section-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 40px 50px;
    text-align: left;
}

.accessibility-section .section-box h2,
.cookie-settings-container h2 {
    color: #DBF1FF;
    text-align: center;
    margin-bottom: 1.5rem;
}

.accessibility-section .section-box p,
.cookie-settings-container p {
    color: #FFFFFF;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.accessibility-section .section-box p:last-child {
    margin-bottom: 0;
}

.accessibility-section .section-box a[href^="mailto:"] {
    color: #DBF1FF;
    text-decoration: none;
}

.cookie-settings-container {
    padding: 0 2rem;
    text-align: center;
}

.cookie-settings-container p {
    color: #9FA6CC;
    max-width: 760px;
    margin: 0 auto;
}

@media (max-width: 768px) {

    .contact-form-container,
    .cookie-settings-container,
    .accessibility-section .section-box {
        padding: 1rem 1.5rem;
    }

    .contact-form-heading {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}

/* ============================================
   8. FOOTER STYLES
   ============================================ */
footer {
    background-color: #07070D;
    border-top: 1px solid rgba(219, 241, 255, 0.1);
    padding: 3rem 2rem;
    width: 100vw;
    color: #FFFFFF;
    font-family: 'Libre Franklin', sans-serif;
    text-transform: uppercase;
}

/* Ensure footer headings and text use Libre Franklin (override global Oswald) */
footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer p,
footer a,
footer .footer-column,
footer .footer-links a {
    font-family: 'Libre Franklin', sans-serif;
    text-transform: uppercase;
}

/* Left-align logos and text inside footer columns */
footer .footer-column img {
    align-self: flex-start;
}

/* Footer logo explicit width scaling */
footer .footer-column img {
    width: clamp(100px, 12vw, 180px);
    height: auto;
}

footer .footer-column {
    text-align: left;
}

/* Hover effect for GlassLock logos only (navbar + footer) */
img[src$="glasslock-regular-logo.png"] {
    transition: transform 0.3s ease, filter 0.3s ease;
}

img[src$="glasslock-regular-logo.png"]:hover {
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.7));
    transform: translateY(-3px);
}

footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

footer .footer-grid {
    display: flex;
    gap: 3rem;
    text-align: left;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

footer .footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
}

footer .footer-column h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

footer .footer-column p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #9FA6CC;
}

footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(219, 241, 255, 0.1);
    align-items: flex-start;
}

footer .footer-links a {
    color: #DBF1FF;
    text-decoration: none;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

footer .footer-links a:hover {
    color: #FFFFFF;
}

/* ============================================
   9. TEXT UTILITIES
   ============================================ */
.text-light-purple {
    color: #9FA6CC;
}

.text-light-blue {
    color: #DBF1FF;
}

.text-white {
    color: #FFFFFF;
}

.text-center {
    text-align: center;
}

/* ============================================
   10. RESPONSIVE DESIGN
   ============================================ */

/* TABLET (768px - 1024px) */
@media (max-width: 1024px) {

    nav ul {
        gap: 1.5rem;
    }

    nav a {
        font-size: 0.85rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    button,
    a.button,
    .button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 792px) {

    /* Navigation Mobile */
    nav {
        padding: 1rem;
    }

    nav .logo img {
        height: 80px;
    }

    nav ul {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background-color: rgba(7, 7, 13, 0.95);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
        padding: 0;
        list-style: none;
    }

    nav ul.active {
        max-height: 1000px;
        opacity: 1;
        padding: 1rem 0;
        display: flex;
    }

    nav a {
        display: block;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .hamburger {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        background-color: rgba(50, 50, 70, 0.9);
        border: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease, padding 0.25s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding: 0.75rem 0;
    }

    .dropdown-menu a {
        padding: 0.75rem 2rem;
    }
}

/* MOBILE (below 768px) */
@media (max-width: 768px) {

    /* Navigation Mobile */
    nav {
        padding: 1rem;
    }

    nav .logo img {
        height: 80px;
    }

    nav ul {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background-color: rgba(7, 7, 13, 0.95);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
        padding: 0;
        list-style: none;
    }

    nav ul.active {
        max-height: 1000px;
        opacity: 1;
        padding: 1rem 0;
        display: flex;
    }

    nav a {
        display: block;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    nav ul>li>a,
    .nav-dropdown>a {
        text-align: center;
    }

    .nav-dropdown>a::after {
        content: '+';
        display: inline-block;
        margin-left: 0.4rem;
        font-size: 0.95rem;
        transition: transform 0.3s ease;
    }

    .nav-dropdown.active>a::after {
        transform: rotate(45deg);
    }

    .hamburger {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        background-color: rgba(7, 7, 13, 0.95);
        border: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease, padding 0.25s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding: 0.5rem 0 0.5rem 0;
    }

    .dropdown-menu a {
        padding: 0.75rem 1.75rem;
        text-align: left;
        padding-left: 1.75rem;
        border-left: 2px solid #DBF1FF;
    }

    .container {
        padding: 0 1rem;
    }

    button,
    a.button,
    .button {
        padding: 12px 25px;
        font-size: .9rem;
        width: auto;
    }

    footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    footer .footer-links {
        gap: 1rem;
    }

    footer .footer-links a {
        font-size: 0.8rem;
    }
}

.values-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 32px;
    width: 100%;
}

@media (max-width: 1024px) {
    .values-row {
        gap: 20px;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .values-row {
        flex-direction: column;
        align-items: center;
    }

    .values-box {
        width: 80vw;
        margin: 0 auto;
    }
}

/* ============================================
   10. SECTION-SPECIFIC STYLES
   ============================================ */

/* BlastBlinds Page Styles */
.blastblinds-hero {
    height: auto;
    padding-top: 300px;
    padding-bottom: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blastblinds-hero-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blastblinds-hero h1 {
    color: #DBF1FF;
    margin: 0;
}

.blastblinds-protection-section {
    width: 100vw;
    background-color: #07070D;
    padding: 5rem 0 3rem 0;
}

.blastblinds-protection-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    gap: 3rem;
    align-items: start;
}

.blastblinds-photo-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blastblinds-photo-stack figure {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blastblinds-photo-stack img {
    display: block;
    width: 100%;
    height: auto;
}

.blastblinds-caption {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #FFFFFF;
}

.blastblinds-content h2,
.blastblinds-tests-content h2,
.blastblinds-verified-box h2,
.blastblinds-interest-box h2 {
    color: #9FA6CC;
    margin-bottom: 1.5rem;
}

.blastblinds-content p,
.blastblinds-tests-content p,
.blastblinds-verified-box p,
.blastblinds-interest-box p {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}


.blastblinds-content p {
    text-align: left;
}

.blastblinds-content p:last-child,
.blastblinds-tests-content p:last-child,
.blastblinds-verified-box p:last-child,
.blastblinds-interest-box p:last-child {
    margin-bottom: 0;
}

.blastblinds-inline-cta {
    display: none;
}

.blastblinds-cta-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem 0 6rem 0;
    background-color: #07070D;
}

/* Explicitly restates .parallax-section's padding. (Historically this was an
   invalid "5 rem 0" whose fallback produced exactly this rendering; the
   explicit values are formatter-proof. Do not change to 5rem — that would
   shrink the section by 230px.) */
.blastblinds-verified-section {
    padding: 190px 0 200px 0;
}

.blastblinds-verified-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 40px 50px;
    margin: 0 auto;
    max-width: 900px;
    text-align: left;
}

.blastblinds-verified-box h2 {
    text-align: center;
}

.blastblinds-tests-section {
    width: 100vw;
    background-color: #07070D;
    padding: 5rem 0;
}

.blastblinds-tests-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.blastblinds-tests-content h2 {
    text-align: center;
}

.blastblinds-carousel-section {
    width: 100vw;
    background-color: #07070D;
    padding: 2rem 0 4rem;
    overflow: hidden;
}

.blastblinds-carousel-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.blastblinds-carousel-controls {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
}

.blastblinds-carousel-pause {
    background-color: rgba(20, 22, 33, 0.7);
    border: 1px solid #9FA6CC;
    color: #DBF1FF;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.5rem 0.65rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.blastblinds-carousel-pause:hover {
    background-color: rgba(20, 22, 33, 0.9);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.blastblinds-carousel-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    padding: 0 1rem;
    align-items: center;
}

.blastblinds-carousel-slide {
    flex: 0 0 auto;
    height: 360px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #07070D;
    overflow: visible;
}

.blastblinds-carousel-slide img {
    display: block;
    height: 360px;
    width: auto;
}

.blastblinds-lightbox-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(7, 7, 13, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2000;
}

.blastblinds-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.blastblinds-lightbox-modal {
    position: relative;
    max-width: 800px;
    width: 100%;
    background-color: #07070D;
    padding: 3rem;
    border: 1px solid #9FA6CC;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

.blastblinds-lightbox-modal img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    margin: 0 auto;
}

.blastblinds-lightbox-caption {
    margin-top: 1rem;
    color: #DBF1FF;
    text-align: center;
    font-family: 'Libre Franklin', sans-serif;
}

.blastblinds-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #DBF1FF;
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    display: block;
}

.blastblinds-lightbox-close:hover {
    color: #FFFFFF;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.8);
}

.blastblinds-interest-section {
    padding: 6rem 0 6rem;
}

.blastblinds-interest-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 3.5rem 3rem;
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
}

@media (max-width: 1024px) {
    .blastblinds-protection-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .blastblinds-content h2 {
        text-align: center;
    }

    .blastblinds-photo-stack {
        max-width: 700px;
        margin: 0 auto;
        order: 2;
    }

    .blastblinds-content {
        order: 1;
    }

    .blastblinds-inline-cta {
        display: flex;
        justify-content: flex-start;
        margin-top: 1.5rem;
    }

    .blastblinds-carousel-slide {
        width: min(42vw, 240px);
    }

    .blastblinds-cta-wrapper {
        padding: 2rem 0 7rem 0;

    }
}

@media (max-width: 768px) {
    .blastblinds-hero {
        padding-top: 300px;
        padding-bottom: 150px;
    }

    .blastblinds-verified-box,
    .blastblinds-interest-box {
        padding: 40px 24px;
        margin: 40px 1rem;
    }

    .blastblinds-tests-content {
        padding: 0 1rem;
    }

    .blastblinds-carousel-slide {
        width: min(42vw, 240px);
    }

    .blastblinds-lightbox-overlay {
        padding: 1rem;
    }

    .blastblinds-lightbox-modal {
        max-width: none;
        padding: 1.5rem;
    }

    .blastblinds-verified-section {
        padding: 75px 0;
    }
}

@media (max-width: 400px) {
    .blastblinds-hero {
        padding-top: 250px;
        padding-bottom: 75px;
    }

    .blastblinds-carousel-slide {
        width: min(72vw, 220px);
    }
}

/* Hero Section */
.hero {
    height: calc(100vh - 120px);
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Shared base for page-specific hero sections (about, contact, past-projects)
   Use modifier classes to override only differences. */
.hero-base,
.about-hero,
.contact-hero {
    height: auto;
    padding-top: 300px;
    padding-bottom: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spyguard-hero {
    padding-top: 300px;
    padding-bottom: 150px;
}

.spyguard-hero h1 {
    color: #DBF1FF;
    text-align: center;
    margin: 0;
}

.solar-hero {
    padding-top: 300px;
    padding-bottom: 150px;
}

.solar-hero h1 {
    color: #DBF1FF;
    text-align: center;
    margin: 0;
}

.forcedefender-hero {
    padding-top: 300px;
    padding-bottom: 150px;
}

.forcedefender-hero h1 {
    color: #DBF1FF;
    text-align: center;
    margin: 0;
}

.storm-hero {
    padding-top: 300px;
    padding-bottom: 150px;
}

.storm-hero h1 {
    color: #DBF1FF;
    text-align: center;
    margin: 0;
}

.anchoring-hero {
    padding-top: 300px;
    padding-bottom: 150px;
}

.anchoring-hero h1 {
    color: #DBF1FF;
    text-align: center;
    margin: 0;
}

.graffiti-hero {
    padding-top: 300px;
    padding-bottom: 150px;
}

.graffiti-hero h1 {
    color: #DBF1FF;
    text-align: center;
    margin: 0;
}

.design-film-hero {
    padding-top: 300px;
    padding-bottom: 150px;
}

.design-film-hero h1 {
    color: #DBF1FF;
    text-align: center;
    margin: 0;
}

.hero h1 {
    color: #DBF1FF;
    margin-bottom: 14px;
}

.hero h3 {
    color: #9FA6CC;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

/* Hero container (independent) */
.hero-container {
    width: 75%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
    text-align: left;
}

@media (max-width: 1024px) {
    .hero-container {
        width: 85%;
    }
}

@media (max-width: 768px) {
    .hero-container {
        width: 95%;
    }
}

/* Intro Section */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.intro-image {
    width: 100%;
    height: auto;
    display: block;
}

.intro-content h2 {
    color: #9FA6CC;
    margin-bottom: 1.5rem;
}

.intro-content p {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.intro-content p:last-child {
    margin-bottom: 2rem;
}

.button-wrapper {
    text-align: center;
    margin-top: 3rem;
}

/* Values Section */

.values-box {
    flex: 1;
    background: rgba(20, 22, 33, 0.51);
    padding: 40px;
    box-sizing: border-box;
}

.values-box h3 {
    margin-bottom: 1.5rem;
}

.values-box p {
    color: #FFFFFF;
}

/* Products Section */
.products-intro {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.products-intro h1 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.products-intro p {
    color: #FFFFFF;
}

.product-label {
    position: relative;
    z-index: 2;
    color: #DBF1FF;
    font-family: 'Libre Franklin', sans-serif;
    font-size: clamp(1.125rem, 2vw, 1.8125rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    transition: transform 0.3s ease;
    padding: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        width: 100%;
        padding: 0;
    }
}

.parallax-section>.product-grid {
    margin-bottom: -80px;
}

/* Footer */
footer a[href^="mailto:"] {
    color: #DBF1FF;
    text-decoration: none;
}

/* ============================================
   11. UTILITY CLASSES
   ============================================ */
.full-width {
    width: 100vw;
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.py-3 {
    padding: 3rem 0;
}

.py-4 {
    padding: 4rem 0;
}

.py-5 {
    padding: 4rem 0;
}

/* ============================================
   Responsive fixes
   1) Footer columns stack at <=500px
   2) Intro (SECURITY WINDOW FILM) stacks at <=700px
   ============================================ */

@media (max-width: 500px) {
    footer .footer-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    footer .footer-column {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-image {
        width: 100%;
        height: auto;
        display: block;
    }
}

/* ============================================
   12. SPYGUARD PAGE STYLES
   ============================================ */
.spyguard-section {
    width: 100%;
    padding: 5rem 0;
}

.spyguard-content-stack,
.spyguard-content,
.spyguard-interest-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.spyguard-content-stack h2,
.spyguard-content h2,
.spyguard-interest-box h2 {
    color: #9FA6CC;
    margin-bottom: 1.5rem;
}

.spyguard-content-stack p,
.spyguard-content p,
.spyguard-interest-box p {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.spyguard-hero-image-wrap {
    margin-top: 2.5rem;
}

.spyguard-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.spyguard-caption {
    color: #FFFFFF;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.875rem;
    margin-top: 0.75rem;
    line-height: 1.5;
}

.spyguard-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 3rem;
    margin: 0 auto;
    max-width: 1200px;
}

.spyguard-two-column {
    display: grid;
    grid-template-columns: 7fr 13fr;
    gap: 3rem;
    align-items: start;
}

.spyguard-risk-grid {
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: center;
}

.spyguard-image-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spyguard-risk-grid .spyguard-image-column {
    width: 100%;
    padding: 0 3rem 0 0;
}

.spyguard-risk-grid .spyguard-image {
    max-width: 100%;
    width: auto;
    height: auto;
}

.spyguard-visual-stack {
    display: flex;
    flex-direction: column;
    gap: 7rem;
    align-items: stretch;
}

.spyguard-figure {
    margin: 0;
}

.spyguard-emissions-grid {
    align-items: start;
}

.spyguard-text-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
}

.spyguard-text-stack>h2,
.spyguard-text-stack>h3,
.spyguard-text-stack>p,
.spyguard-text-stack>ul {
    margin: 0;
}

.spyguard-text-stack>p {
    margin: 0;
}

.spyguard-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #FFFFFF;
    display: grid;
    gap: 0.8rem;
}

.spyguard-list li {
    font-family: 'Libre Franklin', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
}

.spyguard-interest-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 3.5rem 3rem;
    text-align: center;
}

.spyguard-interest-box .button {
    margin-top: 0.5rem;
}

@media (max-width: 1024px) {
    .spyguard-box {
        padding: 2.5rem;
    }

    .spyguard-caption {
        text-align: center;
    }
}

/* Two-column layout holds until 900px (was 1024px) so images don't jump to
   full container width so early; once collapsed, images are capped. */
@media (max-width: 900px) {
    .spyguard-two-column {
        grid-template-columns: 1fr;
    }

    .spyguard-image-column {
        order: 2;
    }

    .spyguard-content {
        order: 1;
    }

    .spyguard-risk-grid .spyguard-image-column {
        padding: 0;
    }

    .spyguard-two-column .spyguard-image {
        max-width: min(100%, 620px);
        margin-left: auto;
        margin-right: auto;
    }

    .spyguard-two-column img[src$="spyguard-dark-mode-logo.png"] {
        max-width: min(100%, 500px);
    }
}

@media (max-width: 768px) {
    .spyguard-section {
        padding: 4rem 0;
    }

    .spyguard-content-stack,
    .spyguard-content,
    .spyguard-interest-box {
        padding: 0 1.25rem;
    }

    .spyguard-box {
        padding: 2rem;
    }

    .spyguard-interest-box {
        padding: 2.5rem 1.5rem;
    }

    .spyguard-caption {
        text-align: center;
    }
}

/* ============================================
   SOLAR FILM PAGE STYLES
   ============================================ */
.solar-section {
    width: 100%;
    padding: 5rem 0;
}

.solar-content-stack,
.solar-content,
.solar-interest-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.solar-content-stack h2,
.solar-content h2,
.solar-interest-box h2 {
    color: #9FA6CC;
    margin-bottom: 1.5rem;
}

.solar-content-stack p,
.solar-content p,
.solar-interest-box p {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.solar-image {
    display: block;
    width: 100%;
    height: auto;
}

.solar-image-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.solar-image-row .solar-image {
    flex: 1;
    /* evenly split the row and fill it edge-to-edge (see graffiti-image-row) */
    min-width: 0;
    height: 350px;
    object-fit: cover;
}

.solar-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 3rem;
    margin: 0 auto;
    max-width: 1200px;
}

.solar-two-column {
    display: grid;
    grid-template-columns: 7fr 13fr;
    gap: 3rem;
    align-items: start;
}

.solar-benefits-grid {
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: center;
}

.solar-image-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.solar-benefits-grid .solar-image-column {
    width: 100%;
    padding: 0 3rem 0 0;
}

.solar-benefits-grid .solar-image {
    max-width: 100%;
    width: auto;
    height: auto;
}

.solar-additional-grid {
    grid-template-columns: 2fr 3fr;
    gap: 2rem;
}

.solar-image-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.solar-image-stack .solar-image {
    height: 260px;
    object-fit: cover;
}

.solar-text-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
}

.solar-text-stack>h2,
.solar-text-stack>h3,
.solar-text-stack>p {
    margin: 0;
}

.solar-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #FFFFFF;
    display: grid;
    gap: 0.8rem;
}

.solar-list li {
    font-family: 'Libre Franklin', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
}

.solar-interest-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 3.5rem 3rem;
    text-align: center;
}

.solar-interest-box .button {
    margin-top: 0.5rem;
}

@media (max-width: 1024px) {
    .solar-box {
        padding: 2.5rem;
    }
}

/* Two-column layout holds until 900px (was 1024px) so images don't jump to
   full container width so early; once collapsed, images are capped. */
@media (max-width: 900px) {
    .solar-two-column {
        grid-template-columns: 1fr;
    }

    .solar-benefits-grid .solar-image-column {
        order: 2;
        padding: 0;
    }

    .solar-benefits-grid .solar-content {
        order: 1;
    }

    /* 2x2 grid so all four images stay visible without overflowing
       (a flex row could not shrink below the images' intrinsic widths) */
    .solar-additional-grid .solar-image-stack {
        order: 1;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    /* No effect in the tablet grid above, but restores the original
       natural-height image sizing when the stack is a flex column at <=768px */
    .solar-additional-grid .solar-image-stack .solar-image {
        flex: 1;
    }

    .solar-additional-grid .solar-text-stack {
        order: 2;
    }

    .solar-benefits-grid .solar-image {
        max-width: min(100%, 620px);
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .solar-section {
        padding: 4rem 0;
    }

    .solar-content-stack,
    .solar-content,
    .solar-interest-box {
        padding: 0 1.25rem;
    }

    .solar-image-row {
        flex-direction: column;
    }

    .solar-additional-grid .solar-image-stack {
        display: flex;
        flex-direction: column;
        order: 2;
    }

    .solar-additional-grid .solar-text-stack {
        order: 1;
    }

    .solar-box {
        padding: 2rem;
    }

    .solar-interest-box {
        padding: 2.5rem 1.5rem;
    }
}

/* ============================================
   FORCEDEFENDER PAGE STYLES
   ============================================ */
.forcedefender-section {
    width: 100%;
    padding: 5rem 0;
}

.forcedefender-content-stack,
.forcedefender-content,
.forcedefender-interest-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.forcedefender-content-stack h2,
.forcedefender-content h2,
.forcedefender-interest-box h2,
.forcedefender-box>h2 {
    color: #9FA6CC;
    margin-bottom: 1.5rem;
}

.forcedefender-content-stack p,
.forcedefender-content p,
.forcedefender-interest-box p {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.forcedefender-image {
    display: block;
    width: 100%;
    height: auto;
}

.forcedefender-image-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.forcedefender-image-row .forcedefender-image {
    flex: 1;
    /* evenly split the row and fill it edge-to-edge (see graffiti-image-row) */
    min-width: 0;
    height: 300px;
    object-fit: cover;
}

.forcedefender-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 3rem;
    margin: 0 auto;
    max-width: 1200px;
}

.forcedefender-two-column {
    display: grid;
    grid-template-columns: 7fr 13fr;
    gap: 3rem;
    align-items: start;
}

.forcedefender-integration-grid {
    grid-template-columns: 3fr 2fr;
    gap: 1.5rem;
    align-items: stretch;
    justify-content: center;
    margin: 0 auto;
}

.forcedefender-image-column {
    display: flex;
}

.forcedefender-integration-grid .forcedefender-image-column .forcedefender-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.forcedefender-case-study-grid {
    grid-template-columns: 2fr 3fr;
    gap: 2rem;
    align-items: center;
    margin-top: 2.5rem;
}

.forcedefender-case-study-grid .forcedefender-image-column {
    align-items: center;
    justify-content: center;
}

.forcedefender-case-study-grid .forcedefender-image {
    max-width: 100%;
    width: auto;
    height: auto;
}

.forcedefender-text-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
}

.forcedefender-text-stack>h3,
.forcedefender-text-stack>p {
    margin: 0;
}

.forcedefender-interest-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 3.5rem 3rem;
    text-align: center;
}

.forcedefender-interest-box .button {
    margin-top: 0.5rem;
}

@media (max-width: 1024px) {
    .forcedefender-box {
        padding: 2.5rem;
    }
}

/* Two-column layout holds until 900px (was 1024px) so images don't jump to
   full container width so early; once collapsed, images are capped. */
@media (max-width: 900px) {
    .forcedefender-two-column {
        grid-template-columns: 1fr;
    }

    .forcedefender-integration-grid .forcedefender-image-column {
        order: 2;
    }

    .forcedefender-integration-grid .forcedefender-content {
        order: 1;
    }

    .forcedefender-two-column .forcedefender-image {
        max-width: min(100%, 620px);
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .forcedefender-section {
        padding: 4rem 0;
    }

    .forcedefender-content-stack,
    .forcedefender-content,
    .forcedefender-interest-box {
        padding: 0;
    }

    .forcedefender-image-row {
        flex-direction: column;
    }

    .forcedefender-box {
        padding: 2rem;
    }

    .forcedefender-interest-box {
        padding: 2.5rem 1.5rem;
    }
}

/* ============================================
   STORM PROTECTION PAGE STYLES
   ============================================ */
.storm-section {
    width: 100%;
    padding: 5rem 0;
}

.storm-content-stack,
.storm-content,
.storm-interest-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.storm-content-stack h2,
.storm-content h2,
.storm-interest-box h2 {
    color: #9FA6CC;
    margin-bottom: 1.5rem;
}

.storm-content-stack p,
.storm-content p,
.storm-interest-box p {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.storm-image {
    display: block;
    width: 100%;
    height: auto;
}

.storm-image-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.storm-image-row .storm-image {
    flex: 1;
    /* evenly split the row and fill it edge-to-edge (see graffiti-image-row) */
    min-width: 0;
    height: 350px;
    object-fit: cover;
}

.storm-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 3rem;
    margin: 0 auto;
    max-width: 1200px;
}

.storm-two-column {
    display: grid;
    grid-template-columns: 7fr 13fr;
    gap: 3rem;
    align-items: start;
}

.storm-safety-grid {
    grid-template-columns: 3fr 2fr;
    gap: 1.5rem;
    align-items: stretch;
}

.storm-image-column {
    display: flex;
}

.storm-safety-grid .storm-image-column .storm-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storm-info-grid {
    grid-template-columns: 2fr 3fr;
    gap: 2rem;
    align-items: center;
}

.storm-info-grid .storm-image-column {
    align-items: center;
    justify-content: center;
}

.storm-info-grid .storm-image {
    max-width: 100%;
    width: auto;
    height: auto;
}

.storm-interest-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 3.5rem 3rem;
    text-align: center;
}

.storm-interest-box .button {
    margin-top: 0.5rem;
}

@media (max-width: 1024px) {
    .storm-box {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .storm-section {
        padding: 4rem 0;
    }

    .storm-content-stack,
    .storm-content,
    .storm-interest-box {
        padding: 0 1.25rem;
    }

    .storm-two-column {
        grid-template-columns: 1fr;
    }

    .storm-safety-grid .storm-image-column {
        order: 2;
    }

    .storm-safety-grid .storm-content {
        order: 1;
    }

    .storm-info-grid .storm-image-column {
        order: 1;
    }

    .storm-info-grid .storm-content {
        order: 2;
    }

    .storm-image-row {
        flex-direction: column;
    }

    .storm-box {
        padding: 2rem;
    }

    .storm-interest-box {
        padding: 2.5rem 1.5rem;
    }
}

/* ============================================
   CUSTOM ANCHORING SYSTEMS PAGE STYLES
   ============================================ */
.anchoring-section {
    width: 100%;
    padding: 5rem 0;
}

.anchoring-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.anchoring-content p,
.anchoring-box p,
.anchoring-interest-box p {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.anchoring-box>h2,
.anchoring-interest-box h2 {
    margin-bottom: 1.5rem;
}

.anchoring-image {
    display: block;
    width: 100%;
    height: auto;
}

.anchoring-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.anchoring-diagram-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.anchoring-content {
    display: flex;
    flex-direction: column;
}

.anchoring-content .anchoring-figure {
    margin-top: auto;
}

.anchoring-figure {
    margin: 0;
}

.anchoring-caption {
    font-family: 'Libre Franklin', sans-serif;
    color: #FFFFFF;
    font-size: 0.875rem;
    text-align: center;
    margin-top: 0.5rem;
}

.anchoring-box {
    margin: 4rem auto 0;
    max-width: 900px;
}

.anchoring-interest-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 3.5rem 3rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.anchoring-interest-box .button {
    margin-top: 0.5rem;
}

@media (max-width: 1024px) {
    .anchoring-box {
        padding: 2.5rem;
    }
}

@media (max-width: 1000px) {
    .anchoring-two-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .anchoring-section {
        padding: 4rem 0;
    }

    .anchoring-box {
        padding: 0;
    }

    .anchoring-interest-box {
        padding: 2.5rem 1.5rem;
    }
}

/* ============================================
   GRAFFITI PAGE STYLES
   ============================================ */
.graffiti-section {
    width: 100%;
    padding: 5rem 0;
}

.graffiti-content-stack,
.graffiti-content,
.graffiti-interest-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.graffiti-content-stack h2,
.graffiti-content h2,
.graffiti-interest-box h2 {
    color: #9FA6CC;
    margin-bottom: 1.5rem;
}

.graffiti-content-stack p,
.graffiti-content p,
.graffiti-interest-box p {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.graffiti-image {
    display: block;
    width: 100%;
    height: auto;
}

.graffiti-image-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.graffiti-image-row .graffiti-image {
    flex: 1;
    /* allow flex to shrink below intrinsic width so both images split the
       row evenly and sit flush to its edges (min-width:auto blocked this) */
    min-width: 0;
    height: 350px;
    object-fit: cover;
}

.graffiti-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 3rem;
    margin: 0 auto;
    max-width: 1200px;
}

.graffiti-two-column {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.graffiti-strengthen-grid {
    grid-template-columns: 3fr 2fr;
    align-items: stretch;
}

.graffiti-image-column {
    display: flex;
}

.graffiti-strengthen-grid .graffiti-image-column .graffiti-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.graffiti-injury-grid {
    grid-template-columns: 2fr 3fr;
    align-items: center;
}

.graffiti-injury-grid .graffiti-image-column {
    align-items: center;
    justify-content: center;
}

.graffiti-injury-grid .graffiti-image {
    max-width: 100%;
    width: auto;
    height: auto;
}

.graffiti-list {
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
    color: #FFFFFF;
    display: grid;
    gap: 0.8rem;
}

.graffiti-list li {
    font-family: 'Libre Franklin', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
}

.graffiti-interest-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 3.5rem 3rem;
    text-align: center;
}

.graffiti-interest-box .button {
    margin-top: 0.5rem;
}

@media (max-width: 1024px) {
    .graffiti-box {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .graffiti-section {
        padding: 4rem 0;
    }

    .graffiti-content-stack,
    .graffiti-content,
    .graffiti-interest-box {
        padding: 1rem;
    }

    .graffiti-two-column {
        grid-template-columns: 1fr;
    }

    .graffiti-image-row {
        flex-direction: column;
    }

    .graffiti-box {
        padding: 2rem;
    }

    .graffiti-interest-box {
        padding: 2.5rem 1.5rem;
    }
}

/* ============================================
   DESIGN FILM PAGE STYLES
   ============================================ */
.design-film-section {
    width: 100%;
    padding: 5rem 0;
}

.design-film-heading {
    margin-bottom: 2rem;
}

.design-film-center {
    max-width: 1300px;
    margin: 0 auto;
}

.design-film-content,
.design-film-interest-box {
    max-width: 900px;
    margin: 0 auto;
}

.design-film-content h2,
.design-film-interest-box h2 {
    color: #9FA6CC;
    margin-bottom: 1.5rem;
}

.design-film-content p,
.design-film-interest-box p {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.design-film-image {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}

.design-film-two-column {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 3rem;
    width: 80%;
    margin: 0 auto;
}

.design-film-two-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.design-film-col-image {
    flex: 0 0 40%;
}

.design-film-col-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.design-film-image-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.design-film-applications-grid {
    grid-template-columns: 50% 50%;
}

.design-film-applications-grid .design-film-image-column .design-film-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.design-film-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 3rem;
    margin: 0 auto;
    max-width: 1200px;
}

.design-film-interest-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 3.5rem 3rem;
    text-align: center;
}

.design-film-interest-box .button {
    margin-top: 0.5rem;
}

@media (max-width: 1024px) {
    .design-film-box {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .design-film-section {
        padding: 4rem 0;
    }

    .design-film-two-column {
        flex-direction: column;
        width: 100%;
    }

    .design-film-box {
        padding: 1rem;
    }

    .design-film-interest-box {
        padding: 2.5rem 1.5rem;
    }
}

/* ============================================
   12. ABOUT PAGE STYLES
   ============================================ */
.about-hero-container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.about-hero h1 {
    color: #DBF1FF;
    margin: 0;
}

.about-experience-section {
    width: 100vw;
    background-color: #07070D;
    padding: 5rem 0;
}

.about-experience-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    gap: 3rem;
    align-items: center;
}

.about-experience-image-wrap {
    width: 100%;
}

.about-experience-image {
    display: block;
    width: 100%;
    height: auto;
}

.about-experience-content {
    max-width: 650px;
}

.about-experience-content h2 {
    color: #9FA6CC;
    margin-bottom: 1.5rem;
    white-space: nowrap;
}

.about-experience-content p {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.about-carousel-section {
    width: 100vw;
    background-color: #07070D;
    padding: 2rem 0 4rem;
    overflow: hidden;
}

.about-carousel-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.about-carousel-controls {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
}

.about-carousel-pause {
    background-color: rgba(20, 22, 33, 0.7);
    border: 1px solid #9FA6CC;
    color: #DBF1FF;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.5rem 0.65rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.about-carousel-pause:hover {
    background-color: rgba(20, 22, 33, 0.9);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.about-carousel-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    padding: 0 1rem;
}

.about-carousel-slide {
    flex: 0 0 auto;
    width: min(22vw, 260px);
    max-width: 260px;
    cursor: pointer;
    overflow: hidden;
    background-color: #07070D;
}

.about-carousel-slide img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.about-test-section,
.about-video-section {
    position: relative;
    background-color: transparent;
}

.about-video-section {
    padding-top: 0;
}

.about-standalone-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 60px 50px;
    margin: 60px auto;
    max-width: 900px;
    text-align: center;
}

.about-standalone-box h2 {
    color: #9FA6CC;
    margin-bottom: 1.5rem;
}

.about-standalone-box p {
    color: #FFFFFF;
    text-align: left;
}

.about-video-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.about-video-player {
    display: block;
    width: 100%;
    background-color: #07070D;
    padding: 1rem;
    margin: 0 auto;
}

.body-no-scroll {
    overflow: hidden;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(7, 7, 13, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2000;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-modal {
    position: relative;
    max-width: 800px;
    width: 100%;
    background-color: #07070D;
    padding: 3rem;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

.lightbox-modal img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    margin: 0 auto;
}

.lightbox-caption {
    margin-top: 1rem;
    color: #DBF1FF;
    text-align: center;
    font-family: 'Libre Franklin', sans-serif;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #DBF1FF;
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    display: block;
}

.lightbox-close:hover {
    color: #FFFFFF;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.8);
}

/* Responsive: About page (project-grid overrides live after their base
   rules further down, per the defaults-before-overrides rule) */
@media (max-width: 1024px) {
    .about-experience-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .about-experience-image-wrap {
        max-width: 700px;
        margin: 0 auto;
    }

    .about-experience-content {
        text-align: center;
        max-width: none;
    }

    .about-experience-content h2 {
        white-space: normal;
    }
}

@media (max-width: 768px) {

    /* Shared hero responsive defaults moved to .hero-base */
    .hero-base,
    .about-hero,
    .contact-hero {
        padding-top: 300px;
        padding-bottom: 150px;
    }

    .about-carousel-slide {
        width: min(42vw, 240px);
    }

    .about-standalone-box {
        padding: 40px 24px;
        margin: 40px 1rem;
    }

    .about-video-container {
        padding: 1.5rem 1rem 3rem;
    }
}

@media (max-width: 400px) {

    /* Shared smallest-screen hero defaults */
    .hero-base,
    .about-hero,
    .contact-hero {
        padding-top: 250px;
        padding-bottom: 75px;
    }
}

/* Hero box with semi-transparent background
   (max-width: 900px comes from the shared rule with
   .accessibility-section .section-box near the top of the file) */
.hero-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 40px 50px;
    margin: 60px auto;
    text-align: center;
}

.contact-hero .hero-box {
    background-color: transparent;
    padding: 0;
    margin: 0;
    max-width: none;
}

.contact-hero {
    /* page-specific overrides only (shared values moved to .hero-base) */
    height: auto;
}

.hero-box h1 {
    color: #DBF1FF;
    margin-bottom: 1.5rem;
}

.hero-intro-text {
    color: #9FA6CC;
    font-family: 'Libre Franklin', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6em;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-align: left;
}

/* Projects Grid Container and Grid */
.projects-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
}

/* Individual Project Card */
.project-card {
    display: flex;
    flex-direction: column;
    background-color: #07070D;
    border: 1px solid #DBF1FF;
}

.project-info {
    background-color: #07070D;
    padding: 22px;
    flex-shrink: 0;
    flex: 1;
}

.project-info h2 {
    color: #9FA6CC;
    font-size: clamp(1.5rem, 2vw, 2rem);
    margin-bottom: 0.5rem;
}

.project-location {
    color: #DBF1FF;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
}

.project-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Past Clients Section */
.past-clients-heading {
    color: #9FA6CC;
    text-align: center;
    margin-bottom: 3rem;
}

.clients-list-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.clients-column {
    text-align: left;
}

.clients-category {
    color: #DBF1FF;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    /* 1.6 preserves the original h4 rendering (inherited from body) now
       that these are h3 elements (global h3 sets line-height: 1em) */
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.clients-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clients-column li {
    color: #FFFFFF;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.8;
}

.client-list-note {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.client-list-note a {
    color: #9FA6CC;
    text-decoration: underline;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.client-list-note a:hover {
    color: #DBF1FF;
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.7));
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

/* CTA Box */
.cta-box {
    background-color: rgba(20, 22, 33, 0.51);
    padding: 60px 50px;
    margin: 60px auto;
    max-width: 800px;
    text-align: center;
}

.cta-box h2 {
    color: #9FA6CC;
    margin-bottom: 1.5rem;
}

.cta-text {
    color: #DBF1FF;
    font-family: 'Libre Franklin', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6em;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

/* Responsive: Projects Grid (these overrides must stay AFTER the
   base .projects-grid / .project-info / .hero-box rules above) */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Project card text sizing and centering on single-column layout */
    .project-info {
        text-align: center;
        padding: 24px;
    }

    .project-name {
        font-size: clamp(1.25rem, 3vw, 1.75rem);
    }

    .project-location {
        font-size: clamp(1rem, 2vw, 1.25rem);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .projects-grid-container {
        padding: 0 1rem;
    }

    /* Ensure hero content sits below navbar and hero box has bottom spacing
       Use page-specific selector for past-projects hero so homepage unaffected */

    .hero-box {
        margin-bottom: 40px;
    }

    .past-projects-hero {
        height: auto;
        padding: 200px 0 60px 0;
    }
}

/* Responsive: Clients List (must stay AFTER the base
   .clients-list-container / .clients-column rules above) */
@media (max-width: 810px) {
    .clients-list-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .clients-column {
        width: 80%;
        max-width: 600px;
        text-align: center;
    }
}

@media (max-width: 400px) {

    /* Smallest screens: ensure hero clears navbar and maintains spacing */
    .hero-box {
        margin-bottom: 40px;
    }
}

/* ============================================
   HOMEPAGE PRODUCT TILES
   (moved from an inline <style> block in index.html;
   per-tile background images moved from inline style attributes)
   ============================================ */
.product-tile {
    position: relative;
    height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
}

.product-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.product-tile:hover::before {
    background-color: rgba(0, 0, 0, 0.5);
}

.product-tile:hover .product-label {
    transform: scale(1.05);
}

.product-tile-blastblinds {
    background-image: url('assets/products-blastblinds.jpg');
}

.product-tile-spyguard {
    background-image: url('assets/products-spyguard-rf-attenuation.jpg');
}

.product-tile-solar {
    background-image: url('assets/products-solar-energy-efficient-film.jpg');
}

.product-tile-forcedefender {
    background-image: url('assets/products-forcedefender-glazing.jpg');
}

.product-tile-storm {
    background-image: url('assets/products-storm-protection.jpg');
}

.product-tile-anchoring {
    background-image: url('assets/products-custom-anchoring-systems-for-security-film.jpg');
}

.product-tile-graffiti {
    background-image: url('assets/products-graffiti-and-smash-grabs.jpg');
}

.product-tile-design {
    background-image: url('assets/products-design-film.jpg');
}

@media (max-width: 1024px) {
    .product-tile {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .product-tile {
        height: 220px;
    }
}

/* ============================================
   COOKIE CONSENT BANNER
   Injected by script.js on first visit; hidden once the visitor
   accepts or declines (choice stored in localStorage).
   ============================================ */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1500;
    background-color: rgba(7, 7, 13, 0.97);
    border-top: 1px solid rgba(219, 241, 255, 0.3);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-family: 'Libre Franklin', sans-serif;
}

.cookie-banner p {
    color: #FFFFFF;
    font-size: 0.95rem;
    margin: 0;
    max-width: 700px;
}

.cookie-banner a {
    color: #DBF1FF;
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner .button {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.cookie-banner .cookie-decline {
    border-color: #9FA6CC;
    color: #9FA6CC;
}

.cookie-banner .cookie-decline:hover {
    background-color: #9FA6CC;
    color: #07070D;
}

/* Anchor targets sit below the fixed 150px navbar */
.accessibility-section,
.cookie-settings-section {
    scroll-margin-top: 170px;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
        gap: 1rem;
    }
}

/* ============================================
   REDUCED MOTION (WCAG 2.3.3)
   Users who opt out of animation get instant transitions;
   layout and colors are unaffected.
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body {
        animation: none;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}