/* Masthead and the foundry's shared imprint. */
.mast-in{gap:clamp(20px,2.9vw,54px)}
.brand img{width:clamp(170px,13.2vw,213px);height:auto}
.nav{gap:clamp(16px,2.3vw,42px)}
.nav>a,.nav-disclosure>summary{font-size:.93rem;font-weight:650;white-space:nowrap}
.nav-disclosure{position:relative}
.nav-disclosure>summary{display:flex;align-items:center;gap:9px;min-height:44px;padding-block:10px;list-style:none;cursor:pointer}
.nav-disclosure>summary::-webkit-details-marker{display:none}
.nav-disclosure>summary::after{content:"";width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg);transition:transform .18s}
.nav-disclosure[open]>summary::after{transform:translateY(2px) rotate(225deg)}
.nav-disclosure>summary:is(:hover,.in-section),.nav-disclosure[open]>summary{color:#80582f}
summary:focus-visible{outline:3px solid #ac7535;outline-offset:4px}
.nav-panel{position:absolute;z-index:1;top:100%;left:-18px;min-width:238px;padding:8px 18px;background:var(--paper);border:1px solid var(--rule);box-shadow:0 14px 28px #18243a12}
.nav-panel a{display:block;white-space:nowrap;padding:12px 0;font-size:.88rem;line-height:1.35}
.nav-panel a+a{border-top:1px solid var(--rule)}
.mast .quote-link{color:var(--paper);background:var(--ink);border-color:var(--ink);gap:12px;padding:11px 18px}
.quote-link::after,.area-index>span{content:"→";font-size:1.12em}
.mast .quote-link:hover{background:#33445d}
@media(max-width:1030px){
  .mast-in{gap:16px}
  .brand img{width:165px}
  .mast .quote-link{order:2;margin-left:auto;font-size:.85rem;padding:9px 14px}
  .menu-toggle{order:3;display:grid;align-content:center;justify-content:center;gap:5px;min-width:42px;height:44px;padding:4px;border:0;background:transparent}
  .menu-toggle span{height:1.5px;width:25px;background:var(--ink);transition:transform .2s}
  .menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3.25px) rotate(45deg)}
  .menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-3.25px) rotate(-45deg)}
  .mast .nav{display:none;position:absolute;top:100%;inset-inline:0;width:100%;max-height:calc(100dvh - 90px);overflow:auto;overscroll-behavior:contain;background:var(--paper);border-block:1px solid var(--rule);padding:8px var(--gutter) 20px;box-shadow:0 12px 25px #18243a12}
  .mast .nav.open{display:grid;gap:0}
  .nav>a,.nav-disclosure>summary{padding:14px 0;border:0}
  .nav> :not(:first-child){border-top:1px solid var(--rule)}
  .nav-disclosure>summary{justify-content:space-between}
  .nav-panel{position:static;padding:0 0 9px 18px;border:0;border-left:1px solid #b39368;box-shadow:none;margin-bottom:14px}
  .nav-panel a,.nav-panel a+a{min-height:40px;padding:9px 0;border:0}
}
@media(max-width:520px){
  .brand img{width:142px}
  .mast .quote-link{gap:7px;padding:9px 10px;font-size:.8rem}
  .mast-in{gap:6px}
}
@media(max-width:359px){.brand img{width:128px}.mast .quote-link::after{display:none}}
@media(scripting:none) and (max-width:1030px){
  .mast .mast-in{display:grid;grid-template-columns:1fr auto;height:auto;gap:12px;padding-block:12px}
  .mast .menu-toggle{display:none}
  .mast .nav{position:static;display:flex;flex-wrap:wrap;justify-content:flex-start;grid-column:1/-1;padding:0;gap:8px 20px;box-shadow:none;border:0}
  .mast .quote-link{grid-column:2;grid-row:1}
  .nav> :not(:first-child){border-top:0}
  .home .mast{position:relative}
}

.site-footer,.site-credit{background:#18232c;color:#f4f1e8}
.site-footer{border-top:0}
.footer-identity{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) max-content;
  align-items:start;gap:clamp(24px,5vw,88px);
  padding-block:clamp(54px,5.5vw,96px) clamp(36px,3.5vw,56px);
  border-bottom:1px solid #a1aeb34d;
}
.footer-identity>a{justify-self:start;align-self:center}
.footer-identity img{width:clamp(200px,19vw,320px);height:auto}
.footer-identity p{color:#c5cdd0;font-size:clamp(.94rem,1.05vw,1.12rem);line-height:1.62;max-width:42ch}
.footer-phone{display:grid;gap:6px}
.footer-phone span,.footer-column h2{font-size:.81rem;font-weight:650;color:#e0c398;letter-spacing:.025em}
.footer-phone a{font-size:clamp(1.25rem,2vw,2.25rem);line-height:1.25;letter-spacing:-.035em;white-space:nowrap}
.footer-links{
  display:grid;grid-template-columns:1fr 1fr 1fr;gap:clamp(20px,5vw,88px);
  padding-block:clamp(28px,3vw,56px) clamp(34px,3.5vw,64px);
}
.footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.footer-column h2{margin:0 0 12px;line-height:1.35}
.footer-column a{font-size:.94rem;line-height:1.45;padding:5px 0}
.site-footer a:hover,.site-credit a:hover strong,.site-footer a[aria-current]{text-decoration:underline;text-underline-offset:4px}
.footer-legal,.footer-legal>div{display:flex;align-items:center;gap:24px}
.footer-legal{justify-content:space-between;padding-bottom:22px;color:#c2c9ce;font-size:.8rem}
.site-credit{border-top:1px solid #a8b3bc50}
.site-credit .wrap{display:flex;justify-content:flex-end;padding-block:14px}
.site-credit a{display:inline-flex;gap:.38em;align-items:baseline;color:#c8cdd0;font-size:.8rem}
.site-credit strong{font-weight:650;color:#f3eee5}
.external-arrow{color:#dfbf8e;margin-left:4px;font-size:1rem}
@media(max-width:880px){
  .footer-identity{grid-template-columns:minmax(0,1fr) auto;gap:20px 36px}
  .footer-identity p{grid-row:2;grid-column:1/-1;max-width:60ch}
  .footer-phone{grid-column:2;grid-row:1}
}
@media(max-width:580px){
  .footer-identity{grid-template-columns:1fr;gap:20px}
  .footer-identity img{width:190px}
  .footer-identity p{max-width:38ch}
  .footer-phone{grid-column:1;grid-row:3;gap:3px}
  .footer-phone a{font-size:1.65rem}
  .footer-links{grid-template-columns:1.1fr 1fr;gap:24px 16px}
  .footer-column h2{margin-bottom:8px}
  .footer-column:last-child{grid-column:1/-1}
  .footer-column a{padding:7px 0}
  .footer-legal,.footer-legal>div{align-items:flex-start;gap:9px 18px;flex-wrap:wrap}
  .footer-legal{justify-content:flex-start;flex-direction:column}
  .site-credit .wrap{justify-content:flex-start}
}

/* Editorial sections use the technical copy and links from the page editor. */
.home-workshop,.facility-in,.home-journal,.home-areas>.wrap,.home-brief>.wrap{padding-block:clamp(54px,6.4vw,112px)}
.home-copy h2,.home-directory h2{font-size:clamp(2.8rem,4.8vw,5.55rem);line-height:1.02;letter-spacing:-.064em;font-weight:565;text-wrap:balance;margin:0}
.home-copy p,.home-directory p{max-width:54ch;font-size:clamp(1rem,1.13vw,1.2rem);line-height:1.7;color:var(--body);margin:clamp(16px,2vw,28px) 0 0}
.home-copy p:has(>a:first-child){font-size:0;line-height:1;display:flex;flex-wrap:wrap;gap:8px 24px;max-width:none}
.home-copy p>a{font-size:.94rem;line-height:1.55;font-weight:650;text-decoration:underline;text-decoration-color:#a39784;text-underline-offset:5px;padding-block:4px}
.home-copy p>a:hover{color:var(--bronze)}
.home-workshop{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center}
.home-workshop figure img,.home-workshop video{width:100%;aspect-ratio:16/9;object-fit:cover}
.home-workshop .home-copy p{max-width:46ch}
.home-workshop .home-copy{min-width:0}
.home-areas{background:#eeede7;scroll-margin-top:var(--mast-height)}
.home-directory{display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);column-gap:clamp(40px,8vw,150px);align-items:start}
.home-directory h2{grid-column:1;grid-row:1;align-self:end}
.home-directory p{grid-column:1;grid-row:2;max-width:42ch;margin:18px 0 0}
.home-directory p:has(>a:first-child){grid-column:2;grid-row:1/4;display:grid;align-self:start;max-width:none;font-size:0;line-height:0;margin:0;border-bottom:1px solid #b6b8b3}
.home-directory p>a{display:flex;justify-content:space-between;align-items:center;line-height:1.25;color:var(--ink);font-size:clamp(1.35rem,2.25vw,2.55rem);font-weight:550;letter-spacing:-.045em;padding:clamp(16px,1.55vw,27px) 0;border-top:1px solid #b6b8b3}
.home-directory p>a::after{content:"↗";font:400 .72em/1 Arial,sans-serif;color:#805e38;transition:transform .18s}
.home-directory p>a:hover::after{transform:translate(3px,-3px)}
.area-index{display:inline-flex;align-items:baseline;gap:8px;font-size:.9rem;font-weight:650;margin-top:20px;text-decoration:underline;text-underline-offset:5px}
.facility-in{padding-bottom:clamp(45px,5.1vw,90px)}
.facility-in figure img{display:block;width:100%;aspect-ratio:3.5;object-fit:cover;object-position:50% 52%}
.facility-in figcaption,.home-journal figcaption{color:var(--muted);font-size:.78rem;margin-top:8px}
.facility-in .home-copy,.home-brief .home-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.88fr);gap:0 clamp(40px,7.5vw,135px);margin-top:clamp(24px,3.6vw,65px)}
.facility-in .home-copy h2,.home-brief h2{grid-row:1/3}
.facility-in .home-copy>p:first-of-type,.home-brief .home-copy>p:first-of-type{margin:0}
.facility-in .home-copy>p,.home-brief .home-copy>p{grid-column:2}
.home-journal{position:relative;display:grid;align-items:center;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(32px,8vw,150px)}
.home-journal::before{content:"";position:absolute;inset:0 var(--gutter) auto;border-top:1px solid var(--rule)}
.home-journal figure img{width:100%;aspect-ratio:1.7;object-fit:cover}
.home-brief{background:#e6ded0}
.home-brief .home-copy{margin:0}
.home-brief .home-copy a{display:inline-flex;align-items:center;gap:20px;background:var(--ink);color:white;text-decoration:none;padding:13px 19px}
.home-brief .home-copy a::after{content:"→"}
.home-brief .home-copy a:hover{background:#34465c}
.missing-page{padding-block:clamp(76px,11vw,170px)}
.missing-page h1{font-size:clamp(3.4rem,7vw,8rem);margin:16px 0}
.missing-page p{max-width:49ch;line-height:1.7}
.missing-page>div{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:30px}
.missing-page .textlink{margin:0}
@media(max-width:760px){
  .home-workshop,.home-journal,.home-directory,.facility-in .home-copy,.home-brief .home-copy{display:block}
  .home-workshop figure,.home-journal figure{margin-top:24px}
  .home-directory p:has(>a:first-child){margin-top:26px}
  .facility-in figure img{aspect-ratio:1.82}
  .facility-in .home-copy>p:first-of-type,.home-brief .home-copy>p:first-of-type{margin-top:18px}
  .home-journal figure img{aspect-ratio:1.6}
}

/* Contact controls sit in the mast so they never cover a film or drawing. */
.mast-actions{display:flex;align-items:center;flex-shrink:0;gap:8px}
.wa-link{display:inline-flex;align-items:center;justify-content:center}
.wa-icon{display:block;flex:none}
.wa-header{
  position:relative;isolation:isolate;gap:8px;height:46px;min-width:46px;padding:0 12px;
  color:var(--ink);background:transparent;border:1px solid transparent;border-radius:2px;
  font-size:.85rem;font-weight:650;white-space:nowrap;
  transition:background-color .18s,border-color .18s;
}
.wa-header:is(:hover,:focus-visible,:active){background:#f2ede3;border-color:#86633b}
.wa-weld{pointer-events:none;position:absolute;inset:0;overflow:hidden;border-radius:inherit}
.wa-weld::before{content:"";position:absolute;bottom:0;left:0;height:2px;width:100%;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,#93703f 45%,#d49c51 83%,#ffc76d);opacity:0}
.wa-weld i{--x:8px;--y:-6px;--angle:-34deg;position:absolute;right:7px;bottom:5px;width:5px;height:1.5px;background:#b37631;opacity:0}
.wa-weld i:nth-child(2){--x:3px;--y:-11px;--angle:-65deg;width:4px}
.wa-weld i:nth-child(3){--x:-6px;--y:-7px;--angle:41deg;width:3px}
.wa-header:is(:hover,:focus-visible,:active) .wa-weld::before{animation:wa-seam .65s ease-out both}
.wa-header:is(:hover,:focus-visible,:active) .wa-weld i{animation:wa-fleck .38s .38s ease-out both}
@keyframes wa-seam{0%{transform:scaleX(0);opacity:0}22%{opacity:1}80%{transform:scaleX(1);opacity:1}100%{transform:scaleX(1);opacity:0}}
@keyframes wa-fleck{0%{transform:translate(0,0) rotate(var(--angle));opacity:0}24%{opacity:1}100%{transform:translate(var(--x),var(--y)) rotate(var(--angle));opacity:0}}
.footer-column .wa-footer{display:inline-flex;gap:8px;margin-top:10px;color:#e1c79e}
.wa-footer .wa-icon{width:17px;height:17px}
@media(max-width:1320px){.wa-header{padding:0}.wa-header .wa-label{display:none}}
@media(max-width:1030px){.mast-actions{margin-left:auto;order:2}.mast .mast-actions .quote-link{margin:0}.wa-header{min-width:44px;height:44px}}
@media(max-width:540px){.mast-in{gap:4px}.mast-actions{gap:5px}.mast .mast-actions .quote-link{min-height:44px}}
@media(max-width:415px){.mast .mast-actions .quote-link::after{display:none}}
@media(max-width:380px){.quote-full{display:none}.mast-in{padding-inline:15px}.mast .brand img{width:138px}}
@media(scripting:none) and (max-width:1030px){.mast-actions{grid-column:2;grid-row:1}}
@media(prefers-reduced-motion:reduce){.wa-header .wa-weld{display:none}.wa-header{transition:none}}
.stage-chapter h1{text-wrap:balance}
@media(min-width:1001px) and (min-height:591px){
  .stage-chapter h1{font-size:clamp(4.25rem,6.65vw,8.3rem)}
}
