/* Rijam Developments � Public site */

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Editorial';
    src: url('../fonts/pp-editorial-new-ultra-light.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Editorial Old';
    src: url('../fonts/ppeditorialold-ultralight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

:root {
    --black: #0a0a0a;
    --charcoal: #121212;
    --stone: #1a1a1a;
    --white: #ffffff;
    --cream: #f2efe8;
    --muted: #a8a39a;
    --sage: #8fa88c;
    --sage-deep: #3d5240;
    --sage-btn: #3f5544;
    --gold: #c4b59a;
    --border: rgba(255, 255, 255, 0.12);
    --header-h: 96px;
    --font-body: 'Satoshi', system-ui, sans-serif;
    --font-display: 'PP Editorial', 'PP Editorial Old', Georgia, serif;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--white);
    background: var(--black);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), opacity var(--transition), background var(--transition), border-color var(--transition);
}

.container-rijam {
    width: min(1280px, 92vw);
    margin-inline: auto;
}

.accent { color: var(--sage); }

.text-muted-rijam { color: var(--muted); }

/* �� Buttons �� */
.btn-rijam {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition:
        background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-rijam .btn-arrow {
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-rijam-primary {
    background: var(--sage-btn);
    color: var(--white);
}

.btn-rijam-primary:hover {
    background: #4d6752;
    color: var(--white);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.btn-rijam-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-rijam-ghost {
    background: transparent;
    color: var(--white);
    padding-inline: 0;
}

.btn-rijam-ghost:hover {
    color: var(--sage);
    opacity: 1;
}

.btn-rijam-ghost:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-rijam-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.55);
    padding: 0.85rem 1.4rem;
}

.btn-rijam-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--white);
    color: var(--white);
    opacity: 1;
    transform: translateY(-2px);
}

.btn-rijam-outline:hover .btn-arrow {
    transform: translateX(5px);
}

/* �� Header �� */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled,
.site-header.is-solid {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}

.header-inner {
    height: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
}

.header-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.header-logo-img,
.header-logo img {
    height: 30px;
    width: auto;
    display: block;
}

.header-nav {
    display: none;
    justify-content: center;
    gap: 2.25rem;
}

.header-nav a {
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.88);
    padding-bottom: 0.35rem;
    border-bottom: 1px solid transparent;
}

.header-nav a:hover,
.header-nav a.is-active {
    color: var(--white);
    border-bottom-color: var(--white);
    opacity: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-btn,
.menu-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--white);
    cursor: pointer;
    padding: 0;
}

.header-tel-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7.5rem;
    height: 34px;
    padding: 0 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.header-tel-box:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    opacity: 1;
}

.header-box-btn {
    width: 52px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    display: inline-block;
    flex-shrink: 0;
    border-radius: 0;
    cursor: pointer;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    color: inherit;
}

.menu-toggle {
    border-radius: 50%;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 14px;
    height: 1.5px;
    background: currentColor;
    margin: 0;
    transition: transform var(--transition);
}

@media (min-width: 992px) {
    .header-nav { display: flex; }
}

@media (max-width: 991px) {
    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .header-actions {
        justify-self: end;
        margin-left: auto;
    }
}

/* �� Offcanvas �� */
.offcanvas-menu,
.rijam-menu {
    position: fixed;
    inset: 0;
    z-index: 1100;
    pointer-events: none;
    visibility: hidden;
}

.offcanvas-menu.is-open,
.rijam-menu.is-open {
    pointer-events: auto;
    visibility: visible;
}

.rijam-menu__backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    transition: opacity var(--transition);
    cursor: pointer;
}

.rijam-menu.is-open .rijam-menu__backdrop { opacity: 1; }

.rijam-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: min(400px, 92vw);
    height: 100%;
    background: #111;
    padding: 1.75rem 2rem 2.5rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.45);
    pointer-events: auto;
}

.rijam-menu.is-open .rijam-menu__panel { transform: translateX(0); }

.rijam-menu__close {
    align-self: flex-end;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    margin-bottom: 2rem;
    padding: 0.25rem;
    pointer-events: auto;
}

.rijam-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    pointer-events: auto;
}

.rijam-menu__nav a {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 300;
    font-stretch: 100%;
    font-synthesis: none;
    letter-spacing: 0.06em;
    line-height: 1.2;
    pointer-events: auto;
}

.rijam-menu__nav a:hover { color: var(--sage); opacity: 1; }

/* Editorial display — natural PP Editorial proportions (no horizontal scale) */
.type-editorial {
    display: inline-block;
    font-stretch: 100%;
    font-synthesis: none;
    font-kerning: normal;
    text-rendering: optimizeLegibility;
}

/* Legacy Bootstrap-conflicting names kept inert */
.offcanvas-backdrop,
.offcanvas-panel,
.offcanvas-close,
.offcanvas-nav { display: none !important; }

/* �� Hero �� */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-h) + 3rem) 0 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.12) 55%, rgba(0,0,0,0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
}

.section-label__num {
    flex-shrink: 0;
    letter-spacing: 0.12em;
}

.section-label__rule {
    display: inline-block;
    width: 2.75rem;
    height: 1px;
    background: var(--sage);
    flex-shrink: 0;
}

.section-label__text {
    letter-spacing: 0.18em;
}

.hero-title,
.display-title,
.featured-title,
.stats-number,
.expertise-expanded h3,
.expertise-num,
.featured-strip-num,
.featured-index__num {
    font-family: var(--font-display);
    font-weight: 200;
    font-stretch: 100%;
    font-synthesis: none;
    letter-spacing: 0;
    font-style: normal;
}

.hero-title {
    font-size: clamp(2.85rem, 5.4vw, 4.5rem);
    line-height: 1.16;
    margin: 0 0 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.page-rail {
    display: none;
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    flex-direction: column;
    gap: 0.95rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
}

.page-rail a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.68rem;
    line-height: 1;
    transition: color 0.3s ease;
}

.page-rail a span {
    display: inline-block;
    font-size: 0.68rem;
    transition: font-size 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.page-rail a.is-active {
    color: var(--white);
}

.page-rail a.is-active span {
    font-size: 1.15rem;
    font-weight: 500;
}

.page-rail a.is-active::after {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--white);
    flex-shrink: 0;
}

@media (min-width: 1200px) {
    .page-rail { display: flex; }
}

/* �� Sections �� */
.section {
    padding: 5.5rem 0;
    position: relative;
}

.section-dark { background: var(--black); }
.section-stone { background: var(--stone); }

.display-title {
    font-family: var(--font-display);
    font-weight: 200;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.18;
    margin: 0 0 1.5rem;
    font-stretch: 100%;
    font-synthesis: none;
    letter-spacing: 0;
}

.lead-text {
    font-size: 1rem;
    color: var(--muted);
    max-width: 36rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: none;
}

/* �� Intro meaning �� */
.intro-meaning {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background: var(--charcoal);
}

.intro-meaning-bg-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 200;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    letter-spacing: 0.04em;
}

.intro-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2.5rem;
}

.intro-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .intro-grid { grid-template-columns: 1fr 1fr; }
}

.intro-images {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 1rem;
    align-items: end;
}

.intro-images img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.intro-images img:last-child {
    height: 320px;
    margin-bottom: 2.5rem;
}

/* �� Featured project �� */
.featured-project {
    display: grid;
    min-height: 70vh;
}

@media (min-width: 992px) {
    .featured-project { grid-template-columns: 1.05fr 1fr; }
}

.featured-main {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

.featured-main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 55%);
}

.featured-main-content {
    position: relative;
    z-index: 1;
}

.featured-main-content h2 {
    font-family: var(--font-display);
    font-weight: 200;
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin: 0.5rem 0 1rem;
}

.featured-stack {
    display: flex;
    flex-direction: column;
}

.featured-card {
    position: relative;
    flex: 1;
    min-height: 140px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
}

.featured-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.featured-card:hover img { transform: scale(1.05); }

.featured-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7), rgba(0,0,0,0.25));
}

.featured-card-content {
    position: relative;
    z-index: 1;
}

.featured-card h3 {
    font-family: var(--font-display);
    font-weight: 200;
    font-size: 1.35rem;
    margin: 0 0 0.35rem;
}

.featured-card p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
    max-width: 28rem;
}

/* �� Stats �� */
.stats-bar {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.stats-bar-bg {
    position: absolute;
    inset: 0;
}

.stats-bar-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sage);
    z-index: 2;
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
}

@media (min-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }
    .stats-item {
        padding: 0 2rem;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }
    .stats-item:last-child { border-right: none; }
}

.stats-item {
    text-align: center;
}

.stats-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 200;
    color: var(--sage);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stats-label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

/* �� Expertise accordion �� */
.expertise {
    min-height: 85vh;
}

.expertise-panels {
    display: flex;
    flex-direction: column;
    min-height: 85vh;
}

@media (min-width: 992px) {
    .expertise-panels {
        flex-direction: row;
    }
}

.expertise-panel {
    position: relative;
    flex: 1;
    min-height: 220px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--border);
}

@media (min-width: 992px) {
    .expertise-panel {
        border-bottom: none;
        border-right: 1px solid var(--border);
        min-height: 85vh;
    }
    .expertise-panel.is-active { flex: 2.8; }
}

.expertise-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.expertise-panel:hover img { transform: scale(1.04); }

.expertise-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 55%);
}

.expertise-body {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.expertise-expanded {
    max-width: 380px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s ease 0.15s, transform 0.45s ease 0.15s;
    margin-bottom: 2rem;
    pointer-events: none;
}

.expertise-panel.is-active .expertise-expanded {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.expertise-expanded h3 {
    font-family: var(--font-display);
    font-weight: 200;
    font-size: 2.5rem;
    margin: 0 0 1rem;
}

.expertise-expanded p {
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.expertise-label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.expertise-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 200;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
}

.expertise-name {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* �� About �� */
.about-hero {
    padding: calc(var(--header-h) + 5rem) 0 5rem;
    background: var(--black);
}

.about-hero .display-title { max-width: 16ch; }

.about-hero .rule {
    width: 48px;
    height: 1px;
    background: var(--white);
    margin: 0 0 2rem;
}

.about-hero p {
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.15rem;
}

.mission-vision {
    display: grid;
}

@media (min-width: 768px) {
    .mission-vision { grid-template-columns: 1fr 1fr; }
}

.mv-card {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
}

.mv-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mv-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.75), rgba(0,0,0,0.2));
}

.mv-card-content { position: relative; z-index: 1; }

.mv-card h2 {
    font-family: var(--font-display);
    font-weight: 200;
    font-size: 2rem;
    margin: 0 0 1rem;
}

.core-values {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.core-values-bg {
    position: absolute;
    inset: 0;
}

.core-values-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.28);
}

.core-values .container-rijam { position: relative; z-index: 1; }

.values-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
    .values-grid { grid-template-columns: repeat(4, 1fr); }
}

.value-card {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
}

.value-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--sage);
    margin-bottom: 0.5rem;
}

.value-card h3 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 0.65rem;
    color: var(--sage);
}

.value-card p {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
}

.timeline {
    padding: 5.5rem 0;
    background: var(--charcoal);
}

.timeline-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .timeline-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
    .timeline-grid { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
}

.timeline-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 1.25rem;
}

.timeline-item h3 {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage);
    margin: 0 0 0.75rem;
}

.timeline-item p {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
}

.journey-cta {
    text-align: center;
    margin-top: 4rem;
}

.journey-cta h3 {
    font-family: var(--font-display);
    font-weight: 200;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* �� Projects listing �� */
.projects-hero {
    padding: calc(var(--header-h) + 5rem) 0 3rem;
    text-align: center;
}

.projects-hero .display-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
}

.projects-hero .rule {
    width: 40px;
    height: 2px;
    background: var(--sage);
    margin: 0.75rem auto 1.5rem;
}

.projects-hero p {
    color: var(--muted);
    margin: 0.25rem 0;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    margin: 2.5rem 0 3rem;
}

.project-filters button {
    background: none;
    border: none;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0.35rem 0;
    border-bottom: 1px solid transparent;
}

.project-filters button.is-active,
.project-filters button:hover {
    color: var(--sage);
    border-bottom-color: var(--sage);
}

.project-list { display: flex; flex-direction: column; }

.project-row {
    position: relative;
    min-height: 70vh;
    display: grid;
    align-items: end;
    padding: 3rem 0;
    overflow: hidden;
}

.project-row-bg {
    position: absolute;
    inset: 0;
}

.project-row-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-row::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 50%);
}

.project-row-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.project-row:nth-child(even) .project-row-content {
    margin-left: auto;
    text-align: right;
}

.project-row-num {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--sage);
    margin-bottom: 0.5rem;
}

.project-row h2 {
    font-family: var(--font-display);
    font-weight: 200;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 1rem;
}

.project-row p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1rem;
}

.project-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1.25rem;
}

/* �� Project detail �� */
.project-detail-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-h) + 2rem) 0 4rem;
}

.project-detail-hero .hero-bg::after {
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.25) 60%);
}

.project-specs {
    display: grid;
    gap: 1.5rem;
    padding: 2.5rem;
    background: var(--charcoal);
    border: 1px solid var(--border);
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .project-specs {
        grid-template-columns: 1.4fr repeat(4, 1fr);
        align-items: center;
    }
}

.spec-label {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.spec-value {
    font-size: 0.95rem;
    font-weight: 500;
}

.sales-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}

.icon-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .icon-stats { grid-template-columns: repeat(5, 1fr); }
}

.icon-stat {
    text-align: center;
    padding: 1rem;
    border: 1px solid var(--border);
}

.icon-stat strong {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .amenities-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) {
    .amenities-grid { grid-template-columns: repeat(7, 1fr); }
}

.amenity-item {
    text-align: center;
    padding: 1.25rem 0.75rem;
    border: 1px solid var(--border);
    font-size: 0.78rem;
}

.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    cursor: pointer;
}

.location-times {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

@media (min-width: 992px) {
    .location-times { grid-template-columns: repeat(4, 1fr); }
}

.location-time {
    padding: 1.25rem;
    border: 1px solid var(--border);
    text-align: center;
}

.location-time strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 200;
    color: var(--sage);
}

.map-embed {
    width: 100%;
    height: 360px;
    border: 0;
    filter: grayscale(0.3) contrast(1.05);
}

/* �� Forms �� */
.form-rijam .form-group {
    margin-bottom: 1.5rem;
}

.form-rijam label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.form-rijam input,
.form-rijam textarea,
.form-rijam select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.75rem 0;
    outline: none;
    transition: border-color var(--transition);
}

.form-rijam input:focus,
.form-rijam textarea:focus {
    border-bottom-color: var(--sage);
}

.form-rijam textarea {
    min-height: 120px;
    resize: vertical;
}

.form-panel {
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(8px);
    padding: 2.5rem;
    border: 1px solid var(--border);
}

.contact-details-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .contact-details-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

.contact-block h3 {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1rem;
}

.contact-block p,
.contact-block a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 0.35rem;
}

/* —— Footer — PDF page 6 —— */
.site-footer {
    position: relative;
    background-color: #0a0a0a;
    background-image: url('../images/home/end.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-top: none;
    padding: 5rem 0 0;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 8, 0.42);
    pointer-events: none;
}

.site-footer .footer-inner {
    position: relative;
    z-index: 1;
    width: min(1480px, 94vw);
}

.footer-grid {
    display: grid;
    gap: 2.75rem;
    margin-bottom: 0;
    padding-top: 1.75rem;
    padding-bottom: 3.5rem;
    border-top: none;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1.35fr 1.25fr 1.1fr 1.15fr;
        gap: 0;
    }

    .footer-brand,
    .footer-col {
        padding: 0 2rem;
        position: relative;
    }

    .footer-brand {
        padding-left: 0;
    }

    .footer-col:last-child {
        padding-right: 0;
    }

    /* Vertical column dividers */
    .footer-brand:not(:last-child)::after,
    .footer-col:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0.35rem;
        bottom: 0.35rem;
        width: 1px;
        background: #b9d98b;
    }
}

.footer-logo img {
    height: 36px;
    width: auto;
    display: block;
    margin-bottom: 0;
}

.footer-brand img {
    height: 36px;
    width: auto;
    margin-bottom: 0;
}

.footer-rule {
    display: block;
    width: 2.75rem;
    height: 1px;
    background: #b9d98b;
    margin: 1rem 0 1.25rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 18rem;
    margin: 0;
}

.footer-col h4 {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0;
    color: #b9d98b;
    font-weight: 500;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.75rem;
}

.footer-col li {
    margin-bottom: 0.65rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: #b9d98b;
    opacity: 1;
}

.footer-hours li {
    margin-bottom: 0;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(185, 217, 139, 0.45);
}

.footer-hours li:last-child {
    border-bottom: none;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 0 1.5rem;
    border-top: 1px solid #b9d98b;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

/* �� Utilities �� */
.split-section {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .split-section { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    background: var(--sage);
}

.page-banner {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-h) + 2rem) 0 4rem;
}

.careers-form-wrap {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

.careers-form-wrap .bg {
    position: absolute;
    inset: 0;
}

.careers-form-wrap .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

.careers-form-wrap .container-rijam { position: relative; z-index: 1; }

.brand-band {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

.brand-band .bg {
    position: absolute;
    inset: 0;
}

.brand-band .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.brand-band .container-rijam { position: relative; z-index: 1; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.is-open { display: flex; }

.lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}

.file-input-wrap {
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

.file-input-wrap input[type="file"] {
    color: var(--muted);
    font-size: 0.9rem;
}
