:root { color-scheme: dark; }
[hidden] { display: none !important; }
body { background: #07090c; color: #ece4e7; margin: 0; }
* { box-sizing: border-box; }
:focus-visible { outline: 2px solid #bfa3ad; outline-offset: 4px; }
a, button { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: wait; }
html:has(dialog[open]) { overflow: hidden; }
.language-toggle { display: inline-flex; align-items: center; gap: .3rem; border: 1px solid #ffffff1a; border-radius: .6rem; padding: .2rem; font: 500 .75rem 'Plus Jakarta Sans', sans-serif; color: #8a95a5; }
.language-toggle button { padding: .45rem .6rem; border-radius: .35rem; }
.language-toggle button[aria-pressed="true"] { color: #ece4e7; background: #bfa3ad26; }
.studio-drawer { position: fixed; inset: 0 0 0 auto; width: min(25rem, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: 2rem 1.5rem; border: 0; border-left: 1px solid #ffffff1a; background: #0d1117; color: #ece4e7; overflow-y: auto; overflow-wrap: anywhere; }
.studio-drawer::backdrop { background: #07090cbf; backdrop-filter: blur(4px); }
.admin-drawer { width: min(40rem, 100%); }
.drawer-close { position: absolute; top: .8rem; right: 1rem; padding: .4rem .7rem; color: #bfa3ad; font-size: 1.6rem; }
.editor-group { min-width: 0; margin: 1.5rem 0; padding: 1rem; border: 1px solid #ffffff1a; border-radius: .75rem; }
.editor-group legend { padding: 0 .5rem; color: #bfa3ad; font-family: Cinzel, serif; font-size: .85rem; }
.editor-field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; font-size: .75rem; color: #8a95a5; }
.editor-field input, .editor-field select, .editor-field textarea { width: 100%; min-width: 0; padding: .75rem; border: 1px solid #ffffff26; border-radius: .5rem; color: #ece4e7; background: #07090c; }
.editor-field textarea { min-height: 6rem; resize: vertical; }
.editor-checkbox { flex-direction: row; align-items: center; gap: .75rem; }
.editor-checkbox input { width: 1rem; height: 1rem; accent-color: #bfa3ad; }
.editor-toolbar, .editor-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.editor-toolbar .editor-field { flex: 1 1 100%; }
.studio-button { padding: .7rem .9rem; border: 1px solid #bfa3ad4d; border-radius: .5rem; color: #ece4e7; background: #bfa3ad0d; font-size: .75rem; }
.studio-button:hover { background: #bfa3ad26; }
.studio-button.primary { background: #bfa3ad; color: #07090c; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }
nav a { transition: color .2s; }
nav a:hover, nav a[aria-current="page"] { color: #bfa3ad; }
nav [data-contact-open] { color: inherit; transition: color .2s; }
nav [data-contact-open]:hover { color: #bfa3ad; }
.feature-page { width: min(72rem, 100%); margin: 0 auto; padding: 5rem 1.5rem; }
.page-intro { max-width: 46rem; margin: 0 auto 3.5rem; text-align: center; }
.eyebrow { color: #bfa3ad; text-transform: uppercase; letter-spacing: .2em; font-size: .7rem; }
.page-intro h1 { font: 400 clamp(2rem, 5vw, 3.5rem)/1.2 Cinzel, serif; margin: 1.5rem 0; color: #ece4e7; overflow-wrap: anywhere; }
.page-intro > p:last-child, .service-pillar p { color: #8a95a5; line-height: 1.9; font-size: .95rem; }
.service-pillars { max-width: 55rem; margin: auto; }
.service-pillar { display: grid; grid-template-columns: 3rem 1fr; gap: 1.5rem; padding: 2.5rem 0; border-top: 1px solid #ffffff1a; }
.pillar-number { font: 1.6rem Cinzel, serif; color: #bfa3ad; }
.service-pillar h2 { font: 1.5rem/1.5 Cinzel, serif; color: #ece4e7; margin: 0 0 1.2rem; }
.service-inquiry, .tag-list { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.service-inquiry { margin-top: 1.7rem; gap: 1.2rem; }
.tag-pill { display: inline-block; border: 1px solid #bfa3ad40; background: #bfa3ad0d; padding: .45rem .8rem; border-radius: 2rem; font-size: .7rem; color: #bfa3ad; overflow-wrap: anywhere; }
button.tag-pill:hover, .tag-pill[aria-pressed="true"] { background: #bfa3ad33; color: #ece4e7; }
.gallery-controls { max-width: 46rem; margin: 0 auto 2.5rem; }
#gallery-status { color: #8a95a5; margin: 1.5rem 0; font-size: .8rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.photo-card { text-align: left; min-width: 0; width: 100%; background: #0d1117; border: 1px solid #ffffff1a; border-radius: .75rem; overflow: hidden; }
.photo-card img { width: 100%; height: auto; display: block; transition: filter .4s, transform .6s; }
.photo-card:hover img { filter: contrast(1.06); transform: scale(1.02); }
.photo-card span { display: block; padding: 1rem; font: .9rem Cinzel, serif; color: #ece4e7; overflow-wrap: anywhere; }
.gallery-lightbox { position: fixed; inset: 0; width: min(80rem, 96vw); max-width: 96vw; max-height: 94dvh; margin: auto; padding: 3rem 1rem 1rem; border: 1px solid #ffffff26; border-radius: .75rem; background: #07090c; color: #ece4e7; overflow-y: auto; }
.gallery-lightbox::backdrop { background: #07090ced; backdrop-filter: blur(8px); }
.gallery-lightbox > img { display: block; width: 100%; height: auto; max-height: 65dvh; object-fit: contain; }
.lightbox-story { padding: 1.5rem .5rem; overflow-wrap: anywhere; }
.lightbox-story h2 { font: 1.4rem Cinzel, serif; }
.lightbox-story p { white-space: pre-wrap; color: #8a95a5; line-height: 1.8; margin: 1rem 0; }
.lightbox-story .tag-list { margin-bottom: 1.5rem; }
.gallery-upload { margin: 1.5rem 0; }
.upload-drop { padding: 1rem; border: 1px dashed #bfa3ad80; border-radius: .5rem; }
.upload-drop.drag-over { background: #bfa3ad26; }
.gallery-admin-photo { padding: 1.5rem 0; border-top: 1px solid #ffffff1a; }
.gallery-admin-photo img { width: 100%; max-height: 12rem; object-fit: contain; margin-bottom: 1rem; }
#gallery-admin-message { font-size: .8rem; margin: 1rem 0; color: #bfa3ad; }
.inbox-message { margin-top: 1.5rem; padding: 1rem; border: 1px solid #ffffff1a; border-radius: .5rem; overflow-wrap: anywhere; }
.inbox-message.is-unread { border-left: 3px solid #bfa3ad; }
.inbox-message h4 { color: #ece4e7; font-weight: 600; }
.inbox-message p, #messages-admin-status { margin: .75rem 0; font-size: .8rem; color: #8a95a5; }
.inbox-message .inbox-message-body { white-space: pre-wrap; color: #ece4e7; line-height: 1.7; }
@media (max-width: 767px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .service-pillar { grid-template-columns: 1fr; gap: .75rem; }
}
@media (max-width: 420px) { .gallery-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .photo-card img { transition: none; } }
.contact-dialog { position: fixed; inset: 0; width: min(58rem, calc(100vw - 2rem)); max-width: 100%; max-height: calc(100dvh - 2rem); margin: auto; padding: 3rem 2.5rem 2.5rem; border: 1px solid #bfa3ad40; border-radius: 1rem; background: #0d1117; color: #ece4e7; overflow-y: auto; box-shadow: 0 2rem 6rem #0008; }
.contact-dialog::backdrop { background: #07090cda; backdrop-filter: blur(8px); }
.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2.5rem; }
.contact-intro h2 { font: 400 clamp(1.5rem, 3vw, 2rem)/1.4 Cinzel, serif; margin: 1rem 0; }
.contact-intro > p:not(.eyebrow), .contact-note { color: #8a95a5; font-size: .85rem; line-height: 1.8; }
.contact-details { padding-top: 1.5rem; margin: 1.5rem 0; border-top: 1px solid #ffffff1a; font-size: .75rem; }
.contact-address { margin: .5rem 0 1rem; color: #bfa3ad; overflow-wrap: anywhere; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-consent { display: flex; align-items: flex-start; gap: .75rem; color: #8a95a5; font-size: .75rem; line-height: 1.7; }
.contact-consent input { flex: 0 0 auto; margin-top: .25rem; accent-color: #bfa3ad; }
.contact-privacy { display: inline-block; margin: .5rem 0 0 1.6rem; color: #bfa3ad; font-size: .75rem; text-decoration: underline; text-underline-offset: .2rem; }
.contact-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.contact-submit p { font-size: .7rem; color: #8a95a5; }
#contact-message { margin-top: 1rem; padding: .8rem 1rem; border-left: 2px solid #bfa3ad; background: #bfa3ad0d; color: #ece4e7; font-size: .8rem; line-height: 1.7; }
#contact-message.contact-error { border-color: #d7a09f; color: #f2c8c7; }
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 767px) {
  .contact-dialog { padding: 2.5rem 1.25rem 1.5rem; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .contact-details { margin: 1rem 0; padding-top: 1rem; }
  .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
