.lks-projects-teaser,
.lks-projects-page {
    --project-ink: #f5eee4;
    --project-muted: #c9bdb0;
    --project-rust: #ff895f;
    --project-line: #41332f;
    --project-dark: #151219;
    color: var(--project-ink);
}
.lks-projects-teaser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(86%, 1280px);
    margin: 0 auto clamp(28px, 5vw, 72px);
    overflow: hidden;
    border: 1px solid var(--project-line);
    border-radius: 22px;
    background: linear-gradient(125deg, #2d1c26, #141117 74%);
    scroll-margin-top: 110px;
}
.lks-projects-teaser-copy { align-self: center; padding: clamp(22px, 4.3vw, 58px); }
.lks-projects-teaser h2,
.lks-project-type {
    margin: 0 0 13px;
    color: var(--project-rust);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.lks-projects-teaser h3,
.lks-project-hero h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-weight: 400;
    letter-spacing: -.052em;
    line-height: .98;
    text-wrap: balance;
}
.lks-projects-teaser h3 { font-size: clamp(2.3rem, 5vw, 4.65rem); }
.lks-projects-teaser p { color: var(--project-muted); line-height: 1.55; }
.lks-projects-teaser > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lks-projects-action {
    display: inline-flex;
    align-items: center;
    gap: .65em;
    justify-content: center;
    min-height: 44px;
    padding: .68em 1.08em;
    border: 1px solid var(--project-rust);
    border-radius: 6px;
    color: #25120e;
    background: var(--project-rust);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}
.lks-projects-action:hover { background: #ffad90; border-color: #ffad90; }
.lks-projects-teaser a:focus-visible,
.lks-projects-page a:focus-visible { outline: 2px solid #ffd4a7; outline-offset: 5px; }

.lks-projects-page {
    background: radial-gradient(ellipse at 80% 0%, #311e28 0%, transparent 42rem), #0e0d12;
}
.lks-projects-header,
.lks-projects-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 24px;
    padding: 20px max(4vw, calc((100vw - 1320px) / 2));
    border-bottom: 1px solid var(--project-line);
}
.lks-projects-header .brand { min-height: 44px; }
.lks-projects-back,
.lks-projects-footer a { color: var(--project-ink); text-underline-offset: .3em; }
.lks-projects-back { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; }
.lks-projects-main { width: min(92%, 1280px); margin: 0 auto; padding: clamp(24px, 5vw, 65px) 0 64px; }
.lks-projects-main > h1 { margin: 0 0 24px; font-size: clamp(1.75rem, 4vw, 3rem); letter-spacing: -.035em; line-height: 1.12; }
.lks-project + .lks-project { margin-top: 4rem; }
.lks-project-hero {
    position: relative;
    display: grid;
    grid-template-areas: "hero";
    align-items: end;
    min-height: clamp(330px, 46vw, 600px);
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--project-line);
    border-radius: 20px;
    background: var(--project-dark);
}
.lks-project-hero > img,
.lks-project-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.lks-project-hero > img { object-fit: cover; object-position: 58% 44%; z-index: -2; }
.lks-project-hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #0b090fe8, #0b090f45 70%, transparent), linear-gradient(0deg, #0b090ff5, transparent 72%); }
.lks-project-hero-copy { grid-area: hero; max-width: 44rem; padding: clamp(23px, 5.6vw, 76px); }
.lks-project-hero h2 { font-size: clamp(3rem, 9vw, 8rem); }
.lks-project-hero-copy > p:last-child { margin: 1em 0 0; font-size: clamp(1rem, 2vw, 1.35rem); line-height: 1.5; }
.lks-project-details { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5.4vw, 72px); margin: clamp(30px, 6vw, 75px) 0; }
.lks-project-details h3,
.lks-project-gallery h3 { margin: 0 0 .55em; font-size: clamp(1.45rem, 3vw, 2.15rem); letter-spacing: -.035em; line-height: 1.15; }
.lks-project-details section p { color: var(--project-muted); line-height: 1.68; }
.lks-project-details section .lks-project-summary { color: var(--project-ink); font-size: clamp(1.06rem, 2vw, 1.38rem); margin-bottom: 1.45em; }
.lks-project-credits { padding: clamp(18px, 3vw, 32px); border: 1px solid var(--project-line); border-radius: 14px; background: var(--project-dark); }
.lks-project-credits dl { margin: 1rem 0 1.45rem; }
.lks-project-credits dl > div { display: grid; gap: .25em; padding: .62em 0; border-bottom: 1px solid var(--project-line); }
.lks-project-credits dt { color: var(--project-muted); font-size: .88rem; }
.lks-project-credits dd { margin: 0; line-height: 1.42; }
.lks-project-filetype { margin: .6rem 0 0; color: var(--project-muted); font-size: .86rem; }
.lks-project-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 17px); list-style: none; margin: 1.1rem 0 0; padding: 0; }
.lks-project-photos a { display: block; border-radius: 8px; }
.lks-project-photos img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; border: 1px solid var(--project-line); border-radius: inherit; background: var(--project-dark); }
.lks-project-photos a:hover img { border-color: var(--project-rust); }
.lks-projects-footer { border-top: 1px solid var(--project-line); border-bottom: 0; color: var(--project-muted); font-size: .88rem; }

@media (max-width: 900px) {
    .lks-project-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 690px) {
    .lks-projects-teaser { width: 92%; grid-template-columns: minmax(0, 1fr); }
    .lks-projects-teaser > img { grid-row: 1; height: auto; }
    .lks-project-hero { min-height: clamp(290px, 75vw, 420px); }
    .lks-project-hero > img { object-position: 65% 50%; }
    .lks-project-hero::after { background: linear-gradient(0deg, #0b090ff5 6%, #0b090f62 62%, transparent 90%); }
    .lks-project-details { grid-template-columns: minmax(0, 1fr); }
    .lks-project-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
