:root {
    --p2-bg: #eee9df;
    --p2-bg-soft: #f7f3eb;
    --p2-ink: #15120f;
    --p2-muted: #6b6258;
    --p2-copper: #8d6846;
    --p2-copper-light: #c09a70;
    --p2-line: rgba(21, 18, 15, .2);
    --p2-inverse-line: rgba(255, 252, 244, .18);
    --p2-display: Georgia, 'Times New Roman', serif;
    --p2-heading: var(--heading);
    --p2-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color-scheme: light;
}

:root[data-theme='dark'] {
    --p2-bg: #191612;
    --p2-bg-soft: #211d18;
    --p2-ink: #f0e9dc;
    --p2-muted: #b5aa9b;
    --p2-copper: #c09266;
    --p2-copper-light: #d8b28b;
    --p2-line: rgba(240, 233, 220, .18);
    color-scheme: dark;
}

html { background: var(--p2-bg); }
body {
    color: var(--p2-ink);
    background: var(--p2-bg);
    font-family: var(--p2-body);
    transition: color .25s ease, background-color .25s ease;
}
body::before { opacity: .08; mix-blend-mode: multiply; }
:root[data-theme='dark'] body::before { opacity: .05; mix-blend-mode: screen; }

.p2-header {
    position: relative;
    min-height: 108px;
    max-width: none;
    padding-inline: clamp(1.25rem, 4.8vw, 5.2rem);
    color: var(--p2-ink);
    background: var(--p2-bg);
    border-color: var(--p2-line);
}
.p2-header .wordmark strong { font-size: 1rem; letter-spacing: .13em; }
.p2-header .wordmark small { color: var(--p2-copper); }
.p2-header nav { gap: clamp(1rem, 2.3vw, 2.4rem); }
.p2-header nav a { position: relative; }
.p2-header nav > a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -.35rem;
    left: 0;
    height: 1px;
    background: var(--p2-copper);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}
.p2-header nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.p2-header .nav-cta { border-color: var(--p2-ink); }
.theme-toggle {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 1px solid var(--p2-line);
    border-radius: 50%;
    cursor: pointer;
}
.theme-toggle:hover { border-color: var(--p2-copper); }
.menu-toggle { display: none; }

.p2-hero {
    min-height: calc(100vh - 108px);
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    align-items: stretch;
    max-width: 1600px;
    margin: 0 auto;
}
.p2-hero-copy {
    align-self: center;
    padding: clamp(4rem, 8vw, 9rem) clamp(1.25rem, 6vw, 6.5rem);
}
.p2-hero h1 {
    margin: 0;
    color: var(--p2-ink);
    font-family: var(--p2-heading);
    font-size: clamp(4.2rem, 7.3vw, 8.5rem);
    font-weight: 400;
    line-height: .9;
    letter-spacing: 0;
}
.p2-hero h1 em { color: var(--p2-copper); font-weight: 400; }
.p2-hero .lead { max-width: 580px; color: var(--p2-muted); }
.p2-hero .button-primary { color: var(--p2-bg-soft); background: var(--p2-ink); }
.p2-hero .text-link { border-color: var(--p2-line); }
.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: clamp(3rem, 6vw, 6rem) 0 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--p2-line);
}
.hero-facts div { display: grid; gap: .15rem; }
.hero-facts dt { color: var(--p2-copper); font-family: var(--p2-display); }
.hero-facts dd { margin: 0; color: var(--p2-muted); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; }
.p2-hero-visual { position: relative; min-height: 660px; margin: 0; overflow: hidden; background: #2a2118; }
.p2-hero-visual picture, .p2-hero-visual picture img { width: 100%; height: 100%; display: block; }
.p2-hero-visual picture img { object-fit: cover; object-position: 57% center; filter: saturate(.78) contrast(1.06); }
.p2-hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(11,8,5,.62)); pointer-events: none; }
.p2-hero-visual figcaption { position: absolute; z-index: 2; right: 2.5rem; bottom: 2.2rem; display: grid; color: #f8f0e4; text-align: right; text-transform: uppercase; }
.p2-hero-visual figcaption span { color: #d5b28e; font-size: .64rem; letter-spacing: .3em; }
.p2-hero-visual figcaption strong { font-family: var(--p2-display); font-size: 1.5rem; font-weight: 400; letter-spacing: .05em; }
.hero-seal { position: absolute; z-index: 3; top: 2.25rem; left: -4.5rem; width: 145px; filter: sepia(.12) drop-shadow(0 10px 20px rgba(0,0,0,.28)); }

.craft-line {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(.8rem, 2.5vw, 2.5rem);
    padding: 1rem;
    overflow: hidden;
    color: #f3eadf;
    background: #8a6442;
    font-family: var(--p2-display);
    font-size: clamp(.9rem, 1.5vw, 1.25rem);
    font-style: italic;
    white-space: nowrap;
}
.craft-line i { width: 4px; height: 4px; border-radius: 50%; background: #dfc3a4; }

.p2-section { max-width: 1600px; margin: 0 auto; padding: clamp(5.5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 7.5rem); }
.p2-section.inverse { max-width: none; color: #f5eee3; background: #16130f; }
.p2-section .section-number { color: var(--p2-copper); }
.inverse .section-number { color: #bf9670; }
.p2-section h2, .p2-contact h2 {
    margin: 0;
    font-family: var(--p2-heading);
    font-size: clamp(3rem, 6vw, 6.3rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
}

.p2-manifesto { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 2fr); gap: clamp(3rem, 8vw, 9rem); }
.section-intro { display: flex; flex-direction: column; justify-content: space-between; }
.side-note { max-width: 190px; color: var(--p2-muted); font-family: var(--p2-display); font-size: 1.05rem; font-style: italic; }
.manifesto-copy h2 { max-width: 950px; }
.manifesto-copy > p { max-width: 760px; color: var(--p2-muted); font-size: clamp(1rem, 1.4vw, 1.22rem); }
.manifesto-copy > p:first-of-type { margin-top: 2.5rem; color: var(--p2-ink); font-size: clamp(1.25rem, 2vw, 1.7rem); }

.p2-section-head, .gallery-head { display: grid; grid-template-columns: 1.45fr .55fr; align-items: end; gap: 3rem; margin: 0 auto clamp(4rem, 7vw, 7rem); max-width: 1360px; }
.p2-section-head > p, .gallery-head > p { max-width: 430px; margin: 0 0 .5rem; color: #bfb5a7; }
.style-grid { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--p2-inverse-line); border-left: 1px solid var(--p2-inverse-line); }
.style-card { position: relative; min-height: 430px; padding: 2rem; display: flex; flex-direction: column; border-right: 1px solid var(--p2-inverse-line); border-bottom: 1px solid var(--p2-inverse-line); overflow: hidden; }
.style-card > span { color: #a98a69; font-family: var(--p2-display); }
.style-card h3 { margin: auto 0 .5rem; font-family: var(--p2-heading); font-size: 2.5rem; font-weight: 400; }
.style-card p { max-width: 290px; margin: 0; color: #aaa094; }
.style-glyph { position: absolute; top: 2.2rem; right: 1rem; color: rgba(255,255,255,.035); font-family: var(--p2-display); font-size: 17rem; line-height: 1; transition: color .35s ease, transform .35s ease; }
.style-card:hover .style-glyph { color: rgba(192,154,112,.12); transform: rotate(-4deg) scale(1.03); }

.p2-team { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; }
.team-visual { position: relative; min-height: 620px; overflow: hidden; background: #2a2118; }
.team-visual > img { position: absolute; width: 150%; height: 100%; object-fit: cover; object-position: 83% center; filter: sepia(.12) saturate(.72); }
.vertical-label { position: absolute; top: 0; right: 0; padding: 1.2rem .9rem; color: white; background: rgba(21,18,15,.8); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; }
.team-copy h2 { max-width: 680px; }
.team-copy > p:not(.section-number) { max-width: 600px; margin: 2rem 0; color: var(--p2-muted); font-size: 1.1rem; }
.profile-preview { margin: 2.2rem 0; padding: 1.25rem 0; display: flex; align-items: center; gap: 1rem; border-block: 1px solid var(--p2-line); }
.profile-monogram { display: grid; width: 4.2rem; height: 4.2rem; flex: 0 0 auto; place-items: center; color: #f5eee3; background: var(--p2-copper); border-radius: 50%; font-family: var(--p2-display); }
.profile-preview div:last-child { display: grid; }
.profile-preview span { color: var(--p2-muted); font-size: .85rem; }

.gallery-head { max-width: 1360px; }
.gallery-grid { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr .7fr; grid-template-rows: 330px 330px; gap: 1.3rem; }
.gallery-tile { position: relative; margin: 0; overflow: hidden; background: #2a2118; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.tile-wide { grid-row: 1 / 3; }
.tile-wide img { object-position: 68% center; }
.tile-tall img { object-position: 12% 80%; transform: scale(1.55); }
.gallery-tile:hover img { transform: scale(1.035); filter: saturate(.95); }
.gallery-tile.tile-tall:hover img { transform: scale(1.6); }
.gallery-tile figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 1rem 1.2rem; display: flex; justify-content: space-between; color: white; background: linear-gradient(transparent, rgba(0,0,0,.75)); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.gallery-quote { padding: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; color: #241d16; background: #b99069; }
.gallery-quote > span { font-family: var(--p2-display); font-size: 5rem; line-height: .5; }
.gallery-quote blockquote { margin: 1rem 0 0; font-family: var(--p2-display); font-size: clamp(1.3rem, 2.3vw, 2.1rem); line-height: 1.2; }

.p2-process .p2-section-head > p { color: var(--p2-muted); }
.p2-process-list { max-width: 1360px; margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid var(--p2-line); }
.p2-process-list li { min-height: 145px; padding: 1.6rem 0; display: grid; grid-template-columns: 5rem 1fr 3rem; gap: 2rem; align-items: center; border-bottom: 1px solid var(--p2-line); }
.p2-process-list li > span { color: var(--p2-copper); font-family: var(--p2-display); font-size: 1.4rem; }
.p2-process-list h3 { margin: 0 0 .35rem; font-family: var(--p2-heading); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 400; }
.p2-process-list p { margin: 0; color: var(--p2-muted); }
.p2-process-list b { color: var(--p2-copper); font-size: 1.7rem; font-weight: 400; }

.p2-contact { max-width: 1600px; min-height: 590px; margin: 0 auto; display: grid; grid-template-columns: .72fr 1.28fr; color: #f7f0e6; background: #896340; overflow: hidden; }
.contact-mark { position: relative; display: grid; place-items: center; min-height: 420px; background: #17130f; }
.contact-mark::before, .contact-mark::after { content: ''; position: absolute; width: 64%; aspect-ratio: 1; border: 1px solid rgba(192,154,112,.24); border-radius: 50%; }
.contact-mark::after { width: 82%; }
.contact-mark img { position: relative; z-index: 1; width: min(70%, 360px); filter: sepia(.1) drop-shadow(0 15px 25px rgba(0,0,0,.35)); }
.contact-copy { padding: clamp(4rem, 8vw, 8rem); align-self: center; }
.contact-copy .eyebrow { color: #e8d1b8; }
.contact-copy p:not(.eyebrow) { margin: 1.4rem 0 2rem; color: #eadfd2; }
.contact-copy .button-light { color: #17130f; }

.p2-footer { max-width: none; padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 6vw, 6rem); display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; align-items: start; color: #b7ac9e; background: #15120f; border: 0; text-transform: none; letter-spacing: 0; }
.p2-footer a { color: inherit; text-decoration: none; }
.footer-brand { display: flex; align-items: center; gap: 1rem; color: #f4ede1 !important; font-family: var(--p2-display); font-size: 1.5rem; }
.footer-brand img { width: 70px; }
.footer-brand span { display: grid; }
.footer-brand small { color: #9e8064; font-family: var(--p2-body); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; }
.p2-footer > div { display: grid; gap: .45rem; }
.p2-footer strong { margin-bottom: .6rem; color: #f4ede1; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-meta span { color: #756d63; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

.inner-hero { min-height: calc(100vh - 108px); max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; }
.inner-hero-copy { align-self: center; padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 6vw, 6rem); }
.inner-hero-copy h1, .gallery-page-head h1 { margin: 0; font-family: var(--p2-heading); font-size: clamp(4rem, 7vw, 7.4rem); font-weight: 400; line-height: .95; letter-spacing: 0; }
.inner-hero-copy > p:last-child { max-width: 610px; margin-top: 2rem; color: var(--p2-muted); font-size: 1.08rem; }
.inner-hero-image { min-height: 650px; margin: 0; overflow: hidden; background: #241d17; }
.inner-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 66% center; filter: saturate(.72) contrast(1.08); }
.artist-principle { display: grid; grid-template-columns: .6fr 1.8fr; gap: 4rem; }
.artist-principle h2 { max-width: 960px; }
.artist-principle div > p { max-width: 720px; color: var(--p2-muted); font-size: 1.1rem; }
.artist-slot-grid { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.artist-slot { background: #201b16; border: 1px solid var(--p2-inverse-line); }
.artist-slot-art { position: relative; min-height: 370px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 55% 35%, #5b4431, #211a15 55%, #14110e); }
.artist-slot-art { background: radial-gradient(circle at 55% 35%, color-mix(in srgb, var(--artist-color, #8d6846) 48%, #211a15), #211a15 55%, #14110e); }
.artist-slot-art::before { content: ''; width: 60%; aspect-ratio: 1; border: 1px solid rgba(192,154,112,.4); border-radius: 50%; box-shadow: 0 0 0 2rem rgba(192,154,112,.035), 0 0 0 4rem rgba(192,154,112,.018); }
.artist-slot-art span { position: absolute; color: rgba(238,225,208,.7); font-family: var(--p2-display); font-size: 3rem; }
.artist-slot > div:last-child { padding: 1.5rem; }
.artist-slot p { margin: 0; color: #9f8165; font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; }
.artist-slot h3 { margin: .5rem 0; font-family: var(--p2-heading); font-size: 2rem; font-weight: 400; }
.artist-slot > div:last-child span { color: #968c80; font-size: .8rem; }
.artist-card-link { display: inline-block; margin-top: 1rem; color: #d2b08d; font-size: .75rem; font-weight: 750; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.artist-card-link:hover { text-decoration: underline; }
.artist-empty { grid-column: 1 / -1; padding: 3rem; color: #b8aa9b; border: 1px solid var(--p2-inverse-line); text-align: center; }
.artist-detail-hero { min-height: 66vh; padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 9vw, 9rem); display: flex; align-items: end; color: #f7efe4; background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--artist-color, #8d6846) 65%, #17130f), #17130f 62%); }
.artist-detail-hero > div { max-width: 1100px; }
.artist-detail-hero h1 { margin: 0; font-family: var(--p2-heading); font-size: clamp(4.5rem, 11vw, 10rem); font-weight: 400; line-height: .9; }
.artist-specializations { color: #d8c0a8; font-size: clamp(1rem, 2vw, 1.35rem); }
.artist-availability { display: inline-block; margin-top: 1rem; padding: .5rem .7rem; border: 1px solid rgba(255,255,255,.28); }
.artist-availability.is-open { color: #e7d0b4; border-color: color-mix(in srgb, var(--artist-color, #c09266) 70%, white); }
.artist-detail-content { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); }
.artist-detail-content h2 { font-size: clamp(2.8rem, 5vw, 5.6rem); }
.artist-detail-copy { color: var(--p2-muted); font-size: 1.08rem; }
.artist-detail-copy h3 { margin: 2rem 0 .5rem; color: var(--p2-ink); font-family: var(--p2-heading); font-size: 2rem; font-weight: 400; }
.artist-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.inner-cta { max-width: 1600px; min-height: 480px; margin: 0 auto; padding: clamp(4rem, 9vw, 9rem); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #f7efe4; background: #896340; text-align: center; }
.inner-cta .eyebrow { color: #ead4bd; }
.inner-cta h2 { max-width: 950px; margin: 0 0 2rem; font-family: var(--p2-heading); font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; line-height: 1; letter-spacing: 0; }
.gallery-page-head { display: grid; grid-template-columns: .45fr 1.55fr; gap: 4rem; }
.gallery-page-head div > p { max-width: 690px; color: var(--p2-muted); }
.gallery-page-grid { max-width: 1600px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 4rem) clamp(4rem, 8vw, 8rem); display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 430px 360px 430px; gap: 1.2rem; }
.gallery-page-grid figure { position: relative; margin: 0; overflow: hidden; background: #241d17; }
.gallery-page-grid figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.06); transition: transform .7s ease; }
.gallery-page-grid figure:hover img { transform: scale(1.035); }
.gallery-page-grid figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 1.2rem; color: white; background: linear-gradient(transparent, rgba(0,0,0,.7)); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.gallery-page-grid figcaption span { margin-right: 1rem; color: #d6ad84; }
.gp-one { grid-row: 1 / 3; }
.gp-one img { object-position: 68% center; }
.gp-two img { object-position: 12% bottom; transform: scale(1.45); }
.gallery-page-grid .gp-two:hover img { transform: scale(1.5); }
.gp-copy { padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; color: #f4ede2; background: #17130f; }
.gp-copy blockquote { margin: 0; font-family: var(--p2-display); font-size: clamp(1.7rem, 3vw, 3rem); line-height: 1.15; }
.gp-three { grid-column: 1 / -1; }
.gp-three img { object-position: center 76%; transform: scale(1.25); }
.gallery-page-grid .gp-three:hover img { transform: scale(1.29); }
.gallery-empty { max-width: 900px; text-align: center; }
.gallery-empty h2 { margin: 0; font-family: var(--p2-heading); font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; line-height: 1; }
.gallery-empty > p:last-child { max-width: 650px; margin: 1.5rem auto 0; color: var(--p2-muted); }
.public-gallery-grid { max-width: 1600px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 4rem) clamp(5rem, 9vw, 9rem); display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 1.2rem; }
.public-gallery-item { position: relative; min-height: 420px; margin: 0; overflow: hidden; background: #211a15; }
.public-gallery-item.is-wide { grid-column: span 2; }
.public-gallery-item img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .65s ease, filter .4s ease; }
.public-gallery-item:hover img { transform: scale(1.025); filter: saturate(1.04); }
.public-gallery-item figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 3.5rem 1.25rem 1.25rem; display: flex; align-items: end; justify-content: space-between; gap: 1rem; color: white; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.public-gallery-item figcaption div { display: grid; }
.public-gallery-item figcaption span { color: #d4b18c; font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; }
.public-gallery-item figcaption strong { font-family: var(--p2-display); font-size: 1.35rem; font-weight: 400; }
.public-gallery-item figcaption a { color: white; font-size: .72rem; font-weight: 750; text-decoration: none; }
.artist-gallery-section { padding-inline: clamp(1.25rem, 7vw, 7rem); }
.artist-public-gallery { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.artist-public-gallery figure { position: relative; min-height: 380px; margin: 0; overflow: hidden; background: #211a15; }
.artist-public-gallery img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.artist-public-gallery figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 3rem 1rem 1rem; color: white; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.project-customer-hero { min-height: 52vh; padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 9vw, 9rem); display: flex; flex-direction: column; justify-content: end; color: #f7efe4; background: radial-gradient(circle at 75% 20%, #745638, #17130f 62%); }
.project-customer-hero h1 { max-width: 1100px; margin: 0; font-family: var(--p2-heading); font-size: clamp(4rem, 9vw, 8rem); font-weight: 400; line-height: .92; }
.project-customer-hero > span { align-self: start; margin-top: 1.25rem; padding: .5rem .8rem; border: 1px solid rgba(255,255,255,.3); }
.project-customer-content { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(3rem, 8vw, 8rem); }
.project-customer-main > h2, .project-customer-content aside > h2, .project-customer-images h2 { font-family: var(--p2-heading); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 400; line-height: 1; }
.project-customer-main > p { color: var(--p2-muted); font-size: 1.08rem; }
.project-facts { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); }
.project-facts > div { padding: 1rem 0; border-top: 1px solid var(--p2-line); }
.project-facts span, .project-facts strong { display: block; }
.project-facts span { color: var(--p2-muted); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.project-participant { margin-bottom: .7rem; padding: 1rem; display: grid; border-left: 5px solid var(--artist-color, #8d6846); background: var(--p2-bg-soft); }
.project-participant span { color: var(--p2-muted); font-size: .78rem; }
.project-customer-images > header, .project-customer-images > div { max-width: 1360px; margin-inline: auto; }
.project-customer-images > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.project-customer-images figure { margin: 0; background: #211a15; }
.project-customer-images img { width: 100%; height: 380px; object-fit: cover; }
.project-customer-images figcaption { padding: .8rem; color: #eee2d3; }
.project-customer-history { max-width: 950px; }
.project-customer-history ol { padding: 0; list-style: none; }
.project-customer-history li { padding: 1rem 0; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--p2-line); }
.project-customer-history span { color: var(--p2-muted); }

:root[data-theme='dark'] .p2-header, :root[data-theme='dark'] .p2-hero { background: var(--p2-bg); }
:root[data-theme='dark'] .p2-manifesto, :root[data-theme='dark'] .p2-team, :root[data-theme='dark'] .p2-process { background: var(--p2-bg); }
:root[data-theme='dark'] .p2-hero .button-primary { color: #15120f; background: #efe7da; }
:root[data-theme='dark'] .profile-monogram { color: #17130f; }

/* Systemformulare behalten in jedem Farbschema einen eindeutigen Kontrast. */
.utility-card {
    color: var(--p2-ink);
    background: var(--p2-bg-soft);
    border-color: var(--p2-line);
}
.utility-form input {
    color: #17130f;
    caret-color: #8d6846;
    background: #fffdf8;
    border: 2px solid #74685b;
    -webkit-text-fill-color: #17130f;
}
.utility-form input::placeholder { color: #756b60; opacity: 1; }
.utility-form input:hover { border-color: #4d443b; }
.utility-form input:focus-visible {
    border-color: #8d6846;
    outline: 3px solid rgba(141, 104, 70, .35);
    outline-offset: 2px;
}
.utility-form label { color: var(--p2-ink); }
.integration-card { max-width: 920px; }
.integration-status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.integration-status-grid > div { padding: 1.15rem; display: grid; gap: .3rem; border: 1px solid var(--p2-line); }
.integration-status-grid span { color: var(--p2-muted); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.integration-status-grid strong { font-family: var(--p2-display); font-size: 1.25rem; font-weight: 400; }
.status-ok { color: #3f7352; }
.status-warn { color: #9f5c3a; }
:root[data-theme='dark'] .status-ok { color: #82bf91; }
:root[data-theme='dark'] .status-warn { color: #e0a27e; }
.integration-details { margin: 2rem 0; border-top: 1px solid var(--p2-line); }
.integration-details div { padding: .9rem 0; display: grid; grid-template-columns: minmax(170px, .6fr) 1.4fr; gap: 1rem; border-bottom: 1px solid var(--p2-line); }
.integration-details dt { font-weight: 700; }
.integration-details dd { margin: 0; color: var(--p2-muted); overflow-wrap: anywhere; }
.integration-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0; }
.integration-actions form { margin: 0; }
.button-secondary { color: var(--p2-ink); background: transparent; border-color: var(--p2-line); }
.phase-note { margin-top: 2rem; padding: 1.25rem; color: #efe7db; background: #17130f; }
.phase-note p { margin: .5rem 0 0; color: #bdb2a4; }

@media (max-width: 980px) {
    .p2-header { min-height: 84px; }
    .menu-toggle { position: relative; z-index: 12; width: 3.3rem; height: 3rem; padding: .55rem; display: grid; align-content: center; gap: 4px; color: var(--p2-ink); background: transparent; border: 0; cursor: pointer; }
    .menu-toggle span { display: block; height: 1px; background: currentColor; }
    .menu-toggle[aria-expanded='true'] { color: #f5eee3; }
    .menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .p2-header nav { position: fixed; z-index: 10; inset: 0; padding: 7rem 2rem 3rem; display: none; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem; color: #f5eee3; background: #15120f; }
    .p2-header nav.is-open { display: flex; }
    .p2-header nav a { display: block !important; font-family: var(--p2-display); font-size: clamp(2.4rem, 10vw, 4rem); text-transform: none; letter-spacing: -.03em; }
    .p2-header nav .nav-cta { margin-top: 1rem; padding: .8rem 1rem; color: #15120f; background: #f5eee3; font-family: var(--p2-body); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
    .p2-header nav .theme-toggle { color: #f5eee3; border-color: rgba(255,255,255,.3); }
    .menu-open { overflow: hidden; }
    .p2-hero { min-height: auto; grid-template-columns: 1fr; }
    .p2-hero-copy { padding-block: 5rem; }
    .p2-hero-visual { min-height: 65vw; }
    .hero-seal { left: auto; right: 1.5rem; top: -3rem; width: 120px; }
    .p2-section-head, .gallery-head, .p2-team { grid-template-columns: 1fr; }
    .p2-section-head > p, .gallery-head > p { max-width: 650px; }
    .team-visual { min-height: 65vw; order: 2; }
    .style-card { min-height: 360px; }
    .style-glyph { font-size: 12rem; }
    .p2-footer { grid-template-columns: 2fr 1fr 1fr; }
    .footer-meta { grid-column: 1 / -1; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); }
    .inner-hero { min-height: auto; grid-template-columns: 1fr; }
    .inner-hero-image { min-height: 62vw; }
    .artist-principle, .gallery-page-head { grid-template-columns: 1fr; }
    .artist-detail-content { grid-template-columns: 1fr; }
    .artist-slot-grid { grid-template-columns: 1fr 1fr; }
    .public-gallery-grid, .artist-public-gallery { grid-template-columns: 1fr 1fr; }
    .project-customer-content { grid-template-columns: 1fr; }
    .project-customer-images > div { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    .p2-header .wordmark strong { font-size: .88rem; }
    .p2-hero h1 { font-size: clamp(3.7rem, 18vw, 6rem); }
    .hero-facts { grid-template-columns: 1fr; }
    .hero-facts div { grid-template-columns: 2rem 1fr; }
    .p2-hero-visual { min-height: 78vw; }
    .p2-hero-visual figcaption { right: 1rem; bottom: 1rem; }
    .craft-line { justify-content: flex-start; }
    .p2-manifesto { grid-template-columns: 1fr; }
    .side-note { display: none; }
    .style-grid { grid-template-columns: 1fr; }
    .style-card { min-height: 310px; }
    .gallery-grid { grid-template-columns: 1fr; grid-template-rows: 420px 260px auto; }
    .tile-wide { grid-row: auto; }
    .gallery-quote { min-height: 260px; }
    .p2-process-list li { grid-template-columns: 2.5rem 1fr; gap: 1rem; }
    .p2-process-list li > b { display: none; }
    .p2-contact { grid-template-columns: 1fr; }
    .contact-mark { min-height: 360px; }
    .p2-footer { grid-template-columns: 1fr 1fr; }
    .footer-brand, .footer-meta { grid-column: 1 / -1; }
    .artist-slot-grid { grid-template-columns: 1fr; }
    .artist-slot-art { min-height: 280px; }
    .gallery-page-grid { grid-template-columns: 1fr; grid-template-rows: 420px 300px auto 340px; }
    .gp-one, .gp-three { grid-row: auto; grid-column: auto; }
    .integration-status-grid { grid-template-columns: 1fr; }
    .integration-details div { grid-template-columns: 1fr; gap: .2rem; }
    .public-gallery-grid, .artist-public-gallery { grid-template-columns: 1fr; }
    .public-gallery-item.is-wide { grid-column: auto; }
    .public-gallery-item, .artist-public-gallery figure { min-height: 380px; }
    .project-customer-images > div { grid-template-columns: 1fr; }
    .project-facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .gallery-tile img, .style-glyph { transition: none; }
}
