/* A distinct, warm reading palette for each appearance. */
:root {
    color-scheme: dark;
    --bg: #171411; --surface: #211c17; --raised: #2c241d;
    --heading: #f5eadc; --text: #d7cbbc; --muted: #b0a08e;
    --line: rgba(212,181,142,.19); --accent: #d4b58e; --accent-deep: #b8966e;
    --reader-card: #231d18; --reader-card-alt: #2c241d; --reader-shadow: 0 12px 38px #0003;
    --solution-surface: #211c17; --solution-heading: #f5eadc; --solution-text: #d7cbbc; --solution-accent: #d4b58e;
    --credentials-base: #211c17; --credentials-heading: #f5eadc; --credentials-text: #d7cbbc;
    --year-ink: #8b735b;
}
[data-theme="light"] {
    color-scheme: light;
    --bg: #f2e9df; --surface: #faf5ee; --raised: #e8dccf;
    --heading: #30251f; --text: #493e37; --muted: #786858;
    --line: rgba(126,98,66,.22); --accent: #8c633b; --accent-deep: #765332;
    --reader-card: #fcf8f2; --reader-card-alt: #e9ddce; --reader-shadow: 0 12px 38px #4d32150d;
    --solution-surface: #f2e9df; --solution-heading: #30251f; --solution-text: #493e37; --solution-accent: #8c633b;
    --credentials-base: #e8dccf; --credentials-heading: #30251f; --credentials-text: #493e37;
    --year-ink: #cdbbad;
}
body, #main-content { background-color: var(--bg); color: var(--text); }
.information-page { background: var(--bg); color: var(--text); }
.corporate-page { --corporate-cream: var(--bg); --corporate-ink: var(--heading); --corporate-body: var(--text); background: var(--bg); color: var(--text); }
.corporate-story-copy, .corporate-section-copy, .solutions, .selection-guide { background: var(--surface); color: var(--text); }
.solutions-copy h2, .solutions-copy p:not(.eyebrow), .selection-guide h2 { color: var(--heading); }
.solutions-copy .eyebrow, .information-eyebrow { color: var(--accent); }
.solutions-copy .line-after::after { background: var(--accent); }
.corporate-year { color: var(--year-ink); border-color: var(--line); }
.corporate-text-link { color: var(--heading); }
.corporate-text-link:hover { color: var(--accent); }
.history-milestone { border-color: var(--line); }
.history-milestone:nth-child(odd) { background: var(--surface); }
.history-marker { background: var(--bg); color: var(--accent); border-color: var(--accent); }
.history-marker::after, .history-timeline::before { border-color: var(--line); }
.history-date { color: var(--heading); }
.history-date > span { background: var(--accent); }
.history-milestone-copy h3 { color: var(--accent); }
.contact-quick-links { background: var(--raised); }
.contact-quick-links a + a { border-color: var(--line); }
.contact-quick-links small, .information-section-heading > p:last-child { color: var(--muted); }
.contact-location-card { background: var(--reader-card); border-color: var(--line); }
.contact-location-number { color: var(--year-ink); opacity: .38; }
.information-text-link { color: var(--heading); border-color: var(--accent); }
.contact-branch-hours, .contact-form-consent { color: var(--muted); }
.contact-social-company { background: var(--surface); border-color: var(--line); }
.contact-social-company > .frame > div + div { border-color: var(--line); }
.contact-social-company .contact-tax-number { color: var(--accent); }
.vanessa-contact-form input:not([type=checkbox]):not([type=hidden]), .vanessa-contact-form select, .vanessa-contact-form textarea { color: var(--heading); background: var(--reader-card); border-color: var(--line); }
.vanessa-contact-form .contact-form-consent { color: var(--muted); }
.contact-form-notice { background: var(--surface); color: var(--text); }

/* Comfortable article typography and a deliberate right-hand navigation. */
.single-content-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 52px; align-items: start; padding-block: 50px 70px; }
.reader-content { font-size: 17px; line-height: 1.9; letter-spacing: .005em; max-width: 78ch; color: var(--text); }
.reader-content p { margin: 0 0 1.35em; }
.reader-content h1, .reader-content h2, .reader-content h3, .reader-content h4 { color: var(--heading); text-wrap: balance; letter-spacing: -.015em; }
.reader-content h2 { font-size: clamp(29px,2.8vw,40px); font-weight: 500; line-height: 1.18; margin: 1.3em 0 .65em; }
.reader-content h3 { font-size: 29px; font-weight: 500; line-height: 1.25; margin: 1.3em 0 .65em; }
.reader-content h4 { font-family: var(--sans); font-size: 19px; font-weight: 600; line-height: 1.5; margin: 1.5em 0 .7em; }
.reader-content > :first-child { margin-top: 0; }
.reader-content strong { font-weight: 600; color: var(--heading); }
.reader-content ul, .reader-content ol { padding-left: 1.4em; margin-block: 0 1.5em; }
.reader-content li { margin-block: .45em; }
.reader-content li::marker { color: var(--accent); }
.reader-content figure { margin-block: 30px; }
.reader-content figcaption { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 10px; }
.reader-content blockquote { border-left: 3px solid var(--accent); background: var(--surface); padding: 24px 28px; margin: 30px 0; border-radius: 0 6px 6px 0; }
.reader-content blockquote > :last-child { margin-bottom: 0; }
.reader-content .wp-block-table { overflow-x: auto; }
.reader-content table { font-size: 14px; line-height: 1.7; }
.reader-content th { background: var(--raised); color: var(--heading); }
.reader-content a:not(.button) { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.entry-sidebar--premium { border: 0; padding: 0; min-width: 0; }
.premium-sidebar-card { padding: 27px 24px 18px; border: 1px solid var(--line); background: var(--reader-card); border-radius: 7px; box-shadow: var(--reader-shadow); }
.premium-sidebar-card > .eyebrow { font-size: 8px; letter-spacing: .2em; margin-bottom: 16px; }
.premium-sidebar-card > h2 { font-size: 34px; line-height: 1.08; margin-bottom: 16px; }
.premium-sidebar-intro { color: var(--muted); font-size: 11px; line-height: 1.8; margin-bottom: 22px; }
.entry-sidebar--premium .premium-sidebar-links { margin: 0; padding: 0; list-style: none; }
.entry-sidebar--premium .premium-sidebar-links li { padding: 0; font-size: 12px; border-bottom: 1px solid var(--line); }
.premium-sidebar-links li:last-child { border-bottom: 0; }
.premium-sidebar-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; color: var(--text); transition: color .2s ease, padding .2s ease; }
.premium-sidebar-links a > span { color: var(--accent); }
.premium-sidebar-links li.is-active > a, .premium-sidebar-links .current-menu-item > a, .premium-sidebar-links a:hover { color: var(--accent); padding-left: 6px; }
.premium-sidebar-links a[aria-current="page"] { font-weight: 600; }
.premium-sidebar-consultation { position: relative; isolation: isolate; overflow: hidden; margin-top: 22px; padding: 28px 24px 24px; border: 1px solid #aa8c6873; border-radius: 7px; background: linear-gradient(135deg,#3e3024,#241c16); color: #e9ddcf; }
.premium-sidebar-consultation .eyebrow { color: #d4b995; font-size: 8px; letter-spacing: .2em; }
.premium-sidebar-consultation h3 { color: #fff4e7; font-size: 32px; line-height: 1.12; margin-bottom: 16px; }
.premium-sidebar-consultation > p:not(.eyebrow) { color: #d5c4b1; font-size: 11px; line-height: 1.8; margin-bottom: 22px; }
.premium-sidebar-monogram { position: absolute; right: -8px; top: -23px; z-index: -1; font: 400 210px/1 var(--serif); color: #d4b9950f; }
.premium-sidebar-button { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 14px; border: 1px solid #d4b9959c; color: #f8eee1; font-size: 11px; }
.premium-sidebar-button:hover { background: #d4b99514; color: #fff; }
.premium-sidebar-button > span { font-size: 23px; line-height: 1; }
.premium-sidebar-phone { display: block; text-align: center; font-size: 11px; letter-spacing: .04em; margin-top: 18px; color: #d4b995; }
@media(min-width:1100px) and (min-height:850px) { .entry-sidebar--premium { position: sticky; top: 24px; } }

/* Rank Math text/schema remain intact; JavaScript adds native buttons only. */
.entry-content .rank-math-list { display: grid; gap: 12px; margin-block: 25px 30px; }
.entry-content .vanessa-faq-item { margin: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--reader-card); overflow: hidden; }
.entry-content .vanessa-faq-item.is-open { border-color: var(--accent); background: var(--surface); }
.entry-content .rank-math-question { margin: 0; font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.3; color: var(--heading); letter-spacing: -.01em; }
.vanessa-faq-toggle { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 21px 22px; font: inherit; line-height: inherit; text-align: left; border: 0; background: transparent; color: inherit; }
.vanessa-faq-toggle:hover { color: var(--accent); }
.vanessa-faq-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: -5px; }
.vanessa-faq-mark { position: relative; display: block; flex: 0 0 auto; width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 50%; }
.vanessa-faq-mark::before, .vanessa-faq-mark::after { content: ''; position: absolute; width: 11px; height: 1px; background: var(--accent); left: 8px; top: 13px; }
.vanessa-faq-mark::after { transform: rotate(90deg); transition: transform .2s ease; }
[aria-expanded="true"] .vanessa-faq-mark::after { transform: rotate(0); }
.entry-content .vanessa-faq-item .rank-math-answer { padding: 0 22px 22px; font-family: var(--sans); font-size: 15px; line-height: 1.85; color: var(--text); }
.rank-math-answer[hidden] { display: none !important; }
.entry-content .rank-math-answer > :last-child { margin-bottom: 0; }

/* Zoom controls are separate buttons, never interactive elements nested in links. */
.vanessa-photo-frame { position: relative; display: inline-block; vertical-align: middle; max-width: 100%; line-height: 0; }
.vanessa-photo-frame > img, .vanessa-photo-frame > picture { display: block; max-width: 100%; }
.vanessa-photo-frame > a { display: block; width: 100%; }
.project-grid > .vanessa-photo-frame, .solutions-grid > .vanessa-photo-frame, .gallery-grid > .vanessa-photo-frame { display: block; min-width: 0; width: 100%; }
.wp-block-gallery.has-nested-images figure.wp-block-image > .vanessa-photo-frame { width: 100%; height: 100%; flex: 1; }
.wp-block-gallery.has-nested-images .vanessa-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.entry-content .vanessa-photo-frame img { transform: none !important; }
.vanessa-zoom-button { position: absolute; top: 12px; right: 12px; z-index: 7; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #ffffffa6; border-radius: 50%; color: #fff; background: #1b1610b8; box-shadow: 0 2px 12px #0003; opacity: 0; transform: translateY(3px); transition: opacity .2s ease, transform .2s ease; cursor: zoom-in; }
.vanessa-zoom-button svg { stroke-width: 1.6; }
.vanessa-photo-frame:hover > .vanessa-zoom-button, .vanessa-photo-frame:focus-within > .vanessa-zoom-button, .vanessa-hero-zoom:hover > .vanessa-zoom-button, .vanessa-zoom-button:focus-visible { opacity: 1; transform: translateY(0); }
.vanessa-hero-zoom > .vanessa-zoom-button { top: auto; bottom: 20px; right: 24px; }
.vanessa-zoom-button:hover { background: #3e3024ed; }
.vanessa-lightbox-open { overflow: hidden; }
dialog.vanessa-lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0; color: #fff; overflow: hidden; }
.vanessa-lightbox::backdrop { background: #090807ed; }
.vanessa-lightbox-figure { position: absolute; inset: 62px 78px 54px; margin: 0; display: flex; align-items: center; justify-content: center; background: transparent; pointer-events: auto; }
.vanessa-lightbox-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none !important; touch-action: pan-y pinch-zoom; }
.vanessa-lightbox.is-loading .vanessa-lightbox-image { opacity: 0; }
.vanessa-lightbox-caption { position: fixed; left: 75px; right: 75px; bottom: 17px; text-align: center; color: #f2e6d9; font: 400 12px/1.6 var(--sans); pointer-events: none; }
.vanessa-lightbox-status { position: absolute; top: 50%; left: 20%; right: 20%; margin: 0; text-align: center; font-size: 13px; color: #eee1d1; pointer-events: none; }
.vanessa-lightbox > button { position: absolute; z-index: 10; width: 46px; height: 46px; display: grid; place-items: center; padding: 11px; border: 1px solid #ffffffb3; border-radius: 50%; background: #100d0bb3; color: #fff; box-shadow: 0 2px 14px #0003; }
.vanessa-lightbox > button:hover { background: #5d4632; }
.vanessa-lightbox > button:focus-visible { outline: 2px solid #e0c19b; outline-offset: 4px; }
.vanessa-lightbox > button svg { width: 24px; height: 24px; stroke-width: 1.8; }
.vanessa-lightbox-close { top: 16px; right: 20px; }
.vanessa-lightbox-prev { top: calc(50% - 23px); left: 18px; }
.vanessa-lightbox-next { top: calc(50% - 23px); right: 18px; }
@media(max-width:1100px) { .single-content-layout { grid-template-columns: minmax(0,1fr) 255px; gap: 30px; } .premium-sidebar-card, .premium-sidebar-consultation { padding-inline: 20px; } .premium-sidebar-card > h2 { font-size: 30px; } }
@media(max-width:820px) { .single-content-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 40px; } .entry-sidebar--premium { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; position: static; } .premium-sidebar-consultation { margin-top: 0; } }
@media(max-width:600px) {
    .single-content-layout { padding-block: 32px 42px; }
    .reader-content { font-size: 16px; line-height: 1.85; letter-spacing: 0; }
    .reader-content h2 { font-size: 31px; } .reader-content h3 { font-size: 26px; }
    .reader-content blockquote { padding: 20px; }
    .entry-sidebar--premium { grid-template-columns: minmax(0,1fr); }
    .entry-content .rank-math-question { font-size: 23px; }
    .vanessa-faq-toggle { padding: 18px 16px; gap: 14px; }
    .entry-content .vanessa-faq-item .rank-math-answer { padding: 0 16px 18px; font-size: 14px; }
    .vanessa-zoom-button { width: 36px; height: 36px; top: 9px; right: 9px; }
    .vanessa-hero-zoom > .vanessa-zoom-button { right: 12px; bottom: 12px; }
    .vanessa-lightbox-figure { inset: 65px 48px 65px; }
    .vanessa-lightbox > button { width: 38px; height: 38px; padding: 8px; }
    .vanessa-lightbox-prev { left: 5px; top: calc(50% - 19px); } .vanessa-lightbox-next { right: 5px; top: calc(50% - 19px); }
    .vanessa-lightbox-close { right: 12px; top: 12px; }
    .vanessa-lightbox-caption { left: 20px; right: 20px; bottom: 16px; font-size: 11px; }
}
@media(hover:none) { .vanessa-zoom-button { opacity: 1; transform: none; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } .vanessa-zoom-button, .vanessa-faq-mark::after { transition: none; } }
@media print { .entry-sidebar--premium, .vanessa-zoom-button, .vanessa-lightbox { display: none !important; } .single-content-layout { display: block; } .reader-content { max-width: none; } .rank-math-answer[hidden] { display: block !important; } }

/* Quiet motion in the collection navigation; preserve alignment of the card. */
.premium-sidebar-links a { transition: color .22s ease, transform .32s cubic-bezier(.22,.61,.36,1); }
.premium-sidebar-links a:hover, .premium-sidebar-links a:focus-visible { transform: translateX(9px); padding-left: 0; }
.premium-sidebar-links li.is-active > a, .premium-sidebar-links .current-menu-item > a { padding-left: 0; }
.premium-sidebar-links a:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.premium-sidebar-button { transition: transform .32s cubic-bezier(.22,.61,.36,1), background-color .22s ease; }
.premium-sidebar-button:hover, .premium-sidebar-button:focus-visible { transform: translateX(6px); }
.premium-sidebar-button > span { transition: transform .32s cubic-bezier(.22,.61,.36,1); }
.premium-sidebar-button:hover > span { transform: translateX(3px); }
.content-hero--panorama .page-hero-description { display: block; overflow: visible; -webkit-line-clamp: unset; max-width: 650px; }
/* Mobile and tablet photography fills the complete hero behind the copy. */
@media(max-width:1279px) {
    .content-hero--panorama { grid-template-rows: minmax(0,1fr); min-height: var(--vanessa-hero-height); height: auto; }
    .content-hero--panorama .page-hero-media { position: absolute; inset: 0; grid-area: 1 / 1; height: 100%; aspect-ratio: auto; }
    .content-hero--panorama .page-hero-media::before { content: none; }
    .content-hero--panorama .page-hero-media img { object-fit: cover; object-position: center; }
    .content-hero--panorama .page-hero-media::after { background: linear-gradient(180deg,#17100a70,transparent 25%,#241b1366 55%,#241b13f5 100%); }
    .content-hero--panorama .hero-inner { grid-area: 1 / 1; min-height: var(--vanessa-hero-height); height: auto; padding: 160px 24px 55px; align-items: flex-end; background: transparent; }
    .content-hero--panorama .page-hero-copy { max-width: 760px; }
}
@media(max-width:600px) {
    .content-hero--panorama .hero-inner { padding: 150px 20px 45px; }
    .content-hero--panorama .page-hero-copy h1 { font-size: 38px; line-height: 1.1; margin-bottom: 16px; }
    .content-hero--panorama .page-hero-description { font-size: 13px; line-height: 1.8; }
    .content-hero--panorama .page-hero-kicker { margin-bottom: 15px; }
    .content-hero--panorama .content-hero-breadcrumb { margin-top: 20px; }
}
@media(prefers-reduced-motion:reduce) {
    .premium-sidebar-links a, .premium-sidebar-button, .premium-sidebar-button > span { transition: transform .4s ease, color .22s ease, background-color .22s ease; }
    .premium-sidebar-links a:hover, .premium-sidebar-links a:focus-visible { transform: translateX(6px); }
    .premium-sidebar-button:hover, .premium-sidebar-button:focus-visible { transform: translateX(4px); }
    .premium-sidebar-button:hover > span { transform: translateX(2px); }
}
@media print { .content-hero--panorama .hero-inner { padding: 25px 0; min-height: 0; } }
