/* Force ampersand (&) to use a neutral sans-serif font (Inter/System) instead of Playfair Display */
@font-face {
    font-family: 'NeutralAmpersand';
    src: local('Inter'), local('-apple-system'), local('BlinkMacSystemFont'), local('Segoe UI'), local('Roboto'), local('Helvetica Neue'), local('Arial'), sans-serif;
    unicode-range: U+26;
}

.btn-primary,
button.btn-primary,
a.btn-primary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background-color: #bd660f !important;
    color: white !important;
    transition: all 300ms;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 0.125rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 0.625rem;
}

.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
    background-color: rgb(189 102 15 / 0.9) !important;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

body {
    font-family: 'NeutralAmpersand', 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
    font-family: 'NeutralAmpersand', 'Playfair Display', serif !important;
}

blockquote {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    line-height: 1.625;
    color: rgb(27 20 13 / 0.8);
    font-style: italic;
    border-left: 4px solid #bd660f;
    padding-left: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.dark blockquote {
    color: rgb(252 250 248 / 0.8);
}

.logo {
    width: 80px;
}

/* HTMX Loading State */
#katalog.htmx-request,
#references-grid.htmx-request {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
}

/* ============================================
   PAGE TRANSITIONS
   Minimal luxury fade — clean, no sliding
   ============================================ */

/* Page content fades in on load */
#content {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Page exit — quick fade out */
body.page-exit {
    opacity: 0;
    transition: opacity 0.25s ease-out;
}

/* Screen reader only (accessibility) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
