/* Recreated from the current bloch-hamre.com footer, using its original artwork and content. */
.site_footer { position:relative; isolation:isolate; overflow:hidden; min-height:min(900px,100svh); background:var(--color-lilac); color:var(--color-white); padding:clamp(40px,5.6vw,80px); display:flex; flex-direction:column; justify-content:space-between; gap:100px; box-sizing:border-box; }
.footer_wash { position:absolute; inset:-30%; z-index:-2; pointer-events:none; background:radial-gradient(ellipse at 35% 70%,rgb(254 245 222 / .55),transparent 48%),radial-gradient(ellipse at 78% 16%,rgb(147 84 255 / .25),transparent 60%); animation:footer-wash-drift 20s ease-in-out infinite alternate; }
@keyframes footer-wash-drift { from { transform:translate(-5%,-4%) rotate(-5deg); } to { transform:translate(7%,8%) rotate(8deg); } }
.footer_letters { position:absolute; inset:0; z-index:-1; pointer-events:none; }
.footer_letter { position:absolute; left:0; top:0; display:block; max-width:none; object-fit:contain; opacity:.28; will-change:transform; user-select:none; }
.footer_logo { display:block; align-self:flex-end; width:clamp(160px,19.5vw,250px); height:auto; }
.footer_contacts { display:grid; grid-template-columns:5fr 3fr 3fr; align-items:end; gap:clamp(28px,4vw,64px); padding-bottom:clamp(24px,5.5vw,72px); }
.footer_talk { display:block; font:400 clamp(64px,7.8vw,112px)/1.12 var(--font-body); letter-spacing:-.03em; }
.footer_talk > span { display:block; }
.footer_socials { display:flex; flex-direction:column; align-items:start; gap:14px; }
.site_footer a { color:inherit; text-decoration:none; }
.footer_socials a, .footer_email { font:400 clamp(20px,2.73vw,36px)/1.25 var(--font-body); letter-spacing:-.025em; overflow-wrap:anywhere; }
.site_footer a:focus-visible { outline:2px solid var(--color-white); outline-offset:8px; }
@media(max-width:767px) {
 .site_footer { min-height:80svh; padding:64px 24px 48px; justify-content:flex-end; gap:64px; }
 .footer_logo { display:none; }
 .footer_contacts { grid-template-columns:1fr; justify-items:center; gap:40px; text-align:center; padding-bottom:0; }
 .footer_talk { font-size:clamp(56px,13vw,80px); }
 .footer_talk > span { display:inline; }
 .footer_socials { flex-direction:row; justify-content:center; gap:28px; }
 .footer_socials a, .footer_email { font-size:22px; }
}
@media(prefers-reduced-motion:reduce) { .footer_wash { animation:none; } .footer_letter { will-change:auto; } }

.site_footer [data-anm-text-underline] { position:relative; display:inline-block; }
.site_footer [data-anm-text-underline]::after { content:''; position:absolute; left:0; right:0; bottom:0; height:1px; background:currentColor; transform:scaleX(0); transform-origin:right center; transition:transform .4s cubic-bezier(.16,1,.3,1); }
.site_footer [data-anm-text-underline]:is(:hover,:focus-visible)::after { transform:scaleX(1); transform-origin:left center; }

/* The page slides over the sticky footer, revealing it from below. */
.site_content { position:relative; z-index:2; background:var(--color-paper); }
.site_footer { position:sticky; bottom:0; z-index:0; background:var(--color-indigo); }
.footer_wash { inset:-8%; background:none; animation:none; filter:blur(28px); }
.footer_flow { display:block; width:100%; height:100%; }
.site_footer::after { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(transparent 40%,rgb(18 18 18 / .62)); }
.footer_contacts,.footer_logo { position:relative; z-index:1; }
.site_footer .footer_talk,.site_footer .footer_email { justify-self:start; width:fit-content; }
.site_footer .footer_email { display:flex; flex-direction:column; align-items:flex-start; }
.site_footer .footer_talk::after,.site_footer .footer_email::after { display:none; }
.site_footer .footer_talk > span,.site_footer .footer_email > span { display:block; width:fit-content; }
.site_footer :is(.footer_talk,.footer_email):is(:hover,:focus-visible) > [data-anm-text-underline]::after { transform:scaleX(1); transform-origin:left center; }
@media(max-width:767px) {
 .site_footer .footer_talk,.site_footer .footer_email { justify-self:center; }
 .site_footer .footer_talk > span,.site_footer .footer_email > span { display:inline-block; }
 .site_footer .footer_email { display:block; }
 .site_footer .footer_email > span::after { display:none; }
 .site_footer .footer_email::after { display:block; }
}
@media(prefers-reduced-motion:reduce) {
 .site_footer { position:relative; }
 .site_footer [data-anm-text-underline]::after { transition:none; }
}

/* A single-line invitation with a large contact button. */
.footer_contacts { grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:clamp(28px,4vw,64px); }
.site_footer .footer_talk { white-space:nowrap; font-size:clamp(44px,6.2vw,96px); }
.site_footer .footer_talk > span { display:inline; }
.site_footer .footer_contact_button { --mgb-pill:var(--color-paper); --mgb-ink:var(--color-ink); --mgb-pill-hover:var(--color-muted); --mgb-focus:var(--color-paper); min-height:60px; height:60px; padding:0 30px; font-size:17px; color:var(--mgb-ink); background:var(--mgb-pill); justify-self:end; }
.site_footer .footer_contact_button:hover { background:var(--mgb-pill-hover); }
@media(max-width:991px) and (min-width:768px) {
 .footer_contacts { grid-template-columns:1fr auto; }
 .site_footer .footer_talk { grid-column:1/-1; }
}
@media(max-width:767px) {
 .footer_contacts { grid-template-columns:1fr; }
 .site_footer .footer_talk { font-size:clamp(36px,10vw,56px); }
 .site_footer .footer_contact_button { justify-self:center; }
}

/* Compact footer with the rotating studio mark as its first column. */
.site_footer { min-height:min(675px,75svh); justify-content:center; gap:0; }
.footer_contacts { grid-template-columns:minmax(0,1fr) auto auto; padding-bottom:0; }
.footer_contacts .footer_logo { display:block; align-self:center; justify-self:start; width:clamp(160px,18vw,240px); }
.footer_socials { flex-direction:row; align-items:center; gap:28px; }
@media(max-width:991px) and (min-width:768px) { .footer_contacts .footer_logo { width:140px; } .footer_socials { gap:20px; } }
@media(max-width:767px) {
 .site_footer { min-height:60svh; }
 .footer_contacts { grid-template-columns:1fr; }
 .footer_contacts .footer_logo { justify-self:center; width:clamp(104px,28vw,136px); }
}
/* Align all footer columns at their lower edge, with half the bottom inset. */
.site_footer { justify-content:flex-end; padding-bottom:clamp(20px,2.8vw,40px); }
.footer_contacts { align-items:end; }
.footer_contacts .footer_logo { align-self:end; }
@media(max-width:767px) { .site_footer { padding-bottom:24px; } }

/* Latest requested inset applies in both desktop and mobile layouts. */
.site_footer { padding-bottom:100px; }

/* Live Instrument Serif glyphs replace the former ANJA image artwork. */
.footer_letter{font-family:'Instrument Serif',serif;font-weight:400;line-height:.8;white-space:pre;color:var(--color-paper)}

/* Glyph bounds align the physical floor with the actual ink, not the font line box. */
.footer_letter{translate:none!important}.footer_letter svg{display:block;overflow:visible}

.footer_letter,.footer_letter svg{margin:0;padding:0;border:0}

/* The physical letters share the case-title and switch grey, without alpha mixing. */
.footer_letter{color:var(--color-display-muted);opacity:1}

/* Use the original alpha artwork as a mask, with the exact shared theme colour. */
.site_footer .footer_logo{aspect-ratio:1;height:auto;background-color:var(--color-paper);-webkit-mask:url('footer/round-logo.png') center/contain no-repeat;mask:url('footer/round-logo.png') center/contain no-repeat;filter:none}
html[data-theme=light] .site_footer .footer_logo{filter:none}
