/*
Theme Name: MOS Architects
Theme URI: https://mos-arc.com
Author: Difference Agency
Author URI: https://difference.co.il
Description: Custom theme for MOS Architects
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: mos-architects
*/

/* ============================================= 
   CUSTOM FONTS
   ============================================= */
@font-face {
    font-family: 'Adero';
    src: url('fonts/AderoTrial-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Adero';
    src: url('fonts/AderoTrial-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'Adero';
    src: url('fonts/AderoTrial-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Adero';
    src: url('fonts/AderoTrial-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Adero';
    src: url('fonts/AderoTrial-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Adero';
    src: url('fonts/AderoTrial-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Adero';
    src: url('fonts/AderoTrial-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Adero';
    src: url('fonts/AderoTrial-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'Adero';
    src: url('fonts/AderoTrial-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'Goldie Sans';
    src: url('fonts/GoldieSans-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Goldie Sans';
    src: url('fonts/GoldieSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

/* ============================================= 
   CSS RESET & BASE
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Adero', sans-serif;
    background-color: #fff;
    color: #1a1a1a;
    overflow-x: hidden;
}

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

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

.content-width {
    width: 75vw;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================= 
   STAGGER TEXT EFFECT
   ============================================= */
.menu-text-wrapper {
    display: block;
    position: relative;
    overflow: hidden;
    height: 1.2em;
    line-height: 1.2;
}

.text-block {
    display: block;
    line-height: 1.2;
    white-space: nowrap;
}

.text-block:first-child {
    color: inherit;
}

.text-block:last-child {
    position: absolute;
    top: 100%;
    left: 0;
    color: #333333;
}

.letter {
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

a:hover .letter,
button:hover .letter,
.project-card:hover .project-card-link .letter {
    transform: translateY(-100%);
}

.letter:nth-child(1) { transition-delay: 0s; }
.letter:nth-child(2) { transition-delay: 0.02s; }
.letter:nth-child(3) { transition-delay: 0.04s; }
.letter:nth-child(4) { transition-delay: 0.06s; }
.letter:nth-child(5) { transition-delay: 0.08s; }
.letter:nth-child(6) { transition-delay: 0.1s; }
.letter:nth-child(7) { transition-delay: 0.12s; }
.letter:nth-child(8) { transition-delay: 0.14s; }
.letter:nth-child(9) { transition-delay: 0.16s; }
.letter:nth-child(10) { transition-delay: 0.18s; }
.letter:nth-child(11) { transition-delay: 0.2s; }
.letter:nth-child(12) { transition-delay: 0.22s; }

/* ============================================= 
   HERO HEADER (Transparent)
   ============================================= */
.hero-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 30px 0;
}

.hero-header .content-width {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-header nav {
    display: flex;
    gap: 50px;
}

.hero-header nav a {
    color: #fff;
    font-family: 'Adero', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    overflow: hidden;
    display: inline-block;
    transition: color 0.3s ease;
}

.hero-header nav a:hover {
    color: #333333;
}

.hero-header nav a .text-block:first-child { color: #fff; }
.hero-header nav a .text-block:last-child { color: #333333; }

/* ============================================= 
   STICKY HEADER (Shows on scroll)
   ============================================= */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    padding: 20px 0;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.sticky-header.visible {
    transform: translateY(0);
}

.sticky-header .content-width {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-header .logo {
    display: flex;
    align-items: center;
}

.sticky-header .logo svg {
    height: 30px;
    width: auto;
}

.menu-toggle {
    background: #fff;
    border: none;
    border-radius: 35px;
    cursor: pointer;
    padding: 10px 20px;
    font-family: 'Adero', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow: hidden;
}

.menu-toggle:hover {
    background-color: #000;
    color: #fff;
}

.menu-toggle:hover .text-block:last-child {
    color: #fff;
}

/* ============================================= 
   HERO SECTION (Home Page)
   ============================================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parallax-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 60%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}

.hero-content {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    z-index: 10;
}

.hero-content .content-width {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-logo {
    color: #fff;
    transition: filter 0.5s ease;
}

.hero-logo svg {
    height: auto;
    width: clamp(250px, 30vw, 420px);
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.4));
    transition: filter 0.5s ease;
}

.hero-logo svg g,
.hero-logo svg path {
    transition: fill 0.5s ease;
}

/* Scrolled state - black logo without shadow */
.hero-logo.scrolled svg {
    filter: none;
}

.hero-logo.scrolled svg g,
.hero-logo.scrolled svg path {
    fill: #1a1a1a;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.scroll-down {
    background: #fff;
    border: none;
    padding: 15px 30px;
    font-family: 'Adero', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    cursor: pointer;
    border-radius: 30px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.scroll-down:hover {
    background: #000;
    color: #fff;
}

/* ============================================= 
   PROJECTS SECTION (Home Page)
   ============================================= */
.projects-section {
    padding: 100px 0;
    background: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.projects-col-left {
    display: flex;
    flex-direction: column;
    gap: 200px;
    padding-top: 350px;
}

.projects-col-right {
    display: flex;
    flex-direction: column;
    gap: 200px;
}

/* Project Card */
.project-card {
    position: relative;
    width: 100%;
}

.project-card a {
    display: block;
}

.project-card-image {
    position: relative;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.project-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.project-card:hover .project-card-image img {
    transform: scale(1.03);
}

.project-card:hover .project-card-image::after {
    opacity: 1;
}

.project-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.project-card-title {
    font-family: 'Adero', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.project-card-link {
    font-family: 'Adero', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #888;
    overflow: hidden;
    display: inline-block;
}

.project-card:hover .project-card-link {
    color: #1a1a1a;
}

.project-card-link .text-block:first-child { color: #888; }
.project-card-link .text-block:last-child { color: #333333; }

/* ============================================= 
   PAGE HERO (Projects Archive)
   ============================================= */
.page-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.page-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-content {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    z-index: 10;
}

.page-hero-title {
    font-family: 'Adero', sans-serif;
    font-size: clamp(1.875rem, 9.238vw + -0.515rem, 6.875rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* ============================================= 
   FILTER BAR
   ============================================= */
.filter-bar {
    padding: 40px 0;
    background: #fff;
}

.filter-bar .content-width {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-filters {
    display: flex;
    gap: 30px;
}

.filter-btn {
    background: none;
    border: none;
    font-family: 'Adero', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #969499;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: #1a1a1a;
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #1a1a1a;
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: #d0d0d0;
}

.view-btn.active {
    background: #1a1a1a;
}

.view-btn svg {
    width: 18px;
    height: 18px;
    color: #1a1a1a;
}

.view-btn.active svg {
    color: #fff;
}

/* Protected Filter Button */
.filter-btn.protected-filter::before {
    content: '🔒';
    margin-right: 5px;
    font-size: 11px;
    filter: grayscale(100%);
}

/* Hide More Projects items by default (prevents flash) */
.project-item[data-category*="more-projects"] {
    display: none;
}

/* Show when unlocked via JS class on body */
body.more-projects-unlocked .project-item[data-category*="more-projects"] {
    display: block;
}

/* Filter Password Popup */
.filter-password-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.filter-password-popup.active {
    display: flex;
}

.filter-password-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.filter-password-box {
    position: relative;
    background: #fff;
    padding: 50px 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.filter-password-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.filter-password-close:hover {
    color: #1a1a1a;
}

.filter-password-box h3 {
    font-family: 'Adero', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.filter-password-box p {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #666;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.filter-password-box input[type="password"] {
    width: 100%;
    padding: 15px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    background: transparent;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 15px;
    text-align: center;
    outline: none;
    transition: border-color 0.3s ease;
    margin-bottom: 10px;
}

.filter-password-box input[type="password"]:focus {
    border-bottom-color: #1a1a1a;
}

.filter-password-error {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 13px;
    color: #c62828;
    margin: 0 0 15px 0;
    display: none;
}

.filter-password-error.show {
    display: block;
}

.filter-password-box button[type="submit"] {
    width: 100%;
    padding: 15px 30px;
    background: #1a1a1a;
    border: none;
    border-radius: 30px;
    color: #fff;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-password-box button[type="submit"]:hover {
    background: #333;
}

/* ============================================= 
   PROJECTS ARCHIVE - GRID VIEW
   ============================================= */
.projects-archive {
    padding: 40px 0 100px;
}

.projects-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 30px;
}

.project-item {
    position: relative;
}

.project-item a {
    display: block;
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 20px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.project-item:hover .project-image img {
    transform: scale(1.03);
}

.project-item:hover .project-image::after {
    opacity: 1;
}

.project-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.project-title {
    font-family: 'Adero', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.project-year {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #969499;
}

.project-link {
    font-family: 'Adero', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #888;
    overflow: hidden;
    display: inline-block;
}

.project-link .text-block:first-child { color: #888; }
.project-link .text-block:last-child { color: #333333; }

.project-item:hover .project-link .letter {
    transform: translateY(-100%);
}

/* ============================================= 
   PROJECTS ARCHIVE - LIST VIEW
   ============================================= */
.projects-archive-grid.view-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.projects-archive-grid.view-list .project-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.projects-archive-grid.view-list .project-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.projects-archive-grid.view-list .project-item a {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
    transition: background-color 0.3s ease;
}

.projects-archive-grid.view-list .project-item:hover a {
    background-color: rgba(0, 0, 0, 0.02);
}

.projects-archive-grid.view-list .project-image {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    opacity: 0;
}

.projects-archive-grid.view-list .project-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.projects-archive-grid.view-list .project-content > div {
    display: contents;
}

.projects-archive-grid.view-list .project-title {
    flex: 1;
    font-size: 1.5em;
    margin: 0;
}

.projects-archive-grid.view-list .project-year {
    flex: 0 0 auto;
    padding-left: 20px;
    text-align: right;
}

.projects-archive-grid.view-list .project-link {
    display: none;
}

/* Hover Image Preview */
#hover-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 450px;
    height: 350px;
    pointer-events: none;
    z-index: 9000;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#hover-preview.show {
    opacity: 1;
}

#hover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================= 
   PROJECT HERO (Single Project)
   ============================================= */
.project-hero {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
}

.project-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.project-hero-slide.active {
    opacity: 1;
}

.project-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-hero-content {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    z-index: 10;
}

.project-hero-title {
    font-family: 'Adero', sans-serif;
    font-size: clamp(1.875rem, 9.238vw + -0.515rem, 6.875rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* Breadcrumbs */
.breadcrumbs {
    margin-top: 15px;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs .separator {
    margin: 0 8px;
    opacity: 0.5;
}

.breadcrumbs .current {
    color: #fff;
}

/* ============================================= 
   PROJECT INFO SECTION
   ============================================= */
.project-info-section {
    padding: 80px 0;
}

.project-info {
    padding: 80px 0;
    border-bottom: 1px solid #e5e5e5;
}

.project-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.info-item,
.project-info-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-label,
.project-info-label {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.info-value,
.project-info-value {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #969499;
    line-height: 1.6;
}

.info-credits {
    grid-column: span 2;
}

.info-read-more {
    grid-column: span 2;
    margin-top: 20px;
}

.read-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Adero', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: auto;
}

.read-more-btn:hover {
    background-color: #333;
}

.read-more-btn.active {
    background-color: transparent;
    color: #1a1a1a;
}

/* Smooth accordion animation */
.project-description-section {
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
}

.project-description-section.collapsed {
    max-height: 0;
    opacity: 0;
}

.project-description-section.expanded {
    max-height: 2000px;
    opacity: 1;
}

/* ============================================= 
   PROJECT DESCRIPTION
   ============================================= */
.project-description-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.project-description-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.project-description-title {
    font-family: 'Adero', sans-serif;
    font-size: 32px;
    font-weight: 300;
    color: #1a1a1a;
}

.project-description-text {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #666;
    line-height: 1.8;
}

.project-description-text p {
    margin-bottom: 1.5em;
}

.project-description-text p:last-child {
    margin-bottom: 0;
}

/* ============================================= 
   PROJECT GALLERY
   ============================================= */
.project-gallery-section {
    padding: 40px 0 80px;
}

.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gallery-row {
    display: grid;
    gap: 30px;
}

.gallery-row.single {
    grid-template-columns: 1fr;
}

.gallery-row.double {
    grid-template-columns: 1fr 1fr;
}

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

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

/* ============================================= 
   SCHEMATICS CAROUSEL
   ============================================= */
.schematics-section {
    padding: 80px 0;
    background: #f9f9f9;
    position: relative;
}

.schematics-title {
    font-family: 'Adero', sans-serif;
    font-size: 32px;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 40px;
}

.schematics-carousel {
    position: relative;
    overflow: hidden;
    cursor: none;
}

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

.schematics-slide {
    flex: 0 0 100%;
    width: 100%;
}

.schematics-slide img {
    width: 100%;
    height: auto;
}

.carousel-cursor {
    position: fixed;
    width: 80px;
    height: 50px;
    pointer-events: none;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translate(-50%, -50%);
}

.carousel-cursor.active {
    opacity: 1;
}

.carousel-cursor svg {
    width: 60px;
    height: auto;
}

.carousel-arrows {
    display: none;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-arrow {
    width: 70px;
    height: 50px;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.carousel-arrow:hover {
    background: #e0e0e0;
}

.carousel-arrow svg {
    width: 40px;
    height: auto;
}

/* ============================================= 
   PROJECT NAVIGATION
   ============================================= */
.project-navigation {
    padding: 60px 0;
    border-top: 1px solid #e5e5e5;
}

.project-nav-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.project-nav-link {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 45%;
    transition: opacity 0.3s ease;
}

.project-nav-link:hover {
    opacity: 0.6;
}

.project-nav-link.prev {
    align-items: flex-start;
    text-align: left;
}

.project-nav-link.next {
    align-items: flex-end;
    text-align: right;
}

.project-nav-link .nav-arrow {
    font-size: 24px;
    color: #1a1a1a;
}

.project-nav-link .nav-label {
    font-family: 'Adero', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
}

.project-nav-link .nav-title {
    font-family: 'Adero', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #1a1a1a;
}

/* ============================================= 
   MORE PROJECTS
   ============================================= */
.more-projects-section {
    padding: 80px 0;
}

.more-projects-title {
    font-family: 'Adero', sans-serif;
    font-size: 32px;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 40px;
}

.more-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* More Project Card */
.more-project-card {
    position: relative;
}

.more-project-card a {
    display: block;
}

.more-project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.more-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.more-project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.more-project-card:hover .more-project-image img {
    transform: scale(1.03);
}

.more-project-card:hover .more-project-image::after {
    opacity: 1;
}

.more-project-content {
    padding: 15px 0;
}

.more-project-title {
    font-family: 'Adero', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.more-project-year {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #969499;
}

/* ============================================= 
   PAGE TEMPLATE (Privacy, Accessibility, etc.)
   ============================================= */
.hero-header-dark nav a {
    color: #1a1a1a;
}

.page-hero-simple {
    height: 40vh;
    min-height: 300px;
    background: #f5f5f5;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
}

.page-hero-simple .page-title {
    font-family: 'Adero', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1.2;
}

.page-content {
    padding: 60px 0 80px;
}

.page-body {
    max-width: 800px;
}

.page-body h2 {
    font-family: 'Adero', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 40px 0 15px;
}

.page-body h3 {
    font-family: 'Adero', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 30px 0 10px;
}

.page-body p {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.page-body ul, .page-body ol {
    margin: 20px 0;
    padding-left: 25px;
}

.page-body li {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: #444;
    margin-bottom: 10px;
}

.page-body a {
    color: #1a1a1a;
    text-decoration: underline;
}

.page-body a:hover {
    opacity: 0.6;
}

.page-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.last-updated {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #888;
}

/* ============================================= 
   COOKIE POPUP
   ============================================= */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    max-width: 500px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 30px;
    z-index: 9999;
    transform: translateY(150%);
    transition: transform 0.4s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-popup-text {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: #444;
    margin-bottom: 25px;
}

.cookie-popup-text a {
    color: #1a1a1a;
    text-decoration: underline;
}

.cookie-popup-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-family: 'Adero', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #1a1a1a;
}

.cookie-btn-accept:hover {
    background: #333;
}

.cookie-btn-decline {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
}

.cookie-btn-decline:hover {
    background: #f5f5f5;
}

@media (max-width: 768px) {
    .cookie-popup {
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 20px;
    }
    
    .cookie-popup-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================= 
   ABOUT PAGE
   ============================================= */

/* Hero Video */
.page-hero-image video,
.page-hero-image iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.page-hero-image iframe {
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100%;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* About Heading Section */
.about-heading-section {
    padding: 120px 0 80px;
}

.about-heading {
    font-family: 'Adero', sans-serif;
    font-size: clamp(1.875rem, 5vw, 4rem);
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1.15;
    max-width: 100%;
}

/* About Content Section */
.about-content-section {
    padding: 0 0 80px;
}

.about-content {
    max-width: 100%;
}

.about-content h2,
.about-content h3 {
    font-family: 'Adero', sans-serif;
    font-weight: 400;
    color: #1a1a1a;
    margin: 40px 0 15px;
}

.about-content h2 {
    font-size: 22px;
}

.about-content h3 {
    font-size: 18px;
}

.about-content p {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

/* Team Section */
.team-section {
    padding: 60px 0 100px;
}

/* Team Accordion */
.team-accordion-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.team-accordion {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-accordion-item {
    border-top: 1px solid #e5e5e5;
    cursor: pointer;
    transition: background-color 0.3s;
}

.team-accordion-item:last-child {
    border-bottom: 1px solid #e5e5e5;
}

.team-accordion-item.active {
    background-color: #f5f5f5;
}

.team-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.team-accordion-title {
    font-family: 'Adero', sans-serif;
    font-size: 20px;
    font-weight: 500;
}

.team-accordion-icon {
    width: 16px;
    height: 16px;
    position: relative;
    flex-shrink: 0;
    margin-left: 15px;
}

.team-accordion-icon::before,
.team-accordion-icon::after {
    content: "";
    position: absolute;
    background: #333;
    transition: 0.3s;
}

.team-accordion-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.team-accordion-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.team-accordion-item.active .team-accordion-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.team-accordion-content {
    max-height: 0;
    overflow: hidden;
}

.team-accordion-content-inner {
    padding: 0 15px 25px;
    line-height: 1.7;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #444;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.team-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 14px;
}

.team-contact-link:hover {
    color: #969499;
}

.team-contact-link svg {
    flex-shrink: 0;
}

/* Team Images */
.team-accordion-images {
    flex: 1;
    position: sticky;
    top: 100px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.team-acc-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    visibility: hidden;
    filter: grayscale(100%);
}

.team-acc-img:first-child {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 1024px) {
    .team-accordion-wrapper {
        flex-direction: column;
    }
    
    .team-accordion {
        order: 2;
        width: 100%;
    }
    
    .team-accordion-images {
        position: relative;
        top: 0;
        width: 100%;
        max-width: 500px;
        order: 1;
    }
}

@media (max-width: 768px) {
    .about-heading-section {
        padding: 80px 0 60px;
    }
    
    .about-heading {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    
    .team-accordion-title {
        font-size: 18px;
    }
}

/* ============================================= 
   CONTACT PAGE
   ============================================= */

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Honeypot field - completely hidden */
.form-field-hp,
.wpcf7-form .form-field-hp {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

.contact-section {
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 150px 0 80px;
}

.contact-container {
    width: 75%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Left Column - Title */
.contact-left {
    padding-top: 40px;
}

.contact-title {
    font-family: 'Adero', sans-serif;
    font-size: clamp(1.875rem, 9.238vw + -0.515rem, 6.875rem);
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1.05;
    margin: 0;
}

/* H1 Reveal Animation */
.h1-reveal-animate {
    opacity: 0;
}

.h1-reveal-animate.done {
    opacity: 1;
}

.h1-reveal-animate .h1-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.h1-reveal-animate .h1-word-inner {
    display: inline-block;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

/* Right Column - Info & Form */
.contact-right {
    padding-top: 40px;
}

/* Contact Info */
.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.5;
    margin: 0 0 2px 0;
}

.contact-info .info-company {
    font-weight: 500;
}

.contact-info a {
    color: #1a1a1a;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.6;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    max-width: 400px;
}

/* Form Fields with Floating Labels */
.form-field {
    position: relative;
    margin-bottom: 0;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 18px 0 8px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    background: transparent;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    border-bottom-color: #1a1a1a;
}

.form-field label {
    position: absolute;
    left: 0;
    top: 18px;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #888;
    pointer-events: none;
    transition: all 0.25s ease;
}

/* Floating label active states */
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 11px;
    color: #1a1a1a;
}

.form-field textarea {
    min-height: 80px;
    resize: vertical;
}

/* Submit Button */
.form-submit,
.wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 15px 30px;
    margin-top: 25px;
    background: #1a1a1a;
    border: none;
    border-radius: 30px;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover,
.wpcf7-form input[type="submit"]:hover {
    background: #333;
}

/* Privacy/Acceptance Checkbox */
.form-acceptance,
.wpcf7-form .wpcf7-acceptance {
    margin-top: 15px;
}

.form-acceptance label,
.wpcf7-form .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #666;
    cursor: pointer;
}

.form-acceptance input[type="checkbox"],
.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.form-acceptance a,
.wpcf7-form .wpcf7-acceptance a {
    color: #1a1a1a;
    text-decoration: underline;
}

/* Contact Form 7 Specific Styling */
.wpcf7-form {
    display: flex;
    flex-direction: column;
}

.wpcf7-form p {
    margin: 0;
}

.wpcf7-form .form-field {
    margin-bottom: 0;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 18px 0 8px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    background: transparent;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    border-bottom-color: #1a1a1a;
}

.wpcf7-form textarea {
    min-height: 80px;
    resize: vertical;
}

.wpcf7-form .form-field label {
    position: absolute;
    left: 0;
    top: 18px;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #888;
    pointer-events: none;
    transition: all 0.25s ease;
}

.wpcf7-form .form-field.focused label,
.wpcf7-form .form-field.filled label {
    top: 0;
    font-size: 11px;
    color: #1a1a1a;
}

/* CF7 Response Messages */
.wpcf7-response-output {
    margin-top: 20px;
    padding: 15px;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 14px;
    border: none !important;
}

.wpcf7-mail-sent-ok {
    background: #e8f5e9;
    color: #2e7d32;
}

.wpcf7-validation-errors,
.wpcf7-not-valid-tip {
    color: #c62828;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-container {
        width: 90%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-left {
        padding-top: 0;
    }
    
    .contact-form-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .contact-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* ============================================= 
   FOOTER
   ============================================= */
.footer {
    padding: 60px 0;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin-bottom: 40px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo svg {
    height: 28px;
    width: auto;
}

.footer-nav {
    display: flex;
    gap: 50px;
}

.footer-nav a {
    font-family: 'Adero', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1a1a1a;
    overflow: hidden;
    display: inline-block;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #1a1a1a !important;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.6;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.footer-links a,
.footer-links span {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #666;
}

.footer-links a:hover {
    color: #1a1a1a;
}

.footer-recaptcha {
    margin-top: 20px;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 11px;
    font-weight: 300;
    color: #999;
    text-align: center;
}

.footer-recaptcha a {
    color: #999;
    text-decoration: underline;
}

.footer-recaptcha a:hover {
    color: #666;
}

/* ============================================= 
   OFF-CANVAS MENU
   ============================================= */
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 35%;
    min-width: 400px;
    height: 100vh;
    background-color: #FAFAFA;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    padding: 40px 50px;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.offcanvas-menu.active {
    transform: translateX(0);
}

.offcanvas-close {
    position: absolute;
    top: 25px;
    right: 40px;
    background: #1a1a1a;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    padding: 12px 25px;
    font-family: 'Adero', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    transition: background-color 0.3s ease;
    overflow: hidden;
}

.offcanvas-close:hover {
    background: #333;
}

.offcanvas-close .text-block:first-child { color: #fff; }
.offcanvas-close .text-block:last-child { color: #fff; }

.offcanvas-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 60px;
}

.offcanvas-nav ul {
    list-style: none;
}

.offcanvas-nav li {
    overflow: hidden;
    margin-bottom: 50px;
}

.offcanvas-nav li:last-child {
    margin-bottom: 0;
}

.offcanvas-nav li a {
    display: block;
    font-family: 'Adero', sans-serif;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 300;
    color: #969499;
    line-height: 1.2;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s ease, color 0.3s ease;
}

.offcanvas-nav li a:hover {
    color: #333333;
}

.offcanvas-menu.active .offcanvas-nav li a {
    transform: translateY(0);
    opacity: 1;
}

.offcanvas-menu.active .offcanvas-nav li:nth-child(1) a { transition-delay: 0.15s; }
.offcanvas-menu.active .offcanvas-nav li:nth-child(2) a { transition-delay: 0.2s; }
.offcanvas-menu.active .offcanvas-nav li:nth-child(3) a { transition-delay: 0.25s; }

.offcanvas-nav li a .text-block:first-child { color: #969499; }
.offcanvas-nav li a .text-block:last-child { color: #333333; }

.offcanvas-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.offcanvas-menu.active .offcanvas-footer {
    opacity: 1;
    transform: translateY(0);
}

.offcanvas-contact {
    display: flex;
    gap: 20px;
}

.offcanvas-contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.offcanvas-contact-label {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.offcanvas-contact-value {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #969499;
}

.offcanvas-contact-value a {
    color: #969499;
    transition: color 0.3s ease;
}

.offcanvas-contact-value a:hover {
    color: #333333;
}

.offcanvas-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.offcanvas-cta a {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid #333333;
    color: #333333;
    font-family: 'Adero', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow: hidden;
}

.offcanvas-cta a:hover {
    background-color: #333333;
    color: #fff;
}

.offcanvas-cta a .text-block:first-child { color: #333333; }
.offcanvas-cta a .text-block:last-child { color: #969499; }

.offcanvas-social {
    display: flex;
    gap: 15px;
}

.offcanvas-social a {
    font-family: 'Adero', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #969499;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    display: inline-block;
    transition: color 0.3s ease;
}

.offcanvas-social a:hover {
    color: #333333;
}

.offcanvas-social a .text-block:first-child { color: #969499; }
.offcanvas-social a .text-block:last-child { color: #333333; }

body.menu-open {
    overflow: hidden;
}

/* ============================================= 
   PASSWORD PROTECTION
   ============================================= */
.password-protected-content {
    max-width: 500px;
    margin: 100px auto;
    padding: 40px;
    text-align: center;
}

.password-protection-box {
    max-width: 400px;
    margin: 150px auto;
    padding: 40px;
    text-align: center;
    background: #f9f9f9;
}

.password-protection-box h3 {
    font-family: 'Adero', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.password-protection-box p {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.password-protection-box input[type="password"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    font-family: 'Adero', sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.3s ease;
}

.password-protection-box input[type="password"]:focus {
    border-color: #1a1a1a;
}

.password-protection-box input[type="submit"] {
    width: 100%;
    padding: 15px 30px;
    background: #1a1a1a;
    border: none;
    color: #fff;
    font-family: 'Adero', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.password-protection-box input[type="submit"]:hover {
    background: #333;
}

/* Full Page Password Login (Homepage) */
.password-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.password-container {
    max-width: 400px;
    width: 90%;
    padding: 60px 40px;
    text-align: center;
}

.password-logo {
    margin-bottom: 60px;
}

.password-logo svg {
    height: 40px;
    width: auto;
}

.password-title {
    font-family: 'Adero', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.password-error {
    font-family: 'Goldie Sans', sans-serif;
    font-size: 14px;
    color: #c62828;
    margin-bottom: 20px;
}

.password-form input[type="password"] {
    width: 100%;
    padding: 15px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    background: transparent;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 15px;
    text-align: center;
    outline: none;
    transition: border-color 0.3s ease;
    margin-bottom: 30px;
}

.password-form input[type="password"]:focus {
    border-bottom-color: #1a1a1a;
}

.password-form input[type="password"]::placeholder {
    color: #999;
}

.password-form button {
    width: 100%;
    padding: 15px 30px;
    background: #1a1a1a;
    border: none;
    border-radius: 30px;
    color: #fff;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.password-form button:hover {
    background: #333;
}

/* WordPress Native Password Form */
.password-page .post-password-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.password-page .post-password-form p {
    margin: 0;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 14px;
    color: #666;
}

.password-page .post-password-form label {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.password-page .post-password-form input[type="password"] {
    width: 100%;
    padding: 15px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    background: transparent;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 15px;
    text-align: center;
    outline: none;
    transition: border-color 0.3s ease;
}

.password-page .post-password-form input[type="password"]:focus {
    border-bottom-color: #1a1a1a;
}

.password-page .post-password-form input[type="submit"] {
    width: 100%;
    padding: 15px 30px;
    background: #1a1a1a;
    border: none;
    border-radius: 30px;
    color: #fff;
    font-family: 'Goldie Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.password-page .post-password-form input[type="submit"]:hover {
    background: #333;
}

/* ============================================= 
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .content-width {
        width: 85vw;
    }
    
    .projects-col-left {
        padding-top: 150px;
        gap: 100px;
    }
    
    .projects-col-right {
        gap: 100px;
    }
    
    .project-info-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .info-read-more {
        grid-column: span 2;
    }
    
    .more-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-arrows {
        display: flex;
    }
    
    .schematics-carousel {
        cursor: default;
    }
    
    .projects-archive-grid {
        gap: 40px 20px;
    }
    
    .category-filters {
        gap: 20px;
    }
}

@media (max-width: 1600px) {
    .category-filters {
        gap: 20px;
    }
    
    .filter-btn {
        font-size: 14px;
    }
    
    .view-toggle {
        margin-left: 30px;
    }
    
    .view-btn {
        width: 40px;
        height: 40px;
    }
    
    .view-btn svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 1400px) {
    .filter-bar .content-width {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .category-filters {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .filter-btn {
        font-size: 13px;
    }
    
    .view-toggle {
        margin-left: 20px;
    }
    
    .view-btn {
        width: 36px;
        height: 36px;
    }
    
    .view-btn svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 1200px) {
    .category-filters {
        gap: 12px;
    }
    
    .filter-btn {
        font-size: 12px;
    }
    
    .view-btn {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 768px) {
    .content-width {
        width: 90vw;
    }
    
    .hero-header nav {
        display: none;
    }
    
    .hero-logo svg {
        max-width: 300px;
    }
    
    .hero-content .content-width {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .sticky-header {
        padding: 15px 0;
    }
    
    .projects-section {
        padding: 60px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .projects-col-left {
        padding-top: 0;
        gap: 60px;
    }
    
    .projects-col-right {
        gap: 60px;
    }
    
    .page-hero {
        height: 60vh;
    }
    
    .filter-bar .content-width {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .category-filters {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding-bottom: 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        max-width: 100vw;
    }
    
    .category-filters::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .projects-archive-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .projects-archive-grid.view-list .project-item a {
        padding: 15px 0;
    }
    
    .projects-archive-grid.view-list .project-title {
        font-size: 1.1em;
    }
    
    #hover-preview {
        display: none !important;
    }
    
    .project-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .info-credits {
        grid-column: span 2;
    }
    
    .info-read-more {
        grid-column: span 2;
    }
    
    .info-read-more .read-more-btn {
        width: 100%;
        text-align: center;
    }
    
    .project-description-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-row.double {
        grid-template-columns: 1fr;
    }
    
    .more-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .offcanvas-menu {
        width: 100%;
        min-width: unset;
        padding: 80px 30px 40px;
    }
    
    .offcanvas-nav li {
        margin-bottom: 30px;
    }
    
    .offcanvas-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .offcanvas-contact {
        flex-direction: column;
        gap: 15px;
    }
    
    .offcanvas-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }
}