:root {
  --ink: #1b1712;
  --ink-soft: #3b332a;
  --charcoal: #17140f;
  --charcoal-2: #211d17;
  --paper: #f4eee4;
  --paper-deep: #e9dfd0;
  --surface: #fffaf2;
  --cream: #fff8ed;
  --muted: #776c60;
  --gold: #a9844f;
  --gold-light: #d4b98d;
  --line: rgba(27, 23, 18, .15);
  --line-light: rgba(255, 248, 237, .19);
  --shadow: 0 28px 90px rgba(27, 23, 18, .15);
  --shadow-soft: 0 14px 45px rgba(27, 23, 18, .09);
  --max: 1260px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.62; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
figure { margin: 0; }
code { font-size: .9em; background: rgba(27,23,18,.06); padding: .15rem .35rem; }
::selection { color: var(--cream); background: var(--gold); }

.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 18px; top: -100px; z-index: 2000; background: var(--ink); color: var(--cream); padding: 12px 18px; }
.skip-link:focus { top: 18px; }

.listing-bar { background: var(--charcoal); color: rgba(255,248,237,.76); font-size: .69rem; text-transform: uppercase; letter-spacing: .14em; }
.listing-bar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.listing-bar a, .listing-bar strong { color: var(--cream); font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(244, 238, 228, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); transition: box-shadow .25s ease, background .25s ease; }
.site-header.is-scrolled { background: rgba(255, 250, 242, .97); box-shadow: 0 8px 28px rgba(27,23,18,.08); }
.nav-shell { min-height: var(--header-height); display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { width: 47px; height: 47px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--serif); font-size: 1.05rem; line-height: 1; }
.brand-copy strong { display: block; font: 400 1.18rem/1 var(--serif); }
.brand-copy em { display: block; margin-top: 5px; color: var(--muted); font-style: normal; font-size: .64rem; line-height: 1; letter-spacing: .15em; text-transform: uppercase; }
.site-nav { margin-left: auto; display: flex; justify-content: flex-end; align-items: center; gap: clamp(9px, 1.05vw, 15px); min-width: 0; }
.site-nav a { position: relative; padding: 14px 0; color: var(--muted); font-size: .69rem; line-height: 1; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 8px; height: 1px; background: var(--gold); transition: right .2s ease; }
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.site-nav a:hover::after, .site-nav a.is-active::after { right: 0; }
.nav-cta { flex: 0 0 auto; border: 1px solid var(--ink); padding: 12px 15px; font-size: .69rem; line-height: 1; letter-spacing: .1em; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.nav-cta:hover { background: var(--ink); color: var(--cream); }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 10px; border: 1px solid var(--line); background: transparent; padding: 10px 12px; cursor: pointer; }
.nav-toggle-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.nav-toggle-lines { width: 18px; display: grid; gap: 5px; }
.nav-toggle-lines i { height: 1px; background: currentColor; display: block; transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:last-child { transform: translateY(-3px) rotate(-45deg); }

.hero, .page-hero { position: relative; overflow: hidden; color: var(--cream); isolation: isolate; }
.hero { min-height: calc(100svh - 34px); display: grid; align-items: end; }
.hero-media, .page-hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: center 49%; }
.hero-shade, .page-hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(17,14,10,.76) 0%, rgba(17,14,10,.4) 47%, rgba(17,14,10,.12) 78%), linear-gradient(0deg, rgba(17,14,10,.52), transparent 48%); }
.hero-content { padding: clamp(110px, 16vh, 190px) 0 clamp(82px, 10vh, 120px); }
.eyebrow { margin: 0 0 15px; color: var(--gold); font-size: .7rem; font-weight: 700; line-height: 1.35; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow-light { color: var(--gold-light); }
.hero h1 { max-width: 900px; margin: 0; font: 400 clamp(3.7rem, 8.4vw, 8.3rem)/.88 var(--serif); letter-spacing: -.058em; text-wrap: balance; }
.hero-address { margin: 22px 0 0; font-size: clamp(.95rem, 1.8vw, 1.35rem); line-height: 1.2; letter-spacing: .23em; text-transform: uppercase; }
.hero-lede { max-width: 720px; margin: 26px 0 0; color: rgba(255,248,237,.86); font: 400 clamp(1.08rem, 1.9vw, 1.4rem)/1.55 var(--sans); }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero-scroll { position: absolute; right: max(24px, calc((100vw - var(--max))/2)); bottom: 40px; display: flex; align-items: center; gap: 12px; color: rgba(255,248,237,.75); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; }
.hero-scroll i { width: 50px; height: 1px; background: currentColor; transition: width .2s ease; }
.hero-scroll:hover i { width: 72px; }

.page-hero { min-height: clamp(500px, 67vh, 720px); display: grid; align-items: end; }
.page-hero-media img { object-position: center; }
.page-hero-shade { background: linear-gradient(90deg, rgba(17,14,10,.78), rgba(17,14,10,.2) 72%), linear-gradient(0deg, rgba(17,14,10,.62), transparent 55%); }
.page-hero-content { padding: clamp(130px, 18vh, 205px) 0 clamp(62px, 9vh, 92px); }
.page-hero h1 { max-width: 1000px; margin: 0; font: 400 clamp(3.2rem, 7vw, 6.8rem)/.93 var(--serif); letter-spacing: -.048em; text-wrap: balance; }
.page-hero-content > p:not(.eyebrow) { max-width: 760px; margin: 24px 0 0; color: rgba(255,248,237,.84); font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.page-hero-404 { min-height: calc(100svh - 112px); }

.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid currentColor; padding: 14px 20px; background: transparent; font-size: .7rem; font-weight: 700; line-height: 1; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.button-dark:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.button-light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.button-light:hover { background: var(--gold-light); border-color: var(--gold-light); }
.button-ghost-light { border-color: rgba(255,248,237,.58); color: var(--cream); background: rgba(255,255,255,.05); }
.button-ghost-light:hover { background: var(--cream); color: var(--ink); }
.button-outline { border-color: var(--ink); color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--cream); }
.text-link { display: inline-block; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: .83rem; font-weight: 700; letter-spacing: .02em; }
.text-link:hover { color: var(--gold); }
.text-link-light { color: var(--cream); }
.inline-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 22px; }
.source-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 22px; }

.fact-band { position: relative; z-index: 5; margin-top: -1px; background: var(--surface); border-bottom: 1px solid var(--line); }
.fact-strip { display: grid; grid-template-columns: 1.35fr repeat(5, 1fr); }
.fact-strip > div { padding: 26px 23px; border-right: 1px solid var(--line); }
.fact-strip > div:first-child { border-left: 1px solid var(--line); }
.fact-strip span { display: block; font: 400 clamp(1.35rem, 2.25vw, 2rem)/1 var(--serif); }
.fact-strip small { display: block; margin-top: 8px; color: var(--muted); font-size: .63rem; letter-spacing: .13em; text-transform: uppercase; }

.section { padding: clamp(76px, 9vw, 132px) 0; }
.surface { background: var(--surface); border-block: 1px solid var(--line); }
.dark-section { background: var(--charcoal); color: var(--cream); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h2 { margin: 0; font: 400 clamp(2.35rem, 5vw, 5rem)/.98 var(--serif); letter-spacing: -.04em; text-wrap: balance; }
h3 { margin: 0; font: 400 clamp(1.35rem, 2.1vw, 1.8rem)/1.18 var(--serif); }
.lead-copy { font: 400 clamp(1.15rem, 2vw, 1.45rem)/1.55 var(--serif); color: var(--ink-soft); }
.rich-text { color: var(--ink-soft); font-size: 1.04rem; }
.rich-text-large { font-size: clamp(1.04rem, 1.35vw, 1.18rem); }
.rich-text p:first-child { margin-top: 0; }
.rich-text p:last-child { margin-bottom: 0; }
.editorial-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 8vw, 118px); align-items: start; }
.editorial-heading { position: sticky; top: 130px; }
.section-heading { max-width: 900px; margin-bottom: 42px; }
.row-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 28px; }

.image-story-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(45px, 8vw, 110px); }
.image-story-reverse { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.editorial-image { position: relative; }
.editorial-image img { width: 100%; height: auto; object-fit: cover; box-shadow: var(--shadow-soft); }
.editorial-image-tall img { aspect-ratio: 4 / 5.25; }
.editorial-image-wide img { aspect-ratio: 16 / 10; }
.editorial-image figcaption { margin-top: 12px; color: var(--muted); font-size: .73rem; letter-spacing: .05em; }
.numbered-notes { margin-top: 36px; border-top: 1px solid var(--line); }
.numbered-notes article { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.numbered-notes article > span { color: var(--gold); font-size: .72rem; letter-spacing: .12em; }
.numbered-notes p { margin: 8px 0 0; color: var(--muted); }

.home-gallery { display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-template-rows: 330px 330px; gap: 16px; }
.home-gallery a { position: relative; overflow: hidden; background: var(--charcoal); }
.home-gallery-large { grid-row: 1 / 3; }
.home-gallery-wide { grid-column: 2 / 4; }
.home-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .3s ease; }
.home-gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,14,10,.65), transparent 54%); }
.home-gallery a:hover img { transform: scale(1.035); opacity: .9; }
.home-gallery span { position: absolute; left: 22px; bottom: 19px; z-index: 2; color: var(--cream); font: 400 1.35rem/1.1 var(--serif); }

.cinematic-panel { min-height: 680px; position: relative; display: grid; align-items: center; color: var(--cream); overflow: hidden; isolation: isolate; }
.cinematic-media { position: absolute; inset: 0; z-index: -3; }
.cinematic-media img { width: 100%; height: 100%; object-fit: cover; }
.cinematic-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(17,14,10,.88), rgba(17,14,10,.2) 75%); }
.cinematic-content { padding-block: 110px; }
.cinematic-content h2 { max-width: 780px; }
.cinematic-content > p:not(.eyebrow) { max-width: 650px; color: rgba(255,248,237,.8); font-size: 1.1rem; }
.round-link { width: 132px; height: 132px; margin-top: 36px; border: 1px solid rgba(255,248,237,.55); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--cream); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.round-link i { font-style: normal; font-size: 1.2rem; }
.round-link:hover { background: var(--cream); color: var(--ink); }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card { min-height: 330px; display: flex; flex-direction: column; padding: clamp(27px, 3vw, 38px); background: var(--paper); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feature-card > span { margin-bottom: auto; padding-bottom: 50px; color: var(--gold); font-size: .7rem; letter-spacing: .16em; }
.feature-card p { color: var(--muted); }
.feature-card .text-link { margin-top: auto; align-self: flex-start; }

.cta-panel { padding: clamp(48px, 8vw, 92px); text-align: center; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cta-panel h2 { max-width: 950px; margin-inline: auto; }
.cta-panel > p:not(.eyebrow) { max-width: 700px; margin: 24px auto 0; color: var(--muted); }
.cta-panel .cta-actions { justify-content: center; }

.video-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); gap: clamp(38px, 6vw, 82px); align-items: center; }
.video-frame { background: var(--charcoal); padding: 10px; box-shadow: var(--shadow); }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-copy p { color: var(--muted); }
.line-list { list-style: none; margin: 26px 0; padding: 0; border-top: 1px solid var(--line); }
.line-list li { position: relative; padding: 14px 0 14px 24px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.line-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: var(--gold); }
.pull-quote { max-width: 1030px; text-align: center; }
.pull-quote p { margin: 0; font: 400 clamp(2rem, 4.5vw, 4.4rem)/1.08 var(--serif); letter-spacing: -.03em; }

.history-marker-grid { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(45px, 8vw, 110px); align-items: start; }
.timeline { list-style: none; margin: 38px 0 0; padding: 0; }
.timeline-vertical li { display: grid; grid-template-columns: 105px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.timeline-vertical li:last-child { border-bottom: 1px solid var(--line); }
.timeline-vertical span { color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.timeline-vertical p { margin: 8px 0 0; color: var(--muted); }
.source-note { max-width: 980px; text-align: center; }
.source-note p:not(.eyebrow) { max-width: 800px; margin: 26px auto 0; color: rgba(255,248,237,.75); }

.restoration-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.restoration-card { display: grid; grid-template-columns: minmax(0, .95fr) minmax(280px, 1.05fr); min-height: 380px; background: var(--paper); border: 1px solid var(--line); }
.restoration-card img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.restoration-card > div { padding: clamp(28px, 4vw, 48px); align-self: center; }
.restoration-card p:last-child { margin-bottom: 0; color: var(--muted); }
.restoration-card-large, .restoration-card-wide { grid-column: 1 / -1; }
.restoration-card-large { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); }
.restoration-card-wide { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); }
.record-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(45px, 8vw, 110px); }
.media-note-section { background: var(--charcoal); color: var(--cream); }
.media-note { max-width: 930px; }
.media-note p:not(.eyebrow) { max-width: 720px; color: rgba(255,248,237,.75); }

.form-page-grid { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: 24px; align-items: start; }
.document-aside, .showing-aside { position: sticky; top: 132px; padding: clamp(34px, 5vw, 58px); background: var(--charcoal); color: var(--cream); }
.document-aside h2, .showing-aside h2 { font-size: clamp(2.4rem, 4vw, 3.8rem); }
.document-aside p, .showing-aside p { color: rgba(255,248,237,.74); }
.showing-contact a { color: var(--cream); }
.property-dl { margin: 34px 0 0; }
.property-dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line-light); }
.property-dl > div:last-child { border-bottom: 1px solid var(--line-light); }
.property-dl dt { color: rgba(255,248,237,.6); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.property-dl dd { margin: 0; text-align: right; color: var(--cream); }
.aside-note { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: .85rem; }
.form-card { padding: clamp(34px, 6vw, 70px); background: var(--surface); border: 1px solid var(--line); }
.form-card h2 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); }
.form-card > p:not(.eyebrow) { max-width: 720px; color: var(--muted); }
.lead-form { margin-top: 34px; display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px; }
label { display: grid; gap: 8px; color: var(--ink-soft); font-size: .82rem; font-weight: 700; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); padding: 13px 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, textarea:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(169,132,79,.15); }
textarea { resize: vertical; }
.wide { grid-column: 1 / -1; }
.consent { display: flex; align-items: flex-start; gap: 11px; color: var(--muted); font-weight: 500; line-height: 1.45; }
.consent input { width: auto; margin-top: 4px; }
.hp-field { position: absolute; left: -100vw; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 25px; margin: 0; color: var(--muted); }
.form-status.is-error { color: #8a2d24; }
.form-status.is-success { color: #315f3c; }
.download-result { padding: 20px; background: var(--paper); border: 1px solid var(--line); }
.download-result p { margin-top: 0; color: var(--muted); }
.brochure-preview { display: grid; gap: 22px; position: sticky; top: 132px; }
.brochure-cover { min-height: 540px; display: flex; flex-direction: column; justify-content: space-between; padding: 45px; color: var(--cream); background: linear-gradient(0deg, rgba(17,14,10,.64), rgba(17,14,10,.15)), url('/assets/images/gallery/173%20Tradd%20St%20-Tidalcreekphoto-%20%2833%29.jpg') center/cover no-repeat; box-shadow: var(--shadow); }
.brochure-cover p, .brochure-cover span { margin: 0; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.brochure-cover h2 { font-size: clamp(4.5rem, 9vw, 7.5rem); line-height: .78; }
.brochure-summary { padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.brochure-summary .line-list { margin-bottom: 0; }

.location-story-grid { display: grid; gap: 28px; }
.location-cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.location-cards article { min-height: 260px; display: flex; flex-direction: column; padding: 27px; background: var(--paper); border: 1px solid var(--line); }
.location-cards span { margin-bottom: auto; padding-bottom: 42px; color: var(--gold); font-size: .7rem; letter-spacing: .14em; }
.location-cards p { margin-bottom: 0; color: var(--muted); }
.address-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px,8vw,100px); padding: clamp(42px,7vw,82px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.address-panel > div:last-child { align-self: end; }
.address-panel p { color: var(--muted); }

.section-gallery-intro { padding-bottom: 54px; }
.gallery-intro { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(40px,8vw,110px); }
.gallery-count { margin-top: 22px; color: var(--muted); }
.gallery-count strong { color: var(--ink); font: 400 1.8rem/1 var(--serif); }
.section-gallery-grid { padding-top: 46px; }
.gallery-toolbar { position: sticky; top: 111px; z-index: 20; margin: 0 0 34px; padding: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; background: rgba(255,250,242,.94); border: 1px solid var(--line); backdrop-filter: blur(14px); }
.filter-button { border: 1px solid transparent; background: transparent; padding: 10px 13px; color: var(--muted); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; }
.filter-button:hover, .filter-button.is-active { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px 16px; align-items: start; }
.gallery-item { appearance: none; width: 100%; min-width: 0; border: 0; padding: 0; background: transparent; text-align: left; cursor: zoom-in; }
.gallery-item[hidden] { display: none !important; }
.gallery-item-wide { grid-column: span 2; }
.gallery-image-wrap { display: block; overflow: hidden; background: var(--paper-deep); border: 1px solid var(--line); }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .25s ease; }
.gallery-item-wide img { aspect-ratio: 16/8.9; }
.gallery-item:hover img { transform: scale(1.025); opacity: .92; }
.gallery-meta { display: grid; gap: 4px; padding-top: 11px; }
.gallery-meta em { color: var(--gold); font-style: normal; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.gallery-meta strong { font: 400 1.12rem/1.25 var(--serif); }
.gallery-empty { padding: 70px; text-align: center; background: var(--paper); border: 1px solid var(--line); }
.photo-credit { margin: 34px 0 0; text-align: center; color: var(--muted); font-size: .76rem; }
.photo-credit a { border-bottom: 1px solid currentColor; }
.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 28px 88px; background: rgba(13,11,8,.96); color: var(--cream); }
.lightbox.is-open { display: flex; }
.lightbox figure { width: min(1280px, 100%); display: grid; justify-items: center; }
.lightbox figure img { max-width: 100%; max-height: 80vh; object-fit: contain; background: #0b0907; }
.lightbox figcaption { width: min(900px,100%); margin-top: 15px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,248,237,.75); }
.lightbox figcaption small { white-space: nowrap; }
.lightbox-close, .lightbox-nav { position: absolute; border: 1px solid rgba(255,248,237,.38); background: rgba(255,255,255,.03); color: var(--cream); cursor: pointer; transition: background .2s ease, color .2s ease; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--cream); color: var(--ink); }
.lightbox-close { top: 22px; right: 24px; width: 48px; height: 48px; font-size: 1.9rem; line-height: 1; }
.lightbox-nav { top: 50%; width: 54px; height: 54px; transform: translateY(-50%); font-size: 1.4rem; }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

.site-footer { padding: 78px 0 34px; background: var(--charcoal); color: var(--cream); }
.footer-top { display: grid; grid-template-columns: 1.15fr .85fr .8fr; gap: clamp(32px,6vw,80px); align-items: start; }
.footer-property h2 { font-size: clamp(2.7rem,5vw,4.8rem); }
.footer-property p:not(.eyebrow), .footer-contact p { color: rgba(255,248,237,.7); }
.footer-contact strong { color: var(--cream); }
.footer-label { color: var(--gold-light) !important; font-size: .67rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer-actions { display: grid; justify-items: start; gap: 20px; }
.footer-rule { margin-top: 54px; border-top: 1px solid var(--line-light); }
.footer-bottom { padding-top: 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; color: rgba(255,248,237,.55); font-size: .7rem; }
.footer-bottom p { margin: 0; }
.footer-bottom p:nth-child(2) { text-align: center; }
.footer-bottom p:last-child { text-align: right; }
.footer-bottom a { border-bottom: 1px solid currentColor; }
.legal-copy { margin-top: 22px; color: rgba(255,248,237,.4); font-size: .68rem; }
.legal-copy p { margin: 0; max-width: 980px; }

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

@media (max-width: 1380px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; top: calc(34px + var(--header-height)); right: 24px; left: 24px; margin: 0; padding: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 6px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .nav-cta { display: none; }
}

@media (max-width: 1050px) {
  .editorial-grid, .image-story-grid, .image-story-reverse, .video-layout, .history-marker-grid, .record-grid, .form-page-grid, .gallery-intro, .address-panel { grid-template-columns: 1fr; }
  .editorial-heading, .document-aside, .showing-aside, .brochure-preview { position: static; }
  .feature-grid, .feature-grid-three, .location-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .restoration-card, .restoration-card-large, .restoration-card-wide { grid-column: auto; grid-template-columns: 1fr; }
  .restoration-card-large, .restoration-card-wide { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .restoration-card img { min-height: 330px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-actions { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .listing-bar-inner { justify-content: center; }
  .listing-bar-inner > span:first-child, .listing-bar a { display: none; }
  .brand-copy em { display: none; }
  .brand-copy strong { font-size: 1.02rem; }
  .brand-mark { width: 41px; height: 41px; }
  .site-nav { right: 14px; left: 14px; }
  .hero { min-height: 82svh; }
  .hero h1 { font-size: clamp(3.5rem, 15vw, 6.2rem); }
  .hero-scroll { display: none; }
  .page-hero { min-height: 510px; }
  .page-hero h1 { font-size: clamp(3rem, 13vw, 5.4rem); }
  .hero-shade, .page-hero-shade { background: linear-gradient(90deg, rgba(17,14,10,.72), rgba(17,14,10,.18)), linear-gradient(0deg, rgba(17,14,10,.7), transparent 60%); }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .fact-strip > div, .fact-strip > div:first-child { border-left: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .fact-strip > div:nth-child(even) { border-right: 0; }
  .home-gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .home-gallery a, .home-gallery-large, .home-gallery-wide { grid-column: auto; grid-row: auto; min-height: 290px; }
  .feature-grid, .feature-grid-three, .restoration-grid, .location-cards, .form-grid, .gallery-grid { grid-template-columns: 1fr; }
  .restoration-card, .restoration-card-large, .restoration-card-wide { grid-column: auto; grid-template-columns: 1fr; }
  .restoration-card img { min-height: 290px; }
  .wide { grid-column: auto; }
  .row-heading { align-items: flex-start; flex-direction: column; }
  .timeline-vertical li { grid-template-columns: 1fr; gap: 8px; }
  .gallery-toolbar { top: 110px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .gallery-toolbar::-webkit-scrollbar { display: none; }
  .filter-button { white-space: nowrap; }
  .gallery-item-wide { grid-column: auto; }
  .gallery-item-wide img { aspect-ratio: 4/3; }
  .lightbox { padding: 70px 15px 90px; }
  .lightbox-nav { top: auto; bottom: 20px; transform: none; }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { right: calc(50% - 64px); }
  .lightbox figcaption { display: grid; justify-items: center; text-align: center; }
  .footer-top, .footer-bottom { grid-template-columns: 1fr; }
  .footer-bottom p:nth-child(2), .footer-bottom p:last-child { text-align: left; }
  .brochure-cover { min-height: 460px; }
  .cta-actions, .hero-actions { align-items: stretch; flex-direction: column; }
  .cta-actions .button, .hero-actions .button { width: 100%; }
}

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

@media print {
  .listing-bar, .site-header, .site-footer, .hero-scroll, .button, .gallery-toolbar { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 30px 0; }
  .page-hero, .hero { min-height: auto; color: #000; }
  .page-hero-media, .hero-media, .page-hero-shade, .hero-shade { display: none; }
}
