:root {
  color-scheme: only light;
  supported-color-schemes: light;
  --burgundy: #6f202b;
  --burgundy-dark: #48141c;
  --burgundy-bright: #8f2e39;
  --ink: #151713;
  --forest: #1f2a21;
  --cream: #f3efe5;
  --paper: #fbfaf6;
  --stone: #d8d0c3;
  --muted: #6d716b;
  --white: #ffffff;
  --shell: min(1180px, calc(100vw - 48px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 7.5rem 0; }

.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 1000; padding: .75rem 1rem; background: var(--white); color: var(--burgundy); font-weight: 800; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #d49a51; outline-offset: 4px; }

.utility-bar { background: var(--burgundy-dark); color: #f8eced; font-size: .79rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.utility-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.utility-inner p { margin: 0; }
.utility-actions { display: flex; align-items: center; gap: 1.75rem; }
.utility-actions span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .55rem; border-radius: 50%; background: #b9d37b; }
.utility-actions a { text-decoration: none; }
.utility-actions a:hover { text-decoration: underline; }

.site-header { position: absolute; z-index: 20; top: 36px; left: 0; right: 0; background-color: rgb(250, 248, 242); background-image: linear-gradient(rgb(250, 248, 242), rgb(250, 248, 242)); border-bottom: 1px solid rgba(48, 34, 27, .12); box-shadow: 0 5px 24px rgba(16, 19, 15, .08); }
.header-inner { height: 88px; display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 2rem; }
.brand { align-self: stretch; display: flex; align-items: center; width: 134px; overflow: hidden; isolation: isolate; background: rgb(250, 248, 242); color-scheme: light; forced-color-adjust: none; -webkit-print-color-adjust: exact; }
.brand img { width: 118px; height: auto; background: rgb(250, 248, 242); color-scheme: light; forced-color-adjust: none; -webkit-print-color-adjust: exact; }
.primary-nav { display: flex; justify-content: flex-end; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.2rem); }
.primary-nav a { position: relative; color: #2d302c; text-decoration: none; font-size: .94rem; font-weight: 750; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.55rem; height: 2px; background: var(--burgundy); transition: right .25s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; }
.menu-toggle { display: none; }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; border: 1px solid transparent; border-radius: 0; padding: .85rem 1.45rem; cursor: pointer; text-decoration: none; text-align: center; font-size: .88rem; font-weight: 800; letter-spacing: .025em; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 46px; padding: .72rem 1.15rem; font-size: .8rem; }
.button-large { min-height: 60px; padding-inline: 1.8rem; }
.button-solid { color: var(--white); background: var(--burgundy); border-color: var(--burgundy); box-shadow: 0 10px 30px rgba(67, 14, 25, .18); }
.button-solid:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.65); background: rgba(21,23,19,.18); backdrop-filter: blur(4px); }
.button-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.button-outline { color: var(--burgundy); border-color: var(--burgundy); background: transparent; }
.button-outline:hover { color: var(--white); background: var(--burgundy); }

.hero { position: relative; min-height: 840px; height: min(920px, 100vh); color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-image, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }
.hero-video { background: #151915; }
.hero-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(12,16,12,.88) 0%, rgba(13,17,13,.72) 31%, rgba(13,17,13,.2) 61%, rgba(13,17,13,.08) 100%), linear-gradient(0deg, rgba(9,10,8,.48), transparent 40%); }
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-top: 120px; }
.hero-copy { width: min(660px, 58vw); }
.eyebrow { margin: 0 0 1.15rem; color: var(--burgundy); font-size: .74rem; line-height: 1.3; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: #f1c6cb; }
.hero h1, .section h2, .service-area h2, .final-cta h2, .estimate-dialog h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .97; letter-spacing: -.048em; }
.hero h1 { max-width: 650px; font-size: clamp(4rem, 7.4vw, 7rem); text-shadow: 0 4px 30px rgba(0,0,0,.2); }
.hero h1 em { color: #f2c8cc; font-weight: 400; }
.hero-lede { max-width: 590px; margin: 1.65rem 0 0; color: #efeee9; font-size: clamp(1.05rem, 1.5vw, 1.23rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }
.hero-proof { display: flex; gap: 0; margin: 3rem 0 0; padding: 0; list-style: none; }
.hero-proof li { display: grid; gap: .1rem; min-width: 160px; padding: 0 1.3rem; border-left: 1px solid rgba(255,255,255,.3); }
.hero-proof li:first-child { padding-left: 0; border-left: 0; }
.hero-proof strong { font-family: var(--serif); font-size: 1.18rem; font-weight: 400; }
.hero-proof span { color: #d2d5cf; font-size: .72rem; font-weight: 650; }
.hero-scroll { position: absolute; z-index: 3; left: 50%; bottom: 1.8rem; display: flex; gap: 1rem; align-items: center; color: var(--white); text-decoration: none; font-size: .73rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; transform: translateX(-50%); }

.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.section h2 { max-width: 720px; font-size: clamp(2.75rem, 5vw, 4.65rem); color: var(--ink); }
.intro-copy { padding-top: 1.7rem; }
.lead { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.62rem); line-height: 1.48; color: #33372f; }
.intro-copy p { max-width: 660px; color: #535951; }
.text-link { display: inline-flex; gap: .65rem; align-items: center; margin-top: .8rem; color: var(--burgundy); font-weight: 850; text-decoration: none; border-bottom: 1px solid rgba(111,32,43,.35); }
.text-link:hover span { transform: translateX(4px); }
.text-link span { transition: transform .2s ease; }

.services { background: var(--cream); border-top: 1px solid #e4ddd2; }
.section-heading { display: grid; grid-template-columns: 1.5fr .7fr; gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading > p { margin: 0 0 .4rem; max-width: 390px; color: var(--muted); }
.section-heading.compact { grid-template-columns: 1fr; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #c8bfb0; border-left: 1px solid #c8bfb0; }
.service-card { position: relative; min-height: 365px; display: flex; flex-direction: column; padding: 2rem; scroll-margin-top: 120px; background: rgba(255,255,255,.32); border-right: 1px solid #c8bfb0; border-bottom: 1px solid #c8bfb0; transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.service-card:hover { z-index: 2; background: var(--paper); box-shadow: 0 24px 55px rgba(45,39,31,.1); transform: translateY(-4px); }
.service-card.featured-card { background: var(--burgundy); color: var(--white); }
.service-number { position: absolute; right: 1.7rem; top: 1.5rem; color: #9d978b; font-family: var(--serif); font-size: .9rem; }
.featured-card .service-number { color: #d89da5; }
.service-card svg { width: 48px; height: 48px; margin: .2rem 0 3.2rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--burgundy); }
.featured-card svg { color: #f4d7da; }
.service-card h3 { margin: 0 0 .75rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; line-height: 1.15; }
.service-card p { margin: 0 0 1.4rem; color: #65685f; }
.featured-card p { color: #f1e3e5; }
.card-link { margin-top: auto; padding: 0; border: 0; background: none; color: var(--burgundy); cursor: pointer; text-align: left; font-size: .82rem; font-weight: 850; }
.featured-card .card-link { color: var(--white); }
.card-link span { float: right; font-size: 1.1rem; }

.work { overflow: hidden; background: var(--forest); color: var(--white); }
.work-header { display: grid; grid-template-columns: 1.4fr .6fr; gap: 4rem; align-items: end; margin-bottom: 3rem; }
.work h2 { color: var(--white); }
.work-header > p { max-width: 390px; margin: 0 0 .4rem; color: #cbd1c8; }
.gallery-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(2, 260px); gap: 1rem; }
.gallery-item { position: relative; padding: 0; border: 0; overflow: hidden; background: #101510; color: var(--white); cursor: zoom-in; text-align: left; }
.gallery-large { grid-row: 1 / 3; }
.gallery-item::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(5,8,5,.86)); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.035); }
.gallery-item > span { position: absolute; z-index: 2; left: 1.4rem; right: 1.4rem; bottom: 1.25rem; font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; }
.gallery-item small { display: block; margin-bottom: .4rem; color: #e3b1b7; font-family: var(--sans); font-size: .66rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.gallery-note { margin: 1rem 0 0; color: #aeb7ad; font-size: .76rem; }
.featured-gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 1rem; }
.featured-gallery-footer .gallery-note { margin: 0; }
.featured-gallery-footer .button { flex: 0 0 auto; }

.review-hub { position: relative; overflow: hidden; background: #f7f3eb; border-bottom: 1px solid #ded7ca; scroll-margin-top: 100px; }
.review-botanical { position: absolute; inset: 0; pointer-events: none; opacity: .18; background: radial-gradient(circle at 12% 30%, transparent 0 110px, rgba(72,102,76,.22) 111px 112px, transparent 113px 165px), radial-gradient(circle at 92% 78%, transparent 0 150px, rgba(111,32,43,.16) 151px 152px, transparent 153px 220px); }
.review-hub > .shell { position: relative; }
.review-hub-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 4rem; align-items: end; margin-bottom: 3.2rem; }
.review-hub-heading > p { max-width: 420px; margin: 0 0 .45rem; color: var(--muted); }
.review-carousel-frame { --review-card-width: min(520px, calc(100vw - 72px)); overflow-x: auto; overflow-y: visible; padding: 18px 0 30px; margin: -18px 0 -30px; scrollbar-width: none; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; }
.review-carousel-frame::-webkit-scrollbar { display: none; }
.review-card-track { display: flex; gap: 1rem; width: max-content; padding-inline: max(0px, calc((100% - var(--review-card-width)) / 2)); }
.review-source-card { position: relative; flex: 0 0 var(--review-card-width); width: var(--review-card-width); min-height: 430px; display: flex; flex-direction: column; padding: 1.7rem; scroll-snap-align: center; border: 1px solid #d9d1c4; background: rgba(255,255,255,.84); box-shadow: 0 8px 24px rgba(40,34,27,.04); opacity: .72; transform: scale(.96); transition: transform .32s ease, opacity .32s ease, box-shadow .32s ease, border-color .32s ease; }
.review-source-card.is-active { z-index: 1; border-color: #bfaeb1; box-shadow: 0 22px 48px rgba(49,38,28,.12); opacity: 1; transform: translateY(-8px) scale(1); }
.review-source-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--burgundy); }
.review-source-card.accent-green::before { background: #3f7457; }
.review-source-card.accent-forest::before { background: var(--forest); }
.review-source-head { display: flex; align-items: center; gap: .9rem; padding-bottom: 1.2rem; border-bottom: 1px solid #e2dcd2; }
.review-source-mark { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #f2e5e7; color: var(--burgundy); font-family: var(--serif); font-size: 1.45rem; }
.accent-green .review-source-mark { background: #e5efe8; color: #33694e; }
.accent-forest .review-source-mark { background: #e2e9e3; color: var(--forest); }
.review-source-head p { margin: 0 0 .15rem; color: #747970; font-size: .64rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.review-source-head h3 { margin: 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; line-height: 1.1; }
.review-source-card h4 { margin: 1.6rem 0 .8rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; line-height: 1.2; }
.review-rating { display: grid; gap: .45rem; margin: 1.45rem 0 .7rem; }
.review-rating strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.review-stars { color: #b98229; letter-spacing: .08em; white-space: nowrap; }
.review-excerpt { margin: .7rem 0 1.6rem; color: #454a43; font-family: var(--serif); font-size: 1.08rem; line-height: 1.55; }
.review-meta { display: grid; gap: .1rem; margin-top: auto; color: #777c74; font-size: .7rem; }
.review-meta strong { color: #474c45; }
.review-card-actions { display: flex; justify-content: space-between; align-items: center; gap: .7rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid #e2dcd2; }
.review-card-actions button, .review-card-actions a { min-height: 44px; display: inline-flex; align-items: center; border: 0; background: transparent; color: var(--burgundy); cursor: pointer; font-size: .72rem; font-weight: 850; text-decoration: none; }
.review-card-actions a { color: #5f655d; text-align: right; }
.review-card-actions button:hover, .review-card-actions a:hover { text-decoration: underline; }
.review-carousel-footer { display: grid; justify-items: center; gap: 1rem; margin-top: 2.2rem; }
.review-carousel-footer > p { margin: 0; color: #777c74; font-size: .72rem; text-align: center; }
.review-carousel-controls { display: flex; align-items: center; gap: 1.25rem; }
.review-carousel-controls > button { width: 48px; height: 48px; border: 1px solid #a69f93; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; font-size: 1.1rem; }
.review-carousel-controls > .review-rotation-toggle { width: auto; min-width: 124px; padding: 0 .9rem; border-radius: 24px; font-size: .68rem; font-weight: 800; }
.review-dots { display: flex; align-items: center; gap: .65rem; }
.review-dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #cbc5ba; cursor: pointer; }
.review-dots button.is-active { background: var(--burgundy); box-shadow: 0 0 0 4px #efe1e3; }

.reputation { background: var(--paper); }
.reputation-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 7.5rem); align-items: center; }
.reputation-portrait { position: relative; min-height: 640px; overflow: visible; }
.reputation-portrait::before { content: ""; position: absolute; left: -10vw; top: 8%; width: 82%; height: 78%; background: var(--cream); border-radius: 50% 45% 48% 52%; transform: rotate(-8deg); }
.reputation-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% center; box-shadow: 0 30px 70px rgba(29,29,23,.14); }
.portrait-badge { position: absolute; right: -2.2rem; bottom: 2.3rem; width: 162px; height: 162px; display: grid; place-content: center; text-align: center; background: var(--burgundy); color: var(--white); border-radius: 50%; box-shadow: 0 18px 40px rgba(60,14,21,.25); }
.portrait-badge strong { font-family: var(--serif); font-size: 2.6rem; font-weight: 400; line-height: 1; }
.portrait-badge span { font-size: .7rem; font-weight: 750; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; }
.reputation-copy .lead { margin-top: 1.8rem; }
.standards { margin: 2rem 0 2.3rem; border-top: 1px solid #ddd7cc; }
.standards > div { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid #ddd7cc; }
.standards span { color: var(--burgundy); font-weight: 900; }
.standards p { margin: 0; color: var(--muted); }
.standards strong { display: block; color: var(--ink); }

.process { background: #ebe5da; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 4rem 0 0; padding: 0; list-style: none; border-top: 1px solid #bfb6a8; }
.process-grid li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; padding: 2rem 2.2rem 0 0; }
.process-grid li:not(:last-child)::after { content: ""; position: absolute; top: -5px; right: 2rem; width: 9px; height: 9px; border-radius: 50%; background: var(--burgundy); }
.process-grid span { color: var(--burgundy); font-family: var(--serif); font-size: 1.1rem; }
.process-grid h3 { margin: 0 0 .6rem; font-family: var(--serif); font-size: 1.42rem; font-weight: 400; }
.process-grid p { margin: 0; color: var(--muted); }

.service-area { position: relative; overflow: hidden; padding: 7rem 0; background: var(--burgundy-dark); color: var(--white); }
.service-contours { position: absolute; inset: -40% -10% -30%; opacity: .18; background: repeating-radial-gradient(ellipse at 15% 45%, transparent 0 38px, rgba(255,255,255,.45) 39px 40px, transparent 41px 70px); transform: rotate(-7deg); }
.area-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 7rem; align-items: end; }
.service-area h2 { color: var(--white); font-size: clamp(2.8rem, 5vw, 4.8rem); }
.area-inner > div:last-child > p { margin: 0 0 2rem; color: #e8d9db; }
.area-phone { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; color: var(--white); font-family: var(--serif); font-size: 2.05rem; text-decoration: none; }
.area-phone small { flex-basis: 100%; color: #d7aeb3; font-family: var(--sans); font-size: .69rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.area-phone span { font-family: var(--sans); font-size: 1.1rem; }

.final-cta { padding: 6rem 0; background: var(--paper); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 4rem; }
.final-cta h2 { font-size: clamp(2.8rem, 5vw, 4.6rem); }
.final-cta p:last-child { margin-bottom: 0; color: var(--muted); }

.site-footer { background: #121512; color: #e7e8e3; }
.footer-main { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 3.5rem; padding: 4.8rem 0; }
.footer-brand { align-self: start; width: 220px; height: 150px; display: flex; align-items: center; justify-content: center; isolation: isolate; background: rgb(250, 248, 242); color-scheme: light; forced-color-adjust: none; -webkit-print-color-adjust: exact; }
.footer-brand img { width: 190px; height: auto; background: rgb(250, 248, 242); color-scheme: light; forced-color-adjust: none; -webkit-print-color-adjust: exact; }
.footer-main h2 { margin: 0 0 1rem; color: #ba7e86; font-family: var(--sans); font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.footer-main > div, .footer-main address { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; font-style: normal; }
.footer-main a, .footer-main button, .footer-main p { margin: 0; color: #c8cbc5; font-size: .88rem; text-decoration: none; }
.footer-main button { padding: 0; border: 0; background: none; cursor: pointer; }
.footer-main a:hover, .footer-main button:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding: 1.2rem 0 1.5rem; border-top: 1px solid #323632; color: #838a82; font-size: .7rem; }
.footer-bottom p { margin: 0; }
.footer-bottom span { margin: 0 .45rem; }

dialog { padding: 0; border: 0; }
dialog::backdrop { background: rgba(10,12,10,.78); backdrop-filter: blur(7px); }
.estimate-dialog, .gallery-dialog, .reviews-dialog { position: fixed; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); }
.estimate-dialog { width: min(1050px, calc(100vw - 36px)); max-height: min(780px, calc(100vh - 36px)); overflow: auto; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.dialog-layout { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 690px; }
.dialog-intro { position: relative; padding: 4rem 3rem; overflow: hidden; background: var(--burgundy-dark); color: var(--white); }
.dialog-intro::after { content: ""; position: absolute; width: 380px; height: 380px; left: -180px; bottom: -190px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.035), 0 0 0 100px rgba(255,255,255,.03); }
.dialog-intro h2 { color: var(--white); font-size: 3.5rem; }
.dialog-intro > p:not(.eyebrow) { color: #eadcdf; }
.dialog-contact { position: absolute; z-index: 1; left: 3rem; bottom: 3rem; }
.dialog-contact small { display: block; color: #d6aeb3; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.dialog-contact a { color: var(--white); font-family: var(--serif); font-size: 1.7rem; text-decoration: none; }
.dialog-form-wrap { position: relative; overflow-y: auto; padding: 3.3rem; }
.dialog-close { position: absolute; z-index: 2; top: 1rem; right: 1.2rem; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; font-size: 1.8rem; line-height: 1; }
.light-close { display: none; color: var(--white); }
.dark-close { color: var(--ink); }
.estimate-dialog form { display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.estimate-dialog label { display: grid; gap: .35rem; color: #383c35; font-size: .77rem; font-weight: 800; }
.estimate-dialog input, .estimate-dialog select, .estimate-dialog textarea { width: 100%; padding: .8rem .85rem; border: 1px solid #c8c1b6; border-radius: 0; background: #fff; color: var(--ink); font-size: .95rem; }
.estimate-dialog input, .estimate-dialog select { min-height: 48px; }
.estimate-dialog textarea { resize: vertical; }
.consent { grid-template-columns: 20px 1fr !important; align-items: start; font-weight: 600 !important; }
.consent input { min-height: auto; margin-top: .25rem; }
.form-submit { justify-self: start; margin-top: .25rem; }
.form-note { margin: 0; color: #777c75; font-size: .7rem; }
.form-error { margin: 0; padding: .75rem .85rem; border-left: 3px solid #a92536; background: #faecee; color: #791a27; font-size: .78rem; font-weight: 700; }
.website-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-submit:disabled { opacity: .68; cursor: wait; transform: none; }
.form-success { text-align: center; padding: 7rem 2rem; }
.form-success > span { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 1.5rem; border-radius: 50%; background: var(--burgundy); color: var(--white); font-size: 2rem; }
.form-success h3 { margin: 0; font-family: var(--serif); font-size: 3rem; font-weight: 400; }
.form-success p { max-width: 460px; margin: 1rem auto 2rem; color: var(--muted); }

.gallery-dialog { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: hidden; background: #0e110e; color: var(--white); }
.gallery-close {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  inline-size: 48px;
  block-size: 48px;
  min-inline-size: 48px;
  min-block-size: 48px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: var(--burgundy);
  color: transparent;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  box-shadow: 0 5px 18px rgba(0,0,0,.32);
}
.gallery-close::before,
.gallery-close::after { content: ""; position: absolute; width: 22px; height: 2px; border-radius: 2px; background: var(--white); }
.gallery-close::before { transform: rotate(45deg); }
.gallery-close::after { transform: rotate(-45deg); }
.gallery-close:hover { background: var(--burgundy-dark); }
.gallery-close:focus-visible { outline: 3px solid #d49a51; outline-offset: 3px; }
.gallery-viewer > img { width: 100%; max-height: calc(100vh - 170px); object-fit: contain; background: #090b09; }
.gallery-controls { min-height: 110px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.2rem 1.5rem; }
.gallery-controls p { margin: 0 0 .2rem; color: #b1b6b0; font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.gallery-controls h2 { margin: 0; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.gallery-controls > div:last-child { display: flex; gap: .55rem; }
.gallery-controls button { width: 48px; height: 48px; border: 1px solid #646963; background: transparent; color: var(--white); cursor: pointer; font-size: 1.1rem; }

.reviews-dialog { width: min(820px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: clamp(1.5rem, 4vw, 3rem); background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.reviews-close { position: absolute; z-index: 2; top: 16px; right: 16px; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid #c8c1b6; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; font-size: 1.7rem; line-height: 1; }
.reviews-dialog-head { padding-right: 62px; }
.reviews-dialog-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.reviews-dialog-head > p:last-child { color: var(--muted); }
.reviews-filter { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.8rem 0; padding-bottom: 1.4rem; border-bottom: 1px solid #ddd6ca; }
.reviews-filter button { min-height: 44px; padding: .55rem .9rem; border: 1px solid #c7c0b5; border-radius: 24px; background: #fff; color: #424740; cursor: pointer; font-size: .72rem; font-weight: 800; }
.reviews-filter button.is-active { border-color: var(--burgundy); background: var(--burgundy); color: #fff; }
.reviews-dialog-list { display: grid; }
.reviews-dialog-list article { padding: 1.5rem 0; border-bottom: 1px solid #ddd6ca; }
.reviews-dialog-list article[hidden] { display: none; }
.review-entry-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.review-entry-head small { color: var(--burgundy); font-size: .62rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.review-entry-head h3 { margin: .15rem 0 0; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.reviews-dialog-list h4 { margin: 1rem 0 .4rem; font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.reviews-dialog-list p { margin: 0; color: #51564f; }
.reviews-dialog-list footer { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; color: #7a7f77; font-size: .68rem; }
.reviews-dialog-list footer a { color: var(--burgundy); font-weight: 800; }
.reviews-updated { margin: 1.25rem 0 0; color: #777c74; font-size: .68rem; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .section { padding: 5.5rem 0; }
  .header-inner { grid-template-columns: 1fr auto; height: 78px; }
  .brand { width: 118px; }
  .brand img { width: 104px; }
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .7rem; justify-self: end; padding: .55rem; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
  .menu-lines { display: grid; gap: 4px; }
  .menu-lines i { width: 22px; height: 2px; display: block; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines i:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-lines i:last-child { transform: translateY(-6px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 78px; left: 0; right: 0; width: 100%; display: none; grid-template-columns: minmax(0, 1fr); justify-content: stretch; justify-items: stretch; align-items: stretch; gap: 0; padding: 1rem 18px 1.4rem; background-color: rgb(251, 250, 246); background-image: linear-gradient(rgb(251, 250, 246), rgb(251, 250, 246)); box-shadow: 0 18px 28px rgba(20,22,19,.12); }
  .primary-nav.open { display: grid; }
  .primary-nav a { width: 100%; min-height: 48px; display: flex; align-items: center; padding: .8rem 0; border-bottom: 1px solid #ded8cc; text-align: left; }
  .primary-nav a::after { display: none; }
  .hero { min-height: 820px; height: 92vh; }
  .hero-image { object-position: 59% center; }
  .hero-copy { width: min(650px, 82vw); }
  .hero h1 { font-size: clamp(3.7rem, 10vw, 5.6rem); }
  .hero-proof li { min-width: 0; }
  .intro-grid, .section-heading, .work-header, .reputation-grid, .area-inner { grid-template-columns: 1fr; gap: 2rem; }
  .review-hub-heading { grid-template-columns: 1fr; gap: 1rem; }
  .review-carousel-frame { --review-card-width: min(500px, calc(100vw - 72px)); }
  .intro-copy { padding-top: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 390px 230px; }
  .gallery-large { grid-column: 1 / 3; grid-row: auto; }
  .reputation-grid { gap: 4rem; }
  .reputation-portrait { width: min(570px, 90%); min-height: 650px; }
  .process-grid { grid-template-columns: 1fr; gap: 0; }
  .process-grid li { padding: 1.5rem 0; border-bottom: 1px solid #bfb6a8; }
  .process-grid li:not(:last-child)::after { display: none; }
  .area-inner { gap: 3rem; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-main address { grid-column: 2 / 4; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-intro { min-height: 280px; padding: 3rem 2.2rem; }
  .dialog-intro h2 { font-size: 3rem; max-width: 560px; }
  .dialog-intro > p:not(.eyebrow) { max-width: 560px; }
  .dialog-contact { display: none; }
  .light-close { display: block; }
  .dark-close { display: none; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 30px); }
  .utility-inner { justify-content: center; min-height: 34px; }
  .utility-inner > p, .utility-actions span { display: none; }
  .site-header { top: 34px; }
  .header-inner { height: 70px; }
  .brand { width: 110px; }
  .brand img { width: 92px; }
  .primary-nav { top: 70px; }
  .hero { min-height: 790px; height: auto; }
  .hero-inner { min-height: 790px; padding: 148px 0 70px; align-items: flex-end; }
  .hero-image { object-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(10,13,10,.93) 0%, rgba(10,13,10,.75) 48%, rgba(10,13,10,.14) 79%), linear-gradient(90deg, rgba(10,13,10,.48), transparent); }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(3.55rem, 18vw, 5.25rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; row-gap: 1.1rem; margin-top: 2rem; }
  .hero-proof li { padding-left: 1rem; }
  .hero-proof li:nth-child(3) { display: none; }
  .hero-scroll { display: none; }
  .section h2, .service-area h2 { font-size: clamp(2.55rem, 13vw, 3.7rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 320px; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3, 250px); }
  .gallery-large { grid-column: auto; }
  .review-carousel-frame { --review-card-width: min(86vw, 350px); }
  .review-card-track { gap: .8rem; }
  .review-source-card { min-height: 420px; }
  .review-source-card.is-active { transform: scale(1); }
  .review-card-actions { align-items: flex-start; flex-direction: column; }
  .review-card-actions a { text-align: left; }
  .reviews-dialog { width: 100vw; height: 100dvh; max-height: none; padding: 4.6rem 1.25rem 2rem; }
  .reviews-close { top: 12px; right: 12px; }
  .reviews-dialog-head { padding-right: 0; }
  .review-entry-head, .reviews-dialog-list footer { flex-direction: column; }
  .reputation-portrait { width: calc(100% - 18px); min-height: 500px; }
  .portrait-badge { right: -1.1rem; bottom: -2rem; width: 130px; height: 130px; }
  .portrait-badge strong { font-size: 2.1rem; }
  .area-phone { font-size: 1.65rem; }
  .final-cta { padding: 5rem 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .footer-brand { grid-column: 1 / 3; }
  .footer-main address { grid-column: 1 / 3; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
  .footer-bottom p:last-child { display: none; }
  .estimate-dialog { width: 100vw; height: 100vh; max-height: none; }
  .dialog-intro { min-height: 230px; padding: 2.8rem 1.4rem 2rem; }
  .dialog-intro h2 { font-size: 2.55rem; }
  .dialog-form-wrap { padding: 2rem 1.4rem; }
  .field-row { grid-template-columns: 1fr; }
  .gallery-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .gallery-close { top: 10px; right: 10px; }
  .gallery-controls { align-items: flex-start; }
  .gallery-controls h2 { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Portable cPanel edition additions */
.service-icon-text { display: block; margin-bottom: 1.2rem; color: var(--burgundy); font-size: 1.7rem; line-height: 1; }
.featured-card .service-icon-text { color: #f4d7da; }
.admin-user form { margin: 0; }
.admin-user form button { display: inline-flex; align-items: center; padding: .4rem .55rem; border: 0; background: transparent; color: var(--burgundy); cursor: pointer; font-size: .78rem; font-weight: 800; }
.admin-flash { margin: 1.5rem 0 0; padding: .85rem 1rem; border-left: 4px solid var(--burgundy); background: #fff; color: #444941; font-size: .82rem; }
.admin-submit { min-height: 50px; border: 0; background: var(--burgundy); color: #fff; cursor: pointer; font-weight: 850; }
.media-list { display: grid; }
.media-admin-card { display: grid; grid-template-columns: minmax(220px,1fr) minmax(260px,1fr) auto; gap: .8rem; align-items: center; padding: 1rem; border-bottom: 1px solid #ded8cd; }
.media-admin-card:last-child { border-bottom: 0; }
.media-admin-card .placement-editor { min-width: 0; }
.delete-media { min-height: 38px; padding: .4rem .6rem; border: 1px solid #b98f95; background: transparent; color: var(--burgundy); cursor: pointer; font-size: .68rem; font-weight: 800; }
.request-tools { grid-template-columns: 1fr auto auto; }
.request-tools button { min-height: 43px; padding: .55rem .9rem; border: 0; background: var(--burgundy); color: #fff; cursor: pointer; font-weight: 800; }
.admin-export { text-decoration: none; }

@media (max-width: 900px) {
  .media-admin-card { grid-template-columns: 1fr; }
  .media-admin-card .placement-editor { width: 100%; }
}

@media (max-width: 640px) {
  .request-tools { grid-template-columns: 1fr; }
}

/* Service media extension */
.service-card.media-card {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.service-card.media-card:hover { transform: translateY(-4px); }
.service-media {
  position: relative;
  height: 205px;
  overflow: hidden;
  background: #151915;
}
.service-media img,
.service-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.video-media video { background: #0d100d; }
.service-video-load {
  position: absolute;
  z-index: 2;
  right: .75rem;
  bottom: .75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 999px;
  background: rgba(16,20,16,.76);
  color: #fff;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .05em;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  transition: width .2s ease, padding .2s ease, gap .2s ease, background-color .2s ease;
}
.service-video-load:hover,
.service-video-load:focus-visible {
  width: min(220px, calc(100% - 1.5rem));
  gap: .5rem;
  padding: 0 .85rem;
  background: rgba(72,20,28,.96);
}
.service-video-load:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 5px var(--burgundy), 0 4px 14px rgba(0,0,0,.25); }
.service-video-load:disabled { cursor: wait; opacity: .86; }
.service-video-icon { width: 1rem; flex: 0 0 1rem; text-align: center; }
.service-video-label { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width .2s ease, opacity .15s ease; }
.service-video-load:hover .service-video-label,
.service-video-load:focus-visible .service-video-label { max-width: 170px; opacity: 1; }
.service-video-load svg { width: 15px; height: 15px; margin: 0; color: currentColor; fill: currentColor; }
.service-video-error { position: absolute; z-index: 3; right: .75rem; bottom: .75rem; left: .75rem; margin: 0; padding: .65rem .75rem; background: rgba(72,20,28,.94); color: #fff; font-size: .72rem; font-weight: 750; text-align: center; }
@media (hover: none), (pointer: coarse) {
  .service-video-load,
  .service-video-load:hover,
  .service-video-load:focus-visible { width: 48px; min-width: 48px; height: 48px; gap: 0; padding: 0; }
  .service-video-load .service-video-label { position: absolute; width: 1px; height: 1px; max-width: 1px; overflow: hidden; opacity: 0; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .service-video-load,
  .service-video-label { transition: none; }
}
.media-type-label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .38rem .6rem;
  background: rgba(16, 20, 16, .78);
  color: #fff;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(5px);
}
.media-type-label svg { width: 13px; height: 13px; margin: 0; color: #fff; fill: currentColor; stroke-width: 2; }
.media-card .service-number {
  z-index: 3;
  top: 1rem;
  right: 1rem;
  min-width: 34px;
  padding: .32rem .45rem;
  background: rgba(255, 255, 255, .9);
  color: var(--burgundy);
  text-align: center;
  font-family: var(--sans);
  font-weight: 900;
  line-height: 1;
}
.service-card-body {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 1.65rem 1.8rem 1.8rem;
}
.service-card-body .service-icon {
  width: 34px;
  height: 34px;
  margin: 0 0 1.55rem;
  color: var(--burgundy);
  stroke-width: 1.45;
}
.featured-card .service-card-body .service-icon { color: #f4d7da; }
.service-card-body .card-link { width: 100%; }

/* Media Manager */
.admin-shell {
  min-height: 100vh;
  background: #f2eee6;
  color: #171914;
}
.admin-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  background: #fff;
  border-bottom: 1px solid #d9d2c6;
}
.admin-brand { align-self: stretch; width: 134px; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: rgb(250, 248, 242); color-scheme: light; forced-color-adjust: none; -webkit-print-color-adjust: exact; }
.admin-brand img { width: 118px; height: auto; background: rgb(250, 248, 242); color-scheme: light; forced-color-adjust: none; -webkit-print-color-adjust: exact; }
.admin-user { display: flex; align-items: center; gap: 1.4rem; }
.admin-nav { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.admin-nav a { position: relative; padding: .6rem .8rem; color: #5f645d; font-size: .75rem; font-weight: 800; text-decoration: none; }
.admin-nav a[aria-current="page"] { background: #f3e8ea; color: var(--burgundy); }
.admin-nav a span { min-width: 19px; height: 19px; display: inline-grid; place-items: center; margin-left: .35rem; border-radius: 50%; background: var(--burgundy); color: #fff; font-size: .62rem; }
.admin-user > span { display: grid; text-align: right; line-height: 1.3; }
.admin-user strong { font-size: .82rem; }
.admin-user small { color: #777c75; font-size: .72rem; }
.admin-user > a { display: inline-flex; align-items: center; gap: .45rem; color: var(--burgundy); font-size: .78rem; font-weight: 800; text-decoration: none; }
.admin-user svg { width: 16px; height: 16px; }
.admin-content { width: min(1280px, calc(100vw - 48px)); margin: 0 auto; padding: 4.2rem 0 6rem; }
.admin-title-row { display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.admin-kicker { margin: 0 0 .7rem; color: var(--burgundy); font-size: .72rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.admin-title-row h1 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5rem); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
.admin-title-row p:last-child { margin: 1rem 0 0; color: #62675f; }
.admin-view-site { color: var(--burgundy); font-size: .84rem; font-weight: 850; text-decoration: none; border-bottom: 1px solid #b98f95; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 2.8rem 0; border: 1px solid #d4ccbf; background: rgba(255,255,255,.48); }
.admin-stats article { min-height: 108px; display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; }
.admin-stats article:not(:last-child) { border-right: 1px solid #d4ccbf; }
.admin-stats svg { width: 25px; height: 25px; color: var(--burgundy); stroke-width: 1.5; }
.admin-stats span { display: grid; color: #6e736b; font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.admin-stats strong { color: #171914; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; line-height: 1.1; }
.admin-grid { display: grid; grid-template-columns: minmax(360px, .72fr) minmax(0, 1.28fr); gap: 1.5rem; align-items: start; }
.upload-panel, .library-panel { background: #fff; border: 1px solid #d9d2c6; box-shadow: 0 20px 55px rgba(46,40,32,.06); }
.upload-panel { display: grid; gap: 1.25rem; padding: 1.8rem; }
.gallery-upload-fields { display: grid; gap: 1.25rem; }
.gallery-upload-fields[hidden] { display: none; }
.panel-heading { display: flex; gap: .9rem; align-items: flex-start; }
.panel-heading > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; background: #f2e5e7; color: var(--burgundy); border-radius: 50%; }
.panel-heading svg { width: 19px; height: 19px; }
.panel-heading h2, .library-heading h2 { margin: 0; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.panel-heading p, .library-heading p { margin: .25rem 0 0; color: #71766e; font-size: .8rem; line-height: 1.5; }
.upload-drop { min-height: 185px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.3rem; border: 1.5px dashed #b9afa1; background: #f8f5ef; text-align: center; cursor: pointer; }
.upload-drop:hover { border-color: var(--burgundy); background: #faf3f4; }
.upload-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload-drop > svg { width: 32px; height: 32px; margin-bottom: .7rem; color: var(--burgundy); }
.upload-drop strong { max-width: 320px; overflow-wrap: anywhere; font-size: .9rem; }
.upload-drop small { margin-top: .4rem; color: #73786f; font-size: .7rem; line-height: 1.45; }
.upload-drop .server-limit { color: var(--burgundy); font-weight: 800; }
.file-type-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: .7rem; border-radius: 50%; background: var(--burgundy); color: #fff; }
.file-type-icon svg { width: 21px; height: 21px; }
.admin-field { display: grid; gap: .42rem; color: #30342e; font-size: .76rem; font-weight: 850; }
.admin-field > span { display: flex; justify-content: space-between; gap: 1rem; }
.admin-field small { color: #7e827b; font-size: .68rem; font-weight: 650; }
.admin-field input, .admin-field select, .admin-field textarea { width: 100%; padding: .78rem .85rem; border: 1px solid #c7c0b5; border-radius: 0; background: #fff; color: #171914; font: inherit; font-size: .86rem; font-weight: 500; }
.admin-field input, .admin-field select { min-height: 46px; }
.admin-field textarea { resize: vertical; }
.password-field-control { position: relative; }
.password-field-control input { padding-right: 4.7rem !important; }
.password-visibility-toggle { position: absolute; top: 6px; right: 6px; min-width: 58px; min-height: 34px; padding: .3rem .55rem; border: 1px solid #b8b0a4; background: #fff; color: var(--burgundy); cursor: pointer; font-size: .7rem; font-weight: 850; }
.password-visibility-toggle:hover { background: #f6edef; }
.admin-select { width: 100% !important; min-height: 46px !important; border-radius: 0 !important; border-color: #c7c0b5 !important; background: #fff !important; font-size: .84rem !important; }
.publish-check { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; align-items: start; padding: .9rem; border: 1px solid #d8d0c4; background: #f8f5ef; cursor: pointer; }
.publish-check input { width: 17px; height: 17px; margin-top: .15rem; accent-color: var(--burgundy); }
.publish-check span { display: grid; color: #30342e; font-size: .78rem; }
.publish-check small { color: #767b73; font-size: .68rem; font-weight: 500; }
.admin-submit { width: 100%; min-height: 50px !important; border-radius: 0 !important; background: var(--burgundy) !important; }
.upload-feedback { display: grid; gap: .55rem; padding: .85rem; border: 1px solid #d8d0c4; background: #f8f5ef; }
.upload-feedback[hidden] { display: none; }
.upload-progress-row { display: flex; justify-content: space-between; gap: 1rem; color: #4c514a; font-size: .74rem; }
.upload-progress-row strong { color: #242823; }
.upload-feedback progress { width: 100%; height: 10px; overflow: hidden; border: 0; border-radius: 0; background: #ddd6cb; accent-color: var(--burgundy); }
.upload-feedback progress::-webkit-progress-bar { background: #ddd6cb; }
.upload-feedback progress::-webkit-progress-value { background: var(--burgundy); transition: width .18s ease; }
.upload-feedback progress::-moz-progress-bar { background: var(--burgundy); }
.upload-feedback p { margin: 0; color: #62675f; font-size: .72rem; line-height: 1.45; }
.upload-feedback[data-state="error"] { border-color: #b85561; background: #faecee; }
.upload-feedback[data-state="error"] p, .upload-feedback[data-state="error"] strong { color: #791a27; }
.upload-feedback[data-state="success"] { border-color: #719258; background: #eef5e9; }
.upload-feedback[data-state="success"] p, .upload-feedback[data-state="success"] strong { color: #365326; }
.admin-submit:disabled { cursor: wait !important; opacity: .68; }
.library-panel { overflow: hidden; }
.library-heading { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 1.6rem; border-bottom: 1px solid #ded8cd; }
.library-heading > span { padding: .35rem .6rem; background: #ece7df; color: #6c7169; font-size: .7rem; font-weight: 850; }
.library-tools { display: grid; grid-template-columns: 1fr auto; gap: .7rem; padding: .85rem 1rem; border-bottom: 1px solid #ded8cd; background: #faf8f4; }
.library-tools label { min-width: 0; display: flex; align-items: center; gap: .5rem; padding: 0 .7rem; border: 1px solid #c7c0b5; background: #fff; }
.library-tools label svg { width: 16px; height: 16px; flex: 0 0 auto; color: #767b73; }
.library-tools input, .library-tools select { min-height: 40px; border: 0; background: #fff; color: #282c26; font-size: .76rem; }
.library-tools input { min-width: 0; width: 100%; outline: 0; }
.library-tools select { padding-inline: .7rem; border: 1px solid #c7c0b5; }
.admin-loading, .admin-empty { min-height: 390px; display: grid; place-content: center; justify-items: center; padding: 3rem; color: #747970; text-align: center; }
.admin-empty svg { width: 42px; height: 42px; margin-bottom: 1rem; color: #9c6a72; stroke-width: 1.35; }
.admin-empty h3 { margin: 0; color: #292d27; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.admin-empty p { max-width: 380px; margin: .6rem 0 0; font-size: .82rem; }
.media-table { min-width: 680px; }
.media-table th { height: 48px; padding-inline: 1rem; color: #747970; font-size: .68rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.media-table td { padding: .85rem 1rem; color: #52574f; font-size: .76rem; }
.media-cell { display: flex; align-items: center; gap: .8rem; min-width: 230px; }
.media-cell img, .media-cell video { width: 64px; height: 48px; flex: 0 0 auto; object-fit: cover; background: #111; }
.media-cell video { min-width: 112px; height: 64px; }
.caption-thumb { width: 64px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; background: #eee8df; color: var(--burgundy); }
.caption-thumb svg { width: 23px; height: 23px; }
.media-cell > span { display: grid; min-width: 0; }
.media-cell strong { max-width: 190px; overflow: hidden; color: #242721; font-size: .78rem; text-overflow: ellipsis; }
.media-cell small { color: #858a82; font-size: .65rem; }
.placement-pill { display: inline-flex; padding: .32rem .55rem; background: #efede8; color: #747970; font-size: .66rem; font-weight: 750; }
.placement-pill.active { background: #edf2e7; color: #416128; }
.placement-editor { min-width: 220px; display: grid; grid-template-columns: 1fr auto; gap: .4rem; }
.placement-editor select { min-width: 0; min-height: 38px; padding-inline: .5rem; border: 1px solid #c7c0b5; background: #fff; color: #41463f; font-size: .68rem; }
.placement-editor button { min-width: 48px; border: 1px solid var(--burgundy); background: var(--burgundy); color: #fff; cursor: pointer; font-size: .68rem; font-weight: 800; }
.placement-editor button:disabled { border-color: #d4cec4; background: #eeeae3; color: #92968f; cursor: default; }
.admin-access-denied { min-height: 100vh; display: grid; place-content: center; justify-items: center; padding: 2rem; background: #f2eee6; text-align: center; }
.admin-access-denied img { width: 230px; height: auto; margin-bottom: 2rem; }
.admin-access-denied h1 { margin: 0; font-family: var(--serif); font-size: 3.5rem; font-weight: 400; }
.admin-access-denied > p:not(.admin-kicker) { color: #666b63; }
.admin-access-denied > div { display: flex; gap: .7rem; margin-top: 1rem; }
.admin-access-denied a { padding: .7rem 1rem; border: 1px solid var(--burgundy); color: var(--burgundy); font-size: .78rem; font-weight: 800; text-decoration: none; }

/* Contact request administration */
.requests-content { width: min(1120px, calc(100vw - 48px)); }
.admin-export { min-height: 46px; display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border: 1px solid var(--burgundy); background: var(--burgundy); color: #fff; cursor: pointer; font-size: .76rem; font-weight: 850; }
.admin-export svg { width: 17px; height: 17px; }
.admin-export:disabled { opacity: .45; cursor: default; }
.request-stats { display: grid; grid-template-columns: repeat(5, 1fr); margin: 2.8rem 0 1.5rem; border: 1px solid #d4ccbf; background: rgba(255,255,255,.5); }
.request-stats article { min-height: 100px; display: grid; align-content: center; gap: .2rem; padding: 1.2rem 1.5rem; }
.request-stats article:not(:last-child) { border-right: 1px solid #d4ccbf; }
.request-stats strong { font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1; }
.request-stats span { color: #747970; font-size: .67rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.requests-panel { overflow: hidden; border: 1px solid #d9d2c6; background: #fff; box-shadow: 0 20px 55px rgba(46,40,32,.06); }
.request-tools { display: grid; grid-template-columns: minmax(240px, 1fr) auto auto auto; gap: .75rem; padding: 1rem; border-bottom: 1px solid #ded8cd; background: #faf8f4; }
.request-tools label { display: flex; align-items: center; gap: .6rem; min-width: 0; padding: 0 .8rem; border: 1px solid #c7c0b5; background: #fff; }
.request-tools svg { width: 17px; height: 17px; flex: 0 0 auto; color: #767b73; }
.request-tools input, .request-tools select { min-height: 43px; border: 0; background: #fff; color: #282c26; font-size: .8rem; }
.request-tools input { width: 100%; min-width: 0; outline: 0; }
.request-tools select { padding-inline: .8rem; border: 1px solid #c7c0b5; }
.request-list { display: grid; gap: 1px; background: #ddd7cc; }
.request-card { padding: 1.35rem 1.5rem; background: #fff; border-left: 4px solid #a0a59d; }
.request-card.status-new { border-left-color: var(--burgundy); background: #fffcfc; }
.request-card.is-unread { box-shadow: inset 5px 0 0 var(--burgundy); }
.request-card.status-contacted { border-left-color: #b07d25; }
.request-card.status-scheduled { border-left-color: #507537; }
.request-card-head { display: flex; justify-content: space-between; gap: 2rem; }
.request-card-head h2 { margin: .3rem 0 0; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; line-height: 1.1; }
.request-card-head p { margin: .25rem 0 0; color: var(--burgundy); font-size: .76rem; font-weight: 800; }
.request-card-head time { color: #777c75; font-size: .7rem; white-space: nowrap; }
.request-status { display: inline-flex; padding: .25rem .45rem; background: #eeeae3; color: #656a62; font-size: .6rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.status-new .request-status { background: #f3e5e7; color: var(--burgundy); }
.request-contact { display: flex; flex-wrap: wrap; gap: .7rem 1.3rem; margin-top: 1rem; }
.request-contact a, .request-contact span { display: inline-flex; align-items: center; gap: .4rem; color: #535851; font-size: .75rem; text-decoration: none; }
.request-contact a { color: var(--burgundy); font-weight: 750; }
.request-contact svg { width: 15px; height: 15px; flex: 0 0 auto; }
.request-details { margin: 1rem 0 0; padding: .85rem 1rem; background: #f6f3ed; color: #4f554d; font-size: .82rem; white-space: pre-wrap; }
.request-card-foot { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.request-card-foot label { display: grid; gap: .25rem; color: #777c75; font-size: .64rem; font-weight: 850; text-transform: uppercase; }
.request-card-foot select { min-height: 38px; padding: .35rem 2rem .35rem .55rem; border: 1px solid #c7c0b5; background: #fff; color: #30342e; font-size: .74rem; text-transform: none; }
.request-card-foot small { color: #92968f; font-size: .62rem; }
.request-workflow { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #ebe6de; }
.request-workflow-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; }
.request-workflow-controls label { display: grid; gap: .25rem; color: #777c75; font-size: .64rem; font-weight: 850; text-transform: uppercase; }
.request-workflow-controls select { min-width: 170px; min-height: 40px; padding: .4rem 2rem .4rem .6rem; border: 1px solid #c7c0b5; background: #fff; color: #30342e; font-size: .72rem; text-transform: none; }
.request-view-button { min-height: 40px; padding: .55rem .8rem; border: 1px solid var(--burgundy); background: var(--burgundy); color: #fff; cursor: pointer; font-size: .72rem; font-weight: 850; }
.request-viewed { margin: 0; color: #757a72; font-size: .68rem; line-height: 1.45; }
.request-viewed strong { color: #3e433c; }
.request-card-foot { justify-content: flex-end; margin-top: .65rem; }
.request-card-foot small { margin-right: auto; }
.request-delete-form { flex: 0 0 auto; }
.request-delete-button { min-height: 38px; padding: .5rem .7rem; border: 1px solid #9b2c2c; background: transparent; color: #8a2525; cursor: pointer; font-size: .68rem; font-weight: 850; }
.request-delete-button:hover, .request-delete-button:focus-visible { background: #8a2525; color: #fff; }

/* Notification and administrator settings */
.settings-content { width: min(1120px, calc(100vw - 48px)); }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.8rem; align-items: start; }
.settings-panel { overflow: hidden; border: 1px solid #d9d2c6; background: #fff; box-shadow: 0 20px 55px rgba(46,40,32,.06); }
.settings-grid > .settings-panel:first-child { display: flex; flex-direction: column; }
.settings-grid > .settings-panel:first-child .settings-panel-heading { order: 0; }
.settings-grid > .settings-panel:first-child > .settings-form { order: 1; }
.settings-grid > .settings-panel:first-child .delivery-tests { order: 2; }
.settings-panel-heading { padding: 1.65rem 1.8rem 1.35rem; border-bottom: 1px solid #ded8cd; }
.settings-panel-heading h2 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1.1; }
.settings-panel-heading > p:last-child { margin: .55rem 0 0; color: #6d726a; font-size: .8rem; line-height: 1.55; }
.settings-form { display: grid; gap: 1rem; padding: 1.55rem 1.8rem; }
.settings-section-intro { display: flex; align-items: flex-start; gap: .8rem; }
.settings-section-intro h3 { margin: 0 0 .25rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; line-height: 1.15; }
.settings-section-intro p { margin: 0; color: #6d726a; font-size: .73rem; line-height: 1.5; }
.settings-step { display: grid; flex: 0 0 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--burgundy); color: #fff; font-size: .72rem; font-weight: 850; }
.settings-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.settings-note { margin: 0; color: #6d726a; font-size: .72rem; line-height: 1.55; }
.settings-note strong { color: #40443e; }
.customer-email-settings { display: grid; gap: .9rem; margin-top: .25rem; padding-top: 1rem; border-top: 1px solid #ebe6de; }
.settings-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.settings-actions .admin-submit { margin: 0; }
.admin-secondary-action, .admin-remove, .admin-reset-access { min-height: 50px; padding: .65rem .8rem; border: 1px solid var(--burgundy); background: #fff; color: var(--burgundy); cursor: pointer; font-size: .75rem; font-weight: 850; }
.settings-test-note { margin: -.25rem 0 0; color: #797e76; font-size: .68rem; line-height: 1.5; }
.delivery-tests { display: grid; gap: 1rem; padding: 1.55rem 1.8rem; border-top: 1px solid #ded8cd; background: #fbfaf6; scroll-margin-top: 24px; }
.delivery-test-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.delivery-test-form { display: grid; align-content: start; gap: .8rem; padding: 1rem; border: 1px solid #ded8cd; background: #fff; }
.delivery-test-form h4 { margin: 0; color: #292d27; font-size: .82rem; }
.delivery-test-form > p { margin: 0; color: #6d726a; font-size: .7rem; line-height: 1.5; }
.delivery-test-form .admin-secondary-action { align-self: end; min-height: 44px; background: var(--burgundy); color: #fff; }
.admin-secondary-action:disabled { border-color: #c9c4bb; background: #e8e4dd; color: #898d86; cursor: not-allowed; }
.settings-lock-note { margin: 0; color: #7d2834; font-size: .7rem; font-weight: 750; line-height: 1.5; }
.customer-preview-result { margin: 0; padding: .8rem .9rem; border-left: 4px solid #2f6f45; background: #edf7f0; color: #245537; font-size: .75rem; font-weight: 750; line-height: 1.5; }
.customer-preview-result.is-error { border-left-color: #972c39; background: #faecee; color: #791a27; }
.admin-account-list { display: grid; border-bottom: 1px solid #ded8cd; }
.admin-account-list article { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.8rem; }
.admin-account-list article + article { border-top: 1px solid #ebe6de; }
.admin-account-list article > div:first-child { display: grid; min-width: 0; }
.admin-account-list strong { overflow-wrap: anywhere; color: #292d27; font-size: .8rem; }
.admin-account-list small { color: #858a82; font-size: .65rem; }
.admin-account-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .45rem; }
.admin-account-actions select { min-height: 34px; max-width: 170px; border: 1px solid #c7c0b5; background: #fff; color: #30342e; font-size: .68rem; }
.admin-remove { min-height: 34px; border-color: #bda9ac; color: #7d2834; }
.admin-reset-access { min-height: 34px; padding: .45rem .6rem; border-color: #bda9ac; font-size: .66rem; }
.admin-access-receipt { margin: 1.2rem 1.8rem 0; padding: 1.2rem; border: 1px solid #d6c3a2; background: #fff8e8; }
.admin-access-receipt h3 { margin: .15rem 0 .45rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.admin-access-receipt > p:not(.admin-kicker) { margin: 0; color: #5c6159; font-size: .74rem; line-height: 1.55; }
.admin-access-receipt dl { display: grid; gap: .65rem; margin: 1rem 0; }
.admin-access-receipt dl > div { display: grid; grid-template-columns: 125px minmax(0,1fr); gap: .65rem; }
.admin-access-receipt dt { color: #73786f; font-size: .63rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.admin-access-receipt dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: #292d27; font-size: .76rem; font-weight: 750; }
.admin-access-receipt code { display: inline-block; padding: .25rem .4rem; background: #fff; color: #5d1721; font-size: .8rem; }
.admin-access-receipt a { color: var(--burgundy); }
.admin-access-delivery { padding-top: .75rem; border-top: 1px solid #e4d7bb; font-weight: 750; }
.add-admin-form h3 { margin: 0 0 .2rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.password-change-content { width: min(680px, calc(100vw - 48px)); }
.password-change-panel { margin-top: 3rem; overflow: hidden; border: 1px solid #d9d2c6; background: #fff; box-shadow: 0 20px 55px rgba(46,40,32,.06); }
.password-change-panel > .admin-kicker, .password-change-panel > h1, .password-change-panel > p, .password-change-panel > .admin-flash { margin-left: 1.8rem; margin-right: 1.8rem; }
.password-change-panel > .admin-kicker { margin-top: 1.8rem; }
.password-change-panel > h1 { margin-top: .3rem; margin-bottom: .6rem; font-family: var(--serif); font-size: clamp(2rem,5vw,3.4rem); font-weight: 400; line-height: 1; }
.password-change-panel > p:not(.admin-kicker):not(.admin-flash) { color: #696e66; line-height: 1.6; }

.reputation-editor { display: grid; gap: 1.5rem; }
.reputation-settings-panel { border: 1px solid #d4ccbf; background: rgba(255,255,255,.56); }
.reputation-settings-panel .panel-heading { padding: 1.4rem 1.6rem; border-bottom: 1px solid #ded8cd; }
.reputation-settings-panel .panel-heading h2 { margin: 0; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.reputation-settings-panel .panel-heading p { margin: .25rem 0 0; color: #747970; font-size: .73rem; }
.reputation-settings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1.6rem; }
.admin-field-wide { grid-column: 1 / -1; }
.admin-toggle { min-height: 72px; display: flex; align-items: flex-start; gap: .8rem; padding: 1rem; border: 1px solid #ded8cd; background: #fff; cursor: pointer; }
.admin-toggle input { width: 19px; height: 19px; margin: .15rem 0 0; accent-color: var(--burgundy); }
.admin-toggle > span { display: grid; gap: .15rem; }
.admin-toggle strong { color: #2e322d; font-size: .78rem; }
.admin-toggle small { color: #777c74; font-size: .68rem; font-weight: 500; line-height: 1.45; }
.admin-toggle.compact { min-height: 46px; align-items: center; padding: .65rem .8rem; }
.reputation-card-editors { display: grid; gap: 1rem; padding: 1.6rem; }
.reputation-card-editor { min-width: 0; margin: 0; padding: 1.25rem; border: 1px solid #d8d0c3; background: #fbfaf6; }
.reputation-card-editor legend { padding: 0 .55rem; color: var(--burgundy); font-family: var(--serif); font-size: 1.25rem; }
.reputation-card-toolbar { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1rem; }
.order-field { width: 105px; }
.reputation-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
.reputation-save-bar { position: sticky; z-index: 3; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1rem 1.6rem; border-top: 1px solid #d4ccbf; background: rgba(251,250,246,.96); backdrop-filter: blur(8px); }
.reputation-save-bar p { max-width: 620px; margin: 0; color: #747970; font-size: .7rem; }
.reputation-save-bar .admin-submit { width: auto; min-width: 230px; padding-inline: 1.2rem; }
.admin-flash.is-error { border-left-color: #972c39; background: #faecee; color: #791a27; }

/* Managed project gallery */
.media-tabs { display: flex; gap: .25rem; overflow-x: auto; padding: 0 1rem; border-bottom: 1px solid #ded8cd; background: #faf8f4; scrollbar-width: thin; }
.media-tabs a { flex: 0 0 auto; padding: .85rem .75rem .7rem; border-bottom: 3px solid transparent; color: #666c64; font-size: .7rem; font-weight: 850; text-decoration: none; }
.media-tabs a[aria-current="page"] { border-bottom-color: var(--burgundy); color: var(--burgundy); }
.gallery-import-panel { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem 1.2rem; border-bottom: 1px solid #ded8cd; background: #f4f0e8; }
.gallery-import-panel strong { color: #292d27; font-size: .8rem; }
.gallery-import-panel p { margin: .25rem 0 0; color: #686e66; font-size: .68rem; line-height: 1.5; }
.gallery-import-panel code { overflow-wrap: anywhere; color: var(--burgundy); }
.gallery-import-panel button, .gallery-save { min-height: 40px; padding: .55rem .8rem; border: 1px solid var(--burgundy); background: var(--burgundy); color: #fff; cursor: pointer; font-size: .7rem; font-weight: 850; }
.gallery-import-panel button:disabled { opacity: .65; cursor: wait; }
.gallery-import-status { margin: 0; padding: .8rem 1.2rem; border-bottom: 1px solid #ded8cd; background: #edf2e7; color: #36552b; font-size: .72rem; font-weight: 750; }
.gallery-import-status[data-state="error"] { background: #faecee; color: #791a27; }
.gallery-import-complete { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.2rem; border-bottom: 1px solid #ded8cd; background: #edf2e7; }
.gallery-import-complete > span { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #496c35; color: #fff; font-weight: 900; }
.gallery-import-complete strong { color: #2e4d25; font-size: .78rem; }
.gallery-import-complete p { margin: .2rem 0 0; color: #5f7159; font-size: .67rem; line-height: 1.45; }
.gallery-list-toolbar { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1.2rem; border-bottom: 1px solid #ded8cd; background: #fbfaf7; }
.gallery-list-toolbar p { margin: 0; color: #71766e; font-size: .7rem; }
.gallery-list-toolbar strong { color: #333832; }
.gallery-release { color: var(--burgundy); font-weight: 850; }
.gallery-admin-list { display: grid; gap: .8rem; padding: .8rem; background: #eee9e0; }
.gallery-admin-card { display: grid; grid-template-columns: 132px minmax(0,1fr) auto; align-items: start; gap: .8rem 1rem; padding: 1rem; border: 1px solid #d9d2c6; background: #fff; box-shadow: 0 5px 18px rgba(46,40,32,.035); scroll-margin-top: 1rem; }
.gallery-admin-card > img { grid-row: 1 / 3; width: 132px; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #e0dbd2; background: #ece7df; }
.gallery-admin-meta { display: grid; align-content: start; gap: .35rem; min-width: 0; }
.gallery-admin-meta .placement-pill { width: max-content; }
.gallery-admin-pills { display: flex; flex-wrap: wrap; gap: .35rem; }
.feature-pill { width: max-content; padding: .22rem .42rem; background: #f3e1b9; color: #6d4710; font-size: .58rem; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; }
.gallery-admin-meta strong { overflow-wrap: anywhere; color: #292d27; font-size: .78rem; }
.gallery-admin-meta small { overflow-wrap: anywhere; color: #858a82; font-size: .62rem; line-height: 1.4; }
.gallery-editor { grid-column: 2 / 4; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; padding-top: .8rem; border-top: 1px solid #ebe6de; }
.gallery-editor label { display: grid; gap: .25rem; color: #737870; font-size: .62rem; font-weight: 850; text-transform: uppercase; }
.gallery-editor label > small { color: #858a82; font-size: .6rem; font-weight: 550; line-height: 1.45; text-transform: none; }
.gallery-editor input, .gallery-editor select, .gallery-editor textarea { width: 100%; min-height: 38px; padding: .45rem .55rem; border: 1px solid #c7c0b5; background: #fff; color: #30342e; font: 500 .7rem/1.4 var(--sans); text-transform: none; }
.gallery-editor textarea { resize: vertical; }
.gallery-editor-wide { grid-column: 1 / -1; }
.gallery-save { grid-column: 1 / -1; justify-self: start; border-radius: 2px; }
.gallery-delete { align-self: start; }
.gallery-delete .delete-media { min-height: 36px; white-space: nowrap; }
.admin-pagination { display: grid; grid-template-columns: minmax(92px,auto) 1fr minmax(92px,auto); align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-top: 1px solid #ded8cd; background: #fbfaf7; }
.admin-pagination.pagination-top { border-top: 0; border-bottom: 1px solid #ded8cd; }
.admin-pagination a { min-width: 38px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: .45rem .65rem; border: 1px solid #cbc4b9; background: #fff; color: #4f554d; font-size: .7rem; font-weight: 850; text-decoration: none; }
.admin-pagination a:hover, .admin-pagination a:focus-visible, .admin-pagination a[aria-current="page"] { border-color: var(--burgundy); background: var(--burgundy); color: #fff; }
.admin-pagination .is-disabled { opacity: .45; pointer-events: none; }
.pagination-pages { display: flex; justify-content: center; gap: .35rem; }
.pagination-gap { min-width: 24px; display: inline-grid; place-items: center; color: #7b8078; }
.pagination-direction:last-child { justify-self: end; }

.gallery-hero { position: relative; overflow: hidden; padding: clamp(5rem,9vw,8rem) 0; background: var(--forest); color: #fff; }
.gallery-hero::after { content: ""; position: absolute; right: -8vw; bottom: -18vw; width: 42vw; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 5vw rgba(255,255,255,.025),0 0 0 10vw rgba(255,255,255,.02); }
.gallery-hero .shell { position: relative; z-index: 1; }
.gallery-hero h1 { max-width: 850px; margin: .55rem 0 1.2rem; font-family: var(--serif); font-size: clamp(3.6rem,7vw,7rem); font-weight: 400; line-height: .91; }
.gallery-hero h1 em { color: #d5a65a; font-weight: 400; }
.gallery-hero .shell > p:last-child { max-width: 650px; margin: 0; color: #c8d0c7; font-size: 1.05rem; }
.public-gallery-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 3rem; }
.public-gallery-heading h2 { margin: .4rem 0 0; font-family: var(--serif); font-size: clamp(2.6rem,5vw,5rem); font-weight: 400; line-height: 1; }
.public-gallery-heading > p { margin: 0; color: var(--muted); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: .55rem; margin: 2.4rem 0 1.4rem; }
.gallery-filters a { min-height: 42px; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .85rem; border: 1px solid #c8c0b4; background: transparent; color: #4f554d; font-size: .72rem; font-weight: 800; text-decoration: none; }
.gallery-filters a > span { min-width: 22px; padding: .12rem .3rem; border-radius: 999px; background: #e9e4db; color: #676c65; font-size: .6rem; text-align: center; }
.gallery-filters a.is-active, .gallery-filters a:hover, .gallery-filters a:focus-visible { border-color: var(--burgundy); background: var(--burgundy); color: #fff; }
.gallery-filters a.is-active > span, .gallery-filters a:hover > span, .gallery-filters a:focus-visible > span { background: rgba(255,255,255,.18); color: #fff; }
.gallery-results-meta { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; color: #737870; font-size: .72rem; }
.gallery-results-meta p { margin: 0; }
.gallery-results-meta strong { color: #353a34; }
.public-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; margin-top: 2rem; }
.gallery-results-meta + .public-gallery-grid { margin-top: 0; }
.public-gallery-card { position: relative; min-width: 0; overflow: hidden; background: #172019; color: #fff; text-decoration: none; }
.public-gallery-card[hidden] { display: none; }
.public-gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s ease; }
.public-gallery-card:hover img, .public-gallery-card:focus-visible img { transform: scale(1.025); }
.public-gallery-card-copy { position: absolute; inset: auto 0 0; display: grid; gap: .18rem; padding: 2.8rem 1rem 1rem; background: linear-gradient(transparent,rgba(10,15,11,.88)); }
.gallery-featured-tag { position: absolute; z-index: 2; top: .8rem; left: .8rem; padding: .38rem .58rem; border: 1px solid rgba(255,255,255,.45); background: var(--burgundy); color: #fff; box-shadow: 0 5px 14px rgba(24,9,12,.22); font-size: .6rem; font-weight: 900; letter-spacing: .1em; line-height: 1; text-transform: uppercase; }
.public-gallery-card small { color: #e7c78d; font-size: .62rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.public-gallery-card strong { font-family: var(--serif); font-size: 1.28rem; font-weight: 400; }
.public-gallery-card em { overflow: hidden; color: #dce1dc; font-size: .68rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.public-pagination { display: grid; grid-template-columns: minmax(112px,auto) 1fr minmax(112px,auto); align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #d8d0c3; }
.public-pagination a, .public-pagination-direction { min-width: 42px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: .55rem .72rem; border: 1px solid #c8c0b4; background: #fff; color: #4f554d; font-size: .72rem; font-weight: 850; text-decoration: none; }
.public-pagination a:hover, .public-pagination a:focus-visible, .public-pagination a[aria-current="page"] { border-color: var(--burgundy); background: var(--burgundy); color: #fff; }
.public-pagination-direction.is-disabled { opacity: .45; }
.public-pagination-pages { display: flex; justify-content: center; gap: .4rem; }
.public-pagination-gap { min-width: 24px; display: inline-grid; place-items: center; color: #777c75; }
.public-pagination > :last-child { justify-self: end; }
.gallery-empty { display: grid; justify-items: start; gap: .8rem; margin-top: 2rem; padding: 3rem; border: 1px solid #d8d0c3; background: #fff; }
.gallery-empty h3 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.gallery-empty p { max-width: 620px; margin: 0; color: var(--muted); }
.gallery-cta { padding: 4.5rem 0; background: var(--burgundy-dark); color: #fff; }
.gallery-cta .shell { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.gallery-cta h2 { margin: .35rem 0 0; font-family: var(--serif); font-size: clamp(2.2rem,4vw,4rem); font-weight: 400; line-height: 1; }
.public-gallery-dialog { position: fixed; top: 50%; left: 50%; width: min(1120px,calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: 0; overflow: hidden; transform: translate(-50%,-50%); border: 0; background: #0e110e; color: #fff; }
.public-gallery-dialog::backdrop { background: rgba(7,9,7,.88); backdrop-filter: blur(6px); }
.public-gallery-viewer { display: grid; grid-template-rows: minmax(0,1fr) auto; max-height: calc(100dvh - 32px); }
.public-gallery-viewer > img { width: 100%; max-height: calc(100dvh - 170px); object-fit: contain; background: #090b09; }
.public-gallery-details { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.1rem 1.3rem; }
.public-gallery-details p { margin: 0; color: #aeb7ad; font-size: .7rem; }
.public-gallery-details h2 { margin: .1rem 0; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.public-gallery-details > div:last-child { display: flex; gap: .5rem; }
.public-gallery-details button { width: 44px; height: 44px; border: 1px solid #687068; background: transparent; color: #fff; cursor: pointer; font-size: 1.15rem; }

@media (max-width: 980px) {
  .service-card-body { min-height: 285px; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-content { width: min(760px, calc(100vw - 36px)); }
  .admin-nav { order: 3; width: 100%; justify-content: center; border-top: 1px solid #e1dcd3; }
  .admin-header { flex-wrap: wrap; padding-bottom: .5rem; }
  .admin-brand { width: 118px; }
  .admin-brand img { width: 104px; }
  .settings-grid { grid-template-columns: 1fr; }
  .settings-actions { grid-template-columns: 1fr 1fr; }
  .settings-actions .admin-submit { grid-column: auto; }
  .reputation-settings-grid, .reputation-fields { grid-template-columns: 1fr; }
  .admin-field-wide { grid-column: auto; }
  .gallery-admin-card { grid-template-columns: 120px minmax(0,1fr) auto; }
  .gallery-admin-card > img { width: 120px; }
  .gallery-editor { grid-column: 1 / -1; }
  .public-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .service-media { height: 220px; }
  .service-card-body { min-height: 0; }
  .admin-header { min-height: 74px; padding-inline: 15px; }
  .admin-brand { width: 110px; }
  .admin-brand img { width: 92px; }
  .admin-user > span { display: none; }
  .admin-user > a { font-size: 0; }
  .admin-user > a svg { width: 20px; height: 20px; }
  .admin-nav { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav a { flex: 0 0 auto; padding: .55rem .65rem; }
  .admin-content { width: calc(100vw - 30px); padding-top: 2.8rem; }
  .admin-title-row { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .admin-title-row h1 { font-size: 3.2rem; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-stats article { min-height: 84px; }
  .admin-stats article:not(:last-child) { border-right: 0; border-bottom: 1px solid #d4ccbf; }
  .upload-panel { padding: 1.25rem; }
  .library-tools { grid-template-columns: 1fr; }
  .request-stats { grid-template-columns: 1fr 1fr; }
  .request-stats article { border-bottom: 1px solid #d4ccbf; }
  .request-stats article:nth-child(even) { border-right: 0; }
  .request-stats article:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .request-tools { grid-template-columns: 1fr; }
  .request-card-head, .request-card-foot { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .request-card-head time { white-space: normal; }
  .request-workflow { align-items: stretch; flex-direction: column; }
  .request-workflow-controls { display: grid; grid-template-columns: 1fr; }
  .request-workflow-controls select { width: 100%; }
  .settings-content { width: calc(100vw - 30px); }
  .settings-field-row { grid-template-columns: 1fr; }
  .settings-actions { grid-template-columns: 1fr; }
  .delivery-test-grid { grid-template-columns: 1fr; }
  .admin-account-list article { align-items: flex-start; flex-direction: column; }
  .admin-account-actions { width: 100%; justify-content: space-between; }
  .admin-account-actions form { flex: 1 1 140px; }
  .admin-account-actions select, .admin-account-actions button { width: 100%; max-width: none; }
  .admin-access-receipt { margin-inline: 1.2rem; }
  .admin-access-receipt dl > div { grid-template-columns: 1fr; gap: .15rem; }
  .admin-account-list article, .settings-panel-heading, .settings-form, .delivery-tests { padding-inline: 1.2rem; }
  .reputation-settings-grid, .reputation-card-editors { padding: 1.1rem; }
  .reputation-card-toolbar, .reputation-save-bar { align-items: stretch; flex-direction: column; }
  .order-field { width: 100%; }
  .reputation-save-bar .admin-submit { width: 100%; min-width: 0; }
  .featured-gallery-footer, .gallery-import-panel, .gallery-cta .shell { align-items: flex-start; flex-direction: column; }
  .featured-gallery-footer .button { width: 100%; justify-content: center; }
  .media-tabs { padding-inline: .6rem; }
  .gallery-admin-card { grid-template-columns: 1fr; }
  .gallery-admin-card > img { grid-row: auto; width: 100%; }
  .gallery-admin-meta, .gallery-editor, .gallery-delete { grid-column: 1; }
  .gallery-delete { grid-row: auto; }
  .gallery-editor { grid-template-columns: 1fr; }
  .gallery-editor-wide, .gallery-save { grid-column: auto; }
  .gallery-list-toolbar { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .admin-pagination { grid-template-columns: 1fr 1fr; }
  .pagination-pages { grid-column: 1 / -1; grid-row: 1; flex-wrap: wrap; }
  .pagination-direction { grid-row: 2; }
  .public-gallery-heading { grid-template-columns: 1fr; gap: 1rem; }
  .public-gallery-grid { grid-template-columns: 1fr; }
  .gallery-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .35rem; }
  .gallery-filters a { flex: 0 0 auto; }
  .gallery-results-meta { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .public-pagination { grid-template-columns: 1fr 1fr; }
  .public-pagination-pages { grid-column: 1 / -1; grid-row: 1; flex-wrap: wrap; }
  .public-pagination-direction { grid-row: 2; }
  .public-gallery-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .public-gallery-viewer { max-height: calc(100dvh - 20px); }
  .public-gallery-viewer > img { max-height: calc(100dvh - 190px); }
  .public-gallery-details { align-items: flex-start; flex-direction: column; gap: .8rem; }
}
