:root {
    --bg: #0a0a0a;
    --text: #e8e8e8;
    --text-color: #e8e8e8;
    --text-muted: #888888;
    --accent: #ffffff;
    --accent-color: #ffffff;
    --surface: #141414;
    --border: #222222;
    --grid-columns: 3;
    --grid-gap: 0px;
    --header-height: 100px;
    --logo-height: 56px;
    --hero-max-height: min(70vh, 900px);
    --font-family: Lato;
    --h-font: Montserrat;
    --p-font: Lato;
    --h1-color: #ffffff;
    --h1-size: 3rem;
    --h1-transform: uppercase;
    --h1-weight: 700;
    --h1-style: normal;
    --h2-color: #dedede;
    --h2-size: 2.5rem;
    --h2-transform: none;
    --h2-weight: 500;
    --h2-style: normal;
    --h3-color: #888888;
    --h3-size: 0.75rem;
    --h3-transform: uppercase;
    --h3-weight: 500;
    --h3-style: normal;
    --p-color: #ffffff;
    --p-size: 1.3rem;
    --p-line-height: 1.6;
    --link-color: #ff8800;
    --link-hover-color: #ff8800;
    --card-title-tag: h2;
    --carousel-enabled: 1;
    --carousel-visible: 3;
    --carousel-limit: 8;
    --carousel-gap: 12px;
    --carousel-arrows-style: circle;
    --carousel-show-title: 1;
    --carousel-title: Latest projects;
    --carousel-autoplay: 0;
    --carousel-autoplay-ms: 5000;
    --card-line1-format: {YEAR} - {PROJECT_TITLE};
    --card-line2-format: {CATEGORY};
    --card-line3-format: ;
    --card-line2-tag: h3;
    --card-line3-tag: h3;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--p-font), sans-serif;
}

h1, h2, h3,
.intro__headline,
.cta-block__title,
.project-card__title,
.page-header h1 {
    font-family: var(--h-font), sans-serif;
}

h1, .project-detail__title {
    font-size: var(--h1-size);
    color: var(--h1-color);
    text-transform: var(--h1-transform, none);
    font-weight: var(--h1-weight, 400);
    font-style: var(--h1-style, normal);
}

h2, .project-detail__year {
    font-size: var(--h2-size);
    color: var(--h2-color, var(--h1-color));
    text-transform: var(--h2-transform, none);
    font-weight: var(--h2-weight, 400);
    font-style: var(--h2-style, normal);
}

h3, .project-detail__meta-label, .project-detail__section-label {
    font-size: var(--h3-size, 0.75rem);
    color: var(--h3-color, var(--text-muted));
    text-transform: var(--h3-transform, uppercase);
    font-weight: var(--h3-weight, 500);
    font-style: var(--h3-style, normal);
    font-family: var(--h-font), sans-serif;
}

p, .intro__subtitle {
    color: var(--p-color);
    font-size: var(--p-size);
    line-height: var(--p-line-height);
}

h1.intro__headline {
    font-size: var(--h1-size);
    color: var(--h1-color);
    text-transform: var(--h1-transform, none);
    font-weight: var(--h1-weight, 400);
    font-style: var(--h1-style, normal);
}

h2.intro__headline {
    font-size: var(--h2-size);
    color: var(--h2-color, var(--h1-color));
    text-transform: var(--h2-transform, none);
    font-weight: var(--h2-weight, 400);
    font-style: var(--h2-style, normal);
}

h3.intro__headline {
    font-size: var(--h3-size, 0.75rem);
    color: var(--h3-color, var(--text-muted));
    text-transform: var(--h3-transform, uppercase);
    font-weight: var(--h3-weight, 500);
    font-style: var(--h3-style, normal);
}

p.intro__headline {
    color: var(--p-color);
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    font-family: var(--p-font), sans-serif;
    text-transform: none;
    letter-spacing: normal;
}

.intro__subtitle--as-h1 {
    font-size: var(--h1-size);
    color: var(--h1-color);
    text-transform: var(--h1-transform, none);
    font-weight: var(--h1-weight, 400);
    font-style: var(--h1-style, normal);
    font-family: var(--h-font), sans-serif;
}

.intro__subtitle--as-h2 {
    font-size: var(--h2-size);
    color: var(--h2-color, var(--h1-color));
    text-transform: var(--h2-transform, none);
    font-weight: var(--h2-weight, 400);
    font-style: var(--h2-style, normal);
    font-family: var(--h-font), sans-serif;
}

.intro__subtitle--as-h3 {
    font-size: var(--h3-size, 0.75rem);
    color: var(--h3-color, var(--text-muted));
    text-transform: var(--h3-transform, uppercase);
    font-weight: var(--h3-weight, 500);
    font-style: var(--h3-style, normal);
    font-family: var(--h-font), sans-serif;
}

.intro__subtitle--as-p {
    color: var(--p-color);
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    font-family: var(--p-font), sans-serif;
}

.intro__subtitle p:last-child {
    margin-bottom: 0;
}

a:hover { color: var(--link-hover-color); }


/* Custom CSS */
.project-detail__header {
    text-align: center;
}
