h1, h2, h3, .brand-font {
  font-family: 'Domine', serif;
}

.label-mono {
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 12px;
}

.stitched-border {
    position: relative;
}
.stitched-border::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px dashed rgba(226, 232, 240, 0.5);
    pointer-events: none;
    border-radius: inherit;
}

.twill-overlay {
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.02) 2px,
        rgba(255, 255, 255, 0.02) 4px
    );
}

/* Select2 Custom Styling - Denim & Stitch Aesthetic */
.select2-container--default .select2-selection--single {
    background-color: var(--denim-navy);
    border: 2px dashed var(--stitch-silver-alpha);
    border-radius: 0.75rem;
    height: 48px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--stitch-silver);
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    text-transform: uppercase;
    padding-left: 1.5rem;
    line-height: 44px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    right: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--stitch-silver) transparent transparent transparent;
}

.select2-container--open .select2-dropdown {
    background-color: var(--surface-container);
    border: 1px solid var(--stitch-silver-alpha);
    border-radius: 0.75rem;
    overflow: hidden;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.select2-results__option {
    background-color: transparent;
    color: var(--on-surface-variant);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    padding: 12px 20px;
    text-transform: uppercase;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #194b67;
    color: white;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(137, 207, 240, 0.1);
    color: var(--glow-accent);
}

/* Masonry Grid with Bootstrap */
.masonry-grid {
    column-count: 1;
    column-gap: 1.5rem;
}
@media (min-width: 768px) { .masonry-grid { column-count: 2; } }
@media (min-width: 992px) { .masonry-grid { column-count: 3; } }
@media (min-width: 1200px) { .masonry-grid { column-count: 5; } }

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.5s ease;
}

.gallery-card {
    background-color: var(--surface-container);
    border-radius: 0.75rem;
    overflow: hidden;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
}

.gallery-card:hover {
    box-shadow: 0 0 20px rgba(137, 207, 240, 0.4);
    transform: translateY(-5px);
}

.gallery-card img {
    transition: transform 0.7s ease;
    object-fit: cover;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(10, 19, 35, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .overlay-text {
    opacity: 1;
}

.nav-link-custom {
    color: var(--on-surface-variant);
    text-decoration: none;
    transition: color 0.3s ease;
}
.nav-link-custom:hover {
    color: var(--glow-accent);
}
.nav-link-active {
    color: var(--secondary);
    border-bottom: 1px solid var(--secondary);
}

.divider-stitched {
    height: 1px;
    border-top: 2px dashed rgba(226, 232, 240, 0.2);
    width: 100%;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}