/* Dominion Enterprises — black & white, simple and elegant. */
:root {
  --black: #0b0b0b;
  --ink: #1c1c1c;
  --gray-700: #4a4a4a;
  --gray-500: #7a7a7a;
  --gray-300: #d6d6d6;
  --gray-100: #f4f4f2;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--black); }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--black); color: var(--white); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }

.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gray-500); margin-bottom: 1rem;
}
.lead { font-size: 1.1rem; color: var(--gray-700); max-width: 38em; }

/* Buttons & links */
.btn {
  display: inline-block; padding: 15px 30px; border: 1px solid var(--black);
  background: var(--black); color: var(--white); text-decoration: none; cursor: pointer;
  font: 600 .74rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  border-radius: var(--radius); transition: background .2s, color .2s;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn-outline { background: transparent; color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.text-link {
  font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; display: inline-block;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--gray-300); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 600; font-size: .95rem; letter-spacing: .3em; text-transform: uppercase; }
.brand-sub { font-size: .58rem; letter-spacing: .48em; text-transform: uppercase; color: var(--gray-700); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.site-nav a {
  text-decoration: none; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--black); }
.site-nav .nav-cta { border: 1px solid var(--black); padding: 11px 18px; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { background: var(--black); color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-bars, .menu-bars::before, .menu-bars::after {
  position: absolute; left: 10px; width: 24px; height: 1.5px; background: var(--black); content: ""; transition: transform .2s, top .2s, opacity .2s;
}
.menu-bars { top: 21px; }
.menu-bars::before { top: -7px; left: 0; }
.menu-bars::after { top: 7px; left: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--gray-300); display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; }
  .site-nav li a { display: block; padding: 15px 0; border-bottom: 1px solid var(--gray-100); font-size: .78rem; }
  .site-nav .nav-cta { margin-top: 16px; text-align: center; }
}

/* Home hero */
.hero { padding: clamp(48px, 8vw, 110px) 0; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-art img { width: 100%; }
.hero-art .hero-logo { max-width: 360px; margin: 0 auto; }
.hero-art img:not(.hero-logo) { aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art:has(.hero-logo) { order: -1; }
  .hero-art .hero-logo { max-width: 200px; }
  .hero-art img:not(.hero-logo) { aspect-ratio: 4 / 3; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-tight { padding-top: 0; }
.section-gray { background: var(--gray-100); }
.section-dark { background: var(--black); color: var(--gray-300); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--gray-500); }
.section-title { margin-bottom: 1.4em; }
.section-title.center { margin-bottom: 1.6em; }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.service-card { grid-column: span 2; text-decoration: none; display: flex; flex-direction: column; border: 1px solid var(--gray-300); transition: border-color .2s; background: var(--white); }
.service-card:nth-child(4) { grid-column: 2 / span 2; }
.service-card:hover { border-color: var(--black); }
.service-card-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-100); }
.service-card-image img, .service-card-image .placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card-image img { transform: scale(1.04); }
.service-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card-body p { color: var(--gray-700); font-size: .95rem; flex: 1; }
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card, .service-card:nth-child(4) { grid-column: auto; }
}
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

/* Placeholder shown until a real photo is added */
.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100); aspect-ratio: 4 / 3; width: 100%;
}
.placeholder img { width: 22% !important; max-width: 90px; height: auto !important; aspect-ratio: auto !important; opacity: .14; transform: none !important; }
.section-dark .placeholder { background: #1a1a1a; }
.section-dark .placeholder img { filter: invert(1); }

/* Page hero (inner pages) */
.page-hero { background: var(--black); color: var(--gray-300); padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: var(--gray-300); margin-bottom: 2rem; }
.page-hero .lead:last-child { margin-bottom: 0; }

/* Service page */
.service-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.service-cover img, .service-cover .placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.prose { font-size: 1.05rem; color: var(--gray-700); }
.prose p:first-child::first-letter { font-family: var(--serif); font-size: 3.4em; float: left; line-height: .8; padding: 6px 10px 0 0; color: var(--black); }
@media (max-width: 820px) { .service-intro { grid-template-columns: 1fr; } }

.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.detail-heading { font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 1.2rem; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--gray-300); position: relative; font-size: .95rem; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 1px; background: var(--black); }
.pricing-box { border: 1px solid var(--black); padding: 28px; background: var(--white); align-self: start; }
.pricing-box p { margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .details-grid { grid-template-columns: 1fr; } }

/* Galleries */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item { padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: 1; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery-item:hover img { transform: scale(1.04); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } }

.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 28px; }
.art-grid-3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 3rem; }
@media (max-width: 820px) { .art-grid-3 { grid-template-columns: 1fr; } }
.art-card { margin: 0; }
.art-image { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--gray-100); cursor: zoom-in; overflow: hidden; }
.art-image:disabled { cursor: default; }
.art-image img, .art-image .placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.status {
  position: absolute; top: 12px; left: 12px; padding: 6px 10px;
  font: 600 .62rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  background: var(--white); color: var(--black);
}
.status-sold { background: var(--black); color: var(--white); }
.art-card figcaption { padding-top: 16px; }
.art-title { font-size: 1.45rem; margin-bottom: .15em; }
.art-meta { color: var(--gray-500); font-size: .85rem; margin-bottom: .5em; }
.art-price { font-weight: 600; margin-bottom: .8em; }
.section-dark .art-meta { color: var(--gray-500); }
.section-dark .text-link { color: var(--white); }
.empty-note { color: var(--gray-700); }

/* About */
.about-teaser, .about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-teaser-image img, .about-teaser-image .placeholder,
.about-portrait img, .about-portrait .placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-grid { align-items: start; }
.pull-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; margin: 0 0 1.5em; color: var(--black); }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--black); }
@media (max-width: 820px) { .about-teaser, .about-grid { grid-template-columns: 1fr; } }

/* Call to action band */
.cta-band { background: var(--black); color: var(--gray-300); padding: clamp(56px, 8vw, 90px) 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-inner p { margin-bottom: 2rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(32px, 6vw, 80px); }
.contact-form label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 14px 14px; border: 1px solid var(--gray-300);
  border-radius: var(--radius); background: var(--white); color: var(--ink);
  font: 400 1rem/1.4 var(--sans); letter-spacing: 0; text-transform: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--black); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-status { margin-top: 1rem; font-weight: 500; }
.form-status.success { color: #1f6b35; }
.form-status.error { color: #a3261b; }
.contact-list { list-style: none; padding: 0; margin: 0 0 2.5rem; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--gray-300); display: flex; flex-direction: column; }
.contact-list span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-500); }
.contact-list a { text-decoration: none; font-size: 1.05rem; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } .contact-info { order: -1; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Social icons */
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
.social a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; transition: background .2s, color .2s; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.social a:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.site-footer .social a:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* Footer */
.site-footer { background: var(--black); color: var(--gray-300); padding: 72px 0 24px; border-top: 1px solid #222; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 120px; margin-bottom: 20px; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 1.15rem; max-width: 18em; }
.footer-heading { font-family: var(--sans); color: var(--white); font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; overflow-wrap: anywhere; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid #262626; margin-top: 56px; padding-top: 22px; font-size: .78rem; color: var(--gray-500); }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox img { max-width: 94vw; max-height: 84vh; width: auto; margin: 0 auto; }
.lightbox-caption { color: var(--white); text-align: center; margin: 12px 0 0; font-size: .9rem; }
.lightbox-close { position: fixed; top: 14px; right: 18px; background: none; border: 0; color: var(--white); font-size: 2.6rem; line-height: 1; cursor: pointer; width: 48px; height: 48px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
