/* The Living Heirloom. Scoped to the new blocks; legacy pages stay intact. */
.g-home, .leag-gallery-home, .leag-gallery-archive, .leag-gallery-product {
    --g-wine: var(--client-primary, #491a18);
    --g-cream: var(--client-surface, #f8f3ea);
    --g-sand: var(--client-sand, #f0e7d8);
    --g-gold: var(--client-brown, #a47a3d);
    --g-body: var(--client-body, #66584c);
    --g-rule: var(--client-rule, #d9c9b4);
    --g-serif: 'Lora', Georgia, serif;
    --g-sans: 'Montserrat', Arial, sans-serif;
}
.leag-gallery-home { background: var(--g-cream); color: var(--g-wine); letter-spacing: 0; }
.leag-gallery-home .site-main, .leag-gallery-home #mw-content { padding: 0; margin: 0; max-width: none; }
.leag-gallery-home .entry-content > .g-section-wrap, .g-section-wrap { max-width: none; width: 100%; margin: 0 !important; padding: 0; }
.g-home { color: var(--g-wine); background: var(--g-cream); font: 15px/1.6 var(--g-serif); letter-spacing: 0; }
.g-home *, .g-home *::before, .g-home *::after { box-sizing: border-box; }
.g-home h1, .g-home h2, .g-home h3 { font-family: var(--g-serif); font-style: normal; color: inherit; font-weight: 400; letter-spacing: -.035em; text-transform: none; }
.g-home h1 { font-size: clamp(40px, 4.5vw, 66px); line-height: 1.08; margin: 0; }
.g-home h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.16; margin: 0 0 18px; text-wrap: balance; }
.g-home h3 { font-size: 19px; line-height: 1.35; margin: 0; letter-spacing: -.025em; }
.g-home p { margin: 0 0 18px; }
.g-home a { color: inherit; text-decoration: none; }
.g-container { width: min(100% - 112px, 1320px); margin-inline: auto; }
.g-intro { color: var(--g-body); font-size: 18px; line-height: 1.55; max-width: 58ch; }
.g-eyebrow { font: 500 11px/1.5 var(--g-sans); text-transform: uppercase; letter-spacing: .25em; }
.g-text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.5; padding-block: 7px; border-bottom: 1px solid currentColor; }
.g-text-link .leag-icon { width: 18px; height: 18px; transition: transform .2s; }
.g-text-link:hover .leag-icon { transform: translateX(4px); }
.g-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 11px 26px; border-radius: 2px; background: var(--g-wine); color: var(--client-on-dark, #fff5e5) !important; font: 400 13px/1.5 var(--g-serif); border: 1px solid var(--client-hover, #662b27); box-shadow: 0 3px 0 var(--client-deep, #2c0f0d); transition: transform .2s, box-shadow .2s; }
.g-button .leag-icon { width: 18px; height: 18px; }
.g-button:hover { color: var(--client-on-dark, #fff5e5) !important; transform: translateY(-3px); box-shadow: 0 6px 0 var(--client-deep, #2c0f0d), 0 12px 18px #491a1818; }
.g-button:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--client-deep, #2c0f0d); }
.g-home :focus-visible, .g-header-bar :focus-visible { outline: 2px solid var(--g-gold); outline-offset: 5px; }
.g-artwork { display: block; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.g-hero { background-color: var(--client-surface, #f4ebdc); background-size: cover; background-position: center bottom; padding: 20px 0 34px; min-height: 720px; }
.g-hero__copy { text-align: center; max-width: 680px; width: calc(100% - 40px); margin: 0 auto 28px; }
.g-hero__copy .g-eyebrow { margin: 0 0 14px; }
.g-hero h1 { max-width: 10em; margin-inline: auto; text-wrap: balance; }
.g-hero__copy .g-intro { max-width: 550px; margin: 16px auto 22px; color: var(--client-body, #40332a); }
.g-hero__artworks { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: end; gap: 48px; width: min(840px, 70%); margin: auto; text-align: center; transform: translateY(-18px); }
.g-hero__mount { display: flex; align-items: flex-end; justify-content: center; height: 290px; margin-bottom: 13px; }
.g-hero__artwork:nth-child(2) .g-hero__mount { height: 335px; }
/* Size the photo itself, not a letterboxed image element, so every frame
   rests on the same shelf baseline regardless of its original proportions. */
.g-hero__mount img { height: auto; max-height: 100%; width: auto; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 3px 2px #3b281530); }
.g-hero__label { display: block; font-size: 17px; line-height: 1.5; }
.g-hero__caption { display: block; font: 400 8px/1.7 var(--g-sans); text-transform: uppercase; letter-spacing: .17em; margin-top: 5px; }
.g-hero__artwork:hover .g-hero__label { text-decoration: underline; text-underline-offset: 5px; }
.g-assurances { padding: 28px 0; background: var(--client-surface, #faf6ee); }
.g-assurances ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; list-style: none; padding: 0; margin-block: 0; }
.g-assurances li { display: flex; align-items: center; gap: 20px; }
.g-assurances .leag-icon { width: 46px; height: 46px; color: var(--g-gold); stroke-width: 1.15; }
.g-assurances strong { display: block; font-size: 15px; font-weight: 400; }
.g-assurances small { display: block; font-size: 12px; color: var(--g-body); margin-top: 2px; }
.g-featured { position:relative; isolation:isolate; padding:64px 0 58px; scroll-margin-top:24px; background:var(--client-sand, #f3e8d5) url('../img/sand.png') repeat; background-blend-mode:multiply; }
.g-featured::before { content:""; position:absolute; inset:16px; z-index:-1; pointer-events:none; background:url('../img/collection-frame-v1.png') center / 100% 100% no-repeat; opacity:.35; }
.g-section-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.g-featured .g-section-head { display:block; text-align:center; margin-bottom:36px; }
.g-featured .g-section-head p { margin:14px auto 0; font-size:16px; color:var(--g-body); }
.g-section-head h2 { margin: 0; font-size: clamp(28px, 2.8vw, 36px); }
.g-section-head .g-text-link { border: 0; white-space: nowrap; font-size: 14px; min-height: 44px; }
/* Equal prominence for each framed work, like paintings hung in a gallery. */
.g-selection { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:40px; align-items:start; }
.g-selection--single { grid-template-columns:minmax(0,320px); justify-content:center; }
.g-home .g-work { margin: 0; min-width: 0; }
.g-work__link { display:block; padding:0; }
.g-work__image { display:flex; align-items:center; justify-content:center; height:clamp(240px,28vw,380px); margin-bottom:22px; }
.g-work__image img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.g-work__details { min-width:0; text-align:center; }
.g-work .g-work__details h3 { font-size:22px; line-height:1.3; }
.g-home .g-work__size { font: 400 12px/1.6 var(--g-sans); color: var(--g-body); margin: 8px 0 7px; }
.g-work__price { font-size: 17px; }
.g-sold { display: block; font: 400 12px/1.5 var(--g-sans); }
.g-work__action { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; margin-top: 14px; }
.g-work__action .leag-icon { width: 17px; height: 17px; }
.g-featured__browse { text-align:center; margin-top:34px; }
.g-work__link:hover h3, .g-collection:hover .g-collection__name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.g-work__link:focus-visible, .g-collection:focus-visible { outline: 2px solid var(--g-wine); outline-offset: 6px; }
.g-empty { grid-column: 1/-1; padding: 50px 0; }
.g-collections { padding: 0 0 58px; scroll-margin-top: 24px; }
.g-collections__layout { display: grid; grid-template-columns: .8fr 2fr; gap: 64px; padding-top: 34px; border-top: 1px solid var(--g-rule); }
.g-collections__copy h2 { font-size: 26px; margin-bottom: 12px; }
.g-collections__copy .g-intro { font-size: 15px; max-width: 28ch; margin-bottom: 14px; }
.g-collections__copy > .g-text-link { min-height: 44px; font-size: 13px; }
.g-collections__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 0 32px; }
.g-collection { display: flex; align-items: center; justify-content: space-between; min-width: 0; min-height: 72px; gap: 14px; border-bottom: 1px solid var(--g-rule); }
.g-collection__name { font: 400 20px/1.4 var(--g-serif); }
.g-collection > .leag-icon { width: 18px; height: 18px; flex-shrink: 0; }
.g-craft { background: var(--client-primary, #421916); color: var(--client-on-dark, #fcf1df); padding: 36px 0 28px; }
.g-craft__layout { display: grid; grid-template-columns: .72fr 1fr; gap: 65px; align-items: center; }
.g-craft__copy { max-width: 460px; }
.g-craft .g-eyebrow { color: var(--client-dark-accent, #d0ac70); font-size: 10px; margin-bottom: 18px; }
.g-craft .g-intro { color: var(--client-on-dark, #e2cdb5); font-size: 17px; }
.g-craft .g-text-link { color: var(--client-dark-accent, #e7c68b); }
.g-craft__photos { display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; margin: 0; }
.g-craft__photos img { width: 100%; height: 335px; object-fit: cover; }
.g-craft__detail { object-position: 45% center; }
.g-craft__artisan { object-position: 62% center; }
.g-craft__photos figcaption { grid-column: 1/-1; text-align: right; font-size: 12px; color: var(--client-dark-accent, #d8b779); margin-top: -6px; }
.g-commission { padding: 64px 0; scroll-margin-top: 24px; }
.g-commission__layout { display: grid; grid-template-columns: 1.08fr 1fr; align-items: stretch; gap: clamp(36px, 5vw, 72px); }
.g-commission__visual { position: relative; min-width: 0; min-height: 460px; }
.g-commission__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.g-commission__copy { min-width: 0; padding: 4px 0; }
.g-commission h2 { font-size: clamp(30px, 2.6vw, 38px); max-width: 560px; margin-bottom: 16px; text-wrap: balance; }
.g-commission .g-intro { font-size: 16px; margin: 0; max-width: 48ch; }
.g-steps { display: grid; grid-template-columns: 1fr; list-style: none; counter-reset: studio-steps; padding: 0; margin: 26px 0 28px; gap: 0; text-align: left; }
.g-steps li { counter-increment: studio-steps; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 15px 0; border-top: 1px solid var(--g-rule); }
.g-steps li:last-child { border-bottom: 1px solid var(--g-rule); }
.g-steps li::before { content: counter(studio-steps, decimal-leading-zero); font: 400 13px/25px var(--g-sans); color: var(--g-body); }
.g-steps h3 { font-size: 18px; letter-spacing: -.025em; margin-bottom: 4px; }
.g-steps p { font-size: 14px; line-height: 1.5; color: var(--g-body); margin: 0; }
.g-commission .g-button-note { font-size: 12px; max-width: 42ch; margin-top: 12px !important; }
.g-button-note { font: 11px/1.6 var(--g-serif); color: var(--g-body); margin: 13px 0 0 !important; }
.g-faq { padding: 42px 0 64px; background: var(--client-paper, #fbf7ef); }
.g-faq__layout { display: grid; grid-template-columns: .8fr 1fr; align-items: start; gap: 100px; }
.g-faq h2 { max-width: 460px; font-size: clamp(30px, 3vw, 44px); }
.g-faq .g-intro { max-width: 340px; font-size: 17px; }
.g-faq details { border-bottom: 1px solid var(--client-rule, #c8aa99); }
.g-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; min-height: 57px; padding: 15px 0; font-size: 15px; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary .leag-icon { width: 18px; height: 18px; }
.g-faq details[open] summary .leag-icon { transform: rotate(45deg); }
.g-faq details p { color: var(--g-body); font-size: 14px; padding-right: 28px; }
/* The homepage uses a compact, centered wordmark; existing drawers remain. */
.leag-gallery-chrome .leag-header { position: relative; background: var(--client-surface, #f5eddf); border: 0; box-shadow: none; backdrop-filter: none; }
.leag-gallery-chrome .leag-header::after, .leag-gallery-chrome .leag-header::before { display: none; }
.g-header-bar { width: min(100% - 112px, 1320px); margin: auto; height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.g-header-nav, .g-header-end { display: flex; align-items: center; gap: 30px; }
.g-header-end { justify-content: flex-end; }
.g-header-nav a, .g-header-end > a:not(.leag-util) { font: 12px/1.5 'Lora', Georgia, serif; color: var(--client-primary, #491a18); white-space: nowrap; }
.g-header-bar .leag-wordmark { display: flex; gap: 13px; align-items: center; }
.leag-header .g-header-bar .leag-wordmark__img { flex: 0 0 60px; width: 60px; height: 64px; margin: 0; object-fit: contain; filter: none; opacity: 1; }
.g-header-bar .leag-wordmark__name { color: var(--client-brown, #916326); font: 400 21px/1.4 'Lora', Georgia, serif; letter-spacing: .15em; white-space: nowrap; }
.g-header-bar .leag-wordmark__sub { color: var(--client-primary, #491a18); font: 400 8px/1.5 'Montserrat', Arial, sans-serif; letter-spacing: .17em; }
.g-header-bar .leag-util { width: 30px; height: 38px; color: var(--client-primary, #491a18); padding: 3px; }
.g-header-bar .leag-util .leag-icon { width: 23px; height: 23px; stroke-width: 1.35; }
.g-header-bar .leag-util__count { background: var(--client-primary, #491a18); color: var(--client-on-dark, #fff7e9); min-width: 16px; height: 16px; font-size: 9px; top: -1px; right: -4px; }
.g-header-bar .leag-util--burger { display: none; }
.leag-gallery-chrome .leag-drawer { background: var(--client-surface, #f8f3ea); color: var(--client-primary, #491a18); }
.leag-gallery-chrome .leag-drawer .leag-nav__link,
.leag-gallery-chrome .leag-drawer .leag-drawer__title,
.leag-gallery-chrome .leag-drawer .leag-util { color: var(--client-primary, #491a18); }
.leag-gallery-chrome .leag-drawer .leag-nav__link { font-size: 1.125rem; font-weight: 600; }
.leag-gallery-chrome .leag-drawer .leag-mega__list a { font-size: 1rem; font-weight: 600; }
.leag-gallery-chrome .leag-drawer .leag-nav__list > li { border: 0; }
.leag-gallery-chrome .leag-drawer .leag-btn { background: var(--client-primary, #491a18); color: var(--client-on-dark, #fff5e5); border-color: var(--client-primary, #491a18); }
.leag-gallery-chrome .leag-drawer .leag-btn:hover { border-color: var(--client-primary, #491a18); }
.leag-gallery-chrome .leag-drawer .leag-drawer__head,
.leag-gallery-chrome .leag-drawer .leag-drawer__foot { border: 0; }
.leag-footer.leag-footer--gallery { background: var(--client-primary, #381512); color: var(--client-on-dark, #ead9c1); border: 0; padding: 0; font-family: 'Lora', Georgia, serif; }
.leag-footer.leag-footer--gallery::before, .leag-footer.leag-footer--gallery::after, .leag-footer--gallery .leag-footer__newsletter { display: none; }
.leag-footer--gallery .leag-footer__grid { max-width: 1432px; padding: 50px 56px 42px; grid-template-columns: 1.3fr .8fr .9fr .8fr; gap: 54px; }
.leag-footer--gallery .leag-footer__col { grid-column: auto; min-width: 0; }
@media (min-width: 781px) and (max-width: 1100px) {
    .leag-footer--gallery .leag-footer__grid { padding: 38px 40px 32px; gap: 30px; }
    .leag-footer.leag-footer--gallery .leag-wordmark__name { font-size: 13px; }
}
.leag-footer.leag-footer--gallery .leag-wordmark { gap: 10px; }
.leag-footer.leag-footer--gallery .leag-wordmark__img { width: 42px; height: 45px; filter: brightness(1.8); }
.leag-footer.leag-footer--gallery .leag-wordmark__name { color: var(--client-dark-accent, #d5b677); font: 17px/1.5 'Lora', Georgia, serif; letter-spacing: .12em; }
.leag-footer.leag-footer--gallery .leag-wordmark__sub { font-size: 7px; color: var(--client-dark-accent, #d5b677); }
.leag-footer--gallery .leag-footer__blurb { margin-top: 18px; font-size: 13px; line-height: 1.65; }
.leag-footer--gallery .leag-footer__meta, .leag-footer.leag-footer--gallery li { font-size: 12px; line-height: 1.8; }
.leag-footer--gallery .leag-footer__title { font: 500 9px/1.5 'Montserrat', Arial, sans-serif; letter-spacing: .15em; color: var(--client-on-dark, #f2dfbe); margin-bottom: 18px; }
.leag-footer--gallery .leag-footer__fine { max-width: none; border-top: 1px solid var(--client-dark-rule, #76513d); padding: 20px 56px; font-size: 10px; }
.leag-footer.leag-footer--gallery a { color: var(--client-on-dark, #ead9c1); }
.leag-footer.leag-footer--gallery li a { font-size: inherit; line-height: inherit; padding-block: 3px; }
@media (min-width: 1600px) {
    .g-hero { min-height: 800px; }
    .g-hero__mount { height: 345px; }
    .g-hero__artwork:nth-child(2) .g-hero__mount { height: 390px; }
}
@media (max-width: 1100px) {
    .g-container, .g-header-bar { width: calc(100% - 64px); }
    .g-header-nav, .g-header-end { gap: 18px; }
    .g-header-bar .leag-wordmark__name { font-size: 17px; }
    .g-header-bar .leag-wordmark__img { width: 42px; height: 48px; }
    .g-hero { min-height: 650px; }
    .g-hero__artworks { gap: 30px; width: 72%; }
    .g-hero__mount { height: 240px; }
    .g-hero__artwork:nth-child(2) .g-hero__mount { height: 280px; }
    .g-assurances li { gap: 12px; }
    .g-assurances ul { gap: 20px; }
    .g-assurances .leag-icon { width: 34px; height: 34px; }
    .g-assurances strong { font-size: 13px; }
    .g-assurances small { font-size: 11px; }
    .g-selection { gap:24px; }
    .g-collections__grid { gap: 0 20px; }
    .g-collection__name { font-size: 18px; }
    .g-collections__layout, .g-craft__layout, .g-commission__layout, .g-faq__layout { gap: 36px; }
    .g-craft__photos img { height: 320px; }
}
@media (max-width: 780px) {
    .g-container, .g-header-bar { width: calc(100% - 40px); }
    .g-header-bar { height: 78px; grid-template-columns: 35px 1fr auto; gap: 10px; }
    .g-header-bar .leag-util--burger { display: inline-flex; }
    .g-header-nav { display: none; }
    .g-header-bar .leag-wordmark { justify-content: center; gap: 8px; }
    .g-header-bar .leag-wordmark__name { font-size: clamp(11px, 2.5vw, 18px); letter-spacing: .1em; }
    .g-header-bar .leag-wordmark__sub { font-size: 6px; letter-spacing: .13em; }
    .g-header-bar .leag-wordmark__img { width: 32px; height: 40px; }
    .g-header-end { gap: 10px; }
    .g-header-end > a:not(.leag-util) { display: none; }
    .g-header-bar .leag-util { width: 24px; }
    .g-header-bar .leag-util .leag-icon { width: 20px; height: 20px; }
    .g-hero { min-height: 0; padding: 28px 0 32px; background-position: center bottom; }
    .g-hero__copy { max-width: 560px; }
    .g-hero h1 { font-size: clamp(35px, 6.5vw, 48px); max-width: 500px; }
    .g-hero__copy .g-intro { font-size: 14px; max-width: 420px; }
    .g-hero__artworks { width: 83%; gap: 16px; }
    .g-hero__mount { height: 195px; }
    .g-hero__artwork:nth-child(2) .g-hero__mount { height: 235px; }
    .g-hero__label { font-size: 12px; }
    .g-hero__caption { display: none; }
    .g-assurances { padding: 28px 0; }
    .g-assurances ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 20px; }
    .g-assurances li { min-width: 0; flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; gap: 10px; }
    .g-assurances .leag-icon { flex: 0 0 36px; width: 36px; height: 36px; stroke-width: 1.5; }
    .g-assurances li > span { min-width: 0; width: 100%; }
    .g-assurances strong { font-size: 14px; line-height: 1.4; min-height: 2.8em; }
    .g-assurances small { font-size: 12px; line-height: 1.45; margin-top: 3px; }
    /* Keep the heading inside the ornamental frame on narrow screens. */
    .g-featured { padding:64px 0; }
    /* Nine-slice the existing artwork: fixed-size corners retain their
       proportions while only the straight edges extend with the section. */
    .g-featured::before {
        inset:8px;
        background:none;
        border:36px solid transparent;
        border-image: url('../img/collection-frame-v1.png') 155 / 36px / 0 stretch;
        opacity:.65;
    }
    .g-section-head { align-items: flex-start; gap: 10px; }
    .g-section-head h2 { font-size:28px; }
    .g-section-head .g-text-link { font-size: 12px; gap: 8px; white-space: normal; text-align: right; }
    .g-featured .g-section-head { margin-bottom:28px; }
    .g-featured .g-section-head p { font-size:14px; max-width:30ch; }
    .g-selection { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 20px; }
    .g-work__image { height:clamp(168px,52vw,340px); margin-bottom:16px; }
    .g-work .g-work__details h3 { font-size:18px; }
    .g-collections__layout, .g-craft__layout, .g-commission__layout, .g-faq__layout { grid-template-columns: 1fr; gap: 28px; }
    .g-collections { padding: 0 0 40px; }
    .g-collections__layout { padding-top: 30px; }
    .g-collections__copy .g-intro { font-size: 15px; }
    .g-collections__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
    .g-collection { gap: 12px; }
    .g-collection__name { font-size: 17px; }
    .g-craft { padding: 38px 0 26px; }
    .g-craft__copy { max-width: none; }
    .g-craft__photos img { height: 290px; }
    .g-commission { padding: 40px 0; }
    .g-commission__visual { min-height: 0; aspect-ratio: 3 / 2; }
    .g-commission__copy { padding: 0; }
    .g-commission h2 { font-size: 30px; }
    .g-commission .g-button { width: 100%; padding-inline: 16px; text-align: center; }
    .g-faq { padding: 32px 0 48px; }
    .g-faq h2 { max-width: 430px; }
    .leag-footer--gallery .leag-footer__grid { padding: 38px 20px; grid-template-columns: 1fr 1fr; gap: 28px; }
    .leag-footer--gallery .leag-footer__col--brand, .leag-footer--gallery .leag-footer__col--social { grid-column: 1/-1; }
    .leag-footer--gallery .leag-footer__fine { padding: 20px; display: block; text-align: center; }
    .leag-footer--gallery .leag-footer__fine p,
    .leag-footer--gallery .leag-footer__fine .leag-footer__by { width: 100%; margin-left: 0; text-align: center; }
    .leag-footer--gallery .leag-footer__rights { display: block; }
}
@media (max-width: 440px) {
    .g-hero__artworks { width: 87%; gap: 12px; }
    .g-hero__mount { height: 150px; }
    .g-hero__artwork:nth-child(2) .g-hero__mount { height: 178px; }
    .g-hero__copy { margin-bottom: 32px; }
    .g-hero h1 { font-size: 38px; }
    .g-hero .g-eyebrow { font-size: 9px; }
    .g-hero__copy .g-intro { font-size: 13px; }
    .g-work .g-work__details h3 { font-size:17px; }
    .g-home .g-work__size { font-size:11px; }
    .g-collections__grid { column-gap: 20px; }
    .g-collection__name { font-size: 16px; }
    .g-craft__photos img { height: 235px; }
    .g-faq summary { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .g-home *, .g-home *::before, .g-home *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Complete art-directed hero: only the CTA and navigation are live overlays.
   Intrinsic picture proportions prevent cover-cropping and frame/label drift. */
.g-hero.g-hero--composite { position: relative; padding: 0; min-height: 0; background: var(--client-surface, #f4ebdc); }
.g-hero__picture, .g-hero__picture img { display: block; width: 100%; margin: 0; padding: 0; }
.g-hero__picture img { height: auto; max-width: none; border: 0; box-shadow: none; }
.g-hero__accessible-copy { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.g-hero__action { position: absolute; top: 43.1%; left: 50%; transform: translate(-50%, -50%); text-align: center; width: max-content; max-width: 90%; }
.g-hero__action .g-button { white-space: nowrap; }
.leag-gallery-home .leag-header { position: absolute; inset: 0 0 auto; width: 100%; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
.leag-gallery-home .g-header-bar { height: clamp(64px, 7vw, 100px); width: min(76%, 1440px); }
.leag-gallery-home.admin-bar .leag-header { top: 0; }
@media (max-width: 1100px) and (min-width: 901px) {
    .g-hero__action .g-button { padding: 6px 22px; min-height: 34px; font-size: 12px; }
}
@media (max-width: 1100px) {
    .leag-gallery-home .g-header-bar { width: calc(100% - max(36px, 10vw) - 20px); margin-left: max(36px, 10vw); margin-right: 20px; height: clamp(64px, 7vw, 78px); grid-template-columns: 30px 1fr auto; gap: 8px; }
    .leag-gallery-home .g-header-nav, .leag-gallery-home .g-header-end > a:not(.leag-util) { display: none; }
    .leag-gallery-home .g-header-bar .leag-util--burger { display: inline-flex; }
    .leag-gallery-home .g-header-bar .leag-wordmark { justify-content: center; gap: 8px; }
    .leag-gallery-home .g-header-bar .leag-wordmark__name { font-size: clamp(11px, 3.2vw, 18px); }
}
@media (max-width: 900px) {
    .g-hero__action { top: 49.5%; }
    .leag-gallery-home .g-header-bar { height: 78px; }
}
@media (max-width: 782px) { .leag-gallery-home.admin-bar .leag-header { top: 0; } }
/* Keep the complete mobile brand readable instead of shrinking it to fit.
   The middle track may wrap the name; the emblem and controls never shrink. */
@media (max-width: 780px) {
    .leag-gallery-chrome .g-header-bar {
        width: calc(100% - 24px);
        margin-inline: 12px;
        height: 84px;
        grid-template-columns: 44px minmax(0, 1fr) 132px;
        gap: 4px;
    }
    .leag-gallery-home .g-header-bar {
        width: calc(100% - max(30px, 8vw) - 8px);
        margin-left: max(30px, 8vw);
        margin-right: 8px;
    }
    .leag-gallery-chrome .g-header-bar .leag-wordmark {
        min-width: 0;
        gap: 7px;
        justify-content: center;
        text-align: left;
    }
    .leag-gallery-chrome .g-header-bar .leag-wordmark__img {
        flex: 0 0 52px;
        width: 52px;
        height: 60px;
        max-width: none;
        filter: none;
    }
    .leag-gallery-chrome .g-header-bar .leag-wordmark__name {
        color: var(--client-brown, #69431d);
        font-size: 14px;
        font-weight: 500;
        line-height: 1.25;
        letter-spacing: .045em;
        white-space: normal;
        text-wrap: balance;
    }
    .leag-gallery-chrome .g-header-bar .leag-wordmark__sub {
        margin-top: 4px;
        font-size: 8px;
        line-height: 1.35;
        letter-spacing: .035em;
        white-space: normal;
    }
    .leag-gallery-chrome .g-header-bar .leag-wordmark__est { display: inline-block; white-space: nowrap; }
    .leag-gallery-chrome .g-header-end { gap: 0; }
    .leag-gallery-chrome .g-header-bar .leag-util {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        padding: 10px;
    }
    .leag-gallery-chrome .g-header-bar .leag-util__count { top: 0; right: 1px; }
    .leag-gallery-chrome .g-header-bar .leag-util--account { display: inline-flex; visibility: visible; opacity: 1; }
    .leag-gallery-chrome .g-header-bar .leag-util .leag-icon { width: 24px; height: 24px; stroke-width: 1.8; flex-shrink: 0; }
}
@media (max-width: 480px) {
    .leag-gallery-chrome .g-header-bar {
        width: calc(100% - 16px);
        margin-inline: 8px;
        gap: 2px;
    }
    .leag-gallery-chrome .g-header-bar .leag-wordmark { gap: 5px; }
}

/* Slight ink expansion keeps the existing emblem legible at header scale. */
.leag-header .leag-wordmark .leag-wordmark__img { opacity: 1; filter: none; mix-blend-mode: normal; background: transparent; }
.leag-footer.leag-footer--gallery .leag-wordmark__img { flex:0 0 76px; width:76px; height:82px; padding:0; background:transparent; filter:none; opacity:1; margin:0; }
.leag-footer.leag-footer--gallery .leag-wordmark__name { white-space:normal; }
@media(min-width:361px) and (max-width:780px) { .g-assurances strong { min-height:1.4em; } }
@media (max-width: 900px) {
    .leag-header .leag-header__bar { width: calc(100% - 16px); margin-inline: 8px; padding-inline: 0; grid-template-columns: 44px minmax(0, 1fr) 132px; gap: 2px; min-height: 84px; }
    .leag-header__bar .leag-header__side--start { display: contents; }
    .leag-header__bar .leag-header__side--end { gap: 0; }
    .leag-header__bar .leag-wordmark { min-width: 0; gap: 5px; text-align: left; }
    .leag-header__bar .leag-wordmark .leag-wordmark__img { flex: 0 0 52px; width: 52px; height: 60px; margin: 0; max-width: none; }
    .leag-header__bar .leag-wordmark__name { color: var(--client-brown, #69431d); font: 500 14px/1.25 'Lora', Georgia, serif; letter-spacing: .045em; white-space: normal; text-wrap: balance; }
    .leag-header__bar .leag-wordmark__sub { color: var(--client-primary, #491a18); font: 8px/1.35 'Montserrat', Arial, sans-serif; letter-spacing: .035em; white-space: normal; overflow: visible; }
    .leag-header__bar .leag-wordmark__est { display: inline-block; white-space: nowrap; }
    .leag-header__bar .leag-util { flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; color: var(--client-primary, #491a18); }
    .leag-header__bar .leag-header__side--end .leag-util--account,
    .leag-header__bar .leag-header__side--end .leag-util--search { display: inline-flex; }
    .leag-header__bar .leag-util .leag-icon { width: 24px; height: 24px; stroke-width: 1.8; flex-shrink: 0; }
}

/* Cart checkout shares the gallery CTA, including its raised hover state. */
.leag-cart .leag-cart__checkout { display:flex; align-items:center; justify-content:center; gap:14px; min-height:50px; padding:12px 24px; border:1px solid var(--client-hover, #662b27); border-radius:2px; background:var(--client-primary, #491a18); color:var(--client-on-dark, #fff5e5); font:400 15px/1.5 'Lora',Georgia,serif; letter-spacing:0; text-transform:none; text-decoration:none; box-shadow:0 3px 0 var(--client-deep, #2c0f0d); transition:transform .2s,box-shadow .2s; }
.leag-cart .leag-cart__checkout:hover, .leag-cart .leag-cart__checkout:focus-visible { background:var(--client-primary, #491a18); color:var(--client-on-dark, #fff5e5); border-color:var(--client-hover, #662b27); transform:translateY(-2px); box-shadow:0 5px 0 var(--client-deep, #2c0f0d); }
.leag-cart .leag-cart__checkout:active { transform:translateY(1px); box-shadow:0 1px 0 var(--client-deep, #2c0f0d); }
.leag-cart .leag-cart__checkout:focus-visible { outline:2px solid var(--client-brown, #a47a3d); outline-offset:4px; }
@media(prefers-reduced-motion:reduce) { .leag-cart .leag-cart__checkout { transition:none; transform:none; } }

/* Account overlay uses the same restrained controls as the gallery. */
.leag-login .leag-login__panel { background: var(--client-surface, #f8f3ea); color: var(--client-primary, #491a18); font-family: 'Lora', Georgia, serif; box-shadow: 0 22px 70px #29100d33; }
.leag-login .leag-login__title { color: var(--client-primary, #491a18); font: 400 32px/1.2 'Lora', Georgia, serif; letter-spacing: -.035em; }
.leag-login .leag-login__lede { color: var(--client-body, #66584c); font: 14px/1.6 'Lora', Georgia, serif; }
.leag-login .leag-auth__tabs { gap: 24px; border-bottom: 1px solid var(--client-rule, #d9c9b4); }
.leag-login .leag-auth__tab { flex: 1; min-height: 44px; padding: 10px 0 13px; border: 0; border-radius: 0; background: transparent; color: var(--client-muted, #766351); font: 400 14px/1.5 'Lora', Georgia, serif; letter-spacing: 0; text-transform: none; box-shadow: none; transform: none; }
.leag-login .leag-auth__tab:hover { color: var(--client-primary, #491a18); background: transparent; box-shadow: inset 0 -2px 0 var(--client-rule, #c9b49c); }
.leag-login .leag-auth__tab.is-active { color: var(--client-primary, #491a18); box-shadow: inset 0 -2px 0 var(--client-primary, #491a18); }
.leag-login .leag-login__panel label { color: var(--client-muted, #70573b); font: 500 10px/1.5 'Montserrat', Arial, sans-serif; letter-spacing: .1em; }
.leag-login .leag-login__panel input[type="text"],
.leag-login .leag-login__panel input[type="email"],
.leag-login .leag-login__panel input[type="password"] { background: var(--client-paper, #fffaf2); border: 1px solid var(--client-rule, #cab69c); border-radius: 2px; min-height: 48px; font: 16px/1.5 'Lora', Georgia, serif; color: var(--client-primary, #491a18); }
.leag-login .leag-login__panel .login-remember label { font: 13px/1.5 'Lora', Georgia, serif; color: var(--client-body, #66584c); letter-spacing: 0; }
.leag-login .leag-login__panel input[type="checkbox"] { accent-color: var(--client-primary, #491a18); }
.leag-login .leag-login__panel input[type="submit"] { display: block; width: 100%; min-height: 48px; padding: 12px 24px; border: 1px solid var(--client-hover, #662b27); border-radius: 2px; background: var(--client-primary, #491a18); color: var(--client-on-dark, #fff5e5); font: 400 15px/1.5 'Lora', Georgia, serif; letter-spacing: 0; text-transform: none; box-shadow: 0 3px 0 var(--client-deep, #2c0f0d); transition: transform .2s, box-shadow .2s; }
.leag-login .leag-login__panel input[type="submit"]:hover { background: var(--client-primary, #491a18); color: var(--client-on-dark, #fff5e5); border-color: var(--client-hover, #662b27); transform: translateY(-2px); box-shadow: 0 5px 0 var(--client-deep, #2c0f0d); }
.leag-login .leag-login__panel input[type="submit"]:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--client-deep, #2c0f0d); }
.leag-login .leag-login__links { font: 13px/1.5 'Lora', Georgia, serif; }
.leag-login .woocommerce-privacy-policy-text { color: var(--client-body, #66584c); font: 12px/1.6 'Lora', Georgia, serif; margin: 18px 0; }
.leag-login .leag-login__links a, .leag-login .leag-login__close { color: var(--client-primary, #491a18); }
.leag-login .leag-login__close { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.leag-login .leag-login__panel :focus-visible { outline: 2px solid var(--client-brown, #916326); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    .leag-login .leag-login__panel input[type="submit"] { transition: none; transform: none; }
}

/* Client-supplied hero photograph. The older composite remains available via
   LEAG_GALLERY_USE_PREVIOUS_HERO without changing these shared page styles. */
.g-hero.g-hero--photo {
    position: relative;
    isolation: isolate;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: #211c16;
    color: #fffaf0;
}
.g-hero--photo .g-hero__picture {
    display: block;
    padding-top: 48px;
}
.g-hero--photo .g-hero__picture img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    border: 0;
    box-shadow: none;
}
.g-hero--photo::before,
.g-hero--photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.g-hero--photo::before {
    z-index: 1;
    bottom: auto;
    height: clamp(115px, 12vw, 180px);
    background: linear-gradient(180deg, rgba(248, 242, 229, .8), transparent);
}
.g-hero--photo::after {
    z-index: 0;
    background: linear-gradient(90deg, transparent 34%, rgba(0, 0, 0, .38) 56%, rgba(0, 0, 0, .72) 100%);
}
.g-hero--photo .g-hero__photo-copy {
    position: absolute;
    z-index: 2;
    top: 53%;
    right: clamp(24px, 5vw, 100px);
    width: min(38%, 560px);
    transform: translateY(-50%);
    text-align: left;
    color: #fffaf0;
    text-shadow: 0 1px 12px rgba(15, 16, 10, .2);
}
.g-hero--photo .g-hero__photo-copy > p:first-child {
    margin: 0 0 18px;
    color: #f0d7b9;
    font: 600 11px/1.5 var(--g-sans);
    letter-spacing: .22em;
    text-transform: uppercase;
}
.g-hero--photo .g-hero__photo-copy h1 {
    max-width: none;
    margin: 0 0 22px;
    color: #fffaf0;
    font: 400 clamp(40px, 4.4vw, 72px)/1.06 var(--g-serif);
    letter-spacing: -.045em;
    text-wrap: balance;
}
.g-hero--photo .g-hero__photo-copy > p:nth-child(3) {
    max-width: 43ch;
    margin: 0;
    color: #f6eee2;
    font: 400 clamp(15px, 1.25vw, 19px)/1.55 var(--g-serif);
}
.g-hero--photo .g-hero__action {
    position: static;
    width: auto;
    max-width: none;
    margin-top: 30px;
    transform: none;
    text-align: left;
}
.g-hero--photo .g-hero__action .g-button {
    min-height: 50px;
    padding: 12px 25px;
    background: var(--client-primary, #34482a);
    border-color: var(--client-hover, #46583d);
    color: #fff !important;
    font: 500 14px/1.5 var(--g-serif);
    box-shadow: 0 3px 0 var(--client-deep, #26351f);
}
.g-hero--photo .g-hero__action .g-button:hover,
.g-hero--photo .g-hero__action .g-button:focus-visible {
    color: #fff !important;
    box-shadow: 0 6px 0 var(--client-deep, #26351f), 0 12px 18px rgba(0, 0, 0, .2);
}
@media (max-width: 1100px) {
    .g-hero--photo .g-hero__photo-copy { top: 55%; right: 2.5%; width: 42%; }
    .g-hero--photo .g-hero__photo-copy h1 { font-size: clamp(35px, 4.5vw, 50px); }
    .g-hero--photo .g-hero__photo-copy > p:first-child { margin-bottom: 10px; font-size: 9px; }
    .g-hero--photo .g-hero__photo-copy > p:nth-child(3) { font-size: 14px; }
    .g-hero--photo .g-hero__action { margin-top: 20px; }
}
@media (max-width: 700px) {
    .g-hero--photo .g-hero__picture { padding-top: 64px; }
    .g-hero--photo .g-hero__picture img {
        height: min(100vw, 700px);
        object-fit: cover;
        object-position: left center;
    }
    .g-hero--photo::before { height: 125px; }
    .g-hero--photo::after { bottom: auto; height: min(100vw, 700px); background: linear-gradient(180deg, transparent 68%, rgba(22, 26, 17, .2)); }
    .g-hero--photo .g-hero__photo-copy {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        padding: 31px max(24px, 6vw) 40px;
        transform: none;
        background: var(--client-primary, #34482a);
        text-shadow: none;
    }
    .g-hero--photo .g-hero__photo-copy h1 { max-width: 12em; margin-bottom: 15px; font-size: clamp(32px, 8vw, 46px); }
    .g-hero--photo .g-hero__photo-copy > p:nth-child(3) { max-width: 44ch; font-size: 15px; }
    .g-hero--photo .g-hero__action { margin-top: 22px; }
}

/* Forest-green homepage header with ivory navigation. */
.leag-gallery-home.leag-photo-hero #leag-header {
    background: var(--client-primary, #34482a);
}
.leag-gallery-home.leag-photo-hero #leag-header::before {
    content: none;
    display: none;
}
.leag-gallery-home.leag-photo-hero #leag-header .g-header-bar {
    position: relative;
    z-index: 1;
}
.leag-gallery-home.leag-photo-hero #leag-header .g-header-nav a,
.leag-gallery-home.leag-photo-hero #leag-header .g-header-end > a:not(.leag-util),
.leag-gallery-home.leag-photo-hero #leag-header .g-header-bar .leag-wordmark__name,
.leag-gallery-home.leag-photo-hero #leag-header .g-header-bar .leag-wordmark__sub,
.leag-gallery-home.leag-photo-hero #leag-header .g-header-bar .leag-util {
    color: #fffaf0;
    text-shadow: 0 1px 7px rgba(0, 0, 0, .45);
}
.leag-gallery-home.leag-photo-hero #leag-header .g-header-nav a:hover,
.leag-gallery-home.leag-photo-hero #leag-header .g-header-nav a:focus-visible,
.leag-gallery-home.leag-photo-hero #leag-header .g-header-end > a:not(.leag-util):hover,
.leag-gallery-home.leag-photo-hero #leag-header .g-header-end > a:not(.leag-util):focus-visible,
.leag-gallery-home.leag-photo-hero #leag-header .g-header-bar .leag-util:hover,
.leag-gallery-home.leag-photo-hero #leag-header .g-header-bar .leag-util:focus-visible {
    color: #f0d7b9;
}
.leag-gallery-home.leag-photo-hero #leag-header .g-header-bar .leag-wordmark__img {
    filter: none;
}
.leag-gallery-home.leag-photo-hero #leag-header .g-header-bar .leag-util__count {
    background: var(--client-tan, #c4996f);
    color: var(--client-deep, #26351f);
    text-shadow: none;
}
