/* === css/00-resets.css === */
/* Reset base elements to a consistent baseline */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    font-weight: inherit;
    font-size: inherit;
}


/* === css/01-variables.css === */
:root {
    /* Brand Colors */
    --primary-color: #000000;
    --secondary-color: #938B81;
    --accent-color: #531C22;
    --color-navy: #1C2E4A;
    --color-steel: #53687D;
    --bg-color: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-color: #000000;
    --text-light: #5A5A5A;
    --border-color: #E1E5E9;

    /* Typography */
    --font-primary: 'Questrial', 'Century Gothic', 'Segoe UI', sans-serif;
    --font-heading: 'Mak Light', 'Questrial', sans-serif;

    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
    --font-size-body: 1rem;

    /* 📏 Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* 💎 Effects */
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}


/* === css/02-base.css === */
@font-face {
    font-family: 'Mak Light';
    src: url('../data/fonts/MakLight.woff2') format('woff2'),
         url('../data/fonts/MakLight.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: optional;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background: var(--bg-color);
    color: var(--text-color);
    font: 16px/1.6 var(--font-primary);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* === css/03-layout.css === */
.blocks-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Make blocks area wider without affecting other containers */
.blocks-section .container {
    width: 92%;
    margin: 0 4%; /* Match header margins */
    padding: 0; /* Removed padding */
}

.container {
    box-sizing: border-box;
}


/* === css/components/header.css === */
.header {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    background: var(--color-steel);
    color: #fff;
    text-align: left;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

.header .container {
    width: 92%;
    margin: 0 4%;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--spacing-md);
    position: relative;
}

.header-spacer {
    height: calc(90px + var(--spacing-md) * 2);
}

.logo {
    height: 90px !important;
    width: auto;
    display: block;
    justify-self: start;
    max-height: 90px !important;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.header-nav {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    justify-self: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    text-decoration: none;
}

.nav-link:active {
    transform: translateY(0);
}

.header-contacts {
    justify-self: end;
    color: #fff;
    font-size: var(--font-size-body);
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.header-contacts a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.header-contacts a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.header-contacts .header-divider {
    opacity: 0.4;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 102; /* ✅ INCREASED - was 21, now above everything */
    position: fixed !important;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    isolation: isolate;
}

.mobile-menu-btn span {
    width: 60px;
    height: 4px;
    background-color: #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(14px, 14px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(14px, -14px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: calc(90px + var(--spacing-md) * 2);
    left: 0;
    right: 0;
    background: var(--color-steel);
    padding: var(--spacing-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 101;
    opacity: 0;
    visibility: hidden;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
}

.mobile-menu-content .nav-link {
    font-size: 1.1rem; /* Increased from var(--font-size-body) */
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
}

.mobile-menu-content .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.mobile-menu-phone {
    color: #fff;
    font-size: var(--font-size-body);
    font-family: var(--font-primary);
    padding: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-menu-phone a {
    color: #fff;
    text-decoration: none;
}

.mobile-menu-phone a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* Responsive navigation */
@media (max-width: 768px) {
    .header .container {
        grid-template-columns: auto 1fr auto;
        gap: var(--spacing-sm);
    }
    
    .header-nav {
        display: none;
    }
    
    .header-contacts {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 480px) {
    .header {
        padding: var(--spacing-sm);
    }
    
    .header .container {
        grid-template-columns: auto 1fr auto;
        gap: var(--spacing-sm);
    }
  
    .logo {
        height: 50px; /* Reduced by 1.2x from 60px */
    }
    
    .header-spacer {
        height: calc(50px + var(--spacing-sm) * 2);
    }
    
    .mobile-menu {
        top: calc(50px + var(--spacing-sm) * 2);
        padding: var(--spacing-md);
    }
    
    .mobile-menu-content .nav-link {
        font-size: 0.9rem;
    }
    
    .mobile-menu-phone {
        font-size: 0.9rem;
    }
}

.header h1 {
    font-size: var(--font-size-h1);
    margin-bottom: var(--spacing-sm);
}

.header p {
    font-size: var(--font-size-body);
    opacity: 0.9;
}


/* === css/components/intro.css === */
/* INTRO SECTION */
.intro-section {
    position: relative;
    height: 90vh;
    overflow: hidden;
    width: 100%;
    margin: 0;
}

.intro-background {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(4px);
}

.intro-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.intro-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: var(--spacing-md);
    z-index: 2;
}

.intro-logo {
    max-height: 200px;
    width: auto;
    margin-bottom: var(--spacing-lg);
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.intro-content h1 {
    font-size: var(--font-size-h1);
    font-family: var(--font-heading);
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    white-space: pre-line;
    letter-spacing: 2px;
}

.intro-content p {
    font-size: var(--font-size-body);
    max-width: 600px;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    white-space: pre-line;
    letter-spacing: 1px;
}

.intro-cta {
    display: inline-block;
    margin-top: var(--spacing-lg);
    padding: 14px 40px;
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    font-family: var(--font-primary);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.intro-cta:hover {
    background: #fff;
    color: var(--color-navy);
}

/* Responsive */
@media (max-width: 768px) {
    .intro-section {
        height: 90vh;
    }
    .intro-logo {
        max-height: 150px;
    }
    .intro-content h1 {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    .intro-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .intro-section {
        height: 90vh;
    }
    .intro-logo {
        max-height: 120px;
    }
    .intro-content h1 {
        font-size: 1.3rem;
    }
}


/* === css/components/about.css === */
/* ABOUT SECTION */
.about-section {
    position: relative;
    display: flex;
    align-items: flex-start;
    background: var(--bg-color);
    padding: var(--spacing-xl) 0 0 0;
}

.about-container {
    width: 92%;
    margin: 0 4%;
    padding: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-xl);
    align-items: flex-start;
}

.about-image {
    /*height: 40vw;*/
    height: 768px;
    max-height: 70vh;
    /*width: auto;*/
    width: auto;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--spacing-xl);
    justify-self: start;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
    justify-self: start;
    width: 40vw;
}

.about-content h2 {
    font-size: var(--font-size-h2);
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-primary);
}

.about-content p {
    font-size: var(--font-size-body);
    color: var(--text-light);
    line-height: 1.6;
    font-family: var(--font-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .about-section {
        padding: var(--spacing-xl) 0 0 0;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .about-image {
        height: 70vh;
        width: auto;
        order: 1;
        justify-self: center;
    }
    
    .about-content {
        order: 2;
        padding: 0;
        width: 100%;
        justify-self: center;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-content p {
        font-size: var(--font-size-body);
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: var(--spacing-xl) 0 0 0;
    }
    
    .about-container {
        gap: var(--spacing-xl);
    }
    
    .about-content h2 {
        font-size: 1.75rem;
    }
    
    .about-content p {
        font-size: var(--font-size-body);
    }
}


/* === css/components/block.css === */
/* BLOCK (container, scroller) */

/* Horizontal scroller constrained to block width */
.projects-grid {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--spacing-md);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-block: 8px;
  box-sizing: border-box;

  /* Snapping & stable scrollbar */
  scroll-snap-type: x mandatory;
  scrollbar-gutter: stable both-edges;
}

/* Scrollbar styling (optional) */
.projects-grid::-webkit-scrollbar { height: 8px; }
.projects-grid::-webkit-scrollbar-thumb { background: var(--secondary-color); border-radius: 4px; }
.projects-grid::-webkit-scrollbar-track { background: var(--bg-light); }


.block[style*="background"] {
    margin-left: -4vw;
    margin-right: -4vw;
    padding: var(--spacing-xl) 4vw;
}

.block-title {
  text-align: left;
  font-size: var(--font-size-h2);
  font-family: var(--font-heading);
  color: var(--accent-color);
  margin-bottom: var(--spacing-sm);
  margin-top: 0;
}

.block-description {
  text-align: left;
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
}

/* === css/components/project.css === */
/* PROJECT — horizontal card layout */
.project {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
    flex: 0 0 80vw;
    min-width: 600px;
    max-width: 900px;

    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 0;
    overflow: hidden;
    scroll-snap-align: start;
    transition: box-shadow 0.3s ease;
}

/* Image area — spans full height of card */
.project-images {
    position: relative;
    min-height: 340px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.image-nav {
    position: absolute;
    bottom: var(--spacing-xs);
    right: var(--spacing-xs);
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 3px;
    pointer-events: none;
}

/* Text content — right side */
.project-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project h3 {
    font-size: var(--font-size-h3);
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    transition: color 0.2s ease;
}

.project-description {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    font-size: .9rem;
    line-height: 1.5;
}

/* Labels */
.project-labels {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: var(--spacing-sm);
    margin-top: auto;
}

.label-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.label-title {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.label-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Hover — desktop only */
@media (hover: hover) {
    .project:hover {
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    }
    .project:hover .project-image {
        transform: scale(1.05);
    }
    .project:hover h3 {
        color: var(--accent-color);
    }
}

/* Tablet */
@media (max-width: 900px) {
    .project {
        flex: 0 0 85vw;
        min-width: 400px;
        max-width: 700px;
    }
    .project-images {
        min-height: 280px;
    }
}

/* Mobile — stack vertically */
@media (max-width: 640px) {
    .project {
        grid-template-columns: 1fr;
        flex: 0 0 92vw;
        min-width: 280px;
        max-width: 100%;
    }
    .project-images {
        min-height: 220px;
        max-height: 50vh;
    }
    .project-content {
        padding: var(--spacing-sm);
    }
}


/* === css/components/modal.css === */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .9);
    z-index: 1000;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.modal img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        max-width: 95%;
        min-height: 70vh;
        align-items: center;
        justify-content: center;
    }
    
    .modal img {
        max-height: 60vh;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    
    .modal-close::after {
        font-size: 2rem;
        transform: translateY(1px);
    }
    
    .modal-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        padding: 10px 15px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 300;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0;
    margin: 0;
    text-indent: -9999px;
    overflow: hidden;
}

.modal-close::after {
    content: 'X';
    display: block;
    line-height: 0;
    text-indent: 0;
    transform: translateY(1px);
    font-size: 2.5rem;
    font-weight: 300;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.modal-close:hover::after {
    transform: translateY(1px);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    font-weight: 300;
    padding: 15px 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}


/* === css/components/contact.css === */
/* CONTACT SECTION */
.contact-section {
    background: var(--bg-light);
    padding: var(--spacing-xl) 0;
    margin: var(--spacing-xl) 0 0 0; /* Remove bottom margin */
}

.contact-content {
    max-width: min(600px, 92%); /* Keep 600px but limit to 92% of viewport */
    margin: 0 auto;
    text-align: center;
}

.contact-content h2 {
    font-size: var(--font-size-h2);
    font-weight: 400; /* Removed bold */
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.contact-content p {
    font-size: var(--font-size-body);
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.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;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-body);
    font-family: var(--font-primary);
    background: var(--bg-color);
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(173, 65, 16, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-size: var(--font-size-body);
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: center;
    min-width: 200px;
}

.contact-form button:hover {
    background: #8a2e0a;
    transform: translateY(-2px);
}

.contact-form button:active {
    transform: translateY(0);
}

/* Checkbox group */
.checkbox-group {
    text-align: left;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
    min-width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
    flex-shrink: 0;
}

.checkbox-text {
    flex: 1;
    color: var(--text-light);
}

.checkbox-text a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.checkbox-text a:hover {
    color: #8a2e0a;
}

.checkbox-label input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-section {
        padding: var(--spacing-lg) 0;
    }
    
    .contact-content h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        gap: var(--spacing-sm);
    }
}


/* === css/components/footer.css === */
.footer {
    background: var(--color-steel);
    color: #E8E8E8;
    padding: var(--spacing-lg) 0 var(--spacing-md) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    justify-items: center;
    text-align: center;
}

.footer-section h3 {
    margin-bottom: var(--spacing-sm);
    color: #FFFFFF;
}

.footer-section p, .footer-section a {
    color: #E4E4E4;
    text-decoration: none;
}

.footer-section a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    text-align: center;
    color: #E4E4E4;
}


/* === css/utilities.css === */
/* Generic helpers for quick use */

/* Hide visually but keep accessible for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

/* Force hide completely */
.hidden {
    display: none !important;
}

/* Muted text */
.text-muted {
    color: var(--text-light) !important;
}

/* Center text */
.text-center {
    text-align: center !important;
}

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-navy);
    color: #fff;
    padding: 0.75rem 1.5rem;
    z-index: 200;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* Focus-visible for keyboard users */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.nav-link:focus-visible,
.fab-contact:focus-visible,
.intro-cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.modal-close:focus-visible,
.modal-nav:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

/* Floating Action Button */
.fab-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-steel);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    text-decoration: none;
    z-index: 90;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.fab-contact.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.fab-contact:hover {
    background: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.fab-contact svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 480px) {
    .fab-contact {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 48px;
        height: 48px;
    }
    .fab-contact svg {
        width: 20px;
        height: 20px;
    }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
